I hereby claim:
- I am nvahalik on github.
- I am nvahalik (https://keybase.io/nvahalik) on keybase.
- I have a public key whose fingerprint is E9F4 1354 E46E B1E4 5C2B 8266 8CEF 0763 AEEB 0BD6
To claim this, I am signing this object:
<?php | |
/** | |
* This file provides a quick-n-dirty method for testing redirects. | |
* | |
* Just edit the $tests array and run from the CLI. | |
* | |
* If you are having problems, try making sure your DNS server is set to | |
* something that isn't dnsmasq as I had problems with with it while | |
* running this for a website in development. |
I hereby claim:
To claim this, I am signing this object:
{ "rules_copy_product_to_a_bunde" : { | |
"LABEL" : "Create Bundle from a Product Display", | |
"PLUGIN" : "rule", | |
"OWNER" : "rules", | |
"REQUIRES" : [ "rules" ], | |
"USES VARIABLES" : { "orig_pbd" : { "label" : "Node as passed", "type" : "node" } }, | |
"IF" : [ | |
{ "entity_has_field" : { "entity" : [ "orig-pbd" ], "field" : "field_product" } } | |
], | |
"DO" : [ |
<?php | |
$view = new view(); | |
$view->name = 'bundle_entity_reference_display'; | |
$view->description = ''; | |
$view->tag = 'default'; | |
$view->base_table = 'commerce_product'; | |
$view->human_name = 'Bundle Entity Reference Display'; | |
$view->core = 7; | |
$view->api_version = '3.0'; | |
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
/* Grab the values and make them globally available. */ | |
var hoursPerDay = 8; | |
var hoursPerWeek = hoursPerDay * 5; | |
/** | |
* We calculate the number of hours in a given range. | |
*/ | |
function SUMTIME(allData) { | |
var numHours = 0; | |
var numCells = allData.length; |