Cron jobs (Crontab jobs) tricks and tips on DreamHost

Crontab is a utility tool on Unix-like OS that enables you to make a program daemon scheduled to run at a specified interval. For example, to fetch news feed and import them into your own database every hour on the hour or to send pre-written newsletters at a given time everyday. With DreamHost you can …

Cron jobs (Crontab jobs) tricks and tips on DreamHost Read More »

Colorful Linux Bash Console by .alias and .bash_profile

At Dreamhost, we are all granted unlimited number of accounts for SSH access to the servers. The default console setting is a monochromatic one just like that in the old DOS style that it sores the eyes to look through the lines for something. Read their wiki the other day and found it’s possible to …

Colorful Linux Bash Console by .alias and .bash_profile Read More »

ID as HTML named anchors

Well, recently I have come across quite some tricks that will help web developers to spin out better web pages and one of them is this: actually, you don’t have to use <a name=”xxx”>xxx</a> for named anchors, in the example of <h2 id=”cottage”> <a name=”cottage”>grandpa’s warm cottage</a> </h2> you can merely rely on the ID …

ID as HTML named anchors Read More »

Proprietary HTML comment tag in Internet Explorer of both Windows and Mac

Rarely heard of it from any of the popular web design / development sites (blogs, forums, info portals and so forth), there’s actually a neglectable implementation of the tag <comment> in both Internet Explorer Windows and Internet Explorer Mac. You are <comment>not</comment> browsing on Internet Explorer. You are not browsing on Internet Explorer. In IE, …

Proprietary HTML comment tag in Internet Explorer of both Windows and Mac Read More »

One SSI directive to save all programming muggle’s effort and time

SSI stands for Server Side Includes that is a default module in Apache web server. In essence, it provides a very simple mechanism to include one HTML file in another one, thus tremendously reducing redundant coding and increase the ease of later maintenance. So, to get 80% out of SSI, the only directive you pretty …

One SSI directive to save all programming muggle’s effort and time Read More »

Kavoir now does follow your comment link!

However it still needs my moderation before they appear on the page, but if they do, it is a valid backlink from the perspective of a search engine crawler. If you are looking for more dofollow blogs to comment on, please head to http://w3ec.com/dofollow, which makes more than 800 dofollow blogs searchable. Just search the …

Kavoir now does follow your comment link! Read More »

Search for blogs and sites that do follow your signature links!

Here I announce the launch of a Google Custom Search: DoFollow Blogs / Sites Search Engine. It’s a movement after Randa Clay. Thanks to Courtney and Colleen, I’m able to build up the do-follow list with more than 300 blogs that do follow your comment links! But please do remember to comment like a human, …

Search for blogs and sites that do follow your signature links! Read More »

DreamHost Promo Codes, Coupons and Discount Codes for Cheap Web Hosting

Update: You may want to read a more recent review of DreamHost. DreamHost is definitely one of the best cheap web hosting companies in the world that answers to affordable but reliable hosting needs. Based at California, the Internet hub at the west coast of U.S., DreamHost comes armed with very unique hosting solutions for …

DreamHost Promo Codes, Coupons and Discount Codes for Cheap Web Hosting Read More »

Differences of function.apply() and function.call() in JavaScript

Function object methods function.apply() and function.call() basically do the same job, that is to invoke the function as if it was the method of a specified object so that the ‘this’ keyword within the function is treated as that object rather than the global object. var x = 20; function f(s) { alert(this.x + s); …

Differences of function.apply() and function.call() in JavaScript Read More »

DOM event detection: event bubbling and event capturing

There’s essentially 2 ways for the DOM to detect any events, namely event capturing and event bubbling. Event capturing is a method that the browser captures the event from the top elements to the bottom where the event actually takes place. For example, the moment you click on an <img> which is the child of …

DOM event detection: event bubbling and event capturing Read More »

Make elements translucent & semi-transparent with CSS – the bulletproof solution to CSS transparency

Take a div of class translucent for example, you can literally make it translucent with the following CSS rules. It’s bulletproof, meaning that all the browsers will render it as you have specified. Enjoy! div.translucent { /* this class makes a window partially transparent */ opacity: .5; /* Standard style for transparency */ -moz-opacity: .5; …

Make elements translucent & semi-transparent with CSS – the bulletproof solution to CSS transparency Read More »

JavaScript: Changing Browser Window Width / Height

This petite JavaScript snippet defines several functions in the namespace of Geometry that will come handy when you need to manipulate window geometry, freeing you from the depressing chores of distinguishing different browsers for their distinct implementations of virtually the same features. /** * This module defines functions for querying window and document geometry. * …

JavaScript: Changing Browser Window Width / Height Read More »

Stop diluting the page theme, but siloing

Link(v.), only when it’s absolutely necessary, especially on your premier pages (landing pages from search engines) that have a touching relation with the sales. Every offsite link you make on the page, and even onsite links to other pages, dilutes the theme you intend to rank for in search engines, thus effectively bringing down the …

Stop diluting the page theme, but siloing Read More »

What is PHP framework & Who are the Best PHP Frameworks?

Basically, PHP frameworks are programming layers that are promoted above PHP itself and that are much easier and quicker to deploy, normalizing and packaging 80% of the routines one is expected to work on without them, such as database interfaces. Therefore they free you from the chores of coding from very scratch line by line …

What is PHP framework & Who are the Best PHP Frameworks? Read More »

Scroll to Top