2008

Use twitter in Windows active desktop to post anytime!

Windows active desktop is a feature that allows you to embed a browser window (viewport) on your actual desktop. Instead of a window form, it’s accessible anytime on the desktop yet never takes up any task bar spaces. Windows XP users can activate active desktop following these procedures. Basically you just right click on the …

Use twitter in Windows active desktop to post anytime! Read More »

Pretend your scraper script as a browser when scraping in PHP

It’s easy to make a simple scraper script in PHP but it’s also easy for data-centric sites to detect and keep out suspiciously continued page accesses done in large amounts and a small period of time. There are usually 2 ways for a site to detect possible scraping activities. One is to make sure the …

Pretend your scraper script as a browser when scraping in PHP Read More »

Harness the power of exponential growth, part 2 – what can you do?

Well after reading the first part, I was a bit lost. What the hell is this guy talking about exactly? Yes, exponential growth it is, and we should all make sense out of it in our business endeavors wherever possible. Okay, it’s sweet but how? How is this concept going to help us? And what …

Harness the power of exponential growth, part 2 – what can you do? Read More »

Let’s use Lucida Grande for a change – 13 web safe fonts revisited

The 10 web safe fonts, Arial, Impact, Georgia, Times New Roman, Trebuchet MS, Comic Sans MS, Verdana, Tahoma — ahhh, wait a minute, I can’t remember the last 2. Let me take a look at the 9 web safe fonts, ok, it’s Courier New and Arial Black. Tahoma isn’t included in the 9 browser safe …

Let’s use Lucida Grande for a change – 13 web safe fonts revisited Read More »

Harness the power of exponential growth

All successful entrepreneurs, wealthy people and academic geniuses agree that exponential growth is what it takes to be where they stand. What is exponential growth? Mathematically, it’s just a way of describing how something not only grows over time but the rate of growing itself increases in the process, reaching unbelievable mark at the end. …

Harness the power of exponential growth Read More »

Backup and recover a MySQL database under command line

Yes you can log into phpmyadmin, backup your database by simply using Export and recover it by using Import. However all lamp servers come with a max upload file size, limited by the smaller of upload_max_filesize and post_max_size while also restricted by php.ini configurations such as memory_limit and max_input_time. What if you’ve got a huge …

Backup and recover a MySQL database under command line Read More »

How to count files (get the number of files) under a directory in Linux?

Just perform this command under the directory: find . -type f | wc -l and you will get the total number of files under it (recursively). Simply copy and paste that to do the trick. Or if you just need to count the files directly under the current directory: ls -f | wc -l Which …

How to count files (get the number of files) under a directory in Linux? Read More »

Using SQL to Find records existing in one table but not in another

The 2 tables are built with an identical data structure. Say you have records spread in both tables but neither of them are complete because both contain unique records. You need to consolidate the 2 tables into one with all unique records from each table. NOT EXISTS clause is just the way to do it …

Using SQL to Find records existing in one table but not in another Read More »

PSD to HTML service is not easy, but I’m determined.

To provide this service to the highest standards, it’s really not that easy, takes time and toil. Not to mention it’s directly dealing with picky customers and anything could go wrong. Most of the customers are reasonable and easy going but still quite a number of them are rather demanding of the work or just …

PSD to HTML service is not easy, but I’m determined. Read More »

DreamHost Invitations – 4 times the normal disk and bandwidth

Update: Here are 5 more up to date DreamHost invitations for $100 off. Update: DreamHost Invitations are outdated as they now offer unlimited disk storage and monthly transfer. Please read my review of DreamHost to know more. They are insane! With DreamHost Invitations, you get 4 times the normal disk and bandwidth! Just supply one …

DreamHost Invitations – 4 times the normal disk and bandwidth Read More »

Warning: session_start(): Cannot send session cookie – headers already sent

It is known that you have to make sure nothing’s already sent to output to perform a successful http header modification. As such, in PHP, you will keep an eye on possible white spaces before the use of header() function to modify delivery headers. For example, <?php header(‘…’); ?> this tiny snippet would fail if …

Warning: session_start(): Cannot send session cookie – headers already sent Read More »

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 »

Scroll to Top