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
# Create a remote Mercurial repository and clone locally. | |
# Mercurial can manage an empty directory, so it can be done simply. | |
function hg-new { | |
ssh user@example.com "hg init $1" && hg clone ssh://user@example.com/$1 | |
} |
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
#!/opt/ruby-enterprise/bin/ruby | |
# MODIFIED: Minor fork to run smoothly under Ruby 1.8.6. Heredoc cleanup. | |
require 'rubygems' | |
require 'beanstalk-client' | |
if ARGV.length > 0 && ARGV[0] == 'config' | |
puts <<-END | |
graph_category App |
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
namespace :ae do | |
desc "Render After Effects Titles and Diagrams" | |
task :render do | |
mkdir_p "artwork/after_effects_rendered" | |
Dir['artwork/after_effects/[0-9]*.aep'].each do |aep_project_name| | |
aep_project_name = File.expand_path(aep_project_name) | |
mov_output_name = aep_project_name.gsub(/\.aep/, '.mov').gsub(/artwork\/after_effects/, 'artwork/after_effects_rendered') | |
command = ["'/Applications/Adobe After Effects CS4/aerender'", |
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
namespace :ae do | |
desc "Render After Effects Titles and Diagrams" | |
task :render do | |
mkdir_p "artwork/after_effects_rendered" | |
Dir['artwork/after_effects/[0-9]*.aep'].each do |aep_project_name| | |
aep_project_name = File.expand_path(aep_project_name) | |
mov_output_name = aep_project_name.gsub(/\.aep/, '.mov').gsub(/artwork\/after_effects/, 'artwork/after_effects_rendered') | |
command = ["'/Applications/Adobe After Effects CS4/aerender'", |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CPBundleExecutable</key> | |
<string>exp-animation.sj</string> | |
<key>CPBundleIdentifier</key> | |
<string>com.topfunky.expAnimation</string> | |
<key>CPBundleInfoDictionaryVersion</key> | |
<real>6.0</real> |
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
# Convert xib files to Cappuccino cib files. | |
# | |
# Run with | |
# | |
# rake cib | |
# | |
# Will only re-generate the XIB files that are newer than their CIB counterparts. | |
rule '.cib' => '.xib' do |t| |
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
(defun vim-open-buffer () | |
"Open current file in Vim" | |
(interactive) | |
(shell-command-to-string (concat "vim " buffer-file-name))) |
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
(defun byte-recompile-home () | |
"Speed load time" | |
(interactive) | |
(byte-recompile-directory "~/.emacs.d" 0)) |
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 Emacs on Mac OS X http://emacsformacosx.com/ | |
;; Opens files in the existing frame instead of making new ones. | |
(setq ns-pop-up-frames nil) |
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
" Vim color file | |
" Maintainer: Geoffrey Grosenbach <boss@topfunky.com> | |
" Last Change: 2010 June 3 | |
" License: Public Domain | |
" A color theme with a white background. Modified from an existing theme. | |
" | |
" It's supposed to look like the Emacs standard colors, at least | |
" for C. But Emacs has different categories, so it's not very good. |