Skip to content

Instantly share code, notes, and snippets.

View henckellbach's full-sized avatar

Filip Novotný henckellbach

View GitHub Profile
@henckellbach
henckellbach / keybase.md
Created February 1, 2023 11:33
keybase.md

Keybase proof

I hereby claim:

  • I am henckellbach on github.
  • I am filipnovotny (https://keybase.io/filipnovotny) on keybase.
  • I have a public key ASBXrRj1je7V8HAneVdChd8K0f9FUxl1A0xqwGqbaI9DUQo

To claim this, I am signing this object:

@henckellbach
henckellbach / organize-windows.applescript
Last active January 18, 2021 11:47
AppleScript application for organizing your open windows
-- You need to allow assistive access to this application
-- System Preferences > Security > Privacy > Privacy > Accessibility
-- AppleScript does not allow optional parameters, therefore we are using a list of parameters
-- @param {string} processName - Name of the application process
-- @param {int} x - Window X position
-- @param {int} y - Window Y position
-- @param {int} w - Window width
-- @param {int} h - Window height
-- @param {int} xOffsetDirection - Additional windows offset direction (-1 for left, 1 for right)