Skip to content

Instantly share code, notes, and snippets.

View gdoumergue's full-sized avatar

Grégoire Doumergue gdoumergue

View GitHub Profile
$ traceroute 88.189.56.133
traceroute to 88.189.56.133 (88.189.56.133), 30 hops max, 60 byte packets
1 10.242.64.8 (10.242.64.8) 1.531 ms 1.508 ms 1.517 ms
2 216.182.224.254 (216.182.224.254) 4.025 ms 4.168 ms 4.466 ms
3 100.64.13.247 (100.64.13.247) 19.908 ms 100.64.13.215 (100.64.13.215) 3.169 ms 100.64.13.233 (100.64.13.233) 4.889 ms
4 100.64.0.128 (100.64.0.128) 2.697 ms 100.64.0.134 (100.64.0.134) 2.678 ms 100.64.0.120 (100.64.0.120) 2.495 ms
5 100.64.16.129 (100.64.16.129) 1.958 ms 100.64.16.65 (100.64.16.65) 2.063 ms 100.64.16.235 (100.64.16.235) 1.927 ms
6 72.21.222.146 (72.21.222.146) 2.986 ms 205.251.245.227 (205.251.245.227) 3.195 ms 3.181 ms
7 72.21.220.140 (72.21.220.140) 3.093 ms 72.21.220.164 (72.21.220.164) 3.065 ms 54.239.109.212 (54.239.109.212) 28.520 ms
8 dca2-edge-01.inet.qwest.net (65.120.78.81) 2.919 ms 2.913 ms dca2-edge-01.inet.qwest.net (67.133.224.205) 2.921 ms
@gdoumergue
gdoumergue / send_slack.sh
Created May 28, 2015 14:44
shell script to send slack notifications
#!/bin/sh
send_slack() {
if [ -z "${SLACK_TOKEN}" ];then
echo "function send_slack needs SLACK_TOKEN variable. Add a new integration to slack."
exit 1
fi
if [ -z "${1}" ];then
echo "No text to send ? Are you kidding me ?"