Skip to content

Instantly share code, notes, and snippets.

View helpimnotdrowning's full-sized avatar
🐒
how do code?

helpimnotdrowning

🐒
how do code?
  • in one of those ship in a bottle things
  • X @JeffBezos
View GitHub Profile
@helpimnotdrowning
helpimnotdrowning / userscript.user.js
Created April 3, 2022 23:48
KyoAni Alliance (and friends???) Overlay
// ==UserScript==
// @name KyoAni and friends r/place Overlay
// @namespace http://tampermonkey.net/
// @version 0.3-kyoani
// @description kyogo animaion !!! so true
// @author oralekin, LittleEndu, ekgame, helpimnotdrowning, ninjuh1124
// @match https://hot-potato.reddit.com/embed*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// ==/UserScript==
@helpimnotdrowning
helpimnotdrowning / userscript.user.js
Last active April 2, 2022 22:44 — forked from oralekin/userscript.user.js
osu! Logo Template for 2022 /r/place
// ==UserScript==
// @name osu! Logo template
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the canvas!
// @author oralekin, LittleEndu, ekgame
// @match https://hot-potato.reddit.com/embed*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// ==/UserScript==
@helpimnotdrowning
helpimnotdrowning / keptab_to_onetab.py
Last active March 3, 2022 05:19
(very basic) script to convert a Keptab JSON export to one compatible with Onetab. Loosely based off of a scipt that does the opposite here -> https://gist.github.com/helpimnotdrowning/d14b3e97cb20bd6aaa6dc49583979b28
# very basic, doesnt account for locked, pinned stuff. you are free to figure it out yourself,
# but this is all I need, assuming anyone ever sees this lmao
import json
import random
DEBUG = False
def write_file(file: str, content: str) -> None:
"""Write content to file"""
@helpimnotdrowning
helpimnotdrowning / onetab_to_keptab.py
Last active March 2, 2022 06:34 — forked from xunzhou/trans.py
Translate Onetab txt export → Keptab json import (by @xunzhou )
import time
import json
from urllib.parse import urlparse, urlunparse
class tab:
def __init__(self, url, title):
self.url = url; self.title = title
self.favIconUrl = urlunparse(urlparse(url)._replace(path='favicon.ico',params='',query='',fragment=''))
self.pinned = False; self.muted = False