User login


Hands on a Blackberry: Making an HTML5 site work in old Blackberry (hint: remove HTML5 elements)


The Blackberry has been reacting very differently, and badly, to the mobile theme compared to iPhone and Android.

What i've learned from having the BlackBerry for a couple days is that it is not able to apply CSS to HTML5 elements such as hgroup, article, and footer.

In the blackberry branch i've swapped these elements for divs, and the improvement has been great.

Manual update of git-deployed Agaric production site

For a project named (and with the repository and server user name) 'example'.

cd example
git pull

For the git pull to work your public key must be in /home/vlad/.ssh/authorized_keys on the test server ( You can get this value from /home/yourusername/.ssh/authorized_keys. (@Stefan can we in some way give people with access to simone access to use it as the vlad user automatically?)

Git remote branches are different on my local compared to server

The local checkout on my computer and the one on the dev server are looking at the same Git repository, but the results of git branch -a (show all remote branches) is very different.

Reason: git pull origin master does not get all the branch and tag information the way git fetch does!


git fetch origin

Now git branch -a and git checkout branchicareabout both work.

PHP warning Unable to load dynamic library

Getting this every time i run Drush or anything else PHP on the command line:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/' - /usr/lib/php5/20090626/ cannot open shared object file: No such file or directory in Unknown on line 0


sudo rm /etc/php5/conf.d/sqlite.ini

Use different view mode based on theme


Both these are needed to work for teaser nodes in a view, at least:

Google Spreadsheet freaks out if presented with single quotation marks

If you're getting a parse error for no apparent reason from the formula in your cell, it is probably because Google Spreadsheet cannot grasp the concept of single quotation marks ('like these') and you'll need to use double quotation marks ("like this").

For instance:


Doubles all the way or that stupid useless parse error message.

Syndicate content