Author name: Yang Yang

Hello, I'm Yang. I build online businesses that please people. Want to join in and post some useful articles on Kavoir.com? Shoot me a message.

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 »

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 »

Scroll to Top