Skip to content

Instantly share code, notes, and snippets.

View MasterMedo's full-sized avatar
🎄
advent of code ⭐

Mislav Vuletić MasterMedo

🎄
advent of code ⭐
View GitHub Profile
@MasterMedo
MasterMedo / reply-challenge-2021-data-insight.md
Last active March 12, 2021 08:38
Reply challenge 2021 data insight

a

Example data.

b

Randomly generated data. grid

c

Number of antennas is equal to the number of buildings so you can just pick one by one sorted optimally.

d

Buildings divided into neighbourhoods with buildings requiring higher speeds closer to the corners. grid

@MasterMedo
MasterMedo / WinShortCuts.ahk
Created April 9, 2019 06:38
Windows shortcuts
#s::
return
#f::
if (WinActive("ahk_class Progman") || WinActive("ahk_Class DV2ControlHost") || (WinActive("Start") && WinActive("ahk_class Button")) || WinActive("ahk_class Shell_TrayWnd")) ; disallows minimizing things that shouldn't be minimized, like the task bar and desktop
return
WinGet, MinMax, MinMax, A
If (MinMax = 1)
WinRestore, A
else