by default, gls/ls --color prints the directory name using a rather dark blue foreground. i
use a black terminal...i think most people do too. i find this to be quite unreadable.
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
do you ever try to edit some shit, like /etc/hosts or some apache | |
config, and forget to sudo? and then you have to f-ing exit vim and | |
re-run the command with sudo out in front of it? i hate that shit. | |
so here's a way to deal with that. | |
1. install the sudo.vim plugin | |
mkdir -p ~/.vim/plugin && cd ~/.vim/plugin \ | |
&& curl -o sudo.vim \ | |
'http://www.vim.org/scripts/download_script.php?src_id=3477' |
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
env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/opt/local/bin/mysql_config5 |
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
a:focus { | |
outline: none; | |
} |
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
[user] | |
email = <your-email> | |
name = <your-name> | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[alias] | |
st = status | |
co = checkout |
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
#!/bin/bash | |
if [ "$1" == "--hard" ]; then | |
git add . | |
git reset --hard | |
else | |
git add . | |
git commit -a -m 'FUCK' > /dev/null | |
git reset HEAD^ |
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
*.pbxproj -crlf -diff -merge |
stole this off a blog post somewhere, i forget. makes your rake spec output like 900 times more PIMP.
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
script/runner 'require("db/migrate/###_yo_migration.rb").first.constantize.up' |
OlderNewer