This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
| // npm install mongodb | |
| var mongodb = require('mongodb'); | |
| var url = require('url'); | |
| var log = console.log; | |
| var connectionUri = url.parse(process.env.MONGOHQ_URL); | |
| var dbName = connectionUri.pathname.replace(/^\//, ''); | |
| mongodb.Db.connect(process.env.MONGOHQ_URL, function(error, client) { | |
| if (error) throw error; |
| git svn clone --prefix=svn/ --stdlayout \ | |
| --authors-file=authors.txt \ | |
| --no-minimize-url http://plugins.svn.wordpress.org/tweet/ |
| # fabric extension to enable handling expected prompts | |
| # | |
| # Read more at http://ilogue.com/jasper/blog/fexpect--dealing-with-prompts-in-fabric-with-pexpect/ | |
| # | |
| # This file Copyright (c) Jasper van den Bosch, ilogue, [email protected] | |
| # Pexpect Copyright (c) 2012 Noah Spurrier ,see: http://www.noah.org/wiki/pexpect#License | |
| from fabric.state import env | |
| import fabric.api |
| <!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.8.3/jquery.min.js"></script> | |
| <script type="text/javascript"> | |
| // this identifies your website in the createToken call below |
| <!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"> |
| // Sample grunt-jekyll grunt.js file | |
| // https://github.com/dannygarcia/grunt-jekyll | |
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| // Project configuration. | |
| grunt.initConfig({ | |
| jekyll: { |