Skip to content

Instantly share code, notes, and snippets.

View BurnBabyBurn71's full-sized avatar

Lee Brown BurnBabyBurn71

View GitHub Profile
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
@BurnBabyBurn71
BurnBabyBurn71 / dice
Created October 11, 2014 13:30
Simple dice roller (Python 3)
import random
num = int(201)
rolls = {}
for k in range(2, 13):
rolls[k] = 0
for k in range(num):
first = random.randint(1, 6)
@BurnBabyBurn71
BurnBabyBurn71 / User-Pass-gen
Created September 8, 2014 12:24
Reddit random username and password generator - beanon!
import string, random
#User
print('USERNAME - ' + 'beanon' + '-' + ''.join(random.choice(string.digits) for i in range(4)) + ''.join(random.choice(string.ascii_lowercase) for i in range(4)) + ''.join(random.choice(string.ascii_uppercase) for i in range(4)))
#Pass
print('PASSWORD - ' + ''.join(random.choice(string.digits) for i in range(5)) + ''.join(random.choice(string.ascii_lowercase) for i in range(5)) + ''.join(random.choice(string.ascii_uppercase) for i in range(5)))
@BurnBabyBurn71
BurnBabyBurn71 / 99 bottles of beer song
Created August 7, 2014 10:58
/g/ 99 bottles of beer lyrics in python
x=99
while x>=1:
print(x," bottles of beer on the wall,",x," bottles of beer! Take one down, pass it around,")
x=x-1
print(x," bottles of beer on the wall!")
print("No more bottles of beer on the wall, no more bottles of beer. Go to the store and buy some more, 99 bottles of beer on the wall.")