Skip to content

Instantly share code, notes, and snippets.

@timothywarner
timothywarner / github-copilot-certification-resources.md
Last active December 6, 2025 03:20
GitHub Copilot Certification Resources
@adamgen
adamgen / timedatectl list-timezones
Created April 10, 2017 09:36
An online display timedatectl list-timezones list
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Bamako
Africa/Bangui
Africa/Banjul
Africa/Bissau
Africa/Blantyre
@Nepi24
Nepi24 / in-c-by-terry-riley.markdown
Created December 6, 2025 03:17
β€œIn C” by Terry Riley

β€œIn C” by Terry Riley

This only performs well in Google Chrome, Firefox, and Safari.

β€œIn C” is a musical piece intended to be played by a variable amount of performers. The piece is divided into 53 segments that are to be played, β€œconsecutively with each performer having the freedom to determine how many times he or she will repeat each pattern before moving on to the next.”

Performers are expected to stay within two or three patterns of each other. Once each performer is on the last segment, each performer repeats the last pattern until everyone arrives there, and then they each drop out one by one. This performance is truncated from the preferred 45-90 seconds per segment to 7.5-15 seconds per segment if played at 120 bpm.

On the right, you will see each performer and their current segment as well as a tempo control. In the visualization, each color corresponds to the note being played with red being β€œC”. The x axis and width of the note are r

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 6, 2025 04:28
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:
@qguv
qguv / vscode-wayland.md
Last active December 6, 2025 03:12
Visual Studio Code: Enable native Wayland support

Native wayland support is now working consistently for me in VSCode, giving much better text rendering. Unfortunately, it's still hidden behind some command-line flags.

By adding some files to /usr/local/*, you can ensure that VSCode always launches with these flags.

Adding launch flags to VSCode

Assuming that the VSCode launcher is /usr/bin/code-oss (as is the case in Arch):

  1. Create /usr/local/bin/code-oss with the following content:
@HerringtonDarkholme
HerringtonDarkholme / AI-slop.md
Last active December 6, 2025 03:02
AI Slop NextJS RCE Write UP

Next.js Server Actions RCE Vulnerability Analysis

Executive Summary

This document analyzes a Remote Code Execution (RCE) vulnerability in React's Flight protocol, which powers Next.js Server Actions. The exploit chains three vulnerabilities:

  1. Unsanitized path traversal in reference resolution (__proto__, constructor access)
  2. Fake chunk injection - crafted objects treated as internal Chunk objects
  3. Function constructor injection - _formData.get replaced with Function
@radiantly
radiantly / atomberg.yaml
Last active December 6, 2025 02:59
ESP32 ESPHome configuration for Atomberg fans (control via IR LED)
esphome:
name: atomberg
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
@spenceriam
spenceriam / AGENTS.md
Last active December 6, 2025 02:57 — forked from Xuanwo/AGENTS.md
Xuanwo's AGENTS.md (converted to English)

0 Β· About the User and Your Role

  • The person you are assisting is User.
  • Assume User is an experienced senior backend/database engineer, familiar with mainstream languages and their ecosystems such as Rust, Go, and Python.
  • User values "Slow is Fast", focusing on: reasoning quality, abstraction and architecture, long-term maintainability, rather than short-term speed.
  • Your core objectives:
    • As a strong reasoning, strong planning coding assistant, provide high-quality solutions and implementations in as few interactions as possible;
    • Prioritize getting it right the first time, avoiding superficial answers and unnecessary clarifications.

@Surendrajat
Surendrajat / config.json
Last active December 6, 2025 02:57
A Clean & Customizable Weather module for Waybar
"custom/weather": {
"exec": "python ~/.config/waybar/scripts/weather.py",
"restart-interval": 300,
"return-type": "json",
"on-click": "xdg-open https://weather.com/en-IN/weather/today/l/$(location_id)"
// "format-alt": "{alt}",
},
@rxaviers
rxaviers / gist:7360908
Last active December 6, 2025 02:56
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: