brew install --cask xampp
- run
manager-osx
in/Applications/XAMPP/
- Start Apache Server under "Manage Servers" tab
mv foo /Applications/XAMPP/htdocs/dashboard/
chmod +rwx /Applications/XAMPP/htdocs/dashboard/foo
- Go to
http://localhost/dashboard/foo
in browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>DragonRuby - Hello World</title> | |
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.3/styles/default.min.css" /> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.0.3/highlight.min.js"></script> | |
<script src="tutorial.js"></script> | |
<link rel="stylesheet" href="tutorial.css" /> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Elisp Extensions | |
(defun rnth (list) | |
"Returns the nth to last item in a list. Short for reverse nth" | |
(interactive) | |
(nth (- (safe-length list) n) list)) | |
(defun file-name-only () | |
"Returns the file name without any of the folders" | |
(interactive) | |
(rnth (split-string buffer-file-name "/") 1)) |