Skip to content

Instantly share code, notes, and snippets.

View wadewilliams's full-sized avatar
⛰️
🔜

Wade Williams wadewilliams

⛰️
🔜
View GitHub Profile
@wadewilliams
wadewilliams / gist:4183373
Created December 1, 2012 17:33
Make a Symbolic Link to Sublime Text 2
ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime
@wadewilliams
wadewilliams / gist:4205757
Created December 4, 2012 16:21
git in terminal
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\n \W \!\$(parse_git_branch) > "
@wadewilliams
wadewilliams / gist:6084150
Created July 25, 2013 21:56
Sublime Terminal Command for OSX
sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/sublime
@wadewilliams
wadewilliams / gist:8526816
Created January 20, 2014 19:02
Install grunt with sass on ubuntu lucid32
122 ruby -v
132 sudo bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
133 sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev autoconf libxslt-dev
137 sudo usermod -a -G rvm root
138 sudo usermod -a -G rvm vagrant
139 rvm
140 which rvm
@wadewilliams
wadewilliams / gist:9983017
Created April 4, 2014 20:59
Raspberry Pi Things
http://alexba.in/blog/2013/01/07/use-your-raspberrypi-to-power-a-company-dashboard/
http://shopify.github.io/dashing/#widgets

Demo: http://dashing-github-issues.herokuapp.com/

This will give you a way to display a Dashing graph widget with a sub-set of github issues. Built on top of the graph widget and jwalton's github milestone widget.

To use:

  • Add the following to your gemfile:
  •   gem 'rest-client'
    
[
{ "keys": ["f12"], "command": "htmlprettify"},
{ "keys": ["f1"], "command": "fold" },
{ "keys": ["f2"], "command": "unfold" },
{ "keys": ["ctrl+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": "@"} },
{ "keys": ["ctrl+space"], "command": "auto_complete" },
{ "keys": ["ctrl+space"], "command": "replace_completion_with_auto_complete", "context":
[
{ "key": "last_command", "operator": "equal", "operand": "insert_best_completion" },
@wadewilliams
wadewilliams / gist:3b9fc10fb291c4c68c8c
Last active August 29, 2015 14:06
Sublime Flake8Lint settings
{
// debug mode (verbose output to ST python console)
"debug": false,
// run flake8 lint on file saving
"lint_on_save": true,
// run flake8 lint on file loading
"lint_on_load": false,
// popup a dialog of detected conditions?
'atom-workspace atom-text-editor:not([mini])':
'alt-up': 'editor:move-line-up'
'alt-down': 'editor:move-line-down'
'ctrl-alt-down': 'editor:duplicate-lines'
'atom-text-editor':
'alt-d': 'editor:delete-line'