In certain versions of ImageMagick there is a problem (probably due to a bug) when trying to convert or manipulate an image either from the command line (convert command) or through one of the many API’s available (for example PHP). The CPU usage suddenly grows beyond 100% (because this problem occurs on multiprocessor systems) and the system becomes extremely slow. Apart from this high CPU load, the conversion process also gets blocked, never reaching to the end. This occurs even with small images of few kilobytes.
How to know how many cores and processors has a Linux box
The simplest and shortest method to measure the number of processors present on a Linux box, which is also widely extended as it’s part of coreutils is:
Using PHP to backup MySQL databases
This post shows how to perform a partial or full backup of MySQL databases using only PHP code. This is very useful for example when a client doesn’t provide you with access data to the database of a web application and you only have an FTP connection available, or when you do have the connection data to the database but you can’t access it through the network (only available from localhost) and you can’t use tools like mysqldump to back up the information you need because you don’t have privileges for this, or simply because you have no access to a shell to which connect and run commands.
UPDATE (08-28-2017): moved the source code from myphp-backup.php and myphp-restore.php scripts to my GitHub daniloaz/myphp-backup repository: https://github.com/daniloaz/myphp-backup
OpenCart PDF invoices with Zend_Pdf – Spanisland
Plugins for Bowob.com chat
In September 2011 I started a collaboration with the bowob.com project, a service that lets webmasters to integrate a chat on their websites that allows users on that site to talk to each other in a friendly manner. This chat service is seamlessly integrated with the content manager or application that manages the users of a given website, which allows to display user names, profile pictures, user friends or connections, and so on. Specifically, my job is to develop plugins that allow this integration so webmasters can install a complete chat solution in minutes and in a very easy way.
SugarCRM – Gretur Viajes
One of the major projects that took place in Gretur Viajes was the development of a comprehensive customer relationship management system (CRM), which also allowed internal business processes management and complete travel bookings administration, wich also includes bonds and other documentation management, billing and administration of all different products and services offered on the corporate web site. That is, a system both CRM, ERP and Content Management System (CMS) was needed. It must also be accessible via web from any geographical location, easy to use and reliable, especially robust and reliable.
www.greturviajes.com
This is the Gretur Viajes corporate web site, which I fully developed in 2008, although it has continued to evolve and to incorporate new features and tools. I took both graphic design and PHP programming of many components, modules and plugins that extend the functionality of Joomla, content management system (CMS) which this web site is based on, for example to enable application integration with SugarCRM as detailed in this other post: SugarCRM – Gretur Viajes
www.jlopezsaguar.com
This is a personal project with a very special meaning for me, as it was a gift I always wanted to give my father. He deserved it after all these years of work, sacrifice and effort, and was for me an honor to help make visible his magnificent work through this website that I developed in the year 2010: www.jlopezsaguar.com