Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| --- | |
| # ^^^ 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. |
| #!/bin/bash | |
| # Creates a bootable ISO from CoreOS' PXE images. | |
| # Also adds a run script to the OEM partition and converts the ISO so it can boot from USB media. | |
| # Based heavily off https://github.com/nyarla/coreos-live-iso - Thanks Naoki! | |
| set -e | |
| # Default configurations | |
| SYSLINUX_VERSION="6.02" |
| #!/bin/bash | |
| # chkconfig: 345 20 80 | |
| # description: Play start/shutdown script | |
| # processname: play | |
| # | |
| # Instalation: | |
| # copy file to /etc/init.d | |
| # chmod +x /etc/init.d/play | |
| # chkconfig --add /etc/init.d/play | |
| # chkconfig play on |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| ## END INIT INFO | |
| # Path to play install folder | |
| PLAY_HOME=/usr/share/play | |
| PLAY=$PLAY_HOME/play | |
| # Path to the JVM | |
| JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk |
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html