- C.H.I.P. $9 computer - $9 getchip.com/pages/chip
- HDMI Adapter - $15 getchip.com/pages/store
- Micro USB Power Supply 5V 2.5A (one with On/Off Switch is convenient) - $8 amzn.to/2jyWygU
- HDMI Cable - $6 amzn.to/2kDnqtN
- USB 2.0 A-Male to Micro B Cable - $6 amzn.to/2kDqKoN
- Paperclip or Male/Male Jumper wire - free or $7 amzn.to/2kDbiZE
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
BEGIN:VCALENDAR | |
PRODID:-//Google Inc//Google Calendar 70.9054//EN | |
VERSION:2.0 | |
CALSCALE:GREGORIAN | |
METHOD:PUBLISH | |
X-WR-CALNAME:Family Calendar | |
X-WR-TIMEZONE:America/Los_Angeles | |
X-WR-CALDESC:Family Calendar | |
BEGIN:VTIMEZONE | |
TZID:America/Los_Angeles |
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
/* | |
SOS Blink | |
My usual GO-TO script to test out a new Arduino board. | |
*/ | |
int dotLen = 150; // length of the morse 'dot' | |
int dashLen = dotLen * 3; // length of the morse 'dash' | |
int elemPause = dotLen; // pause between 'dots' and 'dashes' |
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
Show hidden characters
{ | |
"indent_guide_options": | |
[ | |
"draw_normal", | |
"draw_active" | |
] | |
} |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"> | |
<script src="http://cmx.io/v/0.1/cmx.js" charset="utf-8"></script> | |
<style>.cmx-user-scene4 .cmx-text-border .cmx-path {stroke: orange}</style> | |
<body> | |
<div style="max-width:900px; -webkit-transform:rotate(0deg)"> | |
<scene id="scene1"> | |
<label t="translate(0,346)"> |
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
{ | |
"alerts": [ | |
{ | |
"description": "...WIND ADVISORY IN EFFECT TODAY FOR STRONG FRONTAL PASSAGE...\n.A STRONG COLD FRONT WILL PASS OVER THE BAY AREA AND CENTRAL\nCOAST THIS AFTERNOON AND EVENING. IN ADDITION TO RAINFALL THE\nFAST MOVING FRONT WILL BRING A PERIOD OF STRONG SOUTHERLY WINDS\nAHEAD OF THE FRONT BEFORE WINDS QUICKLY TURN TO THE NORTHWEST AND\nDIMINISH BEHIND THE FRONT. WIND GUSTS TO 50 MPH WILL BE POSSIBLE\nNEAR THE COAST AND HILLS WITH FREQUENT GUSTS FROM 40 TO 45 MPH\nPOSSIBLE IN THE LOWER ELEVATIONS.\n...WIND ADVISORY REMAINS IN EFFECT FROM 1 PM THIS AFTERNOON TO\n1 AM PST THURSDAY...\n* TIMING...THIS AFTERNOON AND TONIGHT.\n* WINDS...SOUTHERLY WIND GUSTS FROM 40 TO 50 MPH...STRONGEST\nNEAR THE COAST AND IN THE HILLS ABOVE 1000 FEET.\n* IMPACTS...DOWNED TREES...LIMBS AND POWERLINES LEADING TO\nPOSSIBLE POWER OUTAGES. DRIVING OF HIGH PROFILE VEHICLES WILL\nBE DIFFICULT DURING PERIODS OF STRONG WINDS ALONG WITH EXTRA\nDEBRIS ON AREA ROADS.\n", | |
"expires": 1484816400 |
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
{ | |
"latitude": 49.4939, | |
"longitude": 0.108, | |
"timezone": "Europe/Paris", | |
"offset": 1, | |
"currently": { | |
"time": 1482365971, | |
"summary": "Rain", | |
"icon": "rain", | |
"nearestStormDistance": 0, |
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
{ | |
"latitude": 37.752881, | |
"longitude": -122.456429, | |
"timezone": "America/Los_Angeles", | |
"offset": -8, | |
"currently": { | |
"time": 1482272606, | |
"summary": "Partly Cloudy", | |
"icon": "partly-cloudy-day", | |
"nearestStormDistance": 2, |
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
<?php | |
// Authorized team tokens that you would need to get when creating a slash command. Same script can serve multiple teams, just keep adding tokens to the array below. | |
$valid_tokens = array( | |
"123asdzxcvasdfasdwasdfas", // key 1 | |
"234xdfqadfsdfasdfasfasdf" // key 2 | |
); | |
if (!in_array($_REQUEST['token'], $valid_tokens)) { | |
bot_respond(":no_good: *Unauthorized token!* Feel free to grab a copy of this script and host it yourself."); |
From this brilliant blog post... https://josephscott.org/archives/2011/10/timing-details-with-curl/ found at http://stackoverflow.com/questions/18215389/how-do-i-measure-request-and-response-times-at-once-using-curl
cURL supports formatted output for the details of the request (see the cURL manpage for details, under -w, –write-out ). For our purposes we’ll focus just on the timing details that are provided.
###Prepwork
Create .curl
directory in your home folder:
NewerOlder