###Getting Started
Login as root. If you don't specify root, you'll use the current user on your machine.
ssh [email protected]
Change root password.
passwd
curl -u <api_key>:x -H Accept:application/json -H Content-Type:application/json https://acme.chargify.com/subscriptions.json |
curl -u <api_key>:x -H Accept:application/json -H Content-Type:application/json https://acme.chargify.com/subscriptions.json |
[saas-featured-image title="Feature 1" image="http://image_path_here.png"] |
<?php | |
class DB { | |
const DB_NAME = 'votes.sqlite'; | |
protected $db; | |
function __construct() { | |
$this->db = new PDO('sqlite:'.self::DB_NAME); | |
} |
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | |
<title>Stripe Sample Form</title> | |
<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://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js"></script> | |
<script type="text/javascript" src="https://js.stripe.com/v1/"></script> | |
<script type="text/javascript"> |
<?php | |
require 'path-to-Stripe.php'; | |
if ($_POST) { | |
Stripe::setApiKey("YOUR-API-KEY"); | |
$error = ''; | |
$success = ''; | |
try { | |
if (!isset($_POST['stripeToken'])) | |
throw new Exception("The Stripe Token was not generated correctly"); |
<%= stylesheet_link_tag 'mobile/jquery.mobile-1.0.1.min', 'mobile/mobile' %> | |
<%= javascript_include_tag 'mobile/respond.min' %> | |
<%= javascript_include_tag 'mobile/jquery', 'mobile/jquery_ujs', "https://js.stripe.com/v1/", 'orders' %> | |
<%= javascript_include_tag 'mobile/jquery.mobile-1.0.1.min' %> | |
<%= csrf_meta_tag %> | |
<%= tag :meta, :name => "stripe-key", :content => STRIPE_PUBLIC_KEY %> |
###Getting Started
Login as root. If you don't specify root, you'll use the current user on your machine.
ssh [email protected]
Change root password.
passwd