~ $ 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 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
| Fitbit Sleep data<br> | |
| <br> | |
| ```<br> | |
| {<br> | |
| "total time slept":"{{TotalTimeSlept}}",<br> | |
| "time fell asleep":"{{FellAsleepAt}}",<br> | |
| "time awoke":"{{AwokeAt}}",<br> | |
| "time to fall asleep":"{{TimeToFallAsleep}}",<br> | |
| "number of times restless":"{{RestlessCount}}",<br> | |
| "number of times awake":"{{AwakeCount}}"<br> |
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
| 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 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 | |
| # 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 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
| @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 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
| cp ~/Library/Application\ Support/MPC/MPCEssentials.settings ~/Library/Containers/com.apple.garageband10/Data/Library/Application\ Support/MPC/ |
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 | |
| 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 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 | |
| # 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 |