As configured in my dotfiles.
start new:
tmux
start new with session name:
| // ==UserScript== | |
| // @name Pipelines Cleaner | |
| // @namespace https://your-domain/ | |
| // @version 0.1 | |
| // @description Gitlab CI/CD Pipelines Cleaner | |
| // @author ecareyu | |
| // @match *://your-domain/*/*/pipelines | |
| // @require https://code.jquery.com/jquery-2.2.4.min.js | |
| // @run-at document-end | |
| // @grant none |
| git fetch --prune origin "+refs/tags/*:refs/tags/*" |
| #!/bin/sh | |
| # Backup | |
| git ls-remote backup --quiet | |
| if test $? = 0; | |
| then | |
| git push backup --force --all --quiet | |
| echo "...Backuped" | |
| else | |
| echo "No Backup repository => Skip backup" |
| {"lastUpload":"2017-02-06T02:56:45.161Z","extensionVersion":"v2.4.3"} |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/sh | |
| # | |
| # nginx - this script starts and stops the nginx daemin | |
| # | |
| # chkconfig: - 85 15 | |
| # description: Nginx is an HTTP(S) server, HTTP(S) reverse \ | |
| # proxy and IMAP/POP3 proxy server | |
| # processname: nginx | |
| # config: /usr/local/nginx/conf/nginx.conf | |
| # pidfile: /usr/local/nginx/logs/nginx.pid |