start new:
tmux
start new with session name:
tmux new -s myname
| ############################################################################### | |
| # The MIT License | |
| # | |
| # Copyright 2012-2014 Jakub Jirutka <jakub@jirutka.cz>. | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is |
| #!/bin/sh | |
| # modified by jfro from http://www.cnysupport.com/index.php/linode-dynamic-dns-ddns-update-script | |
| # Update: changed because the old IP-service wasn't working anymore | |
| # Uses curl to be compatible with machines that don't have wget by default | |
| # modified by Ross Hosman for use with cloudflare. | |
| # | |
| # Place at: | |
| # /usr/local/bin/cf-ddns.sh | |
| # if you're lazy (like me): curl https://gist.githubusercontent.com/larrybolt/6295160/raw/9efbc7850613e06db1b415bdf4fbdd8361209865/cf-ddns.sh > /usr/local/bin/cf-ddns.sh && chmod +x /usr/local/bin/cf-ddns.sh && vim /usr/local/bin/cf-ddns.sh | |
| # run `crontab -e` and add next line: |
| #!/bin/sh | |
| # Installs tarsnap client on Debian and Ubuntu | |
| # | |
| # You'll need to setup an account at | |
| # http://www.tarsnap.com | |
| # and load it with some funds | |
| # | |
| # Make sure you run this as root | |
| # |