Skip to content

Instantly share code, notes, and snippets.

View ark3's full-sized avatar

Abhay Saxena ark3

  • Boston, MA, USA
  • 05:17 (UTC -04:00)
  • X @ark3qqq
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ark3 on github.
  • I am ark3 (https://keybase.io/ark3) on keybase.
  • I have a public key ASDhjR9DOIdZOgucxvys6J3GrXWq3FYp_DEtaMJuux1Z0go

To claim this, I am signing this object:

$ docker run --rm -it fedora bash
[root@ff54622d2172 /]# dnf repolist
Fedora 27 - x86_64 - Updates 20 MB/s | 23 MB 00:01
Fedora 27 - x86_64 28 MB/s | 58 MB 00:02
Last metadata expiration check: 0:00:07 ago on Wed Apr 25 18:48:57 2018.
repo id repo name status
*fedora Fedora 27 - x86_64 54801
*updates Fedora 27 - x86_64 - Updates 13965
[root@ff54622d2172 /]#
[root@ff54622d2172 /]# curl -sO https://packagecloud.io/install/repositories/datawireio/telepresence/script.rpm.sh
@ark3
ark3 / telepresence.log
Created April 6, 2018 13:30
telepresence --run curl qotm
0.0 TEL | Telepresence 0.78 launched at Fri Apr 6 09:29:11 2018
0.0 TEL | /Users/ark3/datawire/bin/telepresence --run curl qotm
0.0 TEL | [1] Launching: kubectl version --short
0.0 TEL | [2] Launching: oc version
0.0 TEL | [3] Launching: uname -a
0.0 3 | Darwin timonium.local 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
0.0 TEL | Python 3.6.5 (default, Mar 30 2018, 06:41:53)
0.0 TEL | [3] exit 0
0.0 TEL | [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)]
0.1 TEL | BEGIN SPAN main.py:418(go_too)
@ark3
ark3 / foo.sh
Created April 2, 2018 20:31
Results of `gethostbyaddr` calls
$ python3
Python 3.6.4 (default, Mar 9 2018, 23:15:03)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.gethostbyaddr("18.72.0.100")
('w92-dns-1.mit.edu', ['100.0.72.18.in-addr.arpa'], ['18.72.0.100'])
>>> socket.gethostbyaddr("10.0.0.1")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>