Skip to content

Instantly share code, notes, and snippets.

View ArthurSStrong's full-sized avatar

ArthurShelby ArthurSStrong

  • Freelance
  • México
View GitHub Profile
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",
@ArthurSStrong
ArthurSStrong / TemperMonkeyScript.js
Created December 1, 2024 00:00
Add a toggle button to show/hide cards checked with the class 'checked' on Pokellector.
// ==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==
@ArthurSStrong
ArthurSStrong / discord-ban-bot.py
Created May 16, 2021 14:37 — forked from vivekjoshy/discord-ban-bot.py
Script to ban members of a discord servers.
#!/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.
import subprocess
import os
import multiprocessing
import time
LOG_FILE = './processed_songs.txt'
SONGS_FILE = './short.txt'
def load_file(file):
@ArthurSStrong
ArthurSStrong / productkey.vbs
Created March 22, 2021 20:52
script that recover windows activation code
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
@ArthurSStrong
ArthurSStrong / convert.py
Last active March 22, 2021 16:10 — forked from michaelosthege/convert.py
Convert MP4/AVI clips to GIF with a single Python function
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"""