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
%_httpport 12345 | |
%_httpproxy http://your.proxy.url |
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
$ echo "aaa" | |
aaa | |
$ echo "aaa" | pbcopy | |
$ |
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
$ sudo yum --showduplicates search docker-ce | |
Loaded plugins: fastestmirror | |
Loading mirror speeds from cached hostfile | |
* base: ftp.riken.jp | |
* epel: ftp.riken.jp | |
* extras: ftp.riken.jp | |
* updates: ftp.riken.jp | |
========================================================== N/S matched: docker-ce =========================================================== | |
docker-ce-17.03.0.ce-1.el7.centos.x86_64 : The open-source application container engine | |
docker-ce-17.03.1.ce-1.el7.centos.x86_64 : The open-source application container engine |
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
$ chmod +x s.sh |
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
$ sudo yum -y install gcc make readline readline-devel zlib zlib-devel bzip2 bzip2-devel sqlite sqlite-devel openssl openssl-devel git |
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
{ | |
"title": "Person", | |
"type": "object", | |
"properties": { | |
"firstName": { | |
"type": "string" | |
}, | |
"lastName": { | |
"type": "string" | |
} |
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
defaults delete com.googlecode.iterm2 |
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
# 今月初め | |
$ echo $(date +"%Y%m%d" -d"`date +"%Y%m01"`") | |
20170901 | |
# 先月初め | |
$ echo $(date +"%Y%m%d" -d"`date +"%Y%m01"` 1 month ago") | |
20170801 | |
# 来月初め | |
$ echo $(date +"%Y%m%d" -d"`date +"%Y%m01"` + 1 month") |
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
cd ~/ | |
mkdir homebrew | |
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew |
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
$ man hier |
NewerOlder