Skip to content

Instantly share code, notes, and snippets.

movies|master ⇒ pagoda tunnel web1
zsh: correct 'web1' to 'web' [nyae]? n
** Error:
** Input unrecoginized
** try 'pagoda -a <appname> tunnel <component>'
** ie. 'pagoda -a app tunnel db1'
λ /var/dev/barony-recruitment/ php ./recruitment.php
Adding butthole to keywords:
Data: Array
(
[keywords] => Array
(
[0] => butthole
)
)
var App = {
// Configuration container
Config: {}
};
// Common utilities
App.Util = {
// Format bytes into human readable size notation
formatFileSize: function(bytes) {
//= require jquery_ujs
//= require jquery-fileupload/basic
//= require jquery-fileupload/vendor/tmpl
window.App = {
// Configuration container
Config: {}
};
//= require jquery_ujs
//= require jquery-fileupload/basic
//= require jquery-fileupload/vendor/tmpl
window.App = {
// Configuration container
Config: {}
};
$(function() {
/*global Hogan:true*/
$(function() {
"use strict";
/*
* Global configuration options
*/
var Config = {
// Product fields
productSchema: {
/*global Hogan:true*/
$(function() {
"use strict";
/*
* Global configuration options
*/
var Config = {
// Product fields
productSchema: {
@clooth
clooth / robot.js
Created December 3, 2012 17:29
W00t #1 YEAH!!!! (Zolmesiter)
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
//robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {
@clooth
clooth / gist:4511401
Created January 11, 2013 15:15
Email template
<table id="wrapper" width="600" cellpadding="20" cellspacing="0" border="0" style="background-color:#fff;border:1px #ddd solid;">
<tr>
<td id="header" class="padded">
This is an automated message sent on: <?php echo date('m.d.Y'); ?> at <?php echo date('g:i a'); ?><br />
Note that you cannot reply to this message. Our Help Center can be found at <a href="http://www.netoutlet.com/help-center">Our help Center</a>
</td>
</tr>
<tr>
<td id="logo">TODO</td>
</tr>
// VAT BREAKDOWN:
$header = array(
t('VAT -%'),
t('Net'),
t('VAT'),
t('Gross'),
);
// First, product:
// $line_item_wrapper = entity_metadata_wrapper('commerce_line_item', $line_item);
// $price = $line_item_wrapper->commerce_total->value();