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
#!/usr/bin/env zsh | |
max_tries=3 | |
devices=() | |
devices_ids=() | |
echo 'restarting bluetooth service.' | |
blueutil -p 0 && sleep 1 && blueutil -p 1 | |
echo 'waiting bluetooth service to be restored.' |
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/bash | |
curl -O https://github.com/whomwah/qlstephen/releases/download/1.4.2/QLStephen.qlgenerator.1.4.2.zip | |
unzip QLStephen.qlgenerator.1.4.2.zip | |
echo "Please enter your password when asked (the one sudo asks you for usuqlly). It's needed to copy some files to /Library/QuickLook" | |
sudo mv -f QLStephen.qlgenerator /Library/QuickLook | |
rm QLStephen.qlgenerator.1.4.2.zip | |
qlmanage -r |