~ $ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=57 time=25.412 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=57 time=34.117 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=57 time=28.126 ms
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("twitter.com") { | |
[data-component-context="suggest_recap"], | |
[data-component-context="suggest_who_to_follow"], | |
[data-component-context="suggest_activity"], | |
[data-component-context="suggest_activity_tweet"], | |
[data-component-context="suggest_grouped_tweet_hashtag"], | |
[data-component-context="suggest_recycled_tweet_inline"], | |
[data-component-context="suggest_recycled_tweet"]{ |
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
cp ~/Library/Application\ Support/MPC/MPCEssentials.settings ~/Library/Containers/com.apple.garageband10/Data/Library/Application\ Support/MPC/ |
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 | |
WEBSITE="http://httpstat.us/200" | |
HTTP_CODE=`curl -s -o /dev/null -w "%{http_code}" ${WEBSITE}` | |
TIME=$(date +"%d/%m/%y @ %H:%M:%S") | |
echo "Reponse is ${HTTP_CODE} on ${TIME}" | |
if [ ${HTTP_CODE} != 200 ]; then | |
echo "Error" |
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 | |
# Generates a heroku-style name | |
# Adjectives and nouns taken from: https://gist.github.com/afriggeri/1266756 | |
# Useage: `name` | |
function name() { | |
# Output variable values | |
local debug=0 | |
# Array of adjectives |
I hereby claim:
- I am rey on github.
- I am rey (https://keybase.io/rey) on keybase.
- I have a public key whose fingerprint is 969E 3045 4357 9E8D D444 A7EA 914C CE92 686F 6CB1
To claim this, I am signing this object:
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 | |
runDiskFree() { | |
echo "Running df -h" | |
echo | |
df -h | |
echo | |
} | |
getDeviceName() { |
Related:
{
"id": "710525077742342144",
"text": "@SlackHQ your performance has dipped in the last month or so. Noticeably in the last 2 weeks: file uploads disappearing, spotty connection",
"created": "Thu Mar 17 17:55:54 +0000 2016"
}