Line drawing canvas using raphael and mootools: JsFiddle

Sunday of June 24, 2012

Draw simple lines and shapes using Raphael, (Mootools as a support library based on this fiddle sample). The framework raphael.js is a great tool for vector graphics in the web, it is pretty much lightweight and supports the major browsers including mobile platforms. Thus drawing in the web is pretty much possible without using flash.

Mooraph Monday

Friday of June 22, 2012

As an effort to learn more about mootools and raphael javascript framework, I would be doing a couple of snippets and mini-projects. The post and information will be uploaded in jsfiddle and the items will be explained and discussed in this blog post. Mooraph sounds like a weird name, ^^. but couldn't think more better ring for this project.

Sample on how to rotate images using Raphael: JsFiddle

Friday of June 22, 2012

Sample on how to rotate images using Raphael.

Drupal 6 : Warning: Table 'watchdog' is marked as crashed

Tuesday of June 19, 2012

Drupal 6 : Warning: Table 'watchdog' is marked as crashed and should be repaired query

After my server crashed due to out of memory, my drupal applications kept on throwing this error upon user login.

Warning: Table 'watchdog' is marked as crashed and should be repaired query: INSERT INTO watchdog

A quick fix to resolve this is to run the following SQL REPAIR TABLE `watchdog` in your database.

Check your memory usage in unix or linux

Tuesday of June 19, 2012

The site recently crashed due to out of memory from one of my applications, damn you `tomcat` = `lesson = schedule a restart for your web server or buy more memory`. Good thing eatj my web hosting has an incredible response time and was able to resolved the issue immediately. As a note I created a simple from job notifying me if it already exceeded my available memory. Below are the method to check you memory usage.

# free -m# top# vmstat