Skip to content

Instantly share code, notes, and snippets.

@xenopus
xenopus / braveTimemachine.sh
Created January 12, 2017 08:35
Speed up timemachine process.
echo "Removing Low Process Priority Throttling..."
sudo sysctl debug.lowpri_throttle_enabled=0
echo "Renice backupd process"
pid=$(ps alxww | grep -i "backupd$" | awk '{print $2}')
ps alxww | grep -i "backupd$"
sudo renice -10 ${pid}
ps alxww | grep -i "backupd$"
@xenopus
xenopus / VisorTerminal.workflow
Created January 12, 2017 08:31
AppleScript for Terminal.app to work like Visor.
on run {input, parameters}
set termWinCnt to 0
tell application "Terminal"
if it is running then
set termWinCnt to number of windows
if termWinCnt = 0 then
reopen
else
tell application "System Events"
@xenopus
xenopus / 0_reuse_code.js
Created March 25, 2014 16:48
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console