Blog
Keep updated with latest web technology.
Enjoy life same time.

Nginx CP Installation

We just installed NginxCP on our server. So far it is working great. Nginx is working on front end for static files, and passes everything else to Apache. Of course. However key thing here is: it is working with WHM, we can control, restart Nginx along with Apache, watch its statuses and so on. Great […]

Read More

Drupal – Use thumbnail image field

Assume we have image field field_featured_image, but we want to have another image thumbnail field (for example this thumbnail needs to be wider): Add another image field field_featured_image_thumb Enable Views PHP module Add the field_featured_image_thumb field to view, also Global PHP, enter below code into [Output code]   Always remember that Global PHP must be […]

Read More

Spam Protection: Alert when there are spammers sending email from your server

For a few recent days we experienced that someone hacked into one of our accounts and use it to send spam massively. We immediately change that account (and all others)’ password and apply higher security protection. But to be sure that we know if any problems sooner (before the server is blacklisted by Google mail, […]

Read More

Further codeandmore.com optimization

Today we optimized CodeAndMore to just have 17 requests, 100/100 score for performance grade given by Pingdom Tools:   100/100 performance score on Pingdom Tools YSlow Score is now 99. Highest possible if we know Google Analytisc always is set to score B. PageSpeed score is 99. Still of course.

Read More

IE6 Support Drop-off

Dear Clients, We are not going to support IE6 in cross browsers list from now on. Thanks.

Read More

Nginx on a VPS – user trick

As we know, Nginx is faster than Apache to serve static files. Recently CodeAndMore installs nginx as its default however we met difficulty with “nginx” user, which is different than WHM – Apache – PHP user. Difficult to backup by Cpanel, harder to upload files via SFTP etc… Until we found that it is possible […]

Read More

Upgrade php to 5.3.x – ffmpeg

When we tried to upgrade Plesk PHP to 5.3.x ffmpeg-php does not work so we have to upgrade that as well. Procedure is: login as root mkdir /src cd /src wget http://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fffmpeg-php%2Ffiles%2Fffmpeg-php%2F0.6.0%2F&ts=1313398332&use_mirror=ncu tar -xjf ffmpeg-php-0.6.0.tbz2 cd ffmpeg-php-0.6.0 OK so we have ffmpeg 0.6.0 (latest, and it was very long time ago since its last commit), […]

Read More

@font-face kit generator

http://fontface.codeandmore.com/ simple and works. UPDATE: it is available now only for subscribers, with login feature, saving uploaded fonts. Enjoy faster and better service!

Read More

CSS Sprite for codeandmore.com

We have 127 elements on home page of codeandmore.com: http://tools.pingdom.com/?url=http://codeandmore.com/&treeview=0&column=objectID&order=1&type=0&save=true, and we expecting less than 50 elements so: less requests faster load Current progress: optimized to less than 40 elements. Loading speed optimized. More details to come.

Read More

Facebook Fans