Skip to content

Instantly share code, notes, and snippets.

View miqm's full-sized avatar

Mikolaj Mackowiak miqm

View GitHub Profile
@svyatogor
svyatogor / broadlink_to_tuya.py
Last active July 7, 2024 03:09
Convert SmartIR Broadlink commands to Tuya

Yubikey GPG inside WSL2

  1. Install GPG4Win.
  2. Start up Kleopatra (a UI tool from 1) and make sure your YubiKey is loaded there.
    • You can also add GPG4Win to Startup folder using a link with this Target:
      "C:\Program Files (x86)\GnuPG\bin\gpg-connect-agent.exe" /bye
      
      This will only load the agent at Startup, and you won't be bothered by any UI or tray agent.
  3. Download wsl2-ssh-pageant into your Windows %userprofile%/.ssh directory (Windows dir is important for performance).
anonymous
anonymous / -
Created October 28, 2017 10:41
System: Host: oem-MS-7469 Kernel: 4.8.0-53-generic i686 (32 bit gcc: 5.4.0)
Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm Distro: Linux Mint 18.2 Sonya
Machine: Mobo: MICRO-STAR model: MS-7469 v: 100
Bios: American Megatrends v: A7469IMS.110 date: 03/15/2010
CPU: Dual core Intel Atom D510 (-HT-MCP-) cache: 512 KB
flags: (lm nx pae sse sse2 sse3 ssse3) bmips: 6650
clock speeds: max: 1662 MHz 1: 1662 MHz 2: 1662 MHz 3: 1662 MHz 4: 1662 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV710/M92 [Mobility Radeon HD 4330/4350/4550]
bus-ID: 02:00.0 chip-ID: 1002:9552
Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa)
@trusktr
trusktr / DefaultKeyBinding.dict
Last active July 17, 2024 05:21
My DefaultKeyBinding.dict for Mac OS X
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict
This file remaps the key bindings of a single user on Mac OS X 10.5 to more
closely match default behavior on Windows systems. This makes the Command key
behave like Windows Control key. To use Control instead of Command, either swap
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys...
or replace @ with ^ in this file.
Here is a rough cheatsheet for syntax.
Key Modifiers