Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active February 16, 2026 20:36
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:
@karpathy
karpathy / microgpt.py
Last active February 16, 2026 20:32
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@iam-veeramalla
iam-veeramalla / openclaw_with_ollama.md
Created February 15, 2026 11:26
openclaw with ollama (Zero cost AI Assistant)

OpenClaw configuration with Ollama

Install OpenClaw

curl -fsSL https://openclaw.ai/install.sh | bash

Install Ollama

curl -fsSL https://ollama.com/install.sh | sh

@rxaviers
rxaviers / gist:7360908
Last active February 16, 2026 20:32
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:
@bkacjios
bkacjios / Kill la Kill - IF patching.md
Last active February 16, 2026 20:32
Kill la Kill - IF (Window Style Patch)

Kill la Kill - IF (Steam Deck Fix)

Kill la Kill - IF will not properly launch on the steam deck in game mode because of the launch menu stylization.

Bash script patcher

  • Download https://gist.github.com/bkacjios/f4231f5c2b44976597b030887332c73a as a sh file and place it in the same directory as the KILLlaKILL_IF.exe file.
  • Make sure to mark it as executable by right click->properties and going to the permissions tab.
  • Right click and run the script with Konsole.
  • If the exe is unpatched, it will ask if you would like to patch it. Type y to confirm.
@ruario
ruario / small-slackware.md
Last active February 16, 2026 20:31
A short guide to quickly setting up a small Slackware install

Setting up a "small" Slackware install

Intro

Before you do this, reconsider if it is really needed. More often than not, it isn't. This is why.

A common reason for attempting a minimal install is an expectation that Slackware will run faster. This is not true. Some example, (IMHO) valid, reasons for stripping back the install include:

  • Installing on a device with limited disk space, where it is hard to add additional storage
  • A setup where there is an ongoing cost to rent disk space (e.g. a Virtual Private Server)
@devbug
devbug / crash001.md
Last active February 16, 2026 20:29
νŠΈμœ…μœΌλ‘œ μΈν•œ ν¬λž˜μ‰¬ λ°œμƒ μ‹œ λŒ€μ²˜

νŠΈμœ…μœΌλ‘œ μΈν•œ ν¬λž˜μ‰¬ λ°œμƒ μ‹œ λŒ€μ²˜

이 λ¬Έμ„œλŠ” νŠΈμœ…μœΌλ‘œ μΈν•œ ν¬λž˜μ‰¬λ§Œ λ‹€λ£Ήλ‹ˆλ‹€.
λ‚΄λΆ€ 파일 λ³€κ²½ μ‹œ λ°œμƒν•˜λŠ” λ¬΄ν•œ 사과 등에 λŒ€ν•΄μ„œλŠ” 닀루지 μ•ŠμŠ΅λ‹ˆλ‹€.

λ§Œμ•½ λ‚΄λΆ€ 파일 λ³€κ²½μœΌλ‘œ 인해 μ‹œμŠ€ν…œμ΄ λ©ˆμ·„μœΌλ©΄ λ‹€ ν¬κΈ°ν•˜κ³  아무 생각없이 DFUλ₯Ό ν•˜μ‹œλ©΄ λ©λ‹ˆλ‹€.
So easy.

Running Quartus + Questa on Apple Silicon

The current methods to run an Intel FPGA workflow on Apple Silicon involve two possibile approaches:

  • Using a WoA Virtual Machine: Performance is terrible (already in amd64 Windows platforms is terrible, adding two virtualization layers on top of it leads to eternal compilation times) + space wasted for all the Microsoft bloatware
  • Using a Docker Container: Performance is better than WoA, but the USB drivers are not working

Running Linux on UTM with Rosetta enabled should tackle these problems

Disclaimer for Baremetal installation

This guide could possibly work also when installing Debian directly on the Mac with Asahi Linux, but it is not recommended for beginners: with the standard installation procedure the Linux Kernel uses a default page size of 16K, and the rosetta binary is not designed to run with this page size. By recompiling the Linux Kernel to use 4K page sizes it should work flawlessly, but expect slower perfomance and/or higher power usage

@mmozeiko
mmozeiko / !README.md
Last active February 16, 2026 20:28
Download MSVC compiler/linker & Windows SDK without installing full Visual Studio

This downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK into portable folder, without installing Visual Studio. Has bare minimum components - no UWP/Store/WindowsRT stuff, just files & tools for native desktop app development.

Run py.exe portable-msvc.py and it will download output into msvc folder. By default it will download latest available MSVC & Windows SDK from newest Visual Studio.

You can list available versions with py.exe portable-msvc.py --show-versions and then pass versions you want with --msvc-version and --sdk-version arguments.

To use cl.exe/link.exe first run setup_TARGET.bat - after that PATH/INCLUDE/LIB env variables will be updated to use all the tools as usual. You can also use clang-cl.exe with these includes & libraries.

To use clang-cl.exe without running setup.bat, pass extra /winsysroot msvc argument (msvc is folder name where output is stored).

# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = JetBrainsMonoNerdFont
font-size = 14