start new:
tmux
start new with session name:
tmux new -s myname
mtr -r 75.98.93.66 | |
Start: Mon Nov 3 19:23:53 2014 | |
HOST: JustinMBA.local Loss% Snt Last Avg Best Wrst StDev | |
1.|-- 10.0.1.1 0.0% 10 1.4 1.5 1.3 2.5 0.0 | |
2.|-- 71.198.40.1 0.0% 10 15.0 15.7 13.8 17.2 1.1 | |
3.|-- te-0-7-0-9-sur03.oakland. 0.0% 10 15.5 20.0 14.6 29.2 5.3 | |
4.|-- te-0-2-0-6-ar01.sfsutro.c 0.0% 10 16.6 18.4 15.6 27.1 3.4 | |
5.|-- he-1-4-0-0-cr01.sanjose.c 0.0% 10 18.2 19.9 18.2 23.4 1.6 | |
6.|-- he-0-13-0-0-pe03.11greato 0.0% 10 35.2 21.9 18.3 35.2 5.5 | |
7.|-- xe-9-3-0.sjc10.ip4.tinet. 0.0% 10 18.3 19.3 17.4 21.3 1.0 |
############################################################################### | |
# The MIT License | |
# | |
# Copyright 2012-2014 Jakub Jirutka <[email protected]>. | |
# | |
# 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 |
8/25/14 11:52:41.019 AM Mailbox (Beta)[1222]: Logger instance installed | |
8/25/14 11:52:41.019 AM Mailbox (Beta)[1222]: Logger instance installed | |
8/25/14 11:52:41.020 AM Mailbox (Beta)[1222]: Logger instance installed | |
8/25/14 11:53:11.635 AM Mailbox (Beta)[1222]: [ERROR] DropboxSDK: SSL Error. Cannot validate a certificate for the host: api.dropbox.com | |
8/25/14 11:53:11.636 AM Mailbox (Beta)[1222]: [WARNING] DropboxSDK: error making request to /1/login - (-1012) Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" | |
8/25/14 11:53:11.636 AM Mailbox (Beta)[1222]: Login Error: Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" |
#!/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/bash | |
echo `date +%F\ %T`: Removing $1 backup from `date -d "7 days ago" "+%Y-%m-%d"` >> /var/log/tarsnap/backupscript.log | |
/usr/local/bin/tarsnap -d -f $1-`date -d "7 days ago" "+%Y-%m-%d"` &>> /var/log/tarsnap/backupscript.log | |
echo `date +%F\ %T`: Completed removing $1 backup from `date -d "7 days ago" "+%Y-%m-%d"` >> /var/log/tarsnap/backupscript.log |
#! /bin/bash | |
echo `date +%F\ %T`: Beginning back up of $2 >> /var/log/tarsnap/backupscript.log | |
/usr/local/bin/tarsnap -c -f $1-`date +%F` $2 &>> /var/log/tarsnap/backupscript.log | |
echo `date +%F\ %T`: Completed back up of $2 >> /var/log/tarsnap/backupscript.log |
#!/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 | |
# |
Active Internet connections (servers and established) | |
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name | |
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 0 979192 23267/lt-nghttpx | |
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 0 905842 3037/lt-nghttpd | |
tcp 0 0 127.0.0.2:80 0.0.0.0:* LISTEN 0 875607 25471/nginx | |
tcp 0 0 127.0.0.2:80 127.0.0.1:41485 TIME_WAIT 0 0 - | |
tcp6 0 0 :::443 :::* LISTEN 0 875606 25471/nginx | |
tcp6 0 0 :::8080 :::* LISTEN 0 905843 3037/lt-nghttpd | |
tcp6 0 0 :::80 :::* LISTEN 0 875605 25471/nginx |
================== | |
Request over IPv4 | |
================== | |
curl -v -k -4 https://cdntest.org:8443/ | |
* Adding handle: conn: 0x7fc21100c400 | |
* Adding handle: send: 0 | |
* Adding handle: recv: 0 | |
* Curl_addHandleToPipeline: length: 1 |