Skip to content

Instantly share code, notes, and snippets.

@0xjac
0xjac / private_fork.md
Last active January 21, 2026 12:54
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@thiagokokada
thiagokokada / low-latency-kvm.md
Last active January 21, 2026 12:52
Low-latency KVM

Low-latency guests in KVM

Summary

Obtaining a low-latency guests in KVM (i.e.: low DPC latency for Windows guests) can be difficult. Without it, you may hear cracks/pops in audio or freezes in the VM, so they can be very annoying, specially for gaming dedicated VMs.

This document summarizes some of my findings on this subject.

Configuring KVM for real-time workloads

@Espleth
Espleth / MigrationsExtensions.cs
Created November 7, 2024 20:33
EF Core Code-first extension to migrate C# enums from ints in Postgres to PG enums
using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.NameTranslation;
namespace Celestial.Database.Extensions;
public static class MigrationsExtensions
{
/// <summary>
/// Convert int column to PG enum column using c# enum which was previously mapped to this column
/// </summary>
@jesstelford
jesstelford / 01-shape-up-to-kindle.md
Last active January 21, 2026 12:45
Read SHAPE UP by basecamp on a Kindle / reMarkable / eReader

Read Shape Up by basecamp on a kindle / reMarkable / eReader

Basecamp's new book Shape Up is now available online (https://basecamp.com/shapeup) to read page-by-page.

There is a .pdf version, but that's not the best format for Kindle / other eReaders. Instead, we can convert the page-by-page into an eReader friendly format.

Part 1: Convert to a single page

NOTE: This has only been tested on Chrome

@iamwildtuna
iamwildtuna / gist:7772b7c84a11bf6e1385f23096a73a15
Last active January 21, 2026 12:41
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
@tak-dcxi
tak-dcxi / typography.md
Last active January 21, 2026 12:39
タイポグラフィCSS

タイポグラフィ

font-family

  • フォントは Web サイトの印象に直結するため、一概にこれが良いとは言えない。
  • 特にこれと言った指定がされていない場合は font-family: sans-serif のみで良い。
    • Windows 11/10 では 2025 年のアップデートにより Noto Sans JP が標準搭載された。色々と問題があった游ゴシックの呪縛から解放されたのは大きい。
    • Android はメーカーにより削除されている可能性はあるが、そうでない場合は原則的に Noto Sans CJK JP が適用される。
    • Mac/iOS はヒラギノ角ゴ ProN が適用される。
  • アップデートによるフォントの変更の懸念はあるものの、ディスクリシアの方々は UD デジタル教科書体などの読みやすいフォントを設定している可能性があるため、アクセシビリティの観点では font-family: sans-serif の指定を推奨する。
@Ouroboros
Ouroboros / cursor.md
Last active January 21, 2026 12:38
Make Cursor Work with cppvsdbg

1. Modify cpptools/package.json

Remove this condition "when": "workspacePlatform == windows"

%USERPROFILE%\.cursor\extensions\ms-vscode.cpptools-1.23.5-win32-x64\package.json

    "type": "cppvsdbg",
    "label": "C++ (Windows)",
    "when1": "workspacePlatform == windows",
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active January 21, 2026 12:37
Conventional Commits Cheatsheet
@intellectronica
intellectronica / 0.README.md
Last active January 21, 2026 12:36
Markdown Converter Skill

Markdown Converter Skill

Uses uvx markitdown to convert many document and file types to Markdown.

Great replacement for markitdown-mcp.

Works in Claude (upload markdown-converter.skill), Claude Code (expand the skill zip file into ~/.claude/skills/ or just create a skill directory with SKILL.md) or in any agent using Skillz.