Skip to content

Instantly share code, notes, and snippets.

View Shugabuga's full-sized avatar

Shuga Shugabuga

View GitHub Profile
@Shugabuga
Shugabuga / cau.py
Created July 14, 2020 06:05
Pretend You're Xyzzy bulk uploader.
import requests, csv, time
def main():
print("Cards Against Uploader")
with open("inp.csv", "r") as file:
file = csv.reader(file, delimiter=',')
for row in file:
if row[0] is not "color":
upload(row[0], row[1], "NYA", row[3], row[2])
time.sleep(7)
@Shugabuga
Shugabuga / EmoteReplacer.plugin.js
Last active November 15, 2021 05:01
A BetterDiscord plugin for Shuga stickers.
/**
* @name EmoteReplacer
* @authorId 68834122860077056
* @version 1.11.2.1
* @website https://github.com/Yentis/betterdiscord-emotereplacer
* @source https://raw.githubusercontent.com/Yentis/betterdiscord-emotereplacer/master/EmoteReplacer.plugin.js
*/
module.exports = (() => {
const config = {
@Shugabuga
Shugabuga / signtool.sh
Created November 28, 2021 19:23
"Port" of SignTool to Bash script.
#!/bin/bash
if [ $1 != "" ] && [ $2 != "" ]
then
rm $1/signature
rm $1/manifest.json
echo "{" > signature.json.tmp
for fileEntry in $1/*
do
echo -n \" >> signature.json.tmp
echo -n $fileEntry | cut -d "/" -f2 >> signature.json.tmp