Skip to content

Instantly share code, notes, and snippets.

  • Shall i implement it?
  • No ...
@jake-stewart
jake-stewart / color256.md
Last active May 28, 2026 04:36
Terminals should generate the 256-color palette

Terminals should generate the 256-color palette from the user's base16 theme.

If you've spent much time in the terminal, you've probably set a custom base16 theme. They work well. You define a handful of colors in one place and all your programs use them.

The drawback is that 16 colors is limiting. Complex and color-heavy programs struggle with such a small palette.

Context:
https://news.ycombinator.com/reply?id=46483541
Implementations:
https://claude.ai/share/428502a2-81f0-421d-a3d7-08bceb96d039
https://chatgpt.com/share/6959ed27-accc-800e-8e87-21aa81e93c07
Eval:
https://claude.ai/share/98dc0a03-0d03-4053-8460-3fb7b2b2676d
- name: Overprovision like the pros'
hosts: all
tasks:
- name: Install early OOM killer and zram
ansible.builtin.apt:
pkg:
- earlyoom
- zram-tools
- name: Configure early OOM killer
ansible.builtin.lineinfile:
@Dovias
Dovias / terminal-default-application-admin.md
Last active March 23, 2026 16:53
Set Windows 10/11 default terminal for admin privileges

Set Windows 10/11 default terminal for admin and user-level privileges

This tutorial allows you to manually set version of microsoft/terminal to be used as default terminal with and without administrative privileges on Microsoft Windows 10 or 11.

Note

This tutorial is for educational purposes only. I am not responsible for any damages that may have caused this. By attempting to follow this guide, you are on your own risk.

Instructions.

  1. Download unpackaged version of Microsoft Terminal from GitHub. You can find latest working version for this guide here..

[!NOTE]

@pmarreck
pmarreck / comparison-of-shells.md
Last active May 20, 2026 07:19
Comparison of Bash, Elvish, NuShell, Murex, es-shell, fish, xonsh, PowerShell, Oil and Ion shells

Comparison of Bash, Elvish, NuShell, Murex, es-shell, fish, xonsh, PowerShell, Oils (Oil/OSH/YSH) and Ion shells

(Originally generated by ChatGPT and reviewed/edited by Claude; now corrected/expanded based on reader feedback. YMMV.)

(generated by chatgpt 4o and reviewed/edited by claude 3.5 sonnet, YMMV)

| Feature | Bash | Elvish | NuShell | Murex | es-shell | Fish | Xonsh | PowerShell | Oil

using System.Diagnostics;
using System.Runtime.Versioning;
using static Vanara.PInvoke.Kernel32;
[SupportedOSPlatform("windows")]
internal class SnapshotRelationsImpl
{
public int GetParentProcessId(int processId)
{
if (processId == 0)
@dbilanoski
dbilanoski / windows11-ms-settings-uri-commands.csv
Last active May 22, 2026 05:16
Complete List Of Windows 11 MS-Settings URI Commands
Category Settings Page URI Command
Accounts Access work or school ms-settings:workplace
Accounts Email & app accounts ms-settings:emailandaccounts
Accounts Family & other people ms-settings:otherusers
Accounts Set up a kiosk ms-settings:assignedaccess
Accounts Sign-in options ms-settings:signinoptions
Accounts Sync your settings ms-settings:sync
Accounts Windows Hello setup ms-settings:signinoptions-launchfaceenrollment
Accounts Your info ms-settings:yourinfo
Apps Apps & Features ms-settings:appsfeatures
@Daan-Grashoff
Daan-Grashoff / README.md
Last active February 14, 2026 09:16
Bring back the google maps button when searching on google

Google Maps Button Restorer

This userscript brings back the Maps button in Google Search results, making it easy to search locations directly in Google Maps.

Features

  • Adds a Maps button next to the "All", "Images", "News" tabs in Google Search
  • Works across multiple Google domains (.com, .co.uk, .nl, .de, .fr)
  • Automatically updates when using Google's dynamic search
  • Maintains button presence during navigation
@SMUsamaShah
SMUsamaShah / list_of_p2p_file_sharing.md
Last active May 28, 2026 01:50
List of P2P file sharing tools

Browser Based

  1. Web Wormhole https://webwormhole.io/ https://github.com/saljam/webwormhole
  2. Localsend https://web.localsend.org/
  3. FilePizza https://file.pizza/
  4. ShareDrop sharedrop.io https://github.com/szimek/sharedrop (SOLD, not recommended, use one of the forks)
    1. A clone SnapDrop snapdrop.net https://github.com/RobinLinus/snapdrop (SOLD, not recommended, use one of the forks)
      1. A fork PairDrop https://pairdrop.net/ https://github.com/schlagmichdoch/pairdrop
  5. ToffeeShare https://toffeeshare.com/
  6. Instant.io https://instant.io/