I hereby claim:
- I am unifex on github.
- I am unifex (https://keybase.io/unifex) on keybase.
- I have a public key ASAT2XEazm64eApeq4pw3XtJTPu3s1ntfw-KrBT1P7YIugo
To claim this, I am signing this object:
<?php | |
/** | |
* @file | |
* A test of using Headless Chrome and the Linux CLI tool phpunite. | |
* | |
* Save this file to a directory. | |
* Run `composer require chrome-php/chrome` in the same directory | |
* If you are using Chromium run `export CHROME_PATH=chromium-browser` | |
* Run `php -S localhost:8080` to start a local server. |
<?php | |
namespace Drupal\migrate_nbr\Plugin\migrate\destination; | |
use Drupal\migrate\Plugin\MigrationInterface; | |
use Drupal\migrate\Plugin\migrate\destination\DestinationBase; | |
use Drupal\migrate\Row; | |
/** | |
* Provides noop destination plugin. |
<?php | |
namespace Drupal\migrate_custom\Plugin\migrate\process; | |
use Drupal\migrate\ProcessPluginBase; | |
use Drupal\migrate\MigrateExecutableInterface; | |
use Drupal\migrate\Row; | |
/** | |
* Load a CSV and return a col for a specific row. |
<?php | |
namespace Drupal\migrate_custom\Plugin\migrate\process; | |
use Drupal\migrate\ProcessPluginBase; | |
use Drupal\migrate\MigrateExecutableInterface; | |
use Drupal\migrate\MigrateSkipRowException; | |
use Drupal\migrate\Row; | |
use Drupal\Component\Utility\UrlHelper; |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Implements hook_preprocess_node(). | |
*/ | |
function my_module_preprocess_node(&$variables) { | |
$node = $variables['node']; | |
// First published. | |
// This query uses workbench moderation to determine the first moderation | |
// transition that resulted in a published node and takes the timestamp | |
// from that record. |
drush ev ' | |
$query = new EntityFieldQuery; | |
print_r($query); | |
$result = $query->entityCondition("entity_type", "node") | |
->propertyCondition("type", "morning_message") | |
->execute(); | |
print_r($result); | |
foreach ($result['node'] as $row) { | |
print_r($row); | |
$node = node_load($row->nid); |
/** | |
* Helper funtion to get an array of menu items and children. | |
* | |
* This returns an array of menu items with child menu items added to the | |
* 'children' key. | |
* | |
* @param int $mlid | |
* The menu link ID we are looking at. | |
* @param int $depth | |
* How deep do you want to go? |
Response to homeopathynatho
The review of trials found there was not enough evidence to show the effect of a homoeopathy as a method of induction. More research is needed.
Response to homeopathynatho
This review looked at whether these [homeopathic] medicines could help patients with problems caused by cancer treatments […] Two studies with low risk of bias demonstrated benefit: one with 254 participants demonstrated benefits from calendula ointment in the prevention of radiotherapy-induced dermatitis, and another with 32 participants demonstrated benefits from Traumeel S (a complex homeopathic medicine) […] These trials need replicating. Two other studies reported positive results, although the risk of bias was unclear, and four further studies reported negative results. […].