~ $ 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
Fitbit Activity data for: {{Date}}<br> | |
<br> | |
```<br> | |
{<br> | |
"date":"{{Date}}",<br> | |
"total steps":"{{TotalSteps}}",<br> | |
"calories burned":"{{TotalCaloriesBurned}}",<br> | |
"distance traveled":"{{TotalDistanceCovered}} {{TotalDistanceCoveredUnit}}",<br> | |
"sedentary minutes":"{{SedentaryMinutes}}",<br> | |
"lightly active minutes":"{{LightlyActiveMinutes}}",<br> |
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 | |
# harvest.sh by Rey Dhuny | |
# | |
# About | |
# -- | |
# Use harvest.sh to generate a quick-and-dirty summary of the current month's hours used for a single project. | |
# | |
# Disclaimer | |
# -- |
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: