Skip to content

Instantly share code, notes, and snippets.

@downerj
downerj / Level File Layout.md
Last active August 2, 2026 16:36
Extract the 100 included levels from Jetpack by Adept Software

Jetpack Level File Layout

This is a rudimentary breakdown of how level files are formatted for the game Jetpack by AdpetSoftware.

Note that the term "JetSCII" used throughout this document is not an official term and is simply a placeholder for a subset of ASCII characters supported by Jetpack level file names.

Permissions

Adam Pedersen said the following on the official Jetpack Discord server:

I hereby grant anyone the right to make a Jetpack-inspired game, including use of all assets (graphics, audio, and levels), as long as it provides clear attribution to the original, and acknowledges that all intellectual property rights remain with Adept Software. For example, "Inspired by Jetpack by Adept Software", with link to adeptsoftware.com

@davidedmundson
davidedmundson / PlasmaNested.sh
Last active July 8, 2026 08:59
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper
## whilst being launched by plasma-session
mkdir $XDG_RUNTIME_DIR/nested_plasma -p
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper
#!/bin/sh
@jjjakey
jjjakey / claim_all_the_things-chromefix.js
Last active February 27, 2026 14:33 — forked from lats/claim_all_the_things.js
Claims all of the items within the "Bundle for Racial Justice and Equality" on Itch.io
// ==UserScript==
// @name Activate all Itch.io Bundle downloads
// @version 1
// @include https://itch.io/bundle/download/*
// @include https://*.itch.io/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @grant none
// ==/UserScript==
$(document).ready(function() {
@lats
lats / claim_all_the_things.js
Last active June 13, 2026 00:45
Tampermonkey script to claim all of the items within a Bundle on Itch.io
// ==UserScript==
// @name Activate all Itch.io Bundle downloads
// @version 1
// @include https://itch.io/bundle/download/*
// @include https://*.itch.io/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
// @grant none
// ==/UserScript==
$(document).ready(function() {
@peterhellberg
peterhellberg / jetpack-level-parser.go
Last active July 14, 2026 08:34
Level parser for Jetpack levels
package main
import (
"encoding/binary"
"flag"
"image"
"strings"
"github.com/peterhellberg/gfx"
)
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active August 5, 2026 03:49
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@jleclanche
jleclanche / freeotp_backup.md
Last active March 4, 2026 20:45
A guide to back up and recover 2FA tokens from FreeOTP (Android)

Backing up and recovering 2FA tokens from FreeOTP

NOTE: THIS MAY NOT WORK ANYMORE - SEE COMMENTS

Backing up FreeOTP

Using adb, create a backup of the app using the following command:

adb backup -f freeotp-backup.ab -apk org.fedorahosted.freeotp
@sinewalker
sinewalker / fix-id3s.py
Created April 26, 2017 09:14
use eyed3 to set ID3 tags on MP3 files
# I used this code within an IPython session to clean up all the missing ID3 tags from my MP3 collection.
# They had gone missing years ago when I down-sampled them to fit on an old phone, and then lost the originals.
# Fortunately I named the files themselves with the basic details (artist, date, title and so on) so it was possible to
# recover the tags... It sat on my to-do list for *years* but now I finally did it.
# I used the Python library "EyeD3" (get it?): https://pypi.python.org/pypi/eyeD3
# This requires Python 2.7, which has some interesting quirks for Unicode, a bit of a pain since I had named my MP3s
# with utf8 characters. What I've come up with *mostly* works. When it doesn't I had to resort to manually editing (using
# Clementine).