View recipe.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute "compile-time-apt-get-update" do | |
command "apt-get update" | |
ignore_failure true | |
action :nothing | |
end.run_action(:run) |
View Default (OSX).sublime-keymap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["super+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["ctrl+shift+k"], "command": "find_under_expand" }, | |
{ "keys": ["ctrl+shift+s", "ctrl+shift+k"], "command": "find_under_expand_skip" }, | |
{ "keys": ["ctrl+shift+r"], "command": "reindent" , "args": {"single_line": false}} | |
] |
View AngularJS Controller Test.sublime-snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
describe('${1:SuiteName}', function() { | |
var scope, \$httpBackend, initController; | |
beforeEach(function() { | |
module('${2:ModuleName}', function(\$provide){ | |
}); |
View .bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add these to add branch autocompletion on a couple complex aliases | |
function _git_db() { | |
_git_branch | |
} | |
function _git_dbf { | |
_git_branch | |
} |
View .bash_prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the prompt | |
# This will show something like: | |
# | |
# chris@chris-ubuntu in ~ | |
# › | |
PS1='\n\[\033[01;35m\]\u@\h\[\033[00m\] in \[\033[01;34m\]\w\[\033[00m\]\n› ' | |
case "$TERM" in | |
xterm*|rxvt*) |
View output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
› curl -L get.yeoman.io | bash | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 10835 100 10835 0 0 22599 0 --:--:-- --:--:-- --:--:-- 22599 | |
You are using apt-get. I'll assume you have Linux with that. | |
Installing on Linux. | |
.-:/+ossyhhhddddddddhhhysso+/:-. |
View deploy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /path/to/node | |
var haibu = require('/path/to/haibu'); | |
var client = new haibu.drone.Client(); | |
process.stdin.resume(); | |
process.stdin.on('data', function(data){ | |
var package = JSON.parse(data.toString()); |
View dabblet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* cool buttons | |
*/ | |
body { | |
background: #fefefe; | |
} | |
ul { | |
box-shadow: 0 2px 5px rgba(0,0,0,0.15); |
View dabblet.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* cool buttons | |
*/ | |
body { | |
background: #fefefe; | |
} | |
ul { | |
box-shadow: 0 2px 5px rgba(0,0,0,0.15); |
View .bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make window name in byobu show current git branch | |
# git repo doesn't need to be hard-coded but overwrites custom window name | |
case "$TERM" in | |
screen*) | |
GIT_PS1_SHOWDIRTYSTATE=true | |
PROMPT_COMMAND='echo -ne "\033k$(__git_ps1)\033"' | |
;; | |
esac |
NewerOlder