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
# xcode noise | |
*.mode1v3 | |
*.pbxuser | |
*.perspective | |
*.perspectivev3 | |
*.pyc | |
*~.nib/ | |
build/* | |
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
*.pbxproj -crlf -diff -merge | |
*.xcodeproj -diff | |
*.xcodeproj/* -diff | |
*.xcodeproj/project.xcworkspace/xcuserdata/*.xcuserdatad/UserInterfaceState.xcuserstate -diff | |
xcuserdata -diff |
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
# batch convert a directory of wav files to raw, downsampling to 22050 Hz | |
# the names will be .wav.raw | |
for i in `ls *.wav`; do echo -e "$i"; sox $i -r 22050 $i.raw; echo -e "$i.raw"; done | |
# downbitting | |
sox -b 24 a2.wav -r 22050 -b 16 a2.raw | |
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
# xcode noise | |
*.mode1v3 | |
*.pbxuser | |
*.perspective | |
*.perspectivev3 | |
*.pyc | |
*~.nib/ | |
build/* | |
xcuserdata |
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
OTHER_LDFLAGS = $(OF_CORE_LIBS) $(OF_PATH)/addons/ofxOpenCv/libs/opencv/lib/osx/opencv.a | |
HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS) $(OF_PATH)/addons/ofxOpenCv/src $(OF_PATH)/addons/ofxOpenCv/libs/opencv/include $(OF_PATH)/addons/ofxOpenCv/libs/opencv/include/opencv |
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
{ | |
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme", | |
"font_size": 12.0, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"folder_exclude_patterns": [".sass-cache"], | |
"file_exclude_patterns": ["*.woff", "*.ttf", "*.eot",".DS_Store"] | |
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
for i in `ls *.aiff`; do echo -e "$i"; sox $i $i.wav; echo -e "$i.wav"; done; |
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
# i know, could do that in bash | |
Dir.glob("#{Dir.pwd}/*").each do |f| | |
system("handlebars #{f} -f #{Dir.pwd}/#{File.basename(f, ".*")}.js ") | |
end |
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
# given a list of untracked svn files like | |
# ? trunk/content/build/backend/bin | |
# ? trunk/content/build/backend/ban | |
# ? trunk/content/build/backend/bun | |
# this will create a list out of them, then svn add them | |
# svn add trunk/content/build/backend/bin trunk/content/build/backend/ban trunk/content/build/backend/bun | |
svn_add_untracked(){ | |
svn status | grep '^?.*' | sed 's/? //' | xargs svn add |
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
kill_yo () { | |
ps | grep 'grunt serve' | grep -v 'grep' | sed 's/^ *//' | cut -d ' ' -f1 | xargs kill -15 | |
} |
OlderNewer