Skip to content

Instantly share code, notes, and snippets.

Ed Kellett edk0

Block or report user

Report or block edk0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View install-archiver.bash
#!/bin/bash
adduser --quiet --disabled-password warrior
apt-get update
apt-get install -y tmux git-core libgnutls28-dev lua5.1 liblua5.1-0 liblua5.1-0-dev screen python-dev python-pip bzip2 zlib1g-dev flex autoconf
su - warrior -c '
pip install --user warcio seesaw
git clone https://github.com/ArchiveTeam/googleplus-grab
(cd googleplus-grab && ./get-wget-lua.sh)
echo "#!/bin/bash" >> ~/run.sh
echo "cd ~/googleplus-grab" >> ~/run.sh
View unrange.py
from ipaddress import ip_address, ip_network, summarize_address_range, collapse_addresses
from itertools import chain
import sys
def parse_net_or_range(s):
if '-' in s:
start, end = s.split('-', 1)
start = ip_address(start)
end = ip_address(end)
View app.py
# vim: et sw=4 sts=4
from flask import Flask, escape, redirect
app = Flask(__name__)
import posixpath
import requests
from sphinx.util.inventory import InventoryFile
from werkzeug.contrib.iterio import IterIO
View Pok3r-ISO-UK---edk.kbd.json
[
{
"backcolor": "#3d3d3d",
"name": "Pok3r ISO UK - edk",
"author": "Ed Kellett",
"switchMount": "cherry",
"switchBrand": "cherry",
"switchType": "MX1A-L1xx",
"plate": true
},
View bot2.py
(lambda t,d,r,i,s:(lambda s:(s.connect(('irc.rozznet.net',6667)),s.send('USER '
+'h h h h%sNICK hhh'%d+d),[(t.__setitem__(slice(None),a[1]),[s.send(y(*r.match(
x,a[0]).groups())+d)for x,y in{'PI(NG.*)':'PO'.__add__,':.*? (PRIVMSG .*? :)!('
+'.*)':lambda c,m:(lambda x:x and c+x or'')({'die':4,'hello':'hay bby','cocks':
'lol dongs'}.get(str(m).lower(),0)),':.*? 002':'JOIN #test'.strip}.items()if r.
match(x,a[0])])for a in(t.extend(s.recv(3))or t.split(d)for n in i.count())if a
[1:]]))(s.socket()))(bytearray(),'\r\n',*map(__import__,['re','itertools',
'socket']))
View keybase.md

Keybase proof

I hereby claim:

  • I am edk0 on github.
  • I am edk (https://keybase.io/edk) on keybase.
  • I have a public key whose fingerprint is 6A3C DCDE F9AC 6DC0 D1AF 5E23 2919 59A7 C2BA F5AA

To claim this, I am signing this object:

You can’t perform that action at this time.