Skip to content

Instantly share code, notes, and snippets.

@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active December 21, 2025 23:10
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@jauderho
jauderho / gist:5f73f16cac28669e56608be14c41006c
Last active December 21, 2025 23:09
HOWTO: Upgrade Raspberry Pi OS from Bookworm to Trixie
### 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
#
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 21, 2025 23:06
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active December 21, 2025 23:04
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@143mailliw
143mailliw / win11.md
Last active December 21, 2025 23:00
Windows 11 Issues List

Issues

Installation

  • The page to download Windows 11 cannot be found from Bing, only Google, and doesn't seem to show up anywhere on the website
  • The Media Creation Tool still uses icons from Windows 8
  • The Media Creation Tool still has an edition selector even though it doesn't do anything
  • The Media Creation Tool still flickers
  • All of the Media Creation Tool languages are in lower case
  • Upgrade prompt in the Windows Update preference pane is buggy
  • Installer still uses Windows 7 themes and Windows 98 buttons
  • Installer still uses the Windows 8 color palette
Shader "Hidden/JumpFloodOutline"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
}
SubShader
{
Tags { "PreviewType" = "Plane" }
Cull Off ZWrite Off ZTest Always
@Da9el00
Da9el00 / Controller.java
Created June 9, 2021 10:03
JavaFX Design - Modern Login Screen
package sample;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;
import java.net.URL;
import java.util.ResourceBundle;
@7etsuo
7etsuo / tetsuo_curl.c
Created December 20, 2025 21:06
tetsuo_curl.c
// clang-format off
/*
* SPDX-License-Identifier: MIT
* Copyright (c) 2025 Tetsuo AI
*
* tetsuo_curl.c - A minimal curl-like HTTP client using the Simple API
*
* Demonstrates how little code is needed for a functional HTTP client.
* Redirects are followed automatically (up to 10 hops).
*
@enukane
enukane / my_MMA8452Q_sample.ino
Created June 13, 2015 14:37
MMA8452Q Basic Example Code with I2C-Master-Library
#include <I2C.h>
/*
MMA8452Q Basic Example Code
Nathan Seidle
SparkFun Electronics
November 5, 2012
License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license).