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
Homebrew build logs for weechat on macOS 10.13.4 | |
Build date: 2018-04-22 22:37:24 |
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/sh | |
set -x | |
# Current time as HH MM | |
# - force leading space, because hours under 10 have a leading space anyway | |
# | |
WHOLE_DATE_STRING=${1:-"$(date "+ %l %M %p" | sed 's/^[[:space:]]*//')"} | |
HOUR_STRING="$( echo "$WHOLE_DATE_STRING" | cut -d' ' -f1)" |
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
""" | |
Re-encrypts an iOS backup that's been decrypted by mvt-ios. | |
Depending on the iOS version of the backup, there may be files that were never | |
encrypted in the first place, which mvt-ios then skips over during decryption. | |
""" | |
import hashlib | |
import itertools | |
import json | |
import mmap |
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
global frontApp, frontAppName, windowTitle | |
set resultString to "[no app]" | |
set frontAppName to "" | |
set windowTitle to "" | |
tell application "System Events" | |
try | |
set frontApp to first application process whose frontmost is true |