Skip to content

Instantly share code, notes, and snippets.

@lyshie
lyshie / config-deb-i386.json
Last active December 21, 2025 01:57
Scratch Desktop (Scratch 3.0 Offline Editor) on GNU/Linux
{
"src": "/tmp/scratch-desktop/",
"dest": "/tmp/",
"arch": "i386",
"icon": "/tmp/scratch-desktop/resources/Icon.png",
"categories": [
"Education"
]
}
@cjonesy
cjonesy / macbook_pro_ubuntu_install.md
Last active December 21, 2025 01:56
Installing Ubuntu on MacBook Pro

Macbook Pro - Ubuntu Install

Requirements

2 USB drives > 2GB

Pre-Install

Create bootable USB drive

  1. Grab the latest Ubuntu Desktop iso image
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 21, 2025 03:18
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:
@marshallrichards
marshallrichards / instructions.md
Last active December 21, 2025 01:53
Android Termux Minecraft Server Instructions

VER=1.18.1

Mojang offical minecraft server:

MANIFEST="https://launchermeta.mojang.com/mc/game/version_manifest_v2.json"
META_URL="$(curl -sL "$MANIFEST" | jq -r --arg v "$VER" '.versions[] | select(.id==$v) | .url')"
SERVER_URL="$(curl -sL "$META_URL" | jq -r '.downloads.server.url')"
curl -L -o "server-$VER.jar" "$SERVER_URL"

PaperMC minecraft server (recommended):

Since the original creator aamiaa does not want new features or improvements added to their code, I created this gist with some quality-of-life improvements instead.

My version still fully respects the Discord API and does not bypass or abuse it.


Patch Notes

Patch 0.0

@bob-swinkels
bob-swinkels / 0-restic-backup.md
Last active December 21, 2025 01:48
Example for running scheduled Restic backups on MacOS

Replace bobswinkels with your username and place files at correct locations:

  • /Users/bobswinkels/bin/backup.sh
  • /Library/LaunchDaemons/com.restic-backup.plist

Launch deamon using:
sudo launchctl load /Library/LaunchDaemons/com.restic-backup.plist

Alternatively the script can also be run using a cron job:
0 */6 * * * /Users/bobswinkels/bin/backup.sh >> /var/log/restic-backup.log 2>&1

@davidcafor
davidcafor / TheUnofficialAppleDeveloperCurriculum.md
Created December 17, 2025 17:13
🍎 The Unofficial Apple Developer Curriculum

🍎 The Unofficial Apple Developer Curriculum

WWDC19 β†’ WWDC25

A complete, curated roadmap for modern Apple developers.

Goal Build a deep, long-lasting understanding of Apple development: Swift β†’ SwiftUI β†’ Concurrency β†’ Data β†’ Testing β†’ Performance β†’ visionOS β†’ Swift 6

Rules

Product Year Version Product Keys
Visual Studio 2022 2021 17.x Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise:
VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x Professional:
NYWVH-HT4XC-R2WYW-9Y3CM-X4V3Y
Enterprise:
@EscVM
EscVM / oid_to_yolo.py
Last active December 21, 2025 01:32
Translate OIDv4 labels to YOLO format
# ---------------
# Date: 7/25/2018
# Place: Biella
# Author: EscVM
# Project: OID v4 to Yolo
# ---------------
import os
from tqdm import tqdm