taken from expanded with material from
Roll for Shoes is a tabletop RPG “micro system” with a very simple set of rules.
The original post is archived at “I roll to see if I have shoes on!”, but here are the rules:
taken from expanded with material from
Roll for Shoes is a tabletop RPG “micro system” with a very simple set of rules.
The original post is archived at “I roll to see if I have shoes on!”, but here are the rules:
#!/usr/bin/env python | |
import copy | |
import multiprocessing | |
import enchant | |
MAX_WORD_LEN = 12 | |
LOCALES = ['en_US', 'en_GB'] |
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Maxthon; MRSPUTNIK 2, 4, 1, 44; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)" | |
"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; YTB730; .NET4.0C; .NET4.0E)" | |
"Mozilla/5.0 (Windows; U; Windows NT 6.1; ja-JP) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16\x5Cx22) AS zFoK WHERE 7847=7847 OR 6009=LIKE('ABCDEFG',UPPER(HEX(RANDOMBLOB(3200000000/2))))-- pRGx" | |
"Mozilla/5.0 (Windows; U; Windows NT 6.1; ja-JP) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16\x5Cx22) AS jVpm WHERE 5036=5036 AND 6829=(SELECT 6829 FROM PG_SLEEP(32))--" | |
"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 YaBrowser/20.2.3.213 Yowser/2.5 Yptp/1.58 Safari/537.36" | |
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537. |
#!/usr/bin/env python3 | |
import os | |
import random | |
import sys | |
def process_roll_string(roll_string): | |
roll_components = roll_string.replace(" ", "").split("+") | |
total_sum = 0 |
#!/usr/bin/env python3 | |
import re | |
import requests | |
thumbnail_url = input("Thumbnail URL: ") | |
vid_id_regex = re.compile(r'\?wvideo=(.*?)"') | |
vid_id = vid_id_regex.search(thumbnail_url).groups()[0] | |
rolled_url = "http://fast.wistia.net/embed/iframe/%s?videoFoam=true" % (vid_id) |
#!/bin/bash | |
### | |
# Basically, these all loop through an array of xterm colors (https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg) | |
# and then prints out the block character (█) in that color {1..N} times (aka width) (see printf wizardry explained: https://stackoverflow.com/a/5349842) | |
### | |
# philly pride/poc | |
for c in 232 232 130 130 196 196 202 202 226 226 46 46 021 021 126 126;do printf "\033[38;05;${c}m%0.s█" {1..50};echo;done;echo |
#!/bin/sh | |
# add alias="bash ~/idleLock.sh" to your .bashrc | |
# thefted from https://apple.stackexchange.com/questions/206942/detect-mouse-move-or-keystroke | |
# Pause/Interval between checks | |
checkInt=.1 | |
# Keep track of the idle timer | |
lastIdle=0 |
location /dns-query { | |
proxy_pass https://dns.google/dns-query; | |
} | |
VS. | |
http { | |
upstream dohproviders { | |
server dns.google; | |
# also tried server dns.google:443; |
#!/usr/bin/env python3 | |
def interesting(num): | |
# palindrome | |
if num == num[::-1]: | |
return True | |
# alternating | |
if num[0] == num[2] and num[2] == num[4]: | |
return True |