I hereby claim:
- I am mitchthorson on github.
- I am mthorson (https://keybase.io/mthorson) on keybase.
- I have a public key ASC_amVLFBKnqLVIbjPCBm6XQWc8TB7mVHa1uuaD8kkkFAo
To claim this, I am signing this object:
{ | |
"01": "Alabama", | |
"02": "Alaska", | |
"04": "Arizona", | |
"05": "Arkansas", | |
"06": "California", | |
"08": "Colorado", | |
"09": "Connecticut", | |
"10": "Delaware", | |
"11": "District of Columbia", |
I hereby claim:
To claim this, I am signing this object:
/* Get site selection */ | |
var sites = document.getElementById('id_sites').querySelectorAll('option'); | |
selected_values = []; | |
for (var i=0; i<sites.length; i+=1) { | |
var site = sites[i]; | |
if (site.selected === true) { | |
selected_values.push(site.value); | |
} | |
} | |
console.log('[' + selected_values.toString() + ']'); |
#NICAR 2016
##Interactive News Spreadsheet
Name | Artist | Album | Track Number | |
---|---|---|---|---|
Farewell Jingle Bells | Dave Brubeck | A Dave Brubeck Christmas | 13 | |
Homecoming Jingle Bells | Dave Brubeck | A Dave Brubeck Christmas | 1 | |
Shots (early session version) | Frog Eyes | The Golden River | 23 | |
#!*@ You Tonight (feat. R. Kelly) | The Notorious B.I.G. | Life After Death (Deluxe Version) | 5 | |
#!*@ Me (Interlude) | The Notorious B.I.G. | Ready To Die The Remaster | 8 | |
#1 | Animal Collective | Strawberry Jam | 6 | |
#1 Hit Song | Minutemen | Double Nickels On The Dime | 6 | |
#CAKE | Shabazz Palaces | Lese Majesty | 12 | |
' Cello Song | Nick Drake | Five Leaves Left | 6 |
#Basic OSX setup and tools for development
These are the tools I use to be productive while writing code on a Mac. I wanted to write them down in case I need to set up a computer again from scratch, or in case it could be helpful to share with anyone else.
##Command line tools
xcode-select --install
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
sass: { | |
dist: { | |
options: { | |
sourcemap: true, | |
style: 'compressed' |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
Bundle 'chriskempson/base16-vim' |
{ | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_with_fields": true, | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme", | |
"detect_indentation": true, | |
"fade_fold_buttons": true, | |
"folder_exclude_patterns": |