Skip to content

Instantly share code, notes, and snippets.

View unlobito's full-sized avatar
๐Ÿ’š
today is a new chance to be excellent to each other, what will you do with it?

Harley Watson unlobito

๐Ÿ’š
today is a new chance to be excellent to each other, what will you do with it?
View GitHub Profile
@droberin
droberin / README.md
Last active November 14, 2025 16:00
Meshtastic tile map downloader for Device-UI (MUI)

Meshtastic Map/tile download script

Basics

  • Download the files in this repo/gist! into a decent folder
  • Access that folder on a terminal (cmd or powershell should work but haven't tested out of Linux distros)
  • Create your account at https://www.thunderforest.com/docs/apikeys/ (free or paid, up to you)
  • Alternatively: can also use https://apidocs.geoapify.com/playground/maps/ (defaults to thunderforest (style atlas))
  • Validate your account on your email using received validation link.
  • Log in
  • Copy API Key from website.
@aveao
aveao / getrotatedidiot.py
Last active November 30, 2024 17:49
script to add your own rotation key on bluesky so you're "billionaire takeover safe" or something
# usage: BSKY_USERNAME=whatever.example BSKY_PASSWORD=passwordgoeshere BSKY_SUFFIX=lol python3 getrotatedidiot.py
# written whilst "intoxicated" (pretty intense covid) so may have bugs
# pip install secp256k1 atproto==0.0.55 base58
import os
import secp256k1
import base58
from atproto import Client, models
@adrienne
adrienne / mullenweg-wpe.md
Last active December 25, 2025 23:54
The Mullenweg/WPE Thing
resource "hcloud_placement_group" "runner" {
name = "runner-placement-group"
type = "spread"
}
locals {
fsn_datacenter = "fsn1-dc14"
nbg_datacenter = "nbg1-dc3"
runners = [
{
@gm3197
gm3197 / vas.md
Last active December 18, 2025 00:09
Reverse Engineered Value Added Services Protocol Specification

Reverse Engineered VAS Protocol Specification

Research by Grayson Martin
Last Updated 7/8/23

Introduction

Value Added Services (VAS) is the protocol used by NFC capable passes in Apple Wallet. Access to this protocol is heavily restricted on both the device end (a special certificate issued by Apple is required to create these passes) and the reader end (NDA enforced confidentiality). As such, a desire arose to better understand the protocol in order to explore additional use cases and examine its cryptographic integrity. There are gaps in understanding in certain parts of this protocol, however this document contains the minimum necessary understanding to automatically select, read data from, and decrypt a pass.

Importantly, this specification does not enable a malicious actor to read the data from a pass for which they do not have both the reader's private key, and the pass type identifier. Imp

// ==UserScript==
// @name @chaoticvibing Twitter Blue Nerd - twitter.com
// @namespace Violentmonkey Scripts
// @match *://*.twitter.com/*
// @match *://*.x.com/*
// @grant none
// @version 1.9.2
// @author @chaoticvibing - GH @busybox11
// @description 11/9/2022, 11:45:28 PM
// @updateURL https://gist.githubusercontent.com/busybox11/53c76f57a577a47a19fab649a76f18e3/raw
@sm-Fifteen
sm-Fifteen / whats_a_yubikey.md
Last active December 9, 2025 20:29
"What the heck is a Yubikey and why did I buy one?": A user guide

"What the heck is a Yubikey and why did I buy one?": A user guide

(EDIT: Besides Reddit, I've also put this up on Github Gist)

So while looking for information on security keys before getting one myself, I got very confused reading about all the different modes and advertised features of Yubikeys and other similar dongles. The official documentation tends to be surprisingly convoluted at times, weirdly organized and oddly shy about a few of the limitations of these keys (which I'm making a point of putting front and center). Now that I have one, I decided to write down everything I figured out in order to help myself (and hopefully some other people reading this) make sense of all this.

Since I'm partly writing these notes for myself, there might be some back and forth between "exp

@ndfred
ndfred / glowmqtt.py
Last active July 23, 2023 07:21
Fetch data from a Hildebrand Glow device over MQTT
import datetime
import logging
import json
import paho.mqtt.client as mqtt # pip3 install paho-mqtt
GLOW_LOGIN = "GLOW_LOGIN"
GLOW_PASSWORD = "GLOW_PASSWORD"
GLOW_DEVICE_ID = "GLOW_DEVICE_ID"
# Fields gathered from the ZigBee Smart Energy Standard document

What the BookCorpus?

So in the midst of all these Sesame Streets characters and robots transforming automobile era of "contextualize" language models, there is this "Toronto Book Corpus" that points to this kinda recently influential paper:

Yukun Zhu, Ryan Kiros, Rich Zemel, Ruslan Salakhutdinov, Raquel Urtasun, Antonio Torralba, and Sanja Fidler. 2015. "Aligning books and movies: Towards story-like visual explanations by watching movies and reading books." In Proceedings of the IEEE international conference on computer vision, pp. 19-27.

Why do I even care, there's no translations there?

Some might know my personal pet peeve on collecting translation datasets but this BookCorpus has no translations, so why do I even care about it?

#!/usr/bin/sudo ruby
#
# revealer.rb -- Deobfuscate GHE .rb files.
#
# This is simple:
# Every obfuscated file in the GHE VM contains the following code:
#
# > require "ruby_concealer.so"
# > __ruby_concealer__ "..."