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 | |
# shellcheck shell=bash | |
# applaunched v0.2 | |
export LANG=en_US.UTF-8 | |
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:"$HOME"/.local/bin:"$HOME"/.local/sbin | |
logloc="/tmp/local.$(id -un).applaunched.log" | |
exec > >(tee -a "$logloc") 2>&1 |
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
# Twitter to Google search | |
# 0.1 | |
export LANG=en_US.UTF-8 | |
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:"$HOME"/.local/bin:"$HOME"/.local/sbin | |
_beep () { | |
osascript -e 'beep' -e 'delay 0.5' &>/dev/null | |
} |
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 | |
# shellcheck shell=bash | |
# addloc 0.2.1 (beta) | |
# add CLIs to /var/db/locationd/clients.plist | |
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/bin:/opt/local/sbin:"$HOME"/.local/bin:"$HOME"/.local/sbin | |
rehash &>/dev/null |
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 | |
# shellcheck shell=bash | |
# imgur-au | |
# v0.4 | |
# imgur anonymous uploader | |
export LANG=en_US.UTF-8 | |
export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin:/opt/local/bin:/opt/homebrew/bin:$HOME/.local/bin:$HOME/bin:$HOME/local/bin |
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 | |
# shellcheck shell=bash | |
# reconnect v0.2 | |
# macOS / Fritz!Box (tested on model 7490) | |
export LANG=en_US.UTF-8 | |
export PATH=/bin:/sbin:/usr/bin:/usr/sbin | |
### |
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 | |
# shellcheck shell=bash | |
# wifi-auto-switch.zsh for macOS | |
# v0.2 | |
emulate -LR bash | |
export LANG=en_US.UTF-8 | |
# switch WiFi network function |
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 | |
# ckimg v0.5 | |
for filepath in "$@" | |
do | |
shortpath="${filepath/#$HOME/~}" | |
filename=$(basename "$filepath") | |
echo "Accessing: $shortpath" | |
extension="${filename##*.}" |
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 | |
# shellcheck shell=bash | |
# rm-dsstore v0.2 | |
# macOS Catalina and later only! | |
if [[ $(id -u) != 0 ]] ; then | |
echo "Please run as root user!" >&2 | |
exit | |
fi |
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 | |
# shellcheck shell=bash | |
# ejecta v0.11 | |
# https://gist.github.com/JayBrown/da7da1ef88cdce264fb47495a0fd34c4 | |
export PATH=/usr/bin:/usr/sbin:/bin:/sbin | |
_beep () { | |
osascript -e 'beep' -e 'delay 0.5' &>/dev/null |
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
2016-11-27 17:57:39 +0100 | |
/usr/local/Cellar/mapbox/0.5.1/libexec/bin/pip | |
install | |
-v | |
--no-deps | |
--no-binary | |
:all: | |
--ignore-installed | |
/private/tmp/mapbox--polyline-20161127-75577-1ha0sdu/polyline-1.3.1 |