View StripeTutorialPage.html
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
<title>Stripe Getting Started Form</title> | |
<script type="text/javascript" src="https://js.stripe.com/v1/"></script> | |
<!-- jQuery is used only for this example; it isn't required to use Stripe --> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
// this identifies your website in the createToken call below |
View GitInfo.php
<?php | |
/** | |
* ArkOwl Fraud Verification Service | |
* | |
* @copyright Copyright 2012, ArkOwl LLC. (http://arkowl.com) All Rights Reserved | |
*/ | |
namespace app\extensions; | |
class GitInfo { |
View attributes.json
{ | |
"opsworks": { | |
"activity": "deploy", | |
"sent_at": 1399533119, | |
"deployment": "33cb5d91-27c8-4e71-9d3e-e7925e5caa03", | |
"layers": { | |
"php-app": { | |
"name": "PHP App Server", | |
"id": "73271990-452b-4e5f-8a71-619e6441a447", | |
"elb-load-balancers": [ |
View opsworks-agent-downloader.py
#!/usr/bin/env python | |
import os, time, urllib2, shutil, urlparse | |
def main(): | |
for version in range(450): | |
try: | |
url = 'https://opsworks-instance-agent.s3.amazonaws.com:443/%d/opsworks-agent-installer.tgz' % version | |
filename = 'opsworks-agent-installer-%03d.tgz' % version | |
download(url, filename) |
View bookmarklet.js
/* | |
Adapted from http://pollinimini.net/blog/xdebug-bookmarklet/ | |
WebKit notifications added | |
©2014 PixelCog Inc. MIT License | |
*/ | |
(function() { | |
var idekey = '', | |
minutes = 10, | |
exp = new Date(), |
View gcal-backup.sh
#!/bin/sh | |
export TZ=America/Chicago | |
export PATH=/usr/local/bin:$PATH # ensure path to aws exists for chrontab | |
# uncomment if needed | |
#export AWS_ACCESS_KEY_ID=ABCDEFGHIJKLMNOPQRST | |
#export AWS_SECRET_ACCESS_KEY=1234567890ABCDEFGHIJKLMNOPQRSTUV | |
bucket="my-bucket-name" | |
gcal_private_key="example.com_b6nffmu1v5v4jehogm9v5anll4%40group.calendar.google.com/private-4463bc3c4777e7d435cc385f9b3573a0" |
View github_issue_stats_webtask.js
var moment = require('moment'); | |
var parallel = require('async').parallel; | |
var MongoClient = require('mongodb').MongoClient; | |
function update_label_stats(label, age, db, cb) { | |
var where = { | |
label: label | |
}; | |
var update = { |