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
import BLTNBoard | |
import WebKit | |
class BLTNWebPageItem: FeedbackPageBLTNItem { | |
let url: URL | |
init(url: URL) { | |
self.url = url | |
super.init(title: "Web Page") |
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
// Author: Alexis Akers | |
// License: | |
// This code is published under the public domain. The software is provided "as is" without warranty | |
// of any kind and I cannot be held liable for any issue arising from its usage. | |
/// An object that performs haptic feedback. | |
struct Haptics { | |
/// Performs a success haptic feedback. | |
func success() { | |
let feedbackGenerator = UINotificationFeedbackGenerator() |
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
#!/bin/zsh | |
FEATURE=$1 | |
case $FEATURE in | |
video) | |
echo "Restarting camera software" | |
sudo killall VDCAssistant; sudo killall AppleCameraAssistant | |
;; | |
audio) | |
echo "Restarting audio software" |
OlderNewer