#!/bin/sh
# https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository
sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88 | grep docker@docker.com || exit 1
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
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
// Netable differences vs. the default firmware for the ErgoDox EZ: | |
// 1. The Cmd key is now on the right side, making Cmd+Space easier. | |
// 2. The media keys work on OSX (```But not on Windows). | |
#include QMK_KEYBOARD_H | |
#include "debug.h" | |
#include "action_layer.h" | |
#define BASE 0 // default layer | |
#define SYMB 1 // symbols | |
#define MDIA 2 // media keys |
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
compilation: | |
cloud_properties: | |
instance_type: m1.medium | |
network: cf1 | |
reuse_compilation_vms: true | |
workers: 6 | |
director_uuid: f0866720-b759-4601-8b0a-07024530e5f8 | |
jobs: | |
- instances: 1 | |
name: consul_z1 |
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: docker-tcp.socket | |
command: start | |
enable: yes | |
content: | | |
[Unit] | |
Description=Docker Socket for the API |
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
#!/bin/sh | |
# | |
# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the | |
# "License"). You may not use this file except in compliance | |
# with the License. A copy of the License is located at | |
# | |
# http://aws.amazon.com/apache2.0/ | |
# |
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
[general] | |
# Path to a Public key to install on servers. If a usable key has not | |
# been installed on the remote servers the user will be prompted for a | |
# password and this key will be installed so the password will not be | |
# required again | |
CONFIG_SSH_KEY= | |
# Set to 'y' if you would like Packstack to install MySQL | |
CONFIG_MYSQL_INSTALL=y |
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
[general] | |
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub | |
CONFIG_MYSQL_INSTALL=y | |
CONFIG_GLANCE_INSTALL=y | |
CONFIG_CINDER_INSTALL=y | |
CONFIG_NOVA_INSTALL=y | |
CONFIG_NEUTRON_INSTALL=y | |
CONFIG_HORIZON_INSTALL=y | |
CONFIG_SWIFT_INSTALL=n | |
CONFIG_CEILOMETER_INSTALL=y |
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
[general] | |
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub | |
CONFIG_MYSQL_INSTALL=y | |
CONFIG_GLANCE_INSTALL=y | |
CONFIG_CINDER_INSTALL=y | |
CONFIG_NOVA_INSTALL=y | |
CONFIG_NEUTRON_INSTALL=y | |
CONFIG_HORIZON_INSTALL=y | |
CONFIG_SWIFT_INSTALL=n | |
CONFIG_CEILOMETER_INSTALL=y |
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
install | |
cdrom | |
lang en_US.UTF-8 | |
keyboard us | |
network --bootproto=dhcp | |
rootpw --iscrypted $1$damlkd,f$UC/u5pUts5QiU3ow.CSso/ | |
firewall --enabled --service=ssh | |
authconfig --enableshadow --passalgo=sha512 | |
selinux --disabled | |
timezone --utc Asia/Tokyo |
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
#Wordpress構築チートシート | |
#元ネタ:https://gist.github.com/ysaotome/2235302 | |
#対決相手:http://tily.github.io/jtf2013/ | |
############################################### | |
# 環境変数を定義 WEB/APPサーバおよびDBサーバの双方で実行 | |
############################################### | |
## MySQL管理ユーザのパスワード | |
export MYSQL_ROOT_PASS='mysql##123' | |
## Wordpressデータベース名 |
NewerOlder