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/sh | |
# expects: | |
# add_bp_css.sh my_rails_project | |
pushd ${HOME} | |
git clone [email protected]:joshuaclayton/blueprint-css | |
cd blueprint-css/lib | |
sudo bundle install --without test | |
ruby compress.rb -o ${HOME}/$1/app/assets/stylesheets |
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/sh | |
# Expects /path/to/dir_name | |
tar -czf `basename ${1}`.tar.gz ${1} |
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/sh | |
# Expects dir_name.tar.gz | |
tar -xzf ${1} |
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/sh | |
# Expects dir_name.tar.gz | |
tar -tzf ${1} |
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/sh | |
cat /etc/*release |
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/sh | |
# Expects /path/to/dir_name | |
du -sh ${1} |
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/sh | |
# Expects /path/to/dir_name | |
du -sh ${1}/* |
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/sh | |
# Expects /path/to/dir_name | |
df ${1} |
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/sh | |
# Expects /path/to/dir_name | |
find ${1} -ls -mtime +30 -maxdepth 1 |
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
# .bashrc | |
# Remember to: | |
# cd ~ | |
# wget https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh -O .git-prompt.sh | |
# wget https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -O .git-completion.sh | |
alias rm='rm -i' | |
alias cp='cp -i' |
OlderNewer