This website is composed of information connected through taxonomy. It is simultaneously a proof-of-concept and a means to allow Agaric to share and store information both within the collective and the world as part of our open documentation philosophy.

User login

This website is composed of information connected through taxonomy. It is simultaneously a proof-of-concept and a means to allow Agaric to share and store information both within the collective and the world as part of our open documentation philosophy.

Is Git corrupting your font files?

I was getting errors like this in the console:

downloadable font: incorrect file size in WOFF header (font-family: "Graphik" style:normal weight:bold stretch:normal src index:1) source: ... themes/butaro/fonts/Graphik-Bold-Web.woff
downloadable font: rejected by sanitizer (font-family: "Graphik" style:normal weight:bold stretch:normal src index:1) source: ... themes/butaro/fonts/Graphik-Bold-Web.woff

Git would have given you warnings that look like this when you git added the fonts:

Saving message entities programmatically

Our use case, re-saving existing messages, is a bit more complex than it should be, but not bad. This code will work for new or existing messages.

Where $exports is an array of long text strings that is each the JSON dump received form exporting a message type through the UI:

Misleading errors when install profile is missing or simply not specifically called

The following module is missing from the file system bootstrap.inc:231 [warning]strpos(): Empty needle ExtensionDiscovery.php:308

This may mean that your install profile is simply missing-- not in web/profiles/

The following module is missing from the file system: standard
https://www.drupal.org/node/2486083

If you get this error:

Setting text format per field in Drupal 8

UPDATE: There is a contributed Drupal 8 module to set allowed formats that was spun off of the core issue to allow text field to enforce a specific text format.

Right now, there's no good way to do it, but there's good hope that this issue will be fixed in Drupal 8 core. OK but right now? Better Formats isn't stable for Drupal 8 yet. So hacky custom form alters is the best i've come up with.

Allowing regular (short) text fields to use the multiline textarea form widget

There's a module for that now: https://www.drupal.org/project/textarea_widget_for_text

It's nice and simple with an alter hook (as detailed on the module page) and in this answer.

Installing current Inkscape on Debian or Linux Mint Debian Edition

As of 2016, stable Debian repositories still have a very old version of Inkscape (0.48.5-3 in the default repos). The testing and unstable branches of Debian have the current recommended release, however, so it's quite simple to get it on your Debian:

Implementing Webmentions for Drupal 8

Starting informational links:

What to do with the changes in Mandrill service

MailChimp is suggesting people use Amazon SES, and i'm sure you can buy fine coal from the Devil, but i don't want to give money for the financing of Hell on Earth. So, options?

Debugging PHPUnit integration tests, run from the command line, in Netbeans

Step 0: Set a breakpoint in the test

Step 1: Start Netbeans debugging

Step 2: Do these two command lines from your virtual machine at /vagrant, where 'testSomeResults' is a specific function in one of your tests/integration/ files.

export XDEBUG_CONFIG='idekey=netbeans-xdebug'
phpunit --bootstrap tests/bootstrap.php --filter testSomeResults tests/integration/