This file contains hidden or 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
| pmset -g | |
| Active Profiles: | |
| Battery Power -1 | |
| AC Power -1* | |
| Currently in use: | |
| standbydelay 10800 | |
| standby 0 | |
| womp 0 | |
| halfdim 1 | |
| hibernatefile /var/vm/sleepimage |
This file contains hidden or 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 | |
| # <bitbar.title>Amazon SQS Message listing</bitbar.title> | |
| # <bitbar.version>v1.0</bitbar.version> | |
| # <bitbar.author>Andy Magoon</bitbar.author> | |
| # <bitbar.author.github>magoon</bitbar.author.github> | |
| # <bitbar.desc>Shows queue statistics from Amazon SQS.</bitbar.desc> | |
| # <bitbar.dependencies>awscli,jq</bitbar.dependencies> | |
| # Dependencies: | |
| # awscli (https://aws.amazon.com/cli/) |
This file contains hidden or 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
| sudo lsof -i TCP:80 | head -2 | tail -1 | awk '{print $2}' | xargs -I {} sh -c 'sudo ps auxw | grep {}' | grep -v grep |
This file contains hidden or 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 | |
| sudo time | |
| ps auxw | grep OpenDNS | awk '{print $2}' | xargs sudo kill -9 | |
| sudo rm "/Library/Application Support/OpenDNS Roaming Client/dns-updater" | |
| sudo touch "/Library/Application Support/OpenDNS Roaming Client/dns-updater" | |
| sudo rm "/Library/Application Support/OpenDNS Roaming Client/dnscrypt-proxy" | |
| sudo touch "/Library/Application Support/OpenDNS Roaming Client/dnscrypt-proxy" |
OlderNewer