Skip to content

Instantly share code, notes, and snippets.

View buley's full-sized avatar
🤑

Tay buley

🤑
View GitHub Profile
curl -IL "http://www.nytimes.com/2014/05/11/opinion/sunday/kristof-whats-so-scary-about-smart-girls.html?smid=tw-share&smv1" | grep HTTP
HTTP/1.1 303 See Other
HTTP/1.1 302 Found
HTTP/1.1 303 See Other
HTTP/1.1 302 Found
HTTP/1.1 303 See Other
HTTP/1.1 302 Found
HTTP/1.1 303 See Other
HTTP/1.1 302 Found
HTTP/1.1 303 See Other
@buley
buley / gist:9752414
Last active August 29, 2015 13:57 — forked from munificent/gist:9749671
You appear to be advocating a new:
You appear to believe that:
Unfortunately, your idea (has/lacks):
The following philosophical objections apply:
@buley
buley / gist:9669739
Created March 20, 2014 17:48
How I explained promises
var ryan = function() {
console.log('hey girl');
};
for ( var x = 0; x < 10; x += 1 ) {
(function(z) { var prev = ryan;
ryan = function() {
console.log('hey guy', z);
prev();
} }(x));
}
@buley
buley / atom-events
Created February 28, 2014 03:32 — forked from ardcore/atom-events
application:open-your-keymap
application:open-your-stylesheet
autocomplete:attach
autoflow:reflow-paragraph
bookmarks:clear-bookmarks
bookmarks:jump-to-next-bookmark
bookmarks:jump-to-previous-bookmark
bookmarks:toggle-bookmark
bookmarks:view-all
check:correct-misspelling
#
# Initialize the stuff
#
# We build the status bar item menu
def setupMenu
menu = NSMenu.new
menu.initWithTitle 'FooApp'
mi = NSMenuItem.new
mi.title = 'Hellow from MacRuby!'
mi.action = 'sayHello:'
@buley
buley / And a title
Created January 12, 2014 05:13
This is my gist
It has a body
# Artsy Editorial
#
# Get Page stats from google analytics
GA = require('googleanalytics')
util = require('util')
require('date-utils');
module.exports = (robot) ->
robot.hear /stats (.*)http:\/\/artsy.net\/(.*)/i, (msg) ->
// Disable bold.
term_.prefs_.set('enable-bold', false)
// Use this for Solarized Dark
term_.prefs_.set('background-color', "#002b36");
term_.prefs_.set('foreground-color', "#839496");
term_.prefs_.set('color-palette-overrides', [
'#073642',
'#dc322f',
@buley
buley / gist:5078485
Created March 3, 2013 21:54
Guessed Gender At TC based on /feed
{
"Taylor": "likely-male",
"Ingrid": "female",
"Alex": "male",
"Gregory": "male",
"John": "male",
"Colleen": "female",
"Ross": "male",
"Natasha": "female",
@buley
buley / gist:5076940
Created March 3, 2013 16:57
Glass Research Raw Data
* For the (6332 + 1026) Google+ postings whose authors had first names assigned to a gender group, TK% (6332/(6332 + 1026)) were guessed to be male and TK% (1026/(6332 + 1026)) female. Including 517 uncertain cases, which somewhat generously throw out anything guessed to be less than 95% probability, the numbers water down to TK% male (6332/(517 + 6332 + 1026)) and TK% (1026/(517 + 6332 + 1026)) female. Among the uncertain cases, TK% (396/517) where thought to be 'likely male' and TK% (121/517) 'likely female'. TK% (2907/(6332 + 1026 + 2907 + 517)) of the overall postings were deemed ambiguous.
array(8) {
["all"]=>
int(10782)
["male"]=>
int(6332)
["gendered"]=>
int(10265)