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
set-window-option -g mode-keys emacs | |
bind-key C-t copy-mode | |
bind-key C-y paste-buffer | |
bind -n Pageup copy-mode -u |
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
go run vim.go |
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 ubuntu:14.04 | |
RUN sed -i -e 's/\/\/archive.ubuntu.com/\/\/ftp.jaist.ac.jp\/pub\/Linux/g' /etc/apt/sources.list | |
RUN apt-get -y update && apt-get install -y wget gcc | |
RUN apt-get install -y \ | |
build-essential \ | |
libffi-dev \ | |
zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev \ | |
sqlite3 libsqlite3-dev |
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
* * * * * docker exec some-container some-command |
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
1. ls -l /etc/hoge/fuga.conf | |
2. chmod 0600 /etc/hoge/fuga.conf | |
3. vim /etc/hoge/fuga.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
Job for netctl@wlp3s0\x2dSSID名.service failed because the control process exited with error code. | |
See "systemctl status "netctl@wlp3s0\\x2dSSID名.service"" and "journalctl -xe" for details. |
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
output { | |
elasticsearch { | |
host => elasticsearch | |
port => 9200 | |
} | |
} |
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
(defun ido-git-grep() | |
(interactive) | |
(setq user-input-line | |
(split-string | |
(ido-completing-read | |
"git-grep:" | |
(split-string (shell-command-to-string | |
(format "git grep -n %s" (read-string "keyword:"))) | |
"\n")) | |
":")) |
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 1000:1000 |
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
Description='A basic static ethernet connection' | |
Interface=enp2s0 | |
Connection=ethernet | |
IP=static | |
Address=('192.168.25.219') | |
Gateway='192.168.24.254' | |
DNS=('192.168.4.10', '192.168.4.12') |