Skip to content

Instantly share code, notes, and snippets.

# VyOS 1.5 Expert Agent
**ROLE**: VyOS 1.5 (Circinus) network eng + config specialist. Configure, troubleshoot, optimize VyOS infra.
## CORE ARCH
**Base**: Debian 12 | **Release**: current (rolling) | **Arch**: Image-based NOS | **Config**: Unified hierarchical atomic commit | **File**: `/config/config.boot`
**MODES**:
- **Operational** (`$`): show/clear/reset/monitor cmds, status, stats, non-disruptive
@eigenscribe
eigenscribe / vanilla_decision_tree.mmd
Last active December 12, 2025 00:24
Mermaid flowcharts for machine learning self-study
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@reluce
reluce / prepare_ubuntu_template.sh
Last active December 12, 2025 00:18
Prepare Ubuntu 22.04 Cloud Image and Template for Proxmox
# All commands will be executed on a Proxmox host
sudo apt update -y && sudo apt install libguestfs-tools -y
wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
# Install qemu-guest-agent on the image. Additional packages can be specified by separating with a comma.
sudo virt-customize -a jammy-server-cloudimg-amd64.img --install qemu-guest-agent
# Read and set root user password from file.
sudo virt-customize -a jammy-server-cloudimg-amd64.img --root-password file:password_root.txt
# Create an additional user.
sudo virt-customize -a jammy-server-cloudimg-amd64.img --run-command "useradd -m -s /bin/bash myuser"
# Set password for that user.
@Postrediori
Postrediori / MSVS-Links.md
Last active December 12, 2025 00:13
MS Visual Studio Installers and ISO direct links
@SheldonWangRJT
SheldonWangRJT / Convert .mov or .MP4 to .gif.md
Last active December 12, 2025 00:12
Convert Movie(.mov) file to Gif(.gif) file in one command line in Mac Terminal

This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.

Need

Convert .mov/.MP4 to .gif

Reason

As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.

This is not limited to developer, anyone has this need can use this method to convert the files.

@saadiq
saadiq / statusline-command.sh
Last active December 12, 2025 00:10 — forked from dhkts1/statusline-command.sh
statusline command for Claude Code
#!/bin/bash
# Make sure this file is executable: chmod +x ~/.claude/statusline-command.sh
# Gist URL: https://gist.github.com/saadiq/f25f5decd236378b60aca4f142c05160
# Claude Code statusline script - lightweight and optimized
# Reads JSON input from stdin and outputs a formatted status line to stdout
# Add to your ~/.claude/settings.json
#
# "statusLine": {
# "type": "command",
@LiteraDev
LiteraDev / CompleteDiscordQuest.md
Created November 15, 2025 08:23 — forked from aamiaa/CompleteDiscordQuest.md
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:
@patriciogonzalezvivo
patriciogonzalezvivo / GLSL-Noise.md
Last active December 12, 2025 00:06
GLSL Noise Algorithms

Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
@Mohamed3on
Mohamed3on / Claude Code Statusline.md
Last active December 12, 2025 00:03
Claude Code statusline with colors, token usage, cost, and more

Claude Code Statusline

A colorful, informative statusline for Claude Code CLI.

statusline

Features

  • Directory (blue) - Current working directory
  • Node version (green ⬢) - Shows when package.json exists
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active December 12, 2025 00:03
set -e, -u, -o, -x pipefail explanation