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
| trigger: | |
| - master | |
| pool: | |
| name: 'Linux' | |
| steps: | |
| - script: | | |
| apt-get -qq -y update |
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
| mount -t afp afp://user:[email protected]/TMBackup/iMac\ de\ etienne.sparsebundle ~/mount | |
| hdiutil attach ~/mount/iMac\ de\ etienne.sparsebundle -mountpoint ~/TM |
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
| pip freeze | egrep -v '^(decorator|ipython-genutils|six|traitlets|backcall|ptyprocess|pexpect|wcwidth|prompt-toolkit|parso|jedi|pygments|pickleshare|ipython|ipdb)==' > requirements.txt |
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
| #in /etc/sudoers.d, create a file that contains | |
| Defaults:myuser !requiretty | |
| mysuser ALL= NOPASSWD:/usr/bin/rsync |
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
| ssh foo.example.com -p 80 |
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
| #This will tmux 2.7 in ~/local | |
| wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz | |
| tar xf libevent-2.1.8-stable.tar.gz | |
| cd libevent-2.1.8-stable | |
| ./configure --prefix=$HOME/local --disable-shared | |
| make install | |
| cd .. | |
| wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz |
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
| sudo -u uwsgi bash |