Skip to content

Instantly share code, notes, and snippets.

View pucgenie's full-sized avatar

pucgenie

  • <insert gibberish here> Digital
  • EU
View GitHub Profile
@jauderho
jauderho / gist:6b7d42030e264a135450ecc0ba521bd8
Last active July 18, 2024 16:11
HOWTO: Upgrade Raspberry Pi OS from Bullseye to Bookworm
### WARNING: READ CAREFULLY BEFORE ATTEMPTING ###
#
# Officially, this is not recommended. YMMV
# https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
#
# This mostly works if you are on 64bit. You are on your own if you are on 32bit or mixed 64/32bit
#
# Credit to anfractuosity and fgimenezm for figuring out additional details for kernels
#
@camconn
camconn / bigdecoder.py
Last active September 15, 2020 08:07 — forked from EmilHernvall/bigdecoder.py
Cross-Platform decoder for EA games .big files
#!/usr/bin/env python3
""" bigdecoder.py, by aderyn@gmail.com (2009-03-01) and cam {at-goes-here} camconn.cc (2018-05-03)
This is a Decoder for .BIG-format files utilized by many EA Games.
EA's .big is a trivial archival format. quite frankly, this is
probably the simplest compound file format imaginable.
File Structure
==============
The file consists of a global header, an index of all the embedded
@davidbgk
davidbgk / index.html
Created May 10, 2016 16:06
Test DOM Content Loaded and promises
<!doctype html>
<meta charset=utf-8>
<title>Test DOM Content Loaded and promises</title>
<script>
console.log(document.querySelector('main')) // => null
document.ready = new Promise(
(resolve) => document.addEventListener('DOMContentLoaded', resolve))
document.ready.then(() => console.log(document.querySelector('main'))) // => <main>
</script>
<main></main>