Passages for handwriting practice

Emma has a new bicycle. It is bright pink and shiny. it was a gift from her uncle. He hid it behind a bush to surprise her. When Emma looked behind the bush and saw the bicycle, she jumped for joy. It was just what she wanted. She gave her uncle a big hug. The kids were outside playing catch. They heard a rumble in the sky. They didn’t want to stop playing. but they knew it wasn’t safe to be out in the storm.…

Read More »

Sentences for handwriting practice

The quick brown fox jumps over the lazy dog A penny saved is a penny earned It’s fun to do other impossible The truth is the strongest argument Make each day your masterpiece Learning never exhausts the mind Honesty is the best policy A long trip begins with a single step To have a good friend, be a good friend Mistakes are proof that you are trying A voice is a very powerful thing The first to apologize is the bravest If you cannot be…

Read More »

Enable FreeType and recompile PHP on Linux

FreeType library is typically required along with GD library in PHP. This will enable usage of imagettftext() and other functions. Install FreeType Install FreeType library first at OS level. # yum install freetype-devel You have to add the installed path to the PHP configure command.. FreeType will be installed in /usr/include/freetype2 on RHEL. find / -name freetype Enable FreeType in PHP You have to get the configure command first. Use php -i | grep “Configure” command and get the configure command. It will be something like this. ./configure  –prefix=/usr/local/php7 –with-mysqli=/usr/bin/mysql_config…

Read More »

How to mysqldump specific tables?

This solution is from stackexchange.com- http://dba.stackexchange.com/questions/9306/how-do-you-mysqldump-specific-tables DBTODUMP=mydb SQL=”SET group_concat_max_len = 10240;” SQL=”${SQL} SELECT GROUP_CONCAT(table_name separator ‘ ‘)” SQL=”${SQL} FROM information_schema.tables WHERE table_schema=’${DBTODUMP}’” SQL=”${SQL} AND table_name NOT IN (‘t1′,’t2′,’t3′)” TBLIST=`mysql -u… -p… -AN -e”${SQL}”` mysqldump -u… -p… ${DBTODUMP} ${TBLIST} > mydb_tables.sql 0

Read More »

Virtualhost code in Apache

<VirtualHost www.website.com:80> ServerAdmin root@localhost DocumentRoot /var/www/website/www_website_com/ ServerName www.website.com ServerAlias www.website.com ErrorLog /var/www/website/logs/www.website.com.error_log CustomLog /var/www/website/logs/www.website.com.access_log common <Directory /var/www/website/www_website_com/> AllowOverride All Order allow,deny Allow from all Require all granted </Directory> </VirtualHost> 0

Read More »

Alias code in Apache

If you want to add alias in apache, place this code in apache.conf or httpd.conf (depending on your OS) Alias /alias_name/ “/var/www/alias_dir/” <Directory “/var/www/alias_dir”> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> 0

Read More »

40 tips from isha yoga

  1. Take A 10-30 Minutes Walk Every Day and While You Walk, Smile. 2. Sit In Silence For At Least 10 Minutes Each Day. 3. Sleep For 7 Hours. 4. Live With The 3 E’s — Energy, Enthusiasm And Empathy. 5. Play More Games. 6. Read More Books Than You Did In the previous year. 7. Make Time To Practice Meditation, Yoga And Prayer. They Provide Us With Daily Fuel For Our Busy Lives. 8. Spend Time With People Over The Age Of 70…

Read More »

9 Email Mistakes You’re Probably Making And Need To Stop Immediately

[Copy-pasted] Today, email has become the easiest and most popular means of communication. But most of us fail to get it right. It is rather easy to send ineffective, unnecessary emails and end up creating a wrong impression. Much easier to understand the dos and don’ts of email instead! Here are 9 email mistakes that we should stop making this very instant. 1. Using unclear subject lines Email is most effective when your message is simple, short and to the point. Thus, the subject should…

Read More »