Cellbrush table generator

Cellbrush is (yet another) PHP library to generate HTML tables.
It does support colspan and rowspan.

What really makes it special is that table cells are addressed by string keys, and empty cells are filled automatically. This means, you can add cells in any order, and you don't need to babysit the table's structural integrity! This allows for a more semantical work flow.


xautoload never had a database cache. But now it has, thanks to O(log n).

All (*) the procedural pasta salad of Drupal 7 core, turned into services with dependency injection because we can?
(and because PHPUnit, and because ..)
(*) exaggerating.

No, this is not Drupal 8. It is just a testing ground for xautoload.

A one-off service container that is simpler than Pimple.

It will not be very flexible or reusable, it will just do the job.
And your IDE will love it!

One of the great new things in Drupal 8 is that it comes with a dependency injection container ("DIC").
In fact, it borrows the dependency injection container component from Symfony..

If you don't like the DIC from Symfony, you could try Pimple instead.
Or you can skip to the next article, and build your own.

XAutoload 7.x-5.x now has full support for PSR-4 as in Drupal 8.
So, you can now organize your module class files in Drupal 7 like this:

class: "Drupal\$module_name\Foo\Bar"
file: "$path_to_module/src/Foo/Bar.php"



Teakmoebel Logo

I've been working with guaka since 2010. After getting to know him from our mutual interest in an Open Source hospitality exchange website, our first Drupal project has been a migration project of an Israeli human rights NGO site from ASP to Drupal 6.



The Imagene gradient generator Drupal module generates 1D and 2D gradient images based on [Bézier control points](https://en.wikipedia.org/wiki/B%C3%A9zier_curve) encoded in the file url.

animelion on drupal.org asked me for some example images Here are some!

You need javascript enabled to see the gradients.
(imagene does not need javascript, but this blog post does)
Use your favourite web developer tools (Firebug etc) to inspect the elements and see the background image url.

Vertical gradients

With only two colors, you can achieve a lot of different gradients: Linear, cubic, etc.

Transparency gradients



In linux you can configure the pgup/pgdown keys to navigate through commands you typed that begin with the string you just typed. Type "mysql" and then hit "Page up", and you will see nothing but mysql-related commands.

Unfortunately this has to be configured anew on every machine or server/vm I work on, and I always forget where this is configured (and it takes a while to find it in google), so I thought I should write it down.


In /etc/inputrc, uncomment:

An implementation for

('FooBar') === array('foo', 'bar')
camelCaseExplode('FooBar', *, *, '_') === 'foo_bar'

With parameters to control special cases like `AABc`.