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 April 15, 2025 08:21
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 April 16, 2025 15:22
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 = [
{
// ==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 April 10, 2025 19:05
"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?

@olih
olih / jq-cheetsheet.md
Last active April 22, 2025 04:14
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@cdzombak
cdzombak / .last-uls-search-hash
Last active September 15, 2021 00:22
watching for my amateur radio license to appear in the FCC's database!
6be5d57c4d0c622216b38c5ea62195a5