Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@iamwildtuna
iamwildtuna / gist:7772b7c84a11bf6e1385f23096a73a15
Last active August 23, 2026 18:26
VPN IP Addresses (IP адреса ChatGPT, Copilot, Meta, Facebook, Instagram, YouTube, Medium, X ex. Twitter, Discord)
Meta (Instagram, Facebook)
// Узлы
157.240.253.174, 157.240.253.172, 157.240.253.167, 157.240.253.63, 157.240.253.32
157.240.252.174, 157.240.252.172, 157.240.252.167, 157.240.252.63, 157.240.252.38
57.144.112.34, 57.144.110.1, 157.240.205.174, 87.245.223.97
// Подсети
213.102.128.0/24
204.15.20.0/22
199.201.0.0/16
@gaurav7902
gaurav7902 / opencode-omniroute-setup-guide.md
Last active August 23, 2026 18:31
How to create Opencode config file (opencode.json) using omniroute.

Opencode config file (opencode.json) using OmniRoute

1. Generate the config

Install OmniRoute first (npm i -g @omniroute/cli, or use a local clone), then run:

# After installing OmniRoute (npm i -g @omniroute/cli or local clone)
omniroute config opencode --base-url http://localhost:20128
@kriegalex
kriegalex / install-battlenet-on-cachyos-linux-steam-proton.md
Last active August 23, 2026 18:25
Install Battle.net on CachyOS Linux Using Steam & Proton

Install Battle.net on CachyOS Linux Using Steam & Proton

Tested on: CachyOS (Arch-based) · KDE Plasma 6.5 / 6.6 · Wayland · Steam (native pacman package)

Last updated: March 2026

Games confirmed working: World of Warcraft, Diablo IV, Diablo II: Resurrected, StarCraft Remastered, Hearthstone, Overwatch 2, Call of Duty

Why This Method?

@alphashuro
alphashuro / remarkable-2-custom-layout.adoc
Last active August 23, 2026 18:25
Using a custom keyboard layout with Remarkable 2 and type-folio

This was mostly sourced from @mkborregaard’s instructions in this conversation.

TL;DR: You need to compile a custom driver that interprets the keyboard’s keys according according to your desired layout. Once you’ve copied the driver to your remarkable via SSh and restarted it, it should just work™️.

  1. first, clone the remarkable linux kernel

    git clone https://github.com/reMarkable/linux remarkable-linux-kernel
    cd remarkable-linux-kernel
@etasi
etasi / vim-great-cheatsheet.md
Created February 17, 2015 23:05
VIM: A Great Vim Cheat Sheet
layout default
title A Great Vim Cheat Sheet

#A Great Vim Cheat Sheet

Note: If you’re decent at vim and want your mind blown, check out Advanced Vim.

@aarondfrancis
aarondfrancis / audit-your-codebase.md
Created August 14, 2026 15:20
A read-only, agent-orchestrated codebase audit prompt for data structures, state modeling, algorithms, and ownership.

Audit this entire codebase for materially useful simplifications in its data structures, state representation, control flow, algorithms, and ownership.

This is an audit-only exercise. Do not edit files, run tests, implement recommendations, commit, or push. Read-only inspection commands are allowed.

You are the coordinator. Continue until the complete codebase has been reviewed and the final audit is validated.

  1. Establish the coverage contract

Inspect the repository and inventory every identifiable subsystem.

@AveYo
AveYo / . Pitch Black Theme.reg
Last active August 23, 2026 18:24
Pitch Black Theme.reg - now for Ctrl+Alt+Del (and logon on 11) as well - revised 2026-05-15
Windows Registry Editor Version 5.00
; Pitch Black Theme with Gray Accent preset by AveYo
; for Ctrl+Alt+Del, Logon, Taskbar, Start Menu, Action Center (10 & 11)
; revised 2026.05.15
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"AccentColorMenu"=dword:ff000000 ; Window borders and titlebar [black]
"StartColorMenu"=dword:ff000000 ; Modals in UWP ex. Apply new refresh rate in 10 [black]
"AccentPalette"=hex:\
@omerfsen
omerfsen / nvidia-smi-cheat-sheet.md
Created November 6, 2025 11:58
nvidia-smi cheat sheet

NVIDIA-SMI Comprehensive Cheat Sheet

Overview

nvidia-smi (NVIDIA System Management Interface) is a command-line tool that provides monitoring, management, and diagnostic information for NVIDIA GPU devices.

It communicates directly with the NVIDIA driver and GPU, and can:

  • Monitor GPU performance, temperature, and utilization
  • Manage power, clock speeds, and ECC
  • Control persistence mode and compute modes
@jboner
jboner / latency.txt
Last active August 23, 2026 18:17
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD