Skip to content

Instantly share code, notes, and snippets.

@msm595
msm595 / downtumblrlikes.py
Created January 1, 2014 17:49
Download every liked image on tumblr to a folder. Requires python3, requests, and beautifulsoup.
# Either input info here, use command-line arguments, or be asked in-program.
email = ""
password = ""
folder = "" #remember to use / for directories, not \
threads = 8
########################################
##### downtumblrlikes.py v20140101 #####
########################################
###### DO NOT EDIT BELOW THIS LINE #####
@msm595
msm595 / bitwalletrecover.py
Last active April 9, 2024 16:48
bitwalletrecover.py - recover compressed private keys from your bitcoin wallet. Requires python3, pycoin (https://pypi.python.org/pypi/pycoin), and base58 (https://pypi.python.org/pypi/base58).
import re
import hashlib
import base58
from pycoin.ecdsa import generator_secp256k1, public_pair_for_secret_exponent
def bytetohex(byteStr):
return ''.join( [ "%02X" % x for x in byteStr ] ).strip()
litecoin = [b"\x30", b"\xb0"]
bitcoin = [b"\x00", b"\x80"]
@msm595
msm595 / pipes.sh
Last active December 19, 2015 12:29
#!/bin/bash
# The author of the original script is unknown to me. The first entry I can
# find was posted at 2010-03-21 09:50:09 on Arch Linux Forums (doesn't mean the
# poster is the author at all):
#
# https://bbs.archlinux.org/viewtopic.php?pid=728932#p728932
#
# I, Yu-Jie Lin, made a few changes and additions:
#
# -p, -t, -R, and -C
@msm595
msm595 / sharelitecoins.py
Created April 13, 2013 04:25
Sharelitecoins is a script to send litecoins to many addresses based on shares and share values. It uses litecoin's rpc interface to make this work.
"""
Dependencies:
Python 2.7+
jsonrpclib: https://github.com/joshmarshall/jsonrpclib
Instructions:
Edit the litecoin.conf file to enable rpc (server=1) and set the rpcuser
and rpcpassword to something nontrivial, difficult to guess, and long.