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
--- | |
# ^^^ YAML documents must begin with the document separator "---" | |
# | |
#### Example docblock, I like to put a descriptive comment at the top of my | |
#### playbooks. | |
# | |
# Overview: Playbook to bootstrap a new host for configuration management. | |
# Applies to: production | |
# Description: | |
# Ensures that a host is configured for management with Ansible. |
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
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid #999; | |
} |
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
# Make sure v8 port is uninstalled first! | |
cd /usr/ports/lang/v8/ | |
sudo make deinstall | |
# Install gem and get path | |
fetch http://rubygems.org/downloads/libv8-3.3.10.4.gem | |
sudo gem install libv8-3.3.10.4.gem | |
LIBV8_PATH=/usr/local/lib/ruby/gems/1.9/gems/libv8-3.3.10.4/lib/libv8 | |
# Install devel/libexecinfo ( see 'ports/156993: lang/v8 missing dependency to devel/libexecinfo' at http://www.freebsd.org/cgi/query-pr.cgi?pr=156993 ) ... |
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/env ruby | |
# Usage: gitio URL [CODE] | |
# | |
# Turns a github.com URL | |
# into a git.io URL | |
# | |
# Copies the git.io URL to your clipboard. | |
url = ARGV[0] | |
code = ARGV[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
.DS_Store | |
*.log | |
tmp/ |
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
# Delete/Move Rails default files | |
log 'moving', 'Rails default files' | |
run "mv README doc/README_FOR_RAILS" | |
run "rm public/index.html" | |
# Copy database.yml | |
log "copying", "database.yml" | |
run "cp config/database.yml config/database.example.yml" | |
# Create App 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
users: | |
kubicek: | |
repositories: | |
- "xnet/superstudent.git" | |
- "xnet/aukce.git" |