Skip to content

Instantly share code, notes, and snippets.

View gist:472495
#!/bin/sh
if [ $# -ne 2 ]
then
echo "Usage: $0 <server> <key>"
exit 1
fi
WHERE=$1
KEY=$2
View gist:473233
ssh-dss AAAAB3NzaC1kc3MAAAEBANKbAbgvZZ+RqEYIOCzzhklRMXMilyEIEfO5F6iHdcrtfyhi/gnixPix3CTapeilhoci1zF46+vgc9CnAip6FsmqegiXF63GWyESvJTRKBqSQaAChxqEftetaxoE3FwxhXSpjxK4EhxvvGSIgVYloZ+wdSkGm/evzPbffERmnBNoEQg8wYPZv2F1/zVz+0+4cEPZ2WEbYjgM8Hz/3HwEESQ9CJcgHJjatP63IrUgpCY32u95rE1hb7n+CIboqz44HpPcSXJAwZOfH5FrLwjo6070UVie33z/My3DUwQridlZvanolDAawgT0KXvj4uWMy8Vq80dxSc/OwaGdLENsbskAAAAVAPZmCcQvQae8Sks56nQYvHa/ye2VAAABAQCp1sFj7mrz4vnHkixcmRxsMKapxjoNu+csn4xDgrNYGBlhrMxJLmyqqi01WTjOdVPJByWSB+8SH1V440k6iB8gREubtP6kX+w4GBrEBHNV4qjCOQzk0DFGZe3/H6dYgc4+KfbjnHyREaUkga1mdC/Ps30rWesbJ5N4SBraKEMVVY982/v/ybbGtR5bMNPcDUiIpL/2PqLjKSbAqrxOXsThO130QjlMocf7UPpnJrFNAb49ekWX33lchmi/CKoAcI3hB3tVctNsfzgIsuTGFOVmU1Dx6PB2bUrWsCOmIKuUw202KDsyofcVy66y7ShJ0GR/VLDB/cSyLFVt7M1BI3REAAABAAj5mYeTje6F/aWXtrm5P9af+0foxCW88uMlWPl7v+ZYgpS6C3M0+gBE9LrjMmODLruQ6bfLTWfq91Ne5exlffYZ69MLv+y0s1PBtzeuWgzL3MEyzNoQLXweBZMgTW5oZRfdX5bGSqPO8ynNoD8hzZDlgw5iqb+Iw2Bv2s9D/p7RGG44DdjMws0yS7eNI6pRJdr+wX7RKwkPo/l23Xv33OntG8rAmtUEYLtKCCVmMVEKpouhUwNlTVpsXbTB+1aOIYhLOVkboSba
View gist:501430
#!/usr/bin/perl -w
use strict;
use WebService::YQL;
use Data::Dumper;
use Date::Simple ('date', 'today');
my $date = Date::Simple->new('2010-01-01');
View gist:517276
set :application, "textbookpartners"
set :deploy_to, "/home/98209/users/.home/symfony/#{application}"
set :domain, 'www.textbookpartners.com'
set :user, "dali.centresource.com"
set :use_sudo, false
# =============================================================================
# SCM OPTIONS
# =============================================================================
View gist:519144
10:17 < rick> we know some of the guys there
10:17 < rick> you'll only be able to deploy ruby stuff on it
10:19 < kevin> cwage: expensivo
10:19 < kevin> and li
10:19 < kevin> and limited in what libs / gems you can use
10:19 < kevin> basically they pre-sandbox by only allowing certain stacks
10:19 * cwage nods
10:19 < rick> it's pretty slick but it's never been on our radar due to the restrictions and price tradeoff
10:20 < rick> there are some really smart guys working there though
10:20 < kevin> but if it's simple sinatra / rails, and you don't want to deal with hosting or deployment... hard to beat
View gist:546206
stack trace
* at ()
in SF_SYMFONY_LIB_DIR/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Query.php line 729 ...
726.
727. // check column existence
728. if ( ! $def) {
729. throw new Doctrine_Query_Exception('Unknown column ' . $field);
730. }
731.
View gist:546238
Array
(
[0] => Array
(
[id] => 1
[name] => Alpha Alpha Alpha
[sid] => 54321
[contact_name] => Joe Blow
[contact_email] => jblow@hotmail.com
[contact_phone] => 615-123-4567
View gist:546335
generator:
class: sfDoctrineGenerator
param:
model_class: School
theme: textbook
non_verbose_templates: true
with_show: false
singular: ~
plural: ~
route_prefix: school
View gist:546344
<?php
require_once(dirname(__FILE__).'/../lib/BaseSchoolGeneratorConfiguration.class.php');
require_once(dirname(__FILE__).'/../lib/BaseSchoolGeneratorHelper.class.php');
/**
* school actions.
*
* @package ##PROJECT_NAME##
* @subpackage school
You can’t perform that action at this time.