Skip to content

Instantly share code, notes, and snippets.

static class KeyBoard
{
internal static IEnumerable<char> UnEscape(string a)
{
// Stacks keep good indexes
var lowers = new Stack<(int, char chr)>(a.Count());
var uppers = new Stack<(int, char chr)>(a.Count());
for (int i = 0; i < a.Count(); i++)
@AkdM
AkdM / Edit_Repack_ISO_tutorial.md
Last active November 10, 2025 13:38
Edit and repack .iso bootable image

On Linux

Installing mkisofs

apt-get install mkisofs

Editing ISO image

mkdir /tmp/custom_iso

@dphov
dphov / Natural® Ergonomic Keyboard 4000 @ 0x14100000, Any Application (special keys).overdriveSettings
Last active December 6, 2024 21:27
USB Overdrive config for Microsoft Natural Ergonomic Keyboard 4000
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>active</key>
<true/>
<key>addr</key>
<integer>0</integer>
<key>altid</key>
<integer>0</integer>