This file contains hidden or 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
set-option -g default-shell /usr/local/bin/fish | |
set-option -g default-command /usr/local/bin/fish | |
#set-option -g display-time 3000 | |
#set-option -g status-interval 1 | |
set-option -g set-titles on | |
set-window-option -g utf8 on | |
# auto window rename | |
setw -g automatic-rename |
This file contains hidden or 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
; monokai | |
ANSIColor=0,39,40,34, 1,243,4,75, 2,141,208,6, 3,204,204,129, 4,3,131,245, 5,168,125,184, 6,88,194,229, 7,255,255,255, 8,124,124,124, 9,167,3,52, 10,116,170,4, 11,182,182,73, 12,1,84,158, 13,137,86,156, 14,26,131,166, 15,202,202,202 |
This file contains hidden or 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
# Usage: | |
# docker build -t docker-php-example . | |
# docker run -d -p 8080:80 docker-php-example | |
# open http://192.168.99.100:8080/ | |
FROM php | |
RUN echo "<?php echo 'Hello World';" > /tmp/index.php | |
CMD ["php", "-S", "0.0.0.0:80", "-t", "/tmp"] |
This file contains hidden or 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
# Usage: | |
# curl -o maker.zip https://downloads.wordpress.org/theme/maker.0.1.7.zip | |
# unzip maker.zip | |
# docker build -t docker-wp-with-theme-example . | |
# docker run -d --name wpmysql -e MYSQL_ROOT_PASSWORD=SUqUpxm8PYVzdY6V mysql | |
# docker run -d --name wp --link wpmysql:mysql -d -p 8080:80 docker-wp-with-theme-example | |
# open http://192.168.99.100:8080/ | |
FROM wordpress | |
ADD maker /usr/src/wordpress/wp-content/themes/maker |
This file contains hidden or 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
set-option -g default-shell /usr/local/bin/fish | |
set-option -g default-command /usr/local/bin/fish | |
set-option -g set-titles on | |
# auto window rename | |
setw -g automatic-rename | |
# mouse setting | |
set -g mouse on |
This file contains hidden or 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 | |
hostname: coreos | |
coreos: | |
update: | |
reboot-strategy: best-effort | |
etcd: | |
discovery: https://discovery.etcd.io/{HASH} | |
addr: 192.168.10.9:4001 |
This file contains hidden or 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 | |
ansible-playbook -i inventory jenkins.yml |
This file contains hidden or 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 | |
######################################################################## | |
# rpi2-build-image | |
# Copyright (C) 2015 Ryan Finnie <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. |
This file contains hidden or 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
- hosts: 127.0.0.1 | |
connection: local | |
tasks: | |
- yum: name={{item}} | |
with_items: | |
- httpd | |
- php | |
- mysql |
This file contains hidden or 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 | |
# MySQLの接続先 | |
MYSQL_ID='root' | |
MYSQL_HOST='localhost' | |
MYSQL_SCHEMA='redmine' | |
# ユーザーのテーブル定義 | |
TABLE_USER_FROM='users' | |
TABLE_USER_FROM_ID='id' |
NewerOlder