I hereby claim:
- I am michaellopez on github.
- I am michaellopez (https://keybase.io/michaellopez) on keybase.
- I have a public key ASBUG1TtoFWdK_5NCGTletORRVz8g2dCAI8ainMYLfpnIAo
To claim this, I am signing this object:
| { | |
| "plugins": [ | |
| { | |
| "removeDoctype": true | |
| }, | |
| { | |
| "removeXMLProcInst": true | |
| }, | |
| { | |
| "removeComments": true |
| diff --git a/src/Plugin/Field/FieldFormatter/ViewsReferenceFieldFormatter.php b/src/Plugin/Field/FieldFormatter/ViewsReferenceFieldFormatter.php | |
| index 7371caf..36252cf 100644 | |
| --- a/src/Plugin/Field/FieldFormatter/ViewsReferenceFieldFormatter.php | |
| +++ b/src/Plugin/Field/FieldFormatter/ViewsReferenceFieldFormatter.php | |
| @@ -100,6 +100,9 @@ class ViewsReferenceFieldFormatter extends FormatterBase { | |
| } | |
| $node = \Drupal::routeMatch()->getParameter('node'); | |
| + if ($items->getEntity() instanceof \Drupal\node\NodeInterface) { | |
| + $node = $items->getEntity(); |
I hereby claim:
To claim this, I am signing this object:
| [rancher@rancher-server ~]$ cat /var/log/messages | |
| ... | |
| Nov 24 13:17:06 rancher sshd[3573]: Disconnected from 172.20.0.11 | |
| Nov 24 20:48:20 rancher kernel: [47826.765444] docker invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0 | |
| Nov 24 20:48:20 rancher kernel: [47826.766858] docker cpuset=/ mems_allowed=0 | |
| Nov 24 20:48:20 rancher kernel: [47826.767548] CPU: 1 PID: 390 Comm: docker Not tainted 4.2.3-rancher #1 | |
| Nov 24 20:48:20 rancher kernel: [47826.768488] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 | |
| Nov 24 20:48:20 rancher kernel: [47826.769855] 0000000000000000 0000000000000000 ffffffff8159e913 ffff88002fdd0000 | |
| Nov 24 20:48:20 rancher kernel: [47826.771827] ffffffff8159bd05 0000000000000016 ffffffff81086352 ffffffff81a12808 | |
| Nov 24 20:48:20 rancher kernel: [47826.773281] 0000000000000016 0000000000000000 000000000003e469 0000000000000000 |
| terminal = require('color-terminal') | |
| log = (error, stdout, stderr, cb) -> | |
| if error | |
| terminal.color('red').write stdout | |
| else | |
| terminal.color('green').write stdout | |
| cb() | |
MY_KEY, MY_TOKEN, and USER_TOKEN (USER_TOKEN can be an empty string)| /** | |
| * Description: Updates the badge to the unread count. | |
| * Scrapes the inbox for new mail every 5 seconds and displays a notification for each new message. | |
| * Does not support new messages in a conversation. I.e. 1 row in the inbox = 1 notification. | |
| * Only tested on OS X Mountain Lion. This will break when Gmail changes their DOM! | |
| * | |
| * Patterns: | |
| * *gmail.com* | |
| * *mail.google.com* | |
| * *google.com*mail* |
| if (grunt.config.get('config.changeSet') === Infinity) { | |
| grunt.log.writeln('ChangeSet was interpreted as Infinity. Trying to manually parse command line arguments.'.yellow); | |
| grunt.log.writeln('A single "e" in the changeset is interpreted with scientific notation, sometimes causing "Infinity".'.yellow); | |
| process.argv.forEach(function(val) { | |
| if (val.indexOf('hgid') >= 0) { | |
| var changeSet = val.split('='); | |
| if (changeSet[1]) { | |
| grunt.config.set('config.changeSet', changeSet[1]); | |
| return false; // Break loop |
| $ brew --config | |
| HOMEBREW_VERSION: 0.9.5 | |
| ORIGIN: https://github.com/mxcl/homebrew | |
| HEAD: 36ba8e6805c9d5a00dc4c33d28b5c2728dc673db | |
| HOMEBREW_PREFIX: /usr/local | |
| HOMEBREW_CELLAR: /usr/local/Cellar | |
| CPU: quad-core 64-bit arrandale | |
| OS X: 10.8.5-x86_64 | |
| CLT: 5.0.1.0.1.1377666378 | |
| GCC-4.2: build 5666 |
| // ==UserScript== | |
| // @name Trello Color Card | |
| // @namespace http://weahead.se | |
| // @author Michael Lopez <[email protected]> | |
| // @description Colors Trello cards depending on completed checklist items. | |
| // @include https://trello.com/* | |
| // ==/UserScript== | |
| (function () { | |
| if (window.fluid) { |