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 | |
CYAN="$(tput bold; tput setaf 6)" | |
RESET="$(tput sgr0)" | |
clear | |
if command -v python3 > /dev/null 2>&1; then | |
if [ $(python3 -c "print('ye')") = "ye" ]; then | |
clear |
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 | |
# see LICENSE file on this gist at gist.github.com/codycodes | |
# Requires root permissions. An easy way to run this script is to simply use "sudo bash change_raspberry_pi_hostname.sh" | |
# Changes the hostname on your raspberry pi to what's set in $hostname (variable) | |
# Can be passed in as a parameter by calling this script or set explicitly in this file | |
# Makes a backup of the hosts file (/etc/hosts.bak) |
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 | |
get_current_wifi_password() { | |
# this command from http://bit.ly/2zWtUhQ | |
current_wifi=`/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | \ | |
awk '/ SSID/ {print substr($0, index($0, $2))}'` | |
security find-generic-password -a "$current_wifi" -g | tail -0 | |
} | |
get_wifi_password() { |
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 | |
# This will look at the overviewstatus.xml file and | |
# determine if Backblaze is currently transmitting a file. | |
# | |
# Developed against: | |
# macOS 10.13.3 | |
# Backblaze 5.2.0.172 | |
BBSTATUS='/Library/Backblaze.bzpkg/bzdata/overviewstatus.xml' |
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 | |
airport="/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" | |
security find-generic-password -w -a $($airport -I | awk '/ SSID: /{print $2}') |
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
Abacus | |
Abacuses | |
Abalone | |
Abalones | |
Abode | |
Abodes | |
Accordion | |
Accordions | |
Accoutrement | |
Accoutrements |
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
// Usage: casperjs simplytel.js <login> <password> | |
var casper = require('casper').create({ | |
verbose: false, | |
logLevel: "info", | |
exitOnError: true | |
}); | |
if (!casper.cli.has(0) || !casper.cli.has(1)) { | |
casper.echo("\nUsage: casperjs simplytel.js <login> <password>").exit(); |
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
property defaultAccountName : "iCloud" | |
property defaultFolderName : "Saved iCloud Tabs" | |
global html | |
global processedURLs | |
on appendLineWithURLItem(urlItem) | |
my appendHTML(" <li>") | |
my appendHTML("<a href=\"" & |url| of urlItem & "\">") | |
my appendHTML(|Title| of urlItem) |
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
diff -r b3bc99b909c3 src/version.c | |
--- a/src/version.c Sat Jan 10 15:09:25 2015 +0100 | |
+++ b/src/version.c Sat Jan 10 15:37:45 2015 -0500 | |
@@ -2353,9 +2353,6 @@ | |
#endif | |
N_("Vim is open source and freely distributable"), | |
"", | |
- N_("Help poor children in Uganda!"), | |
- N_("type :help iccf<Enter> for information "), | |
- "", |
NewerOlder