Skip to content

Instantly share code, notes, and snippets.

View blueset's full-sized avatar

Eana Hufwe blueset

View GitHub Profile
@blueset
blueset / optionSymbols.ahk
Created August 23, 2025 23:02
Option Symbols AHK
; ![ ; alt + [
; !+[ ; alt + shift + [
*![::altShift("“","”")
*!]::altShift("‘","’")
*!-::altShift("–","—")
*!9::altShift("‘","“")
*!0::altShift("’","”")
altShift(accented,accentedShift) {
@blueset
blueset / threads-federation-detector.js
Created June 17, 2025 02:36
Add indications to accounts on Threads for if it is federated with the ActivityPub fediverse.
// ==UserScript==
// @name Threads Federation Detector
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Detect federated accounts on Threads. Add indications to accounts on Threads for if it is federated with the ActivityPub fediverse.
// @author Eana Hufwe
// @match https://www.threads.com/*
// @match https://www.threads.net/*
// @match https://threads.com/*
// @match https://threads.net/*
@blueset
blueset / README.md
Created May 22, 2023 20:23
Eana’s Windows 11 Dark theme for Fxliang’s Weasel
@blueset
blueset / dictionary.json
Last active January 6, 2023 07:58
Word Puzzle Mojipittan Encore (Kotoba no Pazuru Mojipittan Ankōru) dictionary data
This file has been truncated, but you can view the full file.
[
{
"reading": "ああ",
"notation": "",
"meaning": "あのように。あんな。"
},
{
"reading": "ああいう",
"notation": "",
"meaning": "あのような。あんな。"
@blueset
blueset / massdrop-ctrl-massdrop_ctrl_layout.json
Created August 1, 2022 17:00
QMK Configuration for dual Colemak/QWERTY, macOS/Windows layout
{
"version": 1,
"notes": "",
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n",
"keyboard": "massdrop/ctrl",
"keymap": "massdrop_ctrl_layout_mine",
"layout": "LAYOUT",
"layers": [
[
"KC_ESC",
@blueset
blueset / jsonparser.py
Last active April 17, 2022 04:48
A rough JSON parser in Python
import re
from typing import Any, Tuple, Union
"""A very rough JSON parser.
Implementing the standard outlined in https://www.json.org/json-en.html
Number parsing is handled by Python.
Usage:
>>> data, _ = parse_json('{"key": ["value", -1e20, true, false, null]}')
>>> assert data == {"key": ["value", -1e20, True, False, None]}
#%%
key = open("/Users/blueset/Downloads/key.txt", "r").read()
idx = key.find("3jX8lFiNQ7JHQBVuXAEQXIajamj1EDqa9n34eHZ7y0XbfuxPt7pMj")
key = key[idx - 143:]
# key = key[idx - 200:]
#%%
def vba_decode(sequence, offset, key):
# Input a list and an integer
# key = "XAEQXIajamj1EDqa9n34eHZ7y0XbfuxPt7pMj3jX8lFiNQ7JHQBVu"
import subprocess
import requests
# MAC address of device running this script
self_mac = "00:11:22:33:44:55"
# MAC address of devices to check
to_monitor = {"66:77:88:99:aa:bb", "cc:dd:ee:ff:00:11"}
# MAC address of device which must be in the LAN for notifications to be sent
@blueset
blueset / README.md
Last active May 26, 2021 20:00
Plltxe: Sync Tweets (and Toots) to a Telegram Channel Using Account Activity API (and WebSocket)
@startuml
skinparam monochrome true
skinparam backgroundColor #fefefe
skinparam sequenceReferenceAlign center
skinparam sequenceMessageAlign center
actor User
== Send message ==