~/.pam_environment
# FOO=bar
# PATH DEFAULT=${PATH}:${HOME}/MyPrograms
- You may not quote the value when doing a simple variable assignment like the FOO=bar example.
brew update && | |
# parsers | |
brew install npm && | |
brew install node && | |
brew install ruby && | |
brew install go && | |
brew install python3 && | |
# parsers - java | |
brew tap caskroom/cask && |
# replace tabs with 4 spaces in .m and .h files | |
find . -name "*.[mh]" | while read line; do expand -t 4 $line > $line.new; mv $line.new $line; done | |
find . -name "*.[mh]" | while read line; do git stripspace < $line > $line.new; mv $line.new $line; done |
da< (or) da( (or) da{ // delete the block including <,(,{ and >,),} rsply | |
di< (or) di( (or) di{ // simillarly, but excluing <,(,{ and >,),} rsply | |
yi< (or) yi( (or) yi{ // yanks simillarly. Simillarly for ciw, viw, etc | |
df<Space> // delete from current char including the next space | |
daw // delete current word including the next space | |
diq // delete current word excluding the next space | |
yiw // yank current word excluding the next space | |
yaw // yank current word including the next space |
#!/bin/sh | |
# | |
# rsync partial progress to remote server | |
# | |
# edit the following variables | |
REMOTE_HOST_USERNAME="" | |
REMOTE_HOST_SERVER_ADDRESS="" | |
REMOTE_HOST_FILEPATH="" | |
# execution script |
'/^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4})*$/' |
#!/bin/bash | |
####################################################### | |
# CRIBBS -- Cron Rsync Incremental Backup Bash Script # | |
# AUTHOR: Adam Merrifield <http://adam.merrifield.ca> # | |
# (and countless sources from the web) # | |
# DATE: 05-26-11 23:17 # | |
# VERSION: 1.0.0 # | |
####################################################### | |
#!/bin/sh | |
# | |
# FIRST | |
# | |
# To load what's loading via launchd | |
launchctl list | |
# To kill and remove process from the list, | |
# launchctl remove name.of.process | |
# |