Skip to content

Instantly share code, notes, and snippets.

View paulvollmer's full-sized avatar
:octocat:
!#

Paul Vollmer paulvollmer

:octocat:
!#
View GitHub Profile
@paulvollmer
paulvollmer / xCode ignores
Created February 21, 2012 12:45
gitignore oF Xcode project
# 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.");
@paulvollmer
paulvollmer / create_two_finder_window.scpt
Created April 22, 2012 09:14
applescript create two finder window
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
@paulvollmer
paulvollmer / git_cheat_sheet.md
Last active August 14, 2019 06:02
Clone with submodules

#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
@paulvollmer
paulvollmer / quick look copy hack
Created January 31, 2013 12:49
Copy Text from Quick Look Previews
# 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
@paulvollmer
paulvollmer / README.md
Last active December 17, 2015 21:39
bl.ocks.org javascript template
@paulvollmer
paulvollmer / README.md
Last active December 17, 2015 21:48
SVG timeout

Draw SVG's with timeout.

@paulvollmer
paulvollmer / writescript-plugin-sample.js
Created July 7, 2015 23:15
writescript-plugin-sample
writeln('console.log("plugin-sample")')

Keybase proof

I hereby claim:

  • I am paulvollmer on github.
  • I am paulvollmer (https://keybase.io/paulvollmer) on keybase.
  • I have a public key ASCoLXc_wnU9eRDFXSoa_fgB5doz7QIAcZ6dYE1p1ojZ9Qo

To claim this, I am signing this object: