Skip to content

Instantly share code, notes, and snippets.

View sujayvadlakonda's full-sized avatar

Sujay Vadlakonda sujayvadlakonda

  • Dallas, TX
View GitHub Profile
@sujayvadlakonda
sujayvadlakonda / how-to-use-xampp-on-osx.md
Last active March 15, 2023 16:15
How to use XAMPP on OSX
  1. brew install --cask xampp
  2. run manager-osx in /Applications/XAMPP/
  3. Start Apache Server under "Manage Servers" tab
  4. mv foo /Applications/XAMPP/htdocs/dashboard/
  5. chmod +rwx /Applications/XAMPP/htdocs/dashboard/foo
  6. Go to http://localhost/dashboard/foo in browser
# TODO: BPM
# CHECK FREQUENCY_FOR
begin # region: top level tick methods
def tick args
defaults args
render args
input args
process_audio_queue args
end
hs.window.animationDuration = 0
hs.window.filter.default:subscribe(hs.window.filter.windowFocused, function(window, appName)
hs.window.focusedWindow():setFullScreen(true)
end)
function open(name)
return function()
hs.window.desktop():focus()
hs.application.open(name):activate()
end