Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am garann on github.
  • I am garann (https://keybase.io/garann) on keybase.
  • I have a public key whose fingerprint is F6A8 7B30 CD9C DB6E 40BB 2071 4949 0213 DFEF 153B

To claim this, I am signing this object:

@garann
garann / gist:6541294
Created Sep 12, 2013
how to blog about code and give zero fucks
View gist:6541294

I’m frustrated right now. I’ve been looking for someone to write about a technology that tons of people have no doubt used and am coming up short. Really, this is my own fault, because I was hoping I’d find someone who wasn’t a white male to address the topic. There’s nothing wrong with a white male addressing the topic, but I’ve been recommending a lot of white males to write about technologies and I was hoping to put my money where my mouth is in terms of my hopes for the diversity of the field in which I work.

I checked a bunch of related repos on GitHub and found that the maintainers were white guys and the committers were white guys and the people filing issues were white guys. So I checked the Following lists of related Twitter accounts and found.. more white guys. The few women I found either didn’t blog or had Tumblrs full of inspirational quotes and cupcake photos and shit. (Which is fine. But not what I happened to be looking for an expert on.)

And so this is how I became frustrated, because I d

@garann
garann / gist:3353532
Created Aug 14, 2012
Crowdsourced career mentorship for female developers
View gist:3353532

I was inspired by Selena Deckelmann's list of Career Resources for Women (http://www.chesnok.com/daily/career-resources-for-women/), but couldn't think of much to contribute. So I thought maybe those of us already in the field and in a position to mentor could work on creating more. Please fork or comment and add your own!

Also: there is a wealth of info online and elsewhere dating back to the first time it occurred to our species to exchange labor for currency on these topics in general. What I hope we can provide here is our take as individuals. What we would say to someone if we were sitting across from her acting as a mentor. I don't think we should worry about being objectively "right", or about duplicating topics. I add this bit of anti-editorializing in hopes that women will contribute without feeling pressured to be experts, which I worry might prevent them from doing so. TY. :)

Applying for jobs

@garann
garann / easywebserver
Created Apr 9, 2012
quick server (on a mac)
View easywebserver
python -m SimpleHTTPServer
@garann
garann / gist:1038401
Created Jun 21, 2011
seems like there's a more efficient way of doing this..
View gist:1038401
getEl = function (selector) {
if (document.querySelectorAll) {
return document.querySelectorAll(selector);
} else {
if (selector.indexOf("#") > -1) {
return document.getElementById(selector);
} else {
var sParts = selector.split("."),
tags = document.getElementsByTagName(sParts[0]),
matches = [];
@garann
garann / gist:814687
Created Feb 7, 2011
wcteditor - no private functions and multiple textareas
View gist:814687
// jQuery plugin: WCTeditor
// by garann means
//
// text editor with basic markup functionality
(function($) {
var tmplLoaded = false;
function multiple(that, config) {
var editors = [];