Skip to content

Instantly share code, notes, and snippets.

View AwesomeLemon's full-sized avatar

Alexander Chebykin AwesomeLemon

View GitHub Profile
@AwesomeLemon
AwesomeLemon / SwitchBetweenWindows_CycleInRecentOrder.ahk
Created September 16, 2025 09:57
Switch between instances of a program via Alt + Backtick (Ubuntu-like functionality for Windows)
#Requires AutoHotkey v2.0
!`::
{
KEY := "SC029" ; grave/tilde key (backtick) scancode
; Build candidate list for the current app (special-case Explorer by class)
win_class := WinGetClass("A")
exe := WinGetProcessName("A")
if (exe = "explorer.exe")
@AwesomeLemon
AwesomeLemon / debug.txt
Created June 25, 2017 10:57
Uncrustify debug file
# Uncrustify-0.65-69-0f5a557-dirty
input_tab_size = 4
output_tab_size = 4
sp_arith = add
sp_assign = add
sp_bool = add
sp_compare = add
sp_inside_paren = remove
sp_paren_brace = add
sp_before_ptr_star = add
@AwesomeLemon
AwesomeLemon / .clang-format
Created March 29, 2017 11:34
Experimenting with clang-format
BasedOnStyle: LLVM
MacroBlockBegin: "^abc|__asm__|ghi|__abc__$"