Skip to content

Instantly share code, notes, and snippets.

View barrychapman's full-sized avatar
💭
down in it

Barry Chapman barrychapman

💭
down in it
  • Volkswagen Group of America
  • Ypsilanti, MI
View GitHub Profile
delimiter $$
CREATE TABLE `receivables` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) unsigned NOT NULL,
`project_id` bigint(20) unsigned NOT NULL,
`pledge_id` char(36) NOT NULL,
`token` varchar(50) NOT NULL,
`amount` double(10,2) unsigned NOT NULL,
`due_by_date` datetime DEFAULT NULL,
SELECT
DATE(DATE_ADD(NOW(), INTERVAL 2 DAY)) as `period_date`,
PrjPledge.id,
User.id,
Project.id
FROM
receivables AS Receivable
LEFT JOIN
prj_pledges AS PrjPledge ON (Receivable.pledge_id = PrjPledge.id)
LEFT JOIN
var http = require('http');
var MessageHandler = function () {
// yeah yeah, functions in the constructor = bad
// but its a singleton and I'd like to keep these
// private
// non-api auth message handling function
this._auth = function (client, msg) {
session = this.session_store.get('username', msg.username);
[root@test1 ~]# ls -lah /opt/python2.7.1/bin/
total 104K
drwxr-xr-x 2 root root 4.0K Jun 8 11:55 .
drwxr-xr-x 6 root root 4.0K Jun 8 11:35 ..
-rwxr-xr-x 1 root root 107 Jun 8 10:55 2to3
-rwxr-xr-x 1 root root 286 Jun 8 10:55 easy_install
-rwxr-xr-x 1 root root 294 Jun 8 10:55 easy_install-2.7
-rwxr-xr-x 1 root root 304 Jun 8 11:55 echo_supervisord_conf
-rwxr-xr-x 1 root root 105 Jun 8 10:55 idle
-rwxr-xr-x 1 root root 278 Jun 8 11:55 pidproxy
total 88K
drwxr-xr-x 2 root root 4.0K Jun 8 11:35 .
drwxr-xr-x 6 root root 4.0K Jun 8 11:35 ..
-rwxr-xr-x 1 root root 107 Jun 8 10:55 2to3
-rwxr-xr-x 1 root root 286 Jun 8 10:55 easy_install
-rwxr-xr-x 1 root root 294 Jun 8 10:55 easy_install-2.7
-rwxr-xr-x 1 root root 105 Jun 8 10:55 idle
-rwxr-xr-x 1 root root 238 Jun 8 10:55 pip
-rwxr-xr-x 1 root root 246 Jun 8 10:55 pip-2.7
-rwxr-xr-x 1 root root 90 Jun 8 10:55 pydoc
$tags = array();
foreach ( $raw_rags as $tag ) {
$tags['AND'][] = trim( $tag );
}