start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/bash | |
| version=1.0.1 | |
| versionDate="2014-02-14" | |
| function showHelp() { | |
| echo "watchfile - monitor file(s)/command and perform action when changed | |
| Possible ways of usage | |
| ---------------------------------------- |
| #!/usr/bin/env bash | |
| # | |
| # This is sp, the command-line Spotify controller. It talks to a running | |
| # instance of the Spotify Linux client over dbus, providing an interface not | |
| # unlike mpc. | |
| # | |
| # Put differently, it allows you to control Spotify without leaving the comfort | |
| # of your command line, and without a custom client or Premium subscription. | |
| # |
| #!/usr/bin/env python | |
| import os | |
| path = 'data' | |
| os.chdir(path) | |
| files = sorted(os.listdir(os.getcwd()), key=os.path.getmtime) | |
| oldest = files[0] | |
| newest = files[-1] |
| #!/usr/bin/sh | |
| DOMAIN="onlinebanking.tdbank.com" | |
| COOKIEJAR="cookiejar-tdbank" | |
| USERAGENT='Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2' | |
| USERNAME="username" | |
| read -sp "Password: " PASSWORD; echo | |
| curl \ |