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 f in $(find . -name "*.tif"); do if [ ! -f "${f/%tif/gif}" ]; then convert "$f" -resize 800 "${f/%tif/gif}"; fi; done && echo "Finished converting `pwd`" | mail -s "Finished `pwd`" ryanshaw@ischool.berkeley.edu) & |
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 f in $(find . -name "*.jp2"); do convert "$f" -resize 800 -colorspace Gray "${f/%jp2/jpg}"; done && echo "Finished converting `pwd`" | mail -s "Finished `pwd`" ryanshaw@ischool.berkeley.edu) & |
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
import os | |
import sys | |
import StringIO | |
import ipy_defaults | |
import ipy_stock_completers | |
import IPython.ipapi | |
ip = IPython.ipapi.get() | |
o = ip.options |
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
#!/usr/bin/perl -w | |
use strict; | |
use WWW::Mechanize; | |
use MIME::Lite; | |
my $from = shift; | |
my $to = shift; | |
my $url = shift; | |
my $title = shift; |
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
ffmpeg -vn -acodec copy -i file.mp4 file.mov |
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
./manage.py migrate appname --fake zero | |
rm -r appname/migrations/ | |
./manage.py startmigration --initial appname | |
./manage.py migrate |
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
find . -iname *.flac -exec sh -c "flac -sdc \"{}\" | lame --preset insane - \"{}.mp3\" " \; |
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
/usr/local/Library/Homebrew/install.rb:38:in `dump': no marshal_dump is defined for class StringIO (TypeError) | |
from /usr/local/Library/Homebrew/install.rb:38 | |
from /usr/local/Library/Formula/couchdb.rb:41 | |
==> Downloading http://www.apache.org/dyn/closer.cgi?path=couchdb/1.1.0/apache-couchdb-1.1.0.tar.gz | |
Error: undefined class/module OpenURI:: | |
Please report this bug: https://github.com/mxcl/homebrew/wiki/Checklist-before-filing-a-new-issue | |
/usr/local/Library/Homebrew/formula_installer.rb:92:in `load' | |
/usr/local/Library/Homebrew/formula_installer.rb:92:in `install_formula' | |
/usr/local/Library/Homebrew/utils.rb:207:in `ignore_interrupts' | |
/usr/local/Library/Homebrew/formula_installer.rb:88:in `install_formula' |
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
Some "config" scripts were found in your path, but not in system or Homebrew folders. | |
`./configure` scripts often look for *-config scripts to determine if software packages | |
are installed, and what additional flags to use when compiling and linking. | |
Having additional scripts in your path can confuse software installed via Homebrew if | |
the config script overrides a system or Homebrew provided script of the same name. | |
/usr/X11R6/bin | |
freetype-config libpng-config libpng15-config |
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
HOMEBREW_VERSION: 0.8 | |
HEAD: e8554bf51c02532bb16332acb1eb78346c24a3f3 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
HOMEBREW_REPOSITORY: /usr/local | |
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew | |
Hardware: 8-core 64-bit sandybridge | |
OS X: 10.7 | |
Kernel Architecture: x86_64 | |
Ruby: 1.8.7-249 |
OlderNewer