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
################# | |
## Eclipse | |
################# | |
*.pydevproject | |
.project | |
.metadata | |
bin/ | |
tmp/ | |
*.tmp |
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 AnythingButPhpFilterSimple extends FilterIterator { | |
protected $exclude = array( | |
'.svn', | |
'_lib', | |
'test', | |
// 'client', | |
'components' |
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
flickr |
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 <iostream> | |
#include <fstream> | |
#include <unordered_set> | |
#include <set> | |
#include <chrono> | |
using namespace std; | |
int main() | |
{ |
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
<HTML><HEAD> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<SCRIPT type="text/javascript" src="https://js.stripe.com/v1/"></SCRIPT> | |
<SCRIPT > | |
Stripe.setPublishableKey('<Stripe Public Key Here>'); | |
function formSubmit() { | |
if(validatePage() == true) { | |
$('.submit-button').attr("disabled", "disabled"); | |
$("#processing").html("Processing credit card..."); |
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
<form id="payment-info" action="/submit-payment"> | |
<input type="text" data-recurly="number"> | |
<input type="text" data-recurly="cvv"> | |
<input type="text" data-recurly="month"> | |
<input type="text" data-recurly="year"> | |
<input type="text" data-recurly="first_name"> | |
<input type="text" data-recurly="last_name"> | |
<input type="text" data-recurly="address1"> | |
<input type="text" data-recurly="address2"> |
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 | |
require 'ConfigFactory.php'; | |
require 'OAuthRequest.php'; | |
$c = new Creds(); | |
$creds = $c->creds(); | |
$links = $c->links(); | |
$accessTokenData = getAccessToken($links, $creds); | |
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 | |
$oauth_file = "/tmp/paytoken.php"; | |
$api_key = ""; | |
$secret_key = ""; | |
$FQDN = "https://api-uat.san1.attcompute.com/"; | |
$subscriptionRedirect = ""; | |
?> |
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
AT&T API Samples - Payment app 1 | |
------------------------------ | |
This file describes how to set up, configure and run the Java Applications of the AT&T HTML5 Program sample applications. | |
It covers all steps required to register the application on DevConnect and, based on the generated API keys and secrets, | |
create and run one's own full-fledged sample applications. | |
1. Configuration | |
2. Installation |
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
main : Element | |
main = collage 400 400 | |
(map (move (50, 0) )( | |
(motif x red ) ++ (motif (t x) blue ) ++ (motif (t (t x)) green ) ++ | |
(motif (t (t (t x))) orange ) )) | |
-- build motif from path and color | |
motif : [(number, number)] -> Color -> [Form] | |
motif z color = [ traced (solid color) (path z) , move ( last z) (filled color (circle 3.0))] |