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
/* | |
PinReadWrite.ino | |
//20170512 initial version | |
//20170517 uS timing (was mS), vars are longs, i2C start/stop, and clock IN data w/. | |
//20201002 Returns valid JSON. | |
Simple Arduino script to set pins high, low, input, pull up, or analog/servo, | |
clock out data with timing, and read all or a single pin back via serial IO. | |
Written for the tiny-circuits.com TinyDuino in the end effector of the | |
Dexter robot from HDRobotic.com, but generally useful to turn the Arduino |
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 | |
header('Content-Type: application/rss+xml; charset=UTF-8'); | |
// suck in the query string variables | |
$feed_name = htmlspecialchars($_GET['fname']); | |
$list_name = htmlspecialchars($_GET['lname']); | |
// compose the api urls + other stuff depending on presence of playlist | |
if(isset($_GET['lname'])) { | |
$json_url = 'http://api.mixcloud.com/'.$feed_name.'/playlists/'.$list_name.'/cloudcasts/'; |
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
{ | |
"name": "spakkionu/validate", | |
"description": "Validation Test", | |
"require": { | |
"illuminate/validation": "~4.2.9" | |
}, | |
"license": "MIT", | |
"authors": [ | |
{ | |
"name": "Jonathan Bernardi", |
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
Note: I've left some of the full package names in tact to show exactly where the class comes from. | |
#### Pull dependencies in using composer #### | |
//Example composer.json | |
{ | |
"require": { | |
"symfony/config" : "2.1.0", | |
"symfony/yaml" : "2.1.0", | |
"twig/twig": "1.9.0", |