Skip to content

Instantly share code, notes, and snippets.

traceroute 199.175.55.37
traceroute to 199.175.55.37 (199.175.55.37), 30 hops max, 60 byte packets
1 10.30.0.2 (10.30.0.2) 0.260 ms 0.253 ms 0.237 ms
2 X.X.X.X (X.X.X.X) 0.693 ms 0.675 ms 0.627 ms
3 dcp-brdr-04.inet.qwest.net (67.14.28.38) 20.660 ms 20.705 ms 20.701 ms
4 xe-0-1-7.edge1.ash2.us.as5580.net (78.152.46.129) 20.853 ms 20.810 ms 20.794 ms
5 * * *
6 eth1-8.core1.chi1.us.as5580.net (78.152.34.137) 44.190 ms 74.456 ms 74.441 ms
7 78.152.45.134 (78.152.45.134) 44.282 ms 44.199 ms 44.228 ms
8 78.152.33.246 (78.152.33.246) 44.384 ms 44.477 ms 44.495 ms
@b1naryth1ef
b1naryth1ef / spotty.py
Created July 13, 2015 06:25
Youtube to Spotify playlist creator
# -*- coding: utf-8 -*-
import sys, os
import spotify
import logging
import time
import requests
import pafy
import re
if not len(sys.argv) >= 3:
https://gist.github.com/b1naryth1ef/ecb9d24093c4447d3ed8
SELECT i.id, i.type_id, i.price, i.meta, it.name FROM (SELECT unnest(array_cat(b.items, b.winnings)) AS item_id FROM bets b WHERE b.id=1) b JOIN items i ON id=item_id JOIN itemtypes it ON it.id=i.type_id;
/*!
*
* Angle - Bootstrap Admin App + jQuery
*
* Author: @themicon_co
* Website: http://themicon.co
* License: http://support.wrapbootstrap.com/knowledge_base/topics/usage-licenses
*
*/
! function(e, t, o) {
@b1naryth1ef
b1naryth1ef / public_key.txt
Created January 4, 2015 13:47
GPG Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQGiBE8ySNwRBACKcsg4AceGW7vuOSywcGiiNZg4I8vIzn7zphgj+s6/i2/hs8TQ
TOHy1s3b0f32ani3sBRmTWtgNv8+HSaKSVUcNqqNL+Jy6Pulyao7amGTtvqVKmuz
6ADrbVz0SxWmzTlSctdxK3g3yRSb+vfYrBPrbXNCNB5g9C/uK1uh0fpj1wCgn3MX
GFlZsO3bF7SNqqYlzpV6DM0D/AjnBlxTwRJOA1sLAVSXipLOdkjo00OQ8jgOFDio
oJsqLtsscNGocPCqNRo6QSVQKNs5sfYP2GXWTnPVM5oJI1p6bjuADRE8mneJrJvF
Uc+Mt1MdS6ttF4tVqd5Ncc8LKYQJRn+AtiuxAAayAA35JOslnMM0bqSYMlw4BJTP
8TlPA/4r+k+ucz3cJtM2aaL/ngUdrhmGKfGK7npXA3Ic6FzQo2NlJyKfWjSsR8x+
@b1naryth1ef
b1naryth1ef / gist:228ab5784fc60321c995
Created January 2, 2015 20:54
CSGO Emporium Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFSmuXgBEADaihtzElnUc6J9wwRqz98WeL1/W5i48XN6JIam5GMM4pZXXjgY
QwYf5GGRRN6yx81qQJWsbux1zZ63MVDM7bYVm/cpRGwWcBI02cqQZDIGQsegB0hv
/yvEAXY7JvQWjdvTCh5lYXbM9oJBiEyQetxzjs2oV5f16NOe9gt72dAuB3oTRVb0
Lpyw0T8JFLT8Nol5F7Gvwz4NG0bmghuAbNF204nruA4uQRFd4d/E1EAHvF3qoYxn
aMu8PurZ272wQR8T6XlGudbWK2GxsxFGE7i396TeG0cmXUYDRIp4K/OLwgrZDqLV
kCWgzYtQnhdVDSiVxyBl0qVc6nOyqvNiKGqY1k4iDtzqgrCoXsz0JQBR5sBiZAFq
SUFGOhH5GUtcGbuXtQn48w9uOCMqFEIYZwQdLpxU3xGcFBzAT+JswXbj3LAZSFMG
@b1naryth1ef
b1naryth1ef / crosshair.cfg
Created December 29, 2014 08:15
My current CS:GO crosshair
cl_crosshair_drawoutline "1"
cl_crosshair_dynamic_maxdist_splitratio "0.35"
cl_crosshair_dynamic_splitalpha_innermod "1"
cl_crosshair_dynamic_splitalpha_outermod "0.5"
cl_crosshair_dynamic_splitdist "7"
cl_crosshair_outlinethickness "1"
cl_crosshairalpha "200"
cl_crosshaircolor "1"
cl_crosshaircolor_b "50"
cl_crosshaircolor_g "250"
@b1naryth1ef
b1naryth1ef / gist:b1190cd6790ccbe5c921
Created December 4, 2014 13:30
Include this in your bashrc, and use `tux <tmux_name>` to attach and create tmuxes.
function tux {
tmux new-session -s $1 -d
tmux attach -t $1
}
@b1naryth1ef
b1naryth1ef / enum.py
Last active February 8, 2022 09:21
PeeWee Postgres Enum Field
from peewee import *
class BModel(Model):
class Meta:
database = db
@classmethod
def create_table(cls, *args, **kwargs):
for field in cls._meta.get_fields():
if hasattr(field, "pre_field_create"):