Skip to content

Instantly share code, notes, and snippets.

View garann's full-sized avatar

Garann Means garann

View GitHub Profile

Keybase proof

I hereby claim:

  • I am garann on github.
  • I am 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 / gist:6541294
Created September 12, 2013 17:47
how to blog about code and give zero fucks

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 / gist:3353532
Created August 14, 2012 22:23
Crowdsourced career mentorship for female developers

I was inspired by Selena Deckelmann's list of 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 / easywebserver
Created April 9, 2012 21:31
quick server (on a mac)
python -m SimpleHTTPServer
garann / gist:1038401
Created June 21, 2011 17:35
seems like there's a more efficient way of doing this..
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 / gist:814687
Created February 7, 2011 16:43
wcteditor - no private functions and multiple textareas
// jQuery plugin: WCTeditor
// by garann means
// text editor with basic markup functionality
(function($) {
var tmplLoaded = false;
function multiple(that, config) {
var editors = [];