Skip to content

Instantly share code, notes, and snippets.

@JoaquinRuiz
JoaquinRuiz / gist:19c1d9f374bb6b05c291bf44c4fae9b5
Created January 16, 2026 19:48
Ollama configuration (llama3.2) for Wave Terminal
{
"ollama-llama": {
"display:name": "Ollama - llama3.2",
"display:order": 1,
"display:icon": "microchip",
"display:description": "Local llama3.2:latest model via Ollama",
"ai:apitype": "openai-chat",
"ai:model": "llama3.2:latest",
"ai:thinkinglevel": "medium",
"ai:endpoint": "http://localhost:11434/v1/chat/completions",
@pcaversaccio
pcaversaccio / curl
Last active January 17, 2026 14:38
Protective wrappers for `curl`/`wget` that prevent homograph/IDN attacks by blocking URLs containing non-ASCII characters or Punycode domains.
#!/usr/bin/env bash
set -Eeuo pipefail
RED=$'\033[1;31m'
YELLOW=$'\033[1;33m'
RESET=$'\033[0m'
for arg in "$@"; do
# Reject any non-ASCII byte.
if LC_ALL=C printf "%s" "$arg" | grep -q "[^ -~]"; then
@bitterteasweetorange
bitterteasweetorange / keybindings.json
Last active January 17, 2026 14:33
setup vscode like neovim
[
{
"command": "projectManager.listGitProjects#sideBarGit",
"key": "cmd+o"
},
{
"command": "expand_region",
"key": "ctrl+=",
"when": "editorTextFocus"
},
@felipemarques
felipemarques / 999.conf
Last active January 17, 2026 14:30
GPU Passthrough NVIDIA GTX 770 on Proxmox 7.4
balloon: 0
bios: ovmf
boot: order=scsi0;ide2;net0;ide0
cores: 6
cpu: host,hidden=1
efidisk0: local-lvm:vm-109-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:81:00,pcie=1,x-vga=on,romfile=GK104-patched.rom
ide0: local:iso/virtio-win-0.1.229.iso,media=cdrom,size=522284K
ide2: local:iso/HBCD_PE_x64.iso,media=cdrom,size=3026566K
machine: q35
@robbin
robbin / yuque-mac-minimal.css
Created January 17, 2026 05:36
CSS of making Obsidian's font rendering as elegant as Yuque.
/* ============================================================
Yuque-style Minimal Typography for Obsidian (macOS)
Author intent: Chinese-first readability, calm rhythm,
long writing friendly, default theme safe.
============================================================ */
/* -----------------------------
1. Core variables
----------------------------- */
:root {
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active January 17, 2026 14:20
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:
@LanceMcCarthy
LanceMcCarthy / UltimateListIds.md
Last active January 17, 2026 14:19
List of Package Ids
Name Package Id Version Source
7Zip 7zip.7zip 19.0.0 winget
Altap Salamander salamander choco
Alt-Tab Terminator alt-tab-terminator choco
AutoHotkey Lexikos.AutoHotkey 1.1.33.02 winget
AutoHotkey Store Edition HaukeGtze.AutoHotkeypoweredbyweatherlights.com Latest msstore (via winget)
Carnac
@kevinma2010
kevinma2010 / quad-forge.sh
Last active January 17, 2026 14:19
一键启动多 Agent tmux 工作区:OpenCode/Droid/Claude/Codex 负责执行
#!/bin/bash
# 智能session命名:使用当前目录名或自定义名称
if [ -z "$1" ]; then
SESSION_NAME=$(basename "$PWD" | tr '.' '-' | tr ' ' '-')
else
SESSION_NAME=$1
fi
# 检查session是否已存在
tmux has-session -t "$SESSION_NAME" 2>/dev/null
@Kyle-Ye
Kyle-Ye / iPhone Mirroring.md
Last active January 17, 2026 14:18
Launch iPhone Mirroring.app on macOS 15 Beta 1