Skip to content

Instantly share code, notes, and snippets.

View Teino1978-Corp's full-sized avatar

Teino Boswell Teino1978-Corp

  • Ocho Rios, Jamaica
View GitHub Profile
<?php
class AnythingButPhpFilterSimple extends FilterIterator {
protected $exclude = array(
'.svn',
'_lib',
'test',
// 'client',
'components'
@Teino1978-Corp
Teino1978-Corp / flickr_.idea_.name
Created October 29, 2015 08:28
This demo is aimed to highlight features such as: > Templating over ExtJS 3.4 > Client App Structure > Single Page Client > REST / Cross Site
flickr
@Teino1978-Corp
Teino1978-Corp / bench_sets.cpp
Created October 30, 2015 04:57 — forked from fstamour/bench_sets.cpp
C++11!! Mini benchmark to compare std::set and std::unordered_set. You may need a bigger list of word for better results.
#include <iostream>
#include <fstream>
#include <unordered_set>
#include <set>
#include <chrono>
using namespace std;
int main()
{
@Teino1978-Corp
Teino1978-Corp / payment.html
Created October 30, 2015 05:04 — forked from jkuemerle/payment.html
Payment Form
<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...");
@Teino1978-Corp
Teino1978-Corp / example.html
Created October 30, 2015 05:12 — forked from chrissrogers/example.html
recurly.token
<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">
@Teino1978-Corp
Teino1978-Corp / getPayment.php
Created October 30, 2015 05:20 — forked from spaomalley/getPayment.php
Retrieve specific Payment resource
<?php
require 'ConfigFactory.php';
require 'OAuthRequest.php';
$c = new Creds();
$creds = $c->creds();
$links = $c->links();
$accessTokenData = getAccessToken($links, $creds);
@Teino1978-Corp
Teino1978-Corp / config.php
Created October 30, 2015 05:25 — forked from t2-support-gists/config.php
Payment PHP app2
<?php
$oauth_file = "/tmp/paytoken.php";
$api_key = "";
$secret_key = "";
$FQDN = "https://api-uat.san1.attcompute.com/";
$subscriptionRedirect = "";
?>
@Teino1978-Corp
Teino1978-Corp / README.txt
Created October 30, 2015 05:28 — forked from t2-support-gists/README.txt
Payment PHP app1
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
@Teino1978-Corp
Teino1978-Corp / hilbert.elm
Created October 30, 2015 07:55 — forked from mango314/hilbert.elm
hilbert space filling curve
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))]
@Teino1978-Corp
Teino1978-Corp / README.md
Created October 30, 2015 08:15 — forked from nitaku/README.md
Hilbert treemap (full hierarchy)