My initials forming out of sticks for a loading screen
A Pen by patch werk on CodePen.
| /* | |
| This module does basic filtering of comments on reddit. | |
| You have you install it yourself buy copy and pasting this code into the reddit_enchancement_suite.user.js file | |
| For Mac and chrome it is located in one of the folders (the one that is RES's folder which has a folder in it | |
| which is the current RES version 4.1.something) located in ~/User/Library/Application Support/Google/Chrome/Default | |
| Paste the code at the end of the modules around line 21321 after the previous modules "};" | |
| I do not know where the folder is on Windows but if you find it, it should still work on Chrome (I think). | |
| THIS MODULES SETTINGS ARE IN THE FILTERS SECTION OF RES SETTINGS NOT COMMENTS |
| # This script will brute a litecoin wallet whose password is missing one character. | |
| # It requires python (duh) and the litecoinrpc library (https://github.com/deseret-tech/litecoin-python) | |
| # The library allows leeching onto the local Litecoin-qt/litecoind client running on the computer. | |
| # A litecoin.conf file must be placed in the litecoin data directory and contain the following (without the hashtags) | |
| # server=1 | |
| # rpcuser=anything | |
| # rpcpassword=anythinglol | |
| # rpcallowip=127.0.0.1 | |
| # rpcport=18332 |
| import string | |
| import random | |
| import time | |
| import litecoinrpc | |
| import sys | |
| from litecoinrpc.exceptions import WalletPassphraseIncorrect | |
| def stringgen(size=16,chars=string.ascii_lowercase+string.ascii_uppercase, digs=string.digits): | |
| return random.choice([''.join(random.choice([random.choice(chars),random.choice(digs)]) for x in range(size)), | |
| ''.join(random.choice(chars+digs) for x in range(size))]) |
My initials forming out of sticks for a loading screen
A Pen by patch werk on CodePen.
| import Image | |
| import numpy as n | |
| #open image and convert to greyscale | |
| img = Image.open('photo.png').convert('LA') | |
| #get dimensions and scale them | |
| w,h = img.size | |
| # change to 4 and 7, respectivly to make smaller image | |
| w /=2 | |
| h /=4 |