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
desc 'Install MacVim' | |
task :macvim do | |
system 'git clone git://github.com/b4winckler/macvim.git ~/Downloads/macvim' | |
system 'cd ~/Downloads/macvim && git pull' | |
system 'cd ~/Downloads/macvim && make clean' | |
system 'cd ~/Downloads/macvim && ./configure --with-features=huge --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-cscope --with-tlib=ncurses --enable-multibyte' | |
system 'cd ~/Downloads/macvim && make' | |
system 'rm -rf /Applications/MacVim.app' | |
system 'cd ~/Downloads/macvim && cp -R ~/Downloads/macvim/src/MacVim/build/Release/MacVim.app /Applications' | |
system 'cd ~/Downloads/macvim && cp ~/Downloads/macvim/src/MacVim/mvim /usr/local/bin' |
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
require 'uri' | |
class ::Chef::Recipe | |
include ::Openstack | |
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
{ | |
"name": "development", | |
"description": "", | |
"cookbook_versions": { | |
"apache2": "= 1.6.7", | |
"apt": "= 2.0.1", | |
"aws": "= 0.101.3", | |
"build-essential": "= 1.4.1", | |
"ceilometer": "= 0.0.1", | |
"cinder": "= 0.0.10", |
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
# Attributes | |
default["some"]["thing"] = "foop" | |
# Recipe | |
# This prints the value | |
Chef::Log.warn node["some"]["thing"] | |
template "farp" do | |
source "farp.erb" | |
variables( |
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
GIT | |
remote: git://github.com/opscode/test-kitchen.git | |
revision: bf17d76df4c63bb58f70dd32ce0deb1b09b9df8d | |
branch: 1.0 | |
specs: | |
test-kitchen (1.0.0.dev) | |
celluloid | |
mixlib-shellout | |
net-scp | |
net-ssh |
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
autocmd BufNewFile,BufRead *_test.rb setlocal makeprg=m errorformat=%A%>\ \ %n)\ Failure:,%C%m\ [%f:%l]:,%Z | |
autocmd BufNewFile,BufRead *_test.rb setlocal makeprg=m errorformat+=%A%>\ \ %n)\ Error:,%C%.%#:,%C%m\ for\ #<%.%#>,%Z\ \ \ \ %f:%l:in\ \`%.%#\',%-G%.%# | |
"autocmd BufNewFile,BufRead *_spec.rb setlocal makeprg=rspec errorformat=rspec\ %f:%l\ #\ %m,%-G%.%# | |
autocmd BufNewFile,BufRead *_spec.rb setlocal makeprg=rspec errorformat=%A%>\ \ %n)%.%#,%C%>\ \ \ \ \ Failure/Error:%.%#,%C\ \ \ \ \ %m:,%C\ \ \ \ \ \ \ ,%C\ \ \ \ \ \ \ %m,%C\ \ \ \ \ #\ %f:%l:in%.%#,%Z,%-G%.%# | |
function! RunMake(...) | |
if a:0 == 1 | |
echo "Running " . &makeprg . " " . a:1 . "..." | |
silent exec "make! " . a: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
on alfred_script(q) | |
tell application "Pomodoro" | |
if q is equal to "reset" then | |
reset | |
else if q is equal to "resume" then | |
resume | |
else if q is equal to "complete" then | |
force completion | |
else if q is equal to "external" then |
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
# MySQL. Versions 4.1 and 5.0 are recommended. | |
# | |
# Install the MySQL driver: | |
# gem install mysql2 | |
# | |
# And be sure to use new-style password hashing: | |
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html | |
development: | |
adapter: mysql2 | |
encoding: utf8 |
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
claco@dean ~/Sites/within3/within3_setup (master) (ree-1.8.7-2010.02@setup) $ rake instance:create[claco] | |
(in /Volumes/Within3/within3_setup) | |
knife ec2 server create -I ami-0a59bb63 -d centos5-gems -f m1.large -S default -i ./ssh/w3-default-key-pair.pem --ssh-user root -G engineering | |
Instance ID: i-5f4f6031 | |
Flavor: m1.large | |
Image: ami-0a59bb63 | |
Availability Zone: us-east-1d | |
Security Groups: engineering | |
SSH Key: default |
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
Installation of RVM to /Users/claco/.rvm/ is complete. | |
Christopher H. Laco, | |
Thank you very much for using RVM! I sincerely hope that RVM helps to | |
make your work both easier and more enjoyable. | |
If you have any questions, issues and/or ideas for improvement please | |
join#rvm on irc.freenode.net and let me know, note you must register |
NewerOlder