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
//Create the access token | |
$accessToken = new \ZendOAuth\Token\Access(); | |
$accessToken->setToken($key); | |
$accessToken->setSecret($secret); | |
$oauth_options = array( | |
'consumerKey' => $this->key, | |
'consumerSecret' => $this->secret, |
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
#include <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x20, 2, 1, 0, 4, 5, 6, 7, 3, NEGATIVE); | |
void setup() | |
{ | |
lcd.begin(8,2); | |
lcd.home(); | |
lcd.print("Hello"); |
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
imp.configure("Roomba", [], []); | |
hardware.pin1.configure(DIGITAL_IN_WAKEUP); | |
hardware.pin2.configure(DIGITAL_OUT_OD_PULLUP); | |
impWakeupPin <- hardware.pin1; | |
roombaWakeupPin <- hardware.pin2; | |
roombaWakeupPin.write(1); | |
hardware.uart57.configure(115200, 8, PARITY_NONE, 1, NO_CTSRTS); | |
//Connection will be either 115200 or 57600 |
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
<?php | |
class CrunchExpenseController extends BaseController { | |
private $rules; | |
public function __construct() | |
{ | |
parent::__construct(); |
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
<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:media='http://search.yahoo.com/mrss/' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd='http://schemas.google.com/g/2005' xmlns:yt='http://gdata.youtube.com/schemas/2007'><id>http://gdata.youtube.com/feeds/api/users/apguy15/uploads</id><updated>2012-01-25T16:37:06.891Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://gdata.youtube.com/schemas/2007#video'/><title type='text'>Uploads by apguy15</title><logo>http://www.youtube.com/img/pic_youtubelogo_123x63.gif</logo><link rel='related' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/apguy15'/><link rel='alternate' type='text/html' href='http://www.youtube.com/profile?user=apguy15#p/u'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gdata.youtube.com/feeds/api/users/apguy15/uploads'/><link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml |
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
jj.createCreature('arthurguy', function (creature) { | |
// Give your creature a size. | |
creature.size({width: 50, height: 50}); | |
// Center your creature in the world. | |
var worldCenter = jj.center(); | |
creature.position({ |
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
include_once 'PayPal_Standard.php'; | |
$PayPal = new PayPal_Standard(); | |
$PayPal->set_paypal_email('your_paypal@email_address.com'); | |
$PayPal->add_row('', 'Item for Sale', 9.99); | |
$PayPal->generate_form(true); |
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
include_once 'PayPal_IPN.php'; | |
$PayPal = new PayPal_IPN(); | |
$PayPal->set_paypal_email('your_paypal@email_address.com'); | |
$PayPal->get_ipn(); |
NewerOlder