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
#cloud-config | |
coreos: | |
units: | |
- name: format-ephemeral.service | |
command: start | |
content: | | |
[Unit] | |
Description=Formats the ephemeral drive | |
[Service] |
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
* http://docker.com | |
* guides: https://docs.docker.com/installation/#installation | |
* Docker hub: http://hub.docker.com | |
# Useage of existiing images - jira example (all in one) | |
* docker pull cptactionhank/atlassian-jira:latest # pull the image from docker hub | |
* docker run -p 8080:8080 cptactionhank/atlassian-jira:latest # run's a container with a jira instance | |
* http://docker-host:8080/ | |
# Useage of existing images - wordpress example (db and webserver) |
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
DEVICE=`hdiutil attach -nomount ram://2048000` # 2GB Ramdisk | |
diskutil erasevolume HFS+ "ramdisk" $DEVICE # mounted automaticaly in /Volumes/ramdisk | |
BASE_DIR=/usr/local/opt/mysql # MySQL home installed via Homebrew | |
DATA_DIR=/Volumes/ramdisk # Ramdisk home | |
SOCKET=/tmp/mysql_ram.sock # SOcket for the new mysql server instance | |
PID_FILE=/tmp/mysql_ram.pid # Pid file for the mysql server | |
# Create mysql db in ramdisk dir | |
mysql_install_db --basedir="$BASE_DIR" --datadir="$DATA_DIR" |
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 :i18n do | |
desc "Find and list translation keys that do not exist in all locales" | |
task :missing_keys => :environment do | |
finder = MissingKeysFinder.new(I18n.backend) | |
finder.find_missing_keys | |
end | |
end | |
class MissingKeysFinder |
NewerOlder