Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 11, 2025 23:29
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:
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 11, 2025 23:28
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
@loveemu
loveemu / xm-form-ja.md
Last active December 11, 2025 23:16
The "Complete" XM module format specification v0.81
@handcoding
handcoding / Ashley’s Light Fader.yaml
Last active December 11, 2025 23:12
This script for Home Assistant will fade a lamp over time with your choice of easing, including varieties of ease-in, ease-out, and ease-in-out.
alias: Ashley’s Light Fader
description: >
Fades a lamp over time. If you have any questions or comments about this
script, feel free to tweet Ashley Bischoff at @FriendlyAshley. Released under
the Apache 2.0 license. (v2.0)
fields:
light:
name: 💡 Light
description: entity_id of the lamp.
selector:
@JBlond
JBlond / bash-colors.md
Last active December 11, 2025 22:59 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@sorrell
sorrell / create-usb.sh
Last active December 11, 2025 22:56
Create Windows 11 USB boot disk
# List disks and update DISK_LOCATION to the correct disk
diskutil list
DISK_LOCATION="/dev/diskX"
DEVICE_NAME="WIN11"
ISO_LOCATION="$HOME/Downloads/Win11_23H2_English_x64.iso"
diskutil eraseDisk MS-DOS "$DEVICE_NAME" GPT $DISK_LOCATION
# Mount the ISO and copy the files to the USB
MOUNT_INFO=$(hdiutil mount $ISO_LOCATION)
@ladinu
ladinu / encryptedNixos.md
Last active December 11, 2025 22:55
NixOS install with encrypted /boot /root with single password unlock

Requirements

  1. Encrypt everthing including /boot and /root
  2. Enter password once
  3. Support UEFI

Installation media setup

Download NixOS minimal iso and copy to USB stick. For example on Mac OSX

$ diskutil list
$ diskutil unmountDisk /dev/disk1 # Make sure you got right device
@craimasjien
craimasjien / bleeding-edge-mesa-fedora.md
Last active December 11, 2025 22:51
Installing bleeding-edge mesa on Fedora

Installing Bleeding-Edge Mesa on Fedora

This guide walks you through installing the latest development version of Mesa (similar to mesa-git on Arch Linux) on Fedora, while keeping the system-provided Mesa version intact. This approach helps avoid breaking dependencies or rendering your system unusable due to driver conflicts.

Who is this guide for? This guide is written for all experience levels, including beginners. Each step includes explanations of what and why, so you can learn as you go.


@ayoubzulfiqar
ayoubzulfiqar / folder_structure.md
Created September 5, 2023 06:12
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    ├── cmd/
    │   ├── your-app-name/
    │   │   ├── main.go         # Application entry point
    │   │   └── ...             # Other application-specific files