I hereby claim:
- I am mchelen on github.
- I am mchelen (https://keybase.io/mchelen) on keybase.
- I have a public key ASDJLpuXNtVCcDhcu__HUqvkFkFgokGpGG6j4kVk0JcNIgo
To claim this, I am signing this object:
<?php | |
/* | |
ways of checking if simplexml node exists: | |
isset() | |
count() | |
empty() | |
boolean | |
tested with PHP 5.5.23 |
sudo apt install backport-iwlwifi-dkms |
<?php | |
$arrays = array( | |
array( | |
'name'=>'foo', | |
), | |
array( | |
'name'=>'bar', | |
), | |
array( | |
'name'=>'foo', |
<?php | |
// assumes fieldName is a text field with 1 value | |
function FilterNodesByRegex($nids, $fieldName, $regex) { | |
$nodes = \Drupal::entityTypeManager()->getStorage('node')->loadMultiple($nids); | |
return array_filter($nodes, function($node) use ($regex, $fieldName) { | |
return preg_match( | |
$regex, | |
$node->get($fieldName)->getString() | |
); |
vendor | |
composer.lock | |
example.log |
➜ npm-script cat package.json | |
{ | |
"name": "npm-script", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"echo": "source .env && echo $FOO" | |
}, | |
"author": "", |
I hereby claim:
To claim this, I am signing this object:
*~ | |
registry-server/ | |
.vagrant/ |
browser side rendering of json resume https://github.com/jsonresume
template: https://github.com/jsonresume/jsonresume-theme-boilerplate
based on example from: https://github.com/cultofmetatron/jquery-autobars