Skip to content

Instantly share code, notes, and snippets.

View quasar098's full-sized avatar
🐞
coding bugs 24 hrs a day

quasar098

🐞
coding bugs 24 hrs a day
View GitHub Profile
@quasar098
quasar098 / userChrome.css
Last active November 3, 2024 01:05
firefox userChrome.css, chrome style stuffs
panelview,
.panel-arrowcontent{
background: #15141a !important;
color: #afafab !important;
}
#alltabs-button { display: none !important; }
/* bookmark bar */
.bookmark-item[container] {
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAUsSURBVHhe7ZvNjhtFEMfbnt3YcRZYkhCkBcFlD/ACOXHgRkDixAtw4LEQRx6AQy5cQXBC4haUWyQUIRAfUWA3u2ubqu6u8n9qe8bTPR4SL/4p7f7XR7q7anqsRJu4HTt2/K8ZxbkTT378eBmlc6RqhpCS4AtEB02XQgw4VzKd7F3Bv6Tpi9t373/mrY5kN+ClOx9F63kQO8ClKkHPx4fur0dfLm/dvT/2jo5kJT9fmotnqslrPGU9UCavAbD34vSRc9NjnYelvfi6ziOrAeXb9KFj8TzVcrqxBa8A32oaIzqqjioMLL7WlO5kNqBsk0GB4ktOtwU3oAUovqz8bW9Az+KZvAaU7zMg/Q51RW5ApKAXW94AgSovvAhZDeh32YaivHhm+18BLb6sC9v9JWiKLzneFfgOkLLLns72vwI4X82/C6yj7MkLmQ3ot9nm6X+e/+gG8EGHGP3Ja0DRnps5aDvle2Q1IH+b+Dv4y2mIERb3v+JHNgO+AvFAetAhqBdfstVADYgnGbR4AoovZYAGpIpnPdQQUHdnww2Ih7hU/NCU75HXgNZ9tq94ZrM3oLF41kONfmygAfEQrcUPDZXB2xRsldWA5vWbCo6aJ26QHwsYc+cWMi7iODfjzLk5j2cwTsPw0JrjyUpn0uMGxM3WPXk/i
@quasar098
quasar098 / huffman-n-ary-tree.py
Created August 19, 2023 19:32
huffman coding for n-ary tree
from typing import Union
ALPHABET = "0123" # base 4 example
BASE = len(ALPHABET)
class TextNode:
def __init__(self, char: str, val: str):
self.children = None
@quasar098
quasar098 / asciitable-com-suuuuuucksss.js
Last active May 25, 2023 14:24
asciitable.com removal from google
// ==UserScript==
// @name Remove bad ascii table
// @namespace https://quasar.name
// @version 0.1
// @description screw asciitable.com. whoever made this hot garbage -> why would you ever
// @author quasar098
// @match https://www.google.com/search?q=*
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACfklEQVR4AWJgYPjPBMQ1QPwMiP/TA0PtqgHbDWX8HyBcw0Bnn2OGBIgxkHjoOWDUAaysANrKACKCIIzCOqRUXQWShKqCgBQClCpCKRRKKUmVhEhIVE5ChShQREQEgbpSBYUCieCqSqkSpZLucl94zDgcbq8+WN7+O/N25p83UFEBk5OwuQlnZ+DzwckJrKxARwckJf2DAbcbxsbg8REAvr7g6Ag2NuDgAN7eMLy8yMifGaiqgvt7AHh6gt5eSEwMrYmNhfZ2TQ5iYoLoDbS1wc8PgP44PT18bUoKFBTIJEAwCJWVURgoK4NAAABOTyE52b6Lj4emJm3L8DDMzWnC8XHpILa2HBqIi4PLS/snRUX2XWEhXFxgeH7GcHsLLhfc3QHA66tDA11dGPb2rJ6aCjc3dvDGRmhowDA0pLrVVQD4/nZowOvFMDpq9akpuyrl5dK6uzHU1UlbWADQSjkyoEYSnZ3SXC6re722tqcHQ3OztMNDAFhacmjg4wNDf7+03FwMIyO2dmAAg8ejLdEqQUmJQwNXVxgWF6UVF2OYnpaWkWFrNSmG+fkocmBtDWyyKXjS0pSAoOf2thLw/Bw+PwlhfV2xXVOjyI7YQG0tIczMSG9ttSZAd0BOjvrE54PdXdXExOiEBAIy
aahed
aalii
aapas
aargh
aarti
abaca
abaci
aback
abacs
abaft
@quasar098
quasar098 / hackmatch.ahk
Created April 7, 2023 00:37
Relatively easy way to get master matcher achievement
Right::
Send {F2 down}
Sleep 5
Send {F2 up}
Send {d down}
Sleep 5
Send {d up}
Send {F2 down}
Sleep 5
Send {F2 up}