This file contains hidden or 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
man() { | |
env \ | |
LESS_TERMCAP_mb=$(printf "\e[1;31m") \ | |
LESS_TERMCAP_md=$(printf "\e[1;31m") \ | |
LESS_TERMCAP_me=$(printf "\e[0m") \ | |
LESS_TERMCAP_se=$(printf "\e[0m") \ | |
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \ | |
LESS_TERMCAP_ue=$(printf "\e[0m") \ | |
LESS_TERMCAP_us=$(printf "\e[1;32m") \ | |
man "$@" |
This file contains hidden or 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
require 'chef/sugar' | |
def loop_hash(hash, keys = [], &block) | |
hash.each do |k, v| | |
if v.is_a?(Hash) | |
loop_hash(v, keys.push(k), &block) | |
keys.pop | |
elsif block | |
p = keys << k | |
yield(p.clone, v) |
This file contains hidden or 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
alias kitchen='$HOME/git/chef-repo/osuosl-cookbooks/workstation/files/default/kitchen/bin/kitchen' | |
export KITCHEN_GLOBAL_YAML='$HOME/git/chef-repo/osuosl-cookbooks/workstation/files/default/kitchen/kitchen.global.yml' |
This file contains hidden or 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
::File.open('/root/packages', 'r') do |f| | |
f.each_line do |l| | |
package l.strip | |
end | |
end |
This file contains hidden or 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 path to application | |
app_dir = File.expand_path("../..", __FILE__) | |
shared_dir = "#{app_dir}/shared" | |
working_directory app_dir | |
# Set unicorn options | |
worker_processes 2 | |
preload_app true | |
timeout 30 |
This file contains hidden or 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
export GITAWAREPROMPT=/home/armiller/.bash/git-aware-prompt | |
source "${GITAWAREPROMPT}/main.sh" | |
export PS1="\${debian_chroot:+(\$debian_chroot)}\[\033[01;32m\]\u@workstation\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " |
This file contains hidden or 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 nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'tpope/vim-fugitive' | |
"Plugin 'tpope/vim-endwise' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'scrooloose/nerdcommenter' |
This file contains hidden or 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
homebrew=/usr/local/bin:/usr/local/sbin | |
export PATH=$homebrew:$PATH | |
#ruby=/usr/local/opt/ruby/bin | |
export PATH=$PATH:/usr/local/opt/go/libexec/bin:/Users/Knifeninjas/Library/Haskell/bin | |
## | |
# Your previous /Users/Knifeninjas/.bash_profile file was backed up as /Users/Knifeninjas/.bash_profile.macports-saved_2012-10-17_at_21:40:28 | |
## | |
if [ -f ~/.bashrc ]; then |
This file contains hidden or 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
{ | |
"Prompt Before Closing 2" : 2, | |
"Selected Text Color" : { | |
"Green Component" : 0.5624475, | |
"Red Component" : 0.4779736, | |
"Blue Component" : 0.5573205 | |
}, | |
"Rows" : 100, | |
"Ansi 11 Color" : { | |
"Green Component" : 0.4205398, |
This file contains hidden or 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
export CLICOLOR='1' | |
function irc () { | |
ssh -t truth "screen -dr" | |
} | |
#export PATH=/usr/local/bin:$PATH | |
NORMAL="\[\e[0m\]" |
NewerOlder