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
mkdir $HOME/local |
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 /tmp | |
wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz | |
tar zxvf go1.8.linux-amd64.tar.gz | |
mv /tmp/go ~/goroot |
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
#!/usr/bin/perl | |
$out_dir = 'build'; | |
$latex = 'platex -halt-on-error %O %S'; | |
$dvipdf = 'dvipdfmx -p a4 -x 40 -y 58 %O %S'; | |
$pdf_mode = 3; | |
$pdf_previewer = 'exit'; |
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
\rm\TeX |
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 [SHORT-OPTION]... [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
$ ls testdir/ -l | |
ls: -l: No such file or directory | |
testdir/: | |
testfile1.txt testfile2.txt | |
$ echo $? | |
1 |
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
{ | |
"@timestamp": "2016-05-23T08:05:34.853Z", | |
"beat": { | |
"hostname": "host.example.com", | |
"name": "host.example.com" | |
}, | |
"metricset": { | |
"host": "localhost", | |
"module": "system", | |
"name": "load", |
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
$ curl https://sdk.cloud.google.com | bash |
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
" insert mode | |
imap <C-p> <Up> | |
imap <C-n> <Down> | |
imap <C-b> <Left> | |
imap <C-f> <Right> | |
imap <C-a> <C-o>:call <SID>home()<CR> | |
imap <C-e> <End> | |
imap <C-d> <Del> | |
imap <C-h> <BS> | |
imap <C-k> <C-r>=<SID>kill()<CR> |
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 softwareupdate --list |