Skip to content

Instantly share code, notes, and snippets.

@ryantheleach
ryantheleach / KeybdHookDebug.ahk
Created October 17, 2016 09:43
Logitech Gaming Software F13-F24 Keys
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#InstallKeybdHook ;https://autohotkey.com/docs/commands/KeyHistory.htm
KeyHistory
;Run script, right click AHK icon in taskbar, Open, View History.
@timvisee
timvisee / falsehoods-programming-time-list.md
Last active July 15, 2025 15:57
Falsehoods programmers believe about time, in a single list

Falsehoods programmers believe about time

This is a compiled list of falsehoods programmers tend to believe about working with time.

Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.

Falsehoods

  • There are always 24 hours in a day.
  • February is always 28 days long.
  • Any 24-hour period will always begin and end in the same day (or week, or month).
@ice2heart
ice2heart / app.py
Last active December 3, 2019 14:19
Noiser
#!/usr/bin/env python3
'''
sudo apt-get install libjpeg-dev zlib1g-dev
pip install pillow-simd
'''
from PIL import Image
import sys