Skip to content

Instantly share code, notes, and snippets.

View axtl's full-sized avatar
💭
🏴‍☠️

alexandru totolici axtl

💭
🏴‍☠️
  • San Francisco
View GitHub Profile
@axtl
axtl / sVim.css
Last active June 27, 2019 20:54
sVim
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
#sVim-command {
@axtl
axtl / test_single_line.rb
Created May 16, 2016 21:21
single line rubocop crasher
require 'ipaddr'
net_end = IPAddr.new '192.168.50.201'
(1..5).reduce { net_end = net_end.succ }
print net_end.to_s
@axtl
axtl / keybase.md
Created May 11, 2016 18:11
keybase.md

Keybase proof

I hereby claim:

  • I am axtl on github.
  • I am xorbyte (https://keybase.io/xorbyte) on keybase.
  • I have a public key whose fingerprint is 821F 6E2C 8093 D531 5CB0 4422 E057 0E9A 9903 DC81

To claim this, I am signing this object:

@axtl
axtl / revdeps.py
Created April 9, 2014 05:27
homebrew reverse dependencies
#!/usr/bin/env python
from __future__ import print_function
import subprocess
import sys
if len(sys.argv) < 2:
raise SystemExit('need a brew to check reverse deps for')
@axtl
axtl / scanconv.py
Created March 14, 2014 18:32
convert masscan/nmap xml output into lists of hosts per open port found
#!/usr/bin/env python
# coding: utf-8
from __future__ import print_function
import os
import sys
from collections import defaultdict as ddict
try:
from defusedxml.ElementTree import parse
except ImportError:
@axtl
axtl / keybase.md
Last active August 29, 2015 13:57

Keybase proof

I hereby claim:

  • I am xorbyte on github.
  • I am xorbyte (https://keybase.io/xorbyte) on keybase.
  • I have a public key whose fingerprint is 821F 6E2C 8093 D531 5CB0 4422 E057 0E9A 9903 DC81

To claim this, I am signing this object:

@axtl
axtl / enkode.pl
Created July 16, 2013 06:04
Thin CLI wrapper around [Email::Enkoder](https://github.com/wchristian/email-enkoder).
#!/usr/bin/env perl
use strict;
use warnings;
use Email::Enkoder;
my $email = $ARGV[0];
my $text = $ARGV[1] ? $ARGV[1] : "email";
my $subject = $ARGV[2] ? $ARGV[2] : "";
chomp ($email);