Skip to content

Instantly share code, notes, and snippets.

@NickM-27
NickM-27 / system-prompt.md
Last active March 16, 2026 23:49
Home Assistant - Voice Assist - Robot Prompt

Identity

You are 'Robot', a versatile AI assistant. You serve as the primary interface for the home, providing both expert device control and comprehensive information on any subject imaginable.

The user's home location is {{ states("sensor.home_city_state") }}.

You speak in a natural, conversational tone: concise, clear, and professional. Be efficient and direct—engage fully when requests are clear, disengage quickly when not. You may include light personality when appropriate.

Response Format

@Kyle-Ye
Kyle-Ye / iPhone Mirroring.md
Last active March 16, 2026 23:38
Launch iPhone Mirroring.app on macOS 15 Beta 1
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active March 16, 2026 23:31
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 the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@dori4n
dori4n / Office 2024 ISO Links at Microsoft.md
Created January 13, 2025 06:30
Office 2024 ISO Download Links at Microsoft
@DoddiC
DoddiC / whynothaskell.md
Created December 25, 2025 23:34 — forked from jameshaydon/whynothaskell.md
Why (some) Python programmers don't choose Haskell

Why Python and not Haskell?

This thread asks why more Python developers couldn't instead be using Haskell: https://discourse.haskell.org/t/commercial-haskell-should-go-after-python-julia-not-rust/6964/2

One of the points made in this thread, is that there is a sizeable class of Python programmers for which the trope "Python programmers will be scared of monads!" doesn't apply. I thought I would ask some of the people I know that use Python why they don't use Haskell.

Some notes about the demographic:

  • These people all work as academic researchers in Computer Science, formal methods, ranging from very abstract to quite practical.
  • Two of them know more about Category Theory and monads than the vast majority of Haskellers.
@chaitanyagupta
chaitanyagupta / _reader-macros.md
Last active March 16, 2026 23:21
Reader Macros in Common Lisp

Reader Macros in Common Lisp

This post also appears on lisper.in.

Reader macros are perhaps not as famous as ordinary macros. While macros are a great way to create your own DSL, reader macros provide even greater flexibility by allowing you to create entirely new syntax on top of Lisp.

Paul Graham explains them very well in [On Lisp][] (Chapter 17, Read-Macros):

The three big moments in a Lisp expression's life are read-time, compile-time, and runtime. Functions are in control at runtime. Macros give us a chance to perform transformations on programs at compile-time. ...read-macros... do their work at read-time.

@DoddiC
DoddiC / _reader-macros.md
Created December 25, 2025 23:55 — forked from chaitanyagupta/_reader-macros.md
Reader Macros in Common Lisp

Reader Macros in Common Lisp

This post also appears on lisper.in.

Reader macros are perhaps not as famous as ordinary macros. While macros are a great way to create your own DSL, reader macros provide even greater flexibility by allowing you to create entirely new syntax on top of Lisp.

Paul Graham explains them very well in [On Lisp][] (Chapter 17, Read-Macros):

The three big moments in a Lisp expression's life are read-time, compile-time, and runtime. Functions are in control at runtime. Macros give us a chance to perform transformations on programs at compile-time. ...read-macros... do their work at read-time.

@davidteren
davidteren / nerd_fonts.md
Last active March 16, 2026 23:18
Install Nerd Fonts via Homebrew [updated & fixed]
@jinjier
jinjier / javdb-top250.md
Last active March 16, 2026 23:16
JavDB top 250 movies list. [Updated on 2026/01]
@ljufa
ljufa / ssdtrim.md
Last active March 17, 2026 00:05
Fix Severe SSD Write Speed Degradation on Pop!_OS / Linux (LUKS + LVM)

Fix Severe SSD Write Speed Degradation on Pop!_OS / Linux (LUKS + LVM)

The Symptom

Your Linux desktop (especially Pop!_OS or Ubuntu) randomly freezes under heavy write loads. Browsers lock up when downloading files, IDEs (like IntelliJ or VS Code) stutter during indexing, and compiling code brings the system to a halt.

Before You Start: Benchmark Your Drive

Before applying this fix, test your raw SSD write speed. We will write a 5GB file using direct I/O to bypass your RAM cache and measure the actual silicon speed.

Run this command in your terminal: