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
To Change [1] to .jpg in all your files | |
First, lets display the output to make sure it is correct | |
ls * | awk '{print("mv "$1" "$1)}' | sed 's/\[1\]/.jpg/2' | |
If it looks right, pipe the output to shell to execute | |
ls * | awk '{print("mv "$1" "$1)}' | sed 's/\[1\]/.jpg/2' | /bin/sh |
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
PROJECT_DIR="$( cd "$( dirname "${BASH_SOURCE}" )/.." && pwd )" |
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
{ | |
"Version": "2008-10-17", | |
"Id": "Policy1395742968152", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1395742934142", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "*" | |
}, |
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
# source this file | |
wget https://github.com/ktaragorn/dotfiles/blob/master/bashrc.d/scm_ps1 | |
brew install bash-completion | |
# copy into bash_profile | |
source scm_ps1 | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion |
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
#1 - Install Thoughtbot's script | |
https://github.com/thoughtbot/laptop | |
#2 - iTerm2 / byobu | |
- Download iTerm2 Solarized Dark | |
- https://github.com/mbadolato/iTerm2-Color-Schemes | |
http://fideloper.com/mac-vim-tmux | |
http://www.sitepoint.com/tmux-a-simple-start/ | |
https://gist.github.com/simme/1297707 | |
http://www.linux.com/learn/tutorials/623327-enhancing-virtual-terminals-with-byobu |
OlderNewer