Skip to content

Instantly share code, notes, and snippets.

View woodbridge's full-sized avatar
🎯
Focusing

Justin Woodbridge woodbridge

🎯
Focusing
View GitHub Profile
# Spawn generates a directory for hacking out a web idea, design and code.
#
# Directory Structure
#
# ├── Cakefile
# ├── coffee
# │   └── app.coffee
# ├── css
# │   └── app.css
# ├── index.html
set -g prefix C-x
bind r source-file ~/.tmux.conf \; display "Reloaded!"
set -sg escape-time 1
set -g base-index 1
setw -g pane-base-index 1
bind 2 split-window -v
bind 3 split-window -h
l = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar %Creset'
lol = log --pretty=oneline --abbrev-commit --graph --decorate
Andrew: Before we get started, tell me if you’re having this problem. Your business is getting bigger and bigger and bigger, and congratulations on that. But at the same time, you’re email inbox is getting bigger and bigger and bigger and bigger. How do you manage it all? Well, here’s a solution. It comes from UserVoice. Watch this. It’s a form that pops up that’s familiar to users. They can type in the subject of their message and look at what happens. Right here, if their issue is already addressed before, it’s right there. They get the answer because UserVoice finds it in your system. UserVoice, it’s a one-stop solution for all your help desk needs, easy to add to your website. You don’t have to use Gmail, or whatever email program you’re using. You can use UserVoice to manage customer feedback. And it’s easy to add. UserVoice.com.
Also, check this out. You know Shopify, right? Do you know how beautiful their stores are? Look at this store. Here’s another store from Shopify. Here’s another store. Thousand
@woodbridge
woodbridge / gist:2876363
Created June 5, 2012 17:23
sane .bashrc
export PS1="[\u@\h:\w] $ "
alias migrate='rake db:migrate'
alias ..='cd ..'
alias s='git status'
alias d='git diff'
alias r='git reset'
alias l='git log'
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
. ~/.bashrc
{"is_counter":false,"counter_to_id":null,"category":0,"for_or_against":"for","argument_strength":3,"argument_type_id":1,"against_id":1,"argument_type":{"category":0,"adjustment_factor":"1","default_strength":2,"questions":[{"text":"Did any party appear to be traveling in excess of the limit? Who?\r\n","id":1,"argument_type":{"category":0,"adjustment_factor":"1","default_strength":2,"group":{"id":1,"name":"Speeding"},"id":1,"name":"Excess of Limit"}},{"text":"What is the speed limit in this area?\r\n","id":2,"argument_type":{"category":0,"adjustment_factor":"1","default_strength":2,"group":{"id":1,"name":"Speeding"},"id":1,"name":"Excess of Limit"}},{"text":"How far over the limit do you believe the individual was going? Why do you reach that conclusion?\r\n","id":3,"argument_type":{"category":0,"adjustment_factor":"1","default_strength":2,"group":{"id":1,"name":"Speeding"},"id":1,"name":"Excess of Limit"}},{"text":"Were they ticketed?","id":4,"argument_type":{"category":0,"adjustment_factor":"1","default_stre
@woodbridge
woodbridge / gist:2934415
Created June 15, 2012 02:40
PUTting with Len's code
{"is_counter":false,"counter_to_id":null,"category":0,"for_or_against":"for","argument_strength":"5","argument_type_id":"12","against_id":"5","argument_type":{"category":0,"adjustment_factor":"3","default_strength":5,"questions":[{"text":"Were any of the drivers using their cell phone at the time the accident occurred? ","id":36,"argument_type":{"category":0,"adjustment_factor":"3","default_strength":5,"group":{"id":3,"name":"Inattention"},"id":12,"name":"Cell Phone"}},{"text":"Who?\r\n","id":37,"argument_type":{"category":0,"adjustment_factor":"3","default_strength":5,"group":{"id":3,"name":"Inattention"},"id":12,"name":"Cell Phone"}},{"text":"How do you know?\r\n","id":38,"argument_type":{"category":0,"adjustment_factor":"3","default_strength":5,"group":{"id":3,"name":"Inattention"},"id":12,"name":"Cell Phone"}},{"text":"Were they ticketed?","id":39,"argument_type":{"category":0,"adjustment_factor":"3","default_strength":5,"group":{"id":3,"name":"Inattention"},"id":12,"name":"Cell Phone"}}],"group":{"id":3,
{"is_counter":false,"counter_to_id":null,"category":0,"for_or_against":"for","argument_strength":3,"argument_type_id":1,"against_id":1,"argument_type":{"category":0,"adjustment_factor":"1","default_strength":2,"questions":[{"text":"Did any party appear to be traveling in excess of the limit? Who?\r\n","id":1,"argument_type":{"category":0,"adjustment_factor":"1","default_strength":2,"group":{"id":1,"name":"Speeding"},"id":1,"name":"Excess of Limit"}},{"text":"What is the speed limit in this area?\r\n","id":2,"argument_type":{"category":0,"adjustment_factor":"1","default_strength":2,"group":{"id":1,"name":"Speeding"},"id":1,"name":"Excess of Limit"}},{"text":"How far over the limit do you believe the individual was going? Why do you reach that conclusion?\r\n","id":3,"argument_type":{"category":0,"adjustment_factor":"1","default_strength":2,"group":{"id":1,"name":"Speeding"},"id":1,"name":"Excess of Limit"}},{"text":"Were they ticketed?","id":4,"argument_type":{"category":0,"adjustment_factor":"1","default_stre
{"argument_type_id": 12, "against_id": 5, "argument_type": {"category": 0, "adjustment_factor": "3", "default_strength": 5, "questions": [{"text": "Were any of the drivers using their cell phone at the time the accident occurred? ", "id": 36, "argument_type": {"category": 0, "adjustment_factor": "3", "default_strength": 5, "group": {"id": 3, "name": "Inattention"}, "id": 12, "name": "Cell Phone"}}, {"text": "Who?\r\n", "id": 37, "argument_type": {"category": 0, "adjustment_factor": "3", "default_strength": 5, "group": {"id": 3, "name": "Inattention"}, "id": 12, "name": "Cell Phone"}}, {"text": "How do you know?\r\n", "id": 38, "argument_type": {"category": 0, "adjustment_factor": "3", "default_strength": 5, "group": {"id": 3, "name": "Inattention"}, "id": 12, "name": "Cell Phone"}}, {"text": "Were they ticketed?", "id": 39, "argument_type": {"category": 0, "adjustment_factor": "3", "default_strength": 5, "group": {"id": 3, "name": "Inattention"}, "id": 12, "name": "Cell Phone"}}], "group": {"id": 3, "name": "