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
{
Records: [
{
id: 1,
instance_id: 10000,
response_level_id: 2,
working_team_id: 44,
next_step_id:: 23,
RelatedRecords: [
{
@barrychapman
barrychapman / search-configuration-in-theme.vm
Created May 6, 2019 05:02 — forked from elindoorn/search-configuration-in-theme.vm
Change search portlet configuration in theme (Liferay 6.2)
## Replace $theme.search() with our own form, note that you can still use it, just make sure the search.vm
## is loaded before you add the search portlet. We removed it to simplify changing styles on the search bar
## in the theme.
<form action="" method="get" name="search">
<input name="p_p_id" type="hidden" value="3">
<input name="p_p_lifecycle" type="hidden" value="0">
<input name="p_p_state" type="hidden" value="maximized">
<input name="p_p_mode" type="hidden" value="view">
<input name="_3_struts_action" type="hidden" value="/search/search">
<input name="_3_keywords" size="30" title="Search" type="text" value="" placeholder="Search here...">
<?php
namespace App\My\Namespace;
class MyTable extends Table {
}
?>
debug($secure); // line 112
$time = $secure['time'];
$interval = new \DateInterval('PT1M');
$time->add($interval);
$currentTime = new DateTime();
debug($secure); // line 121
SELECT
(SELECT
SUM(Zones2.impressions_count) AS `impressions_count`
FROM
zones Zones
WHERE
Zones.location_id = Locations.id) AS `impressions_count`,
Retailers.id AS `Retailers__id`,
Retailers.account_rep_id AS `Retailers__account_rep_id`,
Retailers.leadsource_id AS `Retailers__leadsource_id`,
2015-12-23 11:01:03 tornado.application[214720] [ERROR] Future exception was nev
er retrieved: Traceback (most recent call last):
File "c:\python27\lib\site-packages\tornado\gen.py", line 1014, in run
yielded = self.gen.throw(*exc_info)
File "c:\python27\lib\site-packages\circus\arbiter.py", line 648, in manage_wa
tchers
yield list_to_yield
File "c:\python27\lib\site-packages\tornado\gen.py", line 1008, in run
value = future.result()
File "c:\python27\lib\site-packages\tornado\concurrent.py", line 232, in resul
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
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,
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'
$('#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