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
$tags = array();
foreach ( $raw_rags as $tag ) {
$tags['AND'][] = trim( $tag );
}
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
[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
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);
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
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,
$('#ProjectsContent').infinitescroll({
loading: {
finishedMsg: "<em>Loaded.</em>",
img: '/img/animations/loading-projects.gif'
},
navSelector : 'div.pagination',
nextSelector : 'a.goto-next',
donetext : 'Thats all folks!',
itemSelector : 'div.project',
animate: false
array ( 224155798064 => array ( 0 => array ( 'rule' => 'SHOW_QUESTION', 'result' => 'fail', 'overrides' => NULL, ), ), 531873101981 => array ( 0 => array ( 'rule' => 'SHOW_QUESTION', 'result' => 'fail', 'overrides' => NULL, ), 1 => array ( 'rule' => 'VARIABLE_OVERRIDE', 'result' => 'pass', 'overrides' => array ( 0 => array ( 'id' => '85', 'block_id' => '33', 'risk_variable_id' => '7', 'risk_variables_option_id' => '17', 'created' => '2015-02-03 19:37:15', 'modified' => '2015-02-03 19:37:15', 'RiskVariablesOption' => array ( 'id' => '17', 'risk_variable_id' => '7', 'name' => 'functional', 'description' => 'Functional', 'weight' => '0.950', 'created' => '2015-01-24 04:24:40', 'modified' => '2015-01-24 04:24:40', ), ), 1 => array ( 'id' => '86', 'block_id' => '33', 'risk_variable_id' => '10', 'risk_variables_option_id' => '12', 'created' => '2015-02-03 19:37:15', 'modified' => '2015-02-03 19:37:15', 'RiskVariablesOption' => array ( 'id' => '12', 'risk_variable_id' => '10', 'name' => 'medium-high', 'description'
2015-03-17 13:16:38 Debug: \app\Lib\Utilities\Replicate.php (line 312)
########## DEBUG ##########
array(
'Questionnaire' => array(
'id' => (float) 19733724205,
'parent_id' => null,
'is_master' => true,
'name' => 'Barry's calculator test',
'slug' => 'barry-s-calculator-test',
'use_custom_logo' => false,
commit 27b262f76f0099d97d0778fb2e51bafcfd17fba5 (from f53d80424b730deb4383803fe7f951deeeb7045d)
Merge: f53d804 2e94068
Author: barry <[email protected]>
Date: Mon Nov 30 16:29:58 2015 +0000
test
diff --git a/wp-content/themes/semona-child/functions.php b/wp-content/themes/semona-child/functions.php
index e0551d1..a01b343 100644
--- a/wp-content/themes/semona-child/functions.php