Skip to content

Instantly share code, notes, and snippets.

rupa rupa

Block or report user

Report or block rupa

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
@rupa
rupa / redemption song
Created Sep 9, 2017
I will fucking sue you so hard if you steal this original work
View redemption song
new immigrants they rob me
oh my they took our jobs
many years after my grandad
lost all of his slaves
but my vote still sort of works
by the grace of mother russia
we won so fuck you haha
trump is me
wont you help to sing
View gist:4dcdb56e2fd70220dea71b43f81f0ad9
from long.ass.path.that.is.really.quite.long \
import VerboseClassName
from long.ass.path.that.is.really.quite.long import (
VerboseClassName)
View gist:53d2cedf7746f5ef8a00c8f7bb1b6914
In [1]: x = 'a\rb\rc'
In [2]: x.split()
Out[2]: ['a', 'b', 'c']
In [3]: x.split()
Out[3]: ['a', 'b', 'c']
In [4]: x = 'a\r\nb\r\nc'
View buttslol.sh
# aptitude install libjpeg-dev zlib1g-dev
# pip install Pillow
wget -O ansi.zip https://github.com/rupa/ansiimg/archive/master.zip
pip install ansi.zip
wget -O meme.zip https://github.com/rupa/automeme/archive/master.zip
pip install meme.zip
wget http://images.memegenerator.net/images/298x/84688.jpg
ansi 84688.jpg -t "$(automeme)"
View gist:150828e6d8dab72c62a7
#!/bin/bash
# The More You Know ☄·
fart() {
echo $1
echo $2
echo $3
}
doot() {
View keybase.md

Keybase proof

I hereby claim:

  • I am rupa on github.
  • I am rupa (https://keybase.io/rupa) on keybase.
  • I have a public key whose fingerprint is 9B45 0005 6F42 477C 66C8 2575 C5A3 1CA6 6B64 3957

To claim this, I am signing this object:

@rupa
rupa / proxy_s5.py
Last active Aug 29, 2015 — forked from yaonie/proxy_s5.py
forking version
View proxy_s5.py
#!/usr/bin/python
# Filename s5.py
# Python Dynamic Socks5 Proxy
# Usage: python s5.py 1080
# Background Run: nohup python s5.py 1080 &
# Email: ringzero@557.im
import socket, sys, select, SocketServer, struct, time
SocketServer.TCPServer.allow_reuse_address = True
View every
#!/usr/bin/env bash
progname=$(basename $0)
version="1.0 (2014-08-17)"
step=2
function create_hash {
openssl dgst -sha1 -binary <<< "$1" | xxd -p
}
View -
#!/usr/bin/env python
import random
CHARS = {
'top': [
u'\u0300',
u'\u0301',
u'\u0302',
u'\u0303',
@rupa
rupa / hack.sh
Created Apr 7, 2012 — forked from erikh/hack.sh
OSX For Hackers
View hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
You can’t perform that action at this time.