Public Gists by hobodave

Gravatar
Mon Nov 23 14:18:41 -0800 2009
1
2
3
/boot - 100M
/home - 1G
/var - 50G
Gravatar
Fri Nov 20 12:06:52 -0800 2009
1
2
3
TRUNK=sip/ngt-trunk
 
[default]
Gravatar
Thu Nov 19 13:22:19 -0800 2009
1
2
3
<?php
 
class 001_migration
Gravatar
Thu Nov 19 10:17:17 -0800 2009
1
2
3
#!/usr/bin/env bash
# A Script that automates pasting to a number of pastebin services
# relying only on bash, sed, coreutils (mktemp/sort/tr/wc/whoami/tee) and wget
Gravatar
Tue Nov 17 11:30:36 -0800 2009
1
2
3
<?php
 
$mysqli = new mysqli('localhost', 'user', 'pass', 'logs');
Gravatar
Thu Nov 12 12:46:51 -0800 2009
1
2
3
CREATE TABLE `ticket_action_log` (
  `ticket_id` int(11) NOT NULL,
  `action_source` tinyint(4) NOT NULL,
Gravatar
Fri Nov 06 10:49:40 -0800 2009
1
2
3
CREATE TABLE ticket_sources (
  ticket_id int(11) NOT NULL,
  creation_source enum('web', 'phone', 'pda', 'email') NOT NULL,
Gravatar
Thu Nov 05 16:06:32 -0800 2009
1
2
3
(function(){
  function focusInHandler(e){
    Event.element(e).fire("focus:in");
Gravatar
Thu Nov 05 15:42:06 -0800 2009
1
2
3
(function(){
function focusInHandler(e){
Event.element(e).fire("focus:in");
Gravatar
Tue Nov 03 16:49:40 -0800 2009
1
2
3
<?php
 
class Ticket extends Doctrine_Record
Gravatar
Tue Nov 03 15:27:40 -0800 2009
1
2
3
<?php
class dTicket extends Doctrine_Record
{
Gravatar
Tue Nov 03 14:22:19 -0800 2009
1
2
3
<?php
 
        $this->hasColumn('resolution_source', 'enum', null, array(
Gravatar
Tue Nov 03 12:43:04 -0800 2009
1
2
3
<?php
/**
 * Zend Framework
Gravatar
Tue Nov 03 12:37:55 -0800 2009
1
2
3
<?php
        require_once PATH_PROJECT . 'lib/Zend/Loader/Autoloader.php';
        $autoloader = Zend_Loader_Autoloader::getInstance()
Gravatar
Tue Nov 03 12:33:46 -0800 2009
1
2
3
Fatal error: Class 'sfYaml' not found in /Users/hobodave/dev/work/sentact.svn/lib/Doctrine/lib/Doctrine/Parser/Yml.php on line 0
 
Call Stack:
Gravatar
Mon Nov 02 21:14:34 -0800 2009
1
2
3
<?php
 
class Base
Gravatar
Mon Nov 02 13:21:48 -0800 2009
1
2
3
<?php
 
class Mm_Service_Order
Gravatar
Thu Oct 29 14:43:23 -0700 2009
1
2
3
document.observe('dom:loaded', function(event) {
// I just added this to see if it was a dom loading issue
window.displayItems = function(element, items) {
Gravatar
Thu Oct 29 12:04:41 -0700 2009
1
2
3
<?php
        Doctrine_Query::create()
            ->update('dMmLineItem li')
Gravatar
Wed Oct 28 14:06:48 -0700 2009
1
2
3
function updateTotalCost() {
  var total = 0.00;
  $('shoppingCart').select('td.cost').each(function(td) {