Skip to content

Instantly share code, notes, and snippets.

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@FreddieOliveira
FreddieOliveira / docker.md
Last active July 22, 2024 16:49
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@shawnsmithdev
shawnsmithdev / flac_md5.go
Created January 20, 2019 23:44
Extract the MD5 field from a FLAC file
package main
import (
"encoding/binary"
"encoding/hex"
"log"
"os"
)
const (
@TobleMiner
TobleMiner / pivot_services.sh
Last active February 3, 2024 17:29
OpenWrt switch to ramfs
#!/bin/sh
. /lib/functions.sh
. /lib/functions/system.sh
kill_remaining() { # [ <signal> [ <loop> ] ]
local loop_limit=10
local sig="${1:-TERM}"
local loop="${2:-0}"
@teknikqa
teknikqa / lastfm_delete_loved.js
Created May 7, 2017 06:38
Bulk delete Last.FM scrobbles & loved tracks
// On the Last.FM website go to the page which lists the tracks that you have loved.
// Open Chrome DevTools (or Firefox or any modern browser that has a built in Javacript Console)
// and run the following command.
// This basically clicks on all the delete buttons on the page and reloads the page.
jQuery('.love-button--loved').each(function(_, b) {
b.click();
});
location.reload();
@ToadKing
ToadKing / gist:3b452a4121fede44a50f
Last active June 3, 2022 06:34
Wii U GC adapter - Working prototype
@glombard
glombard / combine.py
Created November 24, 2014 00:22
Merging 4 images into one with Python and PIL/Pillow
# Combine multiple images into one.
#
# To install the Pillow module on Mac OS X:
#
# $ xcode-select --install
# $ brew install libtiff libjpeg webp little-cms2
# $ pip install Pillow
#
from __future__ import print_function

RCT via Computer

The goal is to write a genetic algorithm that generates really cool looking Roller Coaster Tycoon coasters. Eventually you can optimize for various things

  • Coolest roller coaster that fits in some bounding box

  • Coolest roller coaster under $1000 in game money, etc.

Progress so far