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
Come see my teammate Derek Collison talk about the PaaS we've been building at VMware | |
http://www.rubyconf.org/presentations/8 | |
⚡ $ vmc -h | |
version # version | |
help, -h # show usage |
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
Add to ~/.gitconfig | |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green |
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/lib/ruby/gems/1.8/gems/mongrel-1.1.5.1/lib/mongrel/configurator.rb | |
# Writes the PID file if we're not on Windows. | |
def write_pid_file | |
if RUBY_PLATFORM !~ /mswin/ | |
log "Writing PID file to #{@pid_file}" | |
open(@pid_file,"w") {|f| f.write(Process.pid) } | |
open(@pid_file,"w") do |f| | |
f.write(Process.pid) | |
File.chmod(0644, @pid_file) |
NewerOlder