Long time - no update

E-mail

Joomla

Written by Henrik, Tuesday, 06 April 2010 Last Updated ( Tuesday, 06 April 2010 08:00 )

I have not been updating this blog for quite a while. Unfortunately my other job's has been prioritized.

There are some Joomla! news though. I will be attending Joomla!Days in Sweden for the third time, having a speech on Mootools+Joomla!=true.

If you are in/around Stockholm the 23th-24th of April, you should really attend Joomla!Day Sweden! 

 

Categories module version 1.5.2 released

E-mail

Labs

Written by Henrik, Friday, 09 October 2009

Today we released a minor upgrade to the Categories module.

Read more: Categories module version 1.5.2 released

 

Round number to nearest fraction with PHP

E-mail

PHP

Written by Henrik, Saturday, 23 May 2009 Last Updated ( Saturday, 23 May 2009 14:36 )

Sometimes when you are trying to code small functions you realize that some one must have done the same thing before and you realize that google is as usual your friend in need!

I was trying to compile a helper function to round a float to what ever nearest fraction i needed. I found numerous examples on how to do this best while googleing.

Read more: Round number to nearest fraction with PHP

 

Problem with Zend Framework and MySQL Longtext and Longblob generating out of memory error

E-mail

PHP

Written by Henrik, Wednesday, 11 March 2009 Last Updated ( Wednesday, 11 March 2009 17:23 )

I have had a bug in one of my apps for quite some time now. Trying to find the problem codewize ended up being futile. The problem occurs when trying to fetch a LONGTEXT or LONGBLOB with Zend_db Mysqli resulting in an error message like this;

Fatal error: Out of memory (allocated 6029312) (tried to allocate 4294967294 bytes) in /Users/hussfelt/Sites/testproject/library/Zend/Db/Statement/Mysqli.php on line 209

Read more: Problem with Zend Framework and MySQL Longtext and Longblob generating out of memory error

 

Create a tag of a svn trunk repository

E-mail

Oneliners

Written by Henrik, Tuesday, 03 March 2009 Last Updated ( Wednesday, 04 March 2009 20:57 )

This oneliner creates a version tag in /project_name/tags of the current /project_name/trunk.

Read more: Create a tag of a svn trunk repository

 

Remove last character from string in PHP

E-mail

PHP

Written by Henrik, Tuesday, 24 February 2009 Last Updated ( Wednesday, 11 March 2009 17:26 )

After looking around for a way to actually remove the last character of my string even if it was not the last one in the string given, I came up with these two ways. I figure that the one using strrev() is a lot faster then the one using explode(), but as someone might want the first way, I publish it anyway.

Read more: Remove last character from string in PHP

 

Note to self: Import MySQL dumpfile

E-mail

SQL

Written by Henrik, Tuesday, 20 January 2009 Last Updated ( Tuesday, 24 February 2009 19:55 )

I wonder how many times I have searched google on how to correctly import a MySQL dumpfile through a command line.

mysql -p -h DBSERVER dbname < dbname.sql

 

Page 1 of 2

<< Start < Prev 1 2 Next > End >>

Like this Joomla template?

As many other things on this site it is completely free! In collaboration with Midsjö AB are we releasing it into the public domain under the GNU/GPL version 2 license. You will find this template and other extensions under the Labs section then Joomla!. Good luck and happy Joomling!