Skip to content

Instantly share code, notes, and snippets.

View mcr's full-sized avatar

Michael Richardson mcr

View GitHub Profile
### Keybase proof
I hereby claim:
* I am mcr on github.
* I am mcr314 (https://keybase.io/mcr314) on keybase.
* I have a public key whose fingerprint is 6ECC 8B13 383F A944 C0E3 7BA8 808B 70FB DDD0 DD65
To claim this, I am signing this object:
obiwan-[~] mcr 10056 %ping ottix.net
PING ottix.net (192.231.228.2) 56(84) bytes of data.
From core-2-po1-983.storm.ca (209.87.239.145) icmp_seq=4 Destination Host Unreachable
^C
--- ottix.net ping statistics ---
5 packets transmitted, 0 received, +1 errors, 100% packet loss, time 4001ms
[1] 28688 exit 1 ping ottix.net
obiwan-[~] mcr 10057 %telnet ottix.net 80
Trying 2001:410:90ff::2...
dooku-[~] mcr 10265 %mtr -4 -r -n obiwan.sandelman.ca
HOST: dooku.sandelman.ca Loss% Snt Last Avg Best Wrst StDev
1.|-- 192.168.0.1 50.0% 10 3.3 71.7 2.8 335.6 147.6
2.|-- 7.11.162.137 80.0% 10 11.9 28.4 11.9 44.9 23.3
3.|-- 67.231.220.201 50.0% 10 198.1 99.5 13.7 232.7 106.7
4.|-- 69.63.253.153 70.0% 10 88.0 80.6 24.8 129.2 52.6
5.|-- 24.137.205.70 60.0% 10 59.0 29.3 13.4 59.0 20.5
6.|-- 209.87.239.146 70.0% 10 11.1 15.4 11.1 22.3 6.0
7.|-- 209.87.255.160 80.0% 10 17.8 119.4 17.8 220.9 143.6
@mcr
mcr / gist:2238f7ec2b58909d0124
Created December 30, 2015 00:10
irssi screw up
19:05 -!- Irssi: Looking up irc.freenode.net
19:05 -!- Irssi: Connecting to irc.freenode.net [91.217.189.42] port 6667
19:05 -!- Irssi: Unable to connect server irc.freenode.net port 6667 [Cannot
assign requested address: 104.200.31.36]
mcr@roujump:~$ cat /etc/uwsgi/apps-available/beaumont.yml
# plugins: rack
uwsgi:
rvm-path: /usr/local/rvm
uid: beaumont
socket: 10.10.32.12:3031
chdir: /sg1/web/beaumont/beaumont/current
rack: /sg1/web/beaumont/beaumont/current/config.ru
post-buffering: 4096
obiwan-[~/C/credil](2.2.1) mcr 10006 %xrandr
Screen 0: minimum 8 x 8, current 4096 x 1152, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 connected (normal left inverted right x axis y axis)
1024x768 60.00
800x600 60.32 56.25
848x480 60.00
640x480 59.94
HDMI1 connected 2048x1152+2048+0 (normal left inverted right x axis y axis) 510mm x 287mm
# -*- ruby -*-
class OpenSSL::PKey::EC
def private?
private_key?
end
end
namespace :highway do
obiwan-[~](2.2.1) mcr 10043 %openssl s_client -crlf -no_tls1_2 -connect imap.ietf.org:143 -starttls imap
CONNECTED(00000003)
depth=3 C = US, O = "Starfield Technologies, Inc.", OU = Starfield Class 2 Certification Authority
verify error:num=19:self signed certificate in certificate chain
---
Certificate chain
0 s:/OU=Domain Control Validated/CN=*.ietf.org
i:/C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./OU=http://certs.starfieldtech.com/repository//CN=Starfield Secure Certificate Authority - G2
1 s:/C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./OU=http://certs.starfieldtech.com/repository//CN=Starfield Secure Certificate Authority - G2
i:/C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./CN=Starfield Root Certificate Authority - G2
grasp-message = (message .within message-structure) / noop-message
message-structure = [MESSAGE_TYPE, session-id, ?initiator, *grasp-option]
MESSAGE_TYPE = 0..255
session-id = 0..16777215 ;up to 24 bits
grasp-option = any
message /= discovery-message
discovery-message = [M_DISCOVERY, session-id, initiator, objective]
sns-[~] mcr 10002 %mtr -r 2607:f0b0:f:85:1200:ff:fe66:4d02
Start: Sat Nov 5 04:33:24 2016
HOST: sns.cooperix.net Loss% Snt Last Avg Best Wrst StDev
1.|-- 2600:3c03::8678:acff:fe57 0.0% 10 1.1 1.1 0.9 1.3 0.0
2.|-- 2600:3c03:6666:2::1 20.0% 10 1.1 1.1 1.0 1.2 0.0
3.|-- gw2-nyc.bb.allstream.net 0.0% 10 1.5 1.7 1.4 3.0 0.5
4.|-- 2001:4c8:100f:2a::c1 0.0% 10 19.6 20.1 19.5 24.4 1.5
5.|-- 2001:4c8:100f:2a::c1 0.0% 10 19.6 19.6 19.5 19.6 0.0
6.|-- 2607:f0b0:f:5::1 0.0% 10 25.0 25.2 24.9 25.8 0.0
7.|-- obiwan.sandelman.ca 0.0% 10 26.1 25.5 25.1 26.1 0.0