Skip to content

Instantly share code, notes, and snippets.

View FaltoGH's full-sized avatar

Falto FaltoGH

  • Yongin
  • 20:26 (UTC +09:00)
View GitHub Profile
@FaltoGH
FaltoGH / dclottery.js
Created September 6, 2025 08:25
Semi-automatic Dcinside lottery submitter.
function parseIntComma(x){
// 쉼표가 섞인 수 문자열을 정수로 변환한다.
return parseInt(x.replaceAll(",",""));
}
async function getJson1(){
// 최근 14일 동안의 게시물, 댓글 수를 받아온다.
let response1=await fetch("https://gall.dcinside.com/ajax/lottery_ajax/get_statistics", {
"headers": {
"accept": "application/json, text/javascript, */*; q=0.01",
"accept-language": "en-US,en;q=0.9,ko;q=0.8",
@FaltoGH
FaltoGH / extension.reg
Created March 3, 2024 13:54
Windows Registry Extension
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\notepad]
@="*/shell/notepad/Edit with notepad"
"Icon"="C:\\Windows\\System32\\notepad.exe"
[HKEY_CLASSES_ROOT\*\shell\notepad\command]
@="C:\\Windows\\System32\\notepad.exe %1"
[HKEY_CLASSES_ROOT\Directory\shell\cmdhere]
@FaltoGH
FaltoGH / gtop.py
Created April 18, 2021 15:03
hypixel zest guild /g top
API_KEY = 'INPUT YOUR API KEY'
import requests
def convertUUID(UUID):
igns = requests.get(f'https://api.mojang.com/user/profiles/{UUID}/names').json()
return igns[-1]['name']
data = requests.get(f'https://api.hypixel.net/guild?key={API_KEY}&name=zest').json()
guildExp = {}
guildMembers = data['guild']['members']
@FaltoGH
FaltoGH / mcbukkitcontroller.py
Created April 18, 2021 14:59
Control the Minecraft Bukkit with Python!
import win32gui, win32con, time
server = win32gui.FindWindow(None, 'C:\\WINDOWS\\system32\\cmd.exe')
def command(x):
for y in x:
win32gui.PostMessage(server, win32con.WM_CHAR, ord(y), 0)
win32gui.PostMessage(server, win32con.WM_CHAR, 13, 0)
while True:
@FaltoGH
FaltoGH / youtube_update.py
Created April 3, 2021 17:55
update title of video using youtube api
# original code: https://developers.google.com/youtube/v3/docs/videos/update
import datetime
import sys
import httplib2
from apiclient.discovery import build
from apiclient.errors import HttpError
from oauth2client.client import flow_from_clientsecrets
from oauth2client.file import Storage
from oauth2client.tools import argparser, run_flow
@FaltoGH
FaltoGH / padlet_like.py
Last active March 27, 2021 14:48
Padlet Like Control
import requests
wish_id = 1276665214
url2 = 'https://padlet.com/0x5067b10/0'
def main(x):
url = 'https://padlet.com/api/5/reactions'
payload = {
'wish_id': wish_id,
'value': 1,
@FaltoGH
FaltoGH / selecteditems.py
Last active March 28, 2021 06:45
SelectedItems Bug Remove
import sys, time
from PyQt5.QtWidgets import *
from threading import Thread
class MyWindow(QWidget):
def __init__(self):
super().__init__()
self.tableWidget = QTableWidget(self)
self.tableWidget.setColumnCount(2)
self.tableWidget.setRowCount(2)
@FaltoGH
FaltoGH / gdcrypt.py
Last active July 18, 2023 11:25
CCLocalLevels.dat Decrypt
import base64, zlib, re
def decrypt(filename):
with open(filename, 'rb') as rbf:
dat = rbf.read()
a = [x^11 for x in dat]
b = bytearray(a).decode()
c = b.replace('-','+').replace('_','/')