Take a few minutes and do these stretches. You will feel great afterward!
Monthly Archives: March 2013
Apache .htaccess Redirect WWW
Just a few quick notes on how to redirect website to force www or to force just the domain name when users visit your site. .htaccess Redirect non-WWW to WWW This will redirect http://my-domain.com/ to http://www.my-domain.com/ RewriteEngine On RewriteCond %{HTTP_HOST} !^www. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] .htaccess Redirect WWW to non-WWW This will redirect http://www.my-domain.com/ to http://my-domain.com/ RewriteEngine On RewriteCond %{HTTP_HOST} !^my-domain.com$ [NC] RewriteRule Continue reading →
RealVNC Viewer for Google Chrome
This is exciting to me. I may actually start using Google Chrome just for the added functionality/productivity by having RealVNC viewer for Google Chrome. I use VNC literally 10s of hundreds of times per day for remote support, maintenance, etc. and this may just make my life a little easier! Demo Video: http://www.youtube.com/watch?v=WY8if72eZHc RealVNC Released VNC Viewer for Google Chrome March 7, 2013; You can find information and download it here: http://www.realvnc.com/products/chrome/ Continue reading →
Determine a MySQL Database Creation Date
Here’s a simple way to determine the date/time a database was created in MySQL:
SELECT create_time FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = 'DB_NAME'
mysql> select create_time from information_schema.tables where table_schema='foo'; +---------------------+ | create_time | +---------------------+ | 2013-03-01 10:42:34 |