I hereby claim:
- I am alexggordon on github.
- I am alexggordon (https://keybase.io/alexggordon) on keybase.
- I have a public key whose fingerprint is CBE3 2BA0 3034 B3C3 C366 61BD 2835 C83F 45C1 9F32
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
ears () | |
{ | |
number=$RANDOM | |
number=$[ $number % 100 ] | |
osascript -e "set volume output volume $number" | |
} |
# taken from http://viget.com/extend/create-a-github-repo-from-the-command-line | |
function github-create() { | |
repo_name=$1 | |
dir_name=`basename $(pwd)` | |
invalid_credentials=0 | |
if [ "$repo_name" = "" ]; then | |
echo " Repo name (hit enter to use '$dir_name')?" |
# I need to turn | |
[ {:class_fk => 1234, :criteria => "citizenship", :grade => "A"}, | |
{:class_fk => 1234, :criteria => "effort", :grade => "B"} ] | |
# into | |
{ 1234 => {"citizenship" => "A", "effort" => "B"} } | |
import sublime | |
import sublime_plugin | |
import time | |
import threading | |
class InsertBigCommentCommand(sublime_plugin.TextCommand): | |
def run(self, args): | |
thread = BigComment(self.view, args) | |
thread.start() |
# Path to your oh-my-zsh installation. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="crunch" | |
export VISUAL=/usr/bin/vim |
SELECT score, | |
subreddit, | |
link_id, | |
body, | |
author | |
FROM [fh-bigquery:reddit_comments.2007], | |
[fh-bigquery:reddit_comments.2008], | |
[fh-bigquery:reddit_comments.2009], | |
[fh-bigquery:reddit_comments.2010], | |
[fh-bigquery:reddit_comments.2011], |
// react code | |
render() { | |
let delta = this.props.delta ? ( | |
<strong className={this.props.delta > 0 ? 'text-success' : 'text-danger'}> | |
{this.props.delta} | |
</strong> | |
) : null; | |
return ( | |
<div className='card'> |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
clang \ | |
-DNDEBUG \ | |
-g \ | |
-fwrapv \ | |
-O3 \ | |
-Wall \ | |
-Wstrict-prototypes \ | |
-mmacosx-version-min=10.7 \ | |
-I/Users/alexggordon/Documents/mysql-build/osx/py33-x86_64/staging/include \ | |
-I/Users/alexggordon/Documents/mysql-build/osx/py33-x86_64/staging/include/openssl \ |