This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import praw | |
import time | |
import traceback | |
# Initialize the Reddit instance | |
reddit = praw.Reddit( | |
client_id="YOUR_CLIENT_ID", | |
client_secret="YOUR_CLIENT_SECRET", | |
username="YOUR_USERNAME", | |
password="YOUR_PASSWORD", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Pokellector Toggle Visibility Script | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Add a toggle button to show/hide cards checked with the class 'checked' on Pokellector. | |
// @author ArthurShelby | |
// @match https://www.pokellector.com/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=pokellector.com | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
# WARNING! | |
# DO not use this script for malicious purposes! | |
# Author: daegontaven - taven#0001 | |
# License: Public Domain | |
# README | |
# I have resigned from using discord indefinitely to pursue schoolwork. | |
# As such I will not be maintaining this script anymore. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import os | |
import multiprocessing | |
import time | |
LOG_FILE = './processed_songs.txt' | |
SONGS_FILE = './short.txt' | |
def load_file(file): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set WshShell = CreateObject("WScript.Shell") | |
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) | |
Function ConvertToKey(Key) | |
Const KeyOffset = 52 | |
i = 28 | |
Chars = "BCDFGHJKMPQRTVWXY2346789" | |
Do | |
Cur = 0 | |
x = 14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import imageio | |
import os, sys | |
class TargetFormat(object): | |
GIF = ".gif" | |
MP4 = ".mp4" | |
AVI = ".avi" | |
def convertFile(inputpath, targetFormat): | |
"""Reference: http://imageio.readthedocs.io/en/latest/examples.html#convert-a-movie""" |