- type
screen Ctrl a Ato rename sessionCtrl a cto create new sessionCtrl a Ctrl ato switch sessionsCtrl a dto exit (detach) screenscreen -lsto list sessionsscreen -rto reattachscreen -D -rto reattach if exited session without detaching (connected dropped for example)
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
| @daily /usr/sbin/pflogsumm -d yesterday --problems /var/log/mail.log | mail -s "Mail Server: Yesterday's mail activity" [email protected] |
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 apt-get install -y software-properties-common | |
| sudo add-apt-repository -y ppa:ubuntu-lxc/lxd-stable | |
| sudo apt-get update | |
| sudo apt-get install -y lxd | |
| sudo newgrp lxd | |
| sudo lxc config set core.https_address 127.0.0.1 | |
| sudo lxc config trust add $HOME/.config/lxc/client.crt |
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
| server { | |
| listen 80; | |
| server_name nagios.domain.com; | |
| access_log /var/log/nginx/nagios.access.log; | |
| error_log /var/log/nginx/nagios.error.log info; | |
| expires 31d; | |
| root /usr/share/nagios3/htdocs; |
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 | |
| sshfs [email protected]: local_dir/ -o uid=$(id -u) -o gid=$(id -g) | |
| # Unmount | |
| sudo umount -f local_dir/ |
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
| alias ls="ls -G" | |
| alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" | |
| alias serve="~/Scripts/serve" | |
| alias serve80="sudo ~/Scripts/serve 80" | |
| alias t="echo $0" | |
| alias gitlogall="git log --graph --decorate --pretty=oneline --abbrev-commit --all" | |
| source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh | |
| source ~/Scripts/git-completion.bash |
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
| [ | |
| { "id": "TI7ajCiDcpU", "title": "Starky - Gutter Music" }, | |
| { "id": "9bbH1vTTEUY", "title": "Skism - The Blank (16 Bit Remix)" }, | |
| { "id": "1acPYhOpUoU", "title": "Datsik - Retreat" }, | |
| { "id": "bo8I55AbcP4", "title": "Propa Tinz - Bablylon\"s Scared (16 Bit Remix)" }, | |
| { "id": "rr5gCKmgR0w", "title": "Akira Kiteshi - Pinball" }, | |
| { "id": "zx4G5qc_R7g", "title": "Bar 9 - Murda Sound" }, | |
| { "id": "FzTF_-fSTSw", "title": "Cookie Monsta - Antichrist" }, | |
| { "id": "IEWJ32ZF2i0", "title": "Koan Soan - Blessed" }, | |
| { "id": "wML1qxCMxXg", "title": "Physical - Mario Dub" }, |
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
| #!/usr/bin/env bash | |
| # ubuntu/trusty64 | |
| apt-get update | |
| apt-get install software-properties-common -y | |
| apt-add-repository ppa:ubuntu-lxc/daily | |
| add-apt-repository ppa:zfs-native/stable | |
| add-apt-repository ppa:nginx/stable -y |
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
| #!/usr/bin/env bash | |
| alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" | |
| alias serve="python -m SimpleHTTPServer" | |
| alias serve80="sudo python -m SimpleHTTPServer 80" | |
| alias ls='ls -G' | |
| source /Library/Developer/CommandLineTools/usr/share/git-core/git-prompt.sh | |
| source /Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash | |