gist file name | real path |
---|---|
etc_default_docker.sh | /etc/default/docker |
systemd-dropin-file.conf | /etc/systemd/system/docker.service.d/10-env-file.conf |
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
debian@3b7da953d601:~$ dig rubygems.global.ssl.fastly.net | |
; <<>> DiG 9.9.5-12.1-Debian <<>> rubygems.global.ssl.fastly.net | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15429 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1 | |
;; OPT PSEUDOSECTION: | |
; EDNS: version: 0, flags:; udp: 512 |
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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
error_log /dev/stdout info; | |
#pid logs/nginx.pid; |
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
FROM debian:jessie | |
RUN sed -i -e "s@http://httpredir\.debian\.org/debian@http://ftp.jp.debian.org/debian@" /etc/apt/sources.list | |
RUN apt-get update | |
RUN DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y --no-install-recommends | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | |
build-essential autoconf bison ca-certificates libgdbm-dev libncursesw5-dev libncurses5-dev \ | |
libreadline6-dev tcl-dev tk-dev zlib1g-dev libssl-dev libffi-dev libyaml-dev libgmp-dev \ | |
adduser sudo |
4/27 落雷からの瞬断以来、NTTフレッツ光でのインターネット接続ができなくなった。 具体的には
- ctu.fletsnet.com の名前解決はできる
- ctu.fletsnet.com へのpingは通る
- https://ctu.fletsnet.com をブラウザで開くこととができない
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: | |
image: wordpress:latest | |
links: | |
- db:mysql | |
ports: | |
- 8080:80 | |
environment: | |
- WORDPRESS_DB_USER=wordpress | |
- WORDPRESS_DB_PASSWORD=wordpress | |
db: |
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
source 'https://rubygems.org' | |
gem 'psych' |
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
peco-gcloud-project-widget (){ | |
peco-gcloud project -z | anyframe-action-put | |
} | |
zle -N peco-gcloud-project-widget | |
bindkey '^gp' peco-gcloud-project-widget | |
peco-gcloud-ssh-widget (){ | |
peco-gcloud ssh -z | anyframe-action-put | |
} | |
zle -N peco-gcloud-ssh-widget |
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 | |
: ${image=centos:centos6} | |
: ${name=centos-test} | |
: ${run_command=/sbin/init} | |
: ${user=${USER}} | |
: ${ssh_key=$HOME/.ssh/id_rsa.pub} | |
set -x |