#git cheat sheet
##$ git clone Clone into a custom named folder
git clone git@github.com/username/repository.git foldername
Clone the last five commits
git clone --depth=5 git@github.com/username/repository.git
# https://gist.github.com/gists/1876339 | |
*.DS_Store | |
# ignore Xcode compiled build folder and application. | |
*build | |
*.app | |
# ignore Xcode User .pbxuser and .mode1v3 files. | |
*.pbxuser | |
*.mode1v3 |
// ofLog class | |
ofLogToFile("wng_"+ofGetTimestampString()+".log", true); | |
//ofLogToConsole(); | |
ofSetLogLevel(OF_LOG_VERBOSE); | |
ofLog(OF_LOG_VERBOSE, "Start Logging."); |
tell application "Finder" | |
activate | |
set this_window to make new Finder window | |
set bounds of front window to {0, 22, 1440, 430} | |
set this_window to make new Finder window | |
set bounds of front window to {0, 452, 1440, 900} | |
end tell |
#git cheat sheet
##$ git clone Clone into a custom named folder
git clone git@github.com/username/repository.git foldername
Clone the last five commits
git clone --depth=5 git@github.com/username/repository.git
# found at http://lifehacker.com/5874280/copy-text-from-quick-look-previews-with-a-terminal-hack | |
defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder |
#!/bin/sh | |
loc=0 | |
dirs="src foo bar" | |
for dir in $dirs; do | |
files=`find $dir -type f | egrep -v "svn" | egrep -v "(DS_Store|pdf|svn|sql|png|txt|swfupload)"` | |
lines=`wc -l $files | tail -1 | sed "s/total//g"` | |
loc=$(($loc + $lines)) | |
done |
D3 bl.ocks.org javascript template.
See it in action at WrongEntertainment/5676532
Draw SVG's with timeout.
writeln('console.log("plugin-sample")') |
I hereby claim:
To claim this, I am signing this object: