Skip to content

Instantly share code, notes, and snippets.

View sockdrawermoney's full-sized avatar
👻

Sock sockdrawermoney

👻
View GitHub Profile
https://webinar.anymeeting.com/230-382-436?rslt=6b9b8fb8-2f5e-4d08-8ae2-7d26b4951a84
@sockdrawermoney
sockdrawermoney / gatsby-relationships-example.md
Last active May 7, 2020 16:58
Example for gatsby foreignkey relationships across multiple markdown directories

This example is for a website project I've been working on for andyet.com that features a mix of markdown folders, including one which pulls a number of resources together via interconnecting "synapses" which are built using gatsby foreign keys.

Sharing it because gatsby foreign keys are not particularly well documented, as discussed here.

gatsby-config.js (partial)

module.exports = {
  plugins: [
 {
Black Mountain College (1933-1957)
- experimentation
- failure built in
John Dewey’s Moral Principles of Education (1909)
http://www.gutenberg.org/files/25172/25172-h/25172-h.htm
Paulo Freire's Pedagogy of the Oppressed (1968)
bell hooks' Teaching To Transgress: Education as the Practice of Freedom (1994)
@sockdrawermoney
sockdrawermoney / sicilian-rhapsody (redis).txt
Last active November 8, 2017 16:52 — forked from wraithgar/gist:3932326
Sicilian Rhapsody
Is this a keystore
Is it in memory?
Caught in an event loop
No escape from reality
Open your append-only file
Confirm it's an rdb
I'm just a poor boy
@sockdrawermoney
sockdrawermoney / web-design-walkthrough.md
Last active August 2, 2017 22:52
web design 101 walkthrough

Web design 101 walkthrough

Goals:

  • reduce overwhelming feelings
  • quick wins and ways to show off and share what they're learning
  • understanding concepts rather than "doing it right"
  • build on what they learn
  • for reference, use https://developer.mozilla.org

Register domains

Keybase proof

I hereby claim:

  • I am adambrault on github.
  • I am adambrault (https://keybase.io/adambrault) on keybase.
  • I have a public key ASCmz4er293iJmRHKr6J0BmUhMgdfwRj0hAmckP492676Ao

To claim this, I am signing this object:

@sockdrawermoney
sockdrawermoney / james-baldwin-on-being-white.md
Last active June 22, 2020 17:36
James Baldwin — On Being White... and Other Lies

On Being White... and Other Lies

By James Baldwin.

The crisis of leadership in the white community is remarkable—and terrifying—because there is, in fact, no white community.

This may seem like an enormous statement—and it is. I'm willing to be challenged. I'm also willing to attempt to spell it out.

My frame of reference is, of course, America, or that portion of the North American continent that calls itself America. And this means I am speaking, essentially, of the European vision of the world—or, more precisely, perhaps the European vision of the universe. It is a vision as remarkable for what it pretends to include as for what it remorselessly diminishes, demolishes or leaves totally out of account.

The essence of community, its very heart and soul, is the nonmonetary exchange of value. The things we do and the things we share because we care for others, and for the good of the place. Community is composed of things that we cannot measure, for which we keep no record and ask no recompense. Since they cannot be measured, they can’t be denominated in dollars, or barrels of oil, or bushels of corn—such things as respect, tolerance, love, trust, generosity, and care, the supply of which is unbounded and unlimited.

The nonmonetary exchange of value does not arise solely from altruistic motives. It arises from a deep, intuitive understanding that self-interest is inseparably connected with community interest; that individual good is inseparable from the good of the whole; that all things are simultaneously independent, interdependent, and interdependent—that the singular “one” is inseparable from the plural “one.”

True community also requires proximity—continual interaction between the people, places, and th

@sockdrawermoney
sockdrawermoney / encourage.io.md
Created September 20, 2016 15:47
encourage.io

So, I have this simple webapp I started building once that I called "encourage.io"

No need to look—it's not running at that domain or anywhere else. I got it to the point of being 70% of what I wanted, but I just had a bunch of other things take my attention.

The name had two meanings: "encourage I/O (in/out)" (as in, it encourages you to interact with people) and encourage, in that encouragement is a fundamental element of the purpose of the interactions the app is intending to create.

You simply add a name and an email address for everyone you interact with, whose interactions you want to track. You put people into different "buckets" (like: family, &yet, node, local, mentors, clients, etc.). Then you just say when you last interacted with that person in a meaningful way where you felt like you were a source of encouragement to them. You'd also set a rough time by which you wanted to interact with that person again ("three weeks" / "three months" etc) and that interval would recur by default, until

@sockdrawermoney
sockdrawermoney / state-legislature-email.md
Last active September 15, 2015 05:38
Sample letter to state legislature

Honorable __________,

Thanks for your hard work serving our area. I'm sure you get a lot of letters with all kinds of different attitudes and I want to tell you first and foremost that I am grateful for your service to our community. I recognize that in your legislative work you have to regularly make difficult decisions and I appreciate the effort you take to consider the tradeoffs in each case. I especially want to thank you for your much-needed increase in funding this year for education.

As you know, we've witnessed a significant amount of pain and division in our local community as a result of the legislature's insufficient funding of education. It's really been difficult to watch and experience.

But, in many ways, it's opened our community's eyes. We have learned a lot about how education funding works and we've become knowledgeable about the McCleary Decision, where our state Supreme justices ruled that the legislature is not meeting its paramount constitutional duty and that "ample funding for basi