This file contains 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
aubrey@ubend:~/projectX$ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
[default] Clearing any previously set forwarded ports... | |
[default] Creating shared folders metadata... | |
[default] Clearing any previously set network interfaces... | |
[default] Preparing network interfaces based on configuration... | |
[default] Forwarding ports... | |
[default] -- 22 => 2222 (adapter 1) | |
[default] Running 'pre-boot' VM customizations... | |
[default] Booting VM... |
This file contains 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
/*jshint strict: false, -W116: false, -W098: false */ | |
/*global jjv*/ | |
/** | |
* JJV Validation + own stuff (non production) .. uses jquery due to JSONEditor not exposing libraries | |
*/ | |
JSONEditor.Validator.JJV = JSONEditor.Validator.extend({ | |
_validateSchema: function (schema, value, path) { | |
var me = this, errors = [], valid, i, j; |
This file contains 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 | |
// is default config.php though using db config from linked dokku-alt database via env var "DATABASE_URL" | |
// diff against original config.php for changes... | |
/** | |
* The base configurations of the WordPress. | |
* | |
* This file has the following configurations: MySQL settings, Table Prefix, | |
* Secret Keys, WordPress Language, and ABSPATH. You can find more information | |
* by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing |
This file contains 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 | |
/* | |
* Plugin Name: WP_Redis | |
* Description: Exposes Redis to Wordpress as WP_Redis class. Requires ENV variable REDIS_URL (i.e. redis://localhost:port; dokku / dokku-alt compatible ) | |
* Author: Aubrey Hewes<aubrey@hewes.org.uk> | |
* Version: 1.0 | |
* License: MIT | |
*/ | |
/** |
This file contains 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
<link rel="import" href="../chart-js/chart-js.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains 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
<link rel="import" href="../chart-js/chart-js.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains 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
#!/usr/bin/env /usr/bin/node | |
/** | |
* NOTE: Run in a project root that already has a remote configured | |
* | |
* # v0.5.0 (this is the npm default version) | |
* | |
* `npm install nodegit@^v0.5.0` | |
* | |
* NOTE: DOES_NOT fetch from S3 (see also https://github.com/nodegit/nodegit/issues/736) |
This file contains 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
Now that bitbucket supports git, it's easy to use their service as a free, private, offsite code backup. Just create an empty repo for your project on bitbucket, add it as a remote to your development repo: | |
username@host:~/project$ git remote add bitbucket https://username@bitbucket.org/username/project.git | |
### initial push of something in order for the mirror to succeed | |
username@host:~/project$ git push bitbucket master | |
The mirror command only works after the remote has been initially filled. | |
Use this post-commit hook to silently and automatically push your changes up after each commit. |
This file contains 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
{ | |
"dependencies": { | |
"sprity": { | |
"version": "1.0.8", | |
"dependencies": { | |
"sprity-lwip": { | |
"version": "1.0.3", | |
"dependencies": { | |
"lwip": { | |
"version": "0.0.9" |
This file contains 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
// -------------------------------------------------------- | |
// | |
// Notify a Trello card on a new deployment | |
// | |
// NOTE: This is a Wercker related CI script | |
// NOTE: This depends on the Wercker CI environment! | |
// | |
// Required ENV: | |
// TRELLO_API_KEY, TRELLO_API_TOKEN, TRELLO_CARD_ID | |
// Wercker ENV (supplied by Wercker): |
OlderNewer