mySQL password (Mac OS X Lion)
Posted by Cătălin on Fri, 22 Mar 2013mySQL password (Mac OS X Lion)
Setup root password for MySQL: /usr/local/mysql/bin/mysqladmin -u root -p password
Read More...code
Leverage browser caching
Posted by Cătălin on Wed, 27 Feb 2013Leverage browser caching
How to add Expires headers <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year” # Images ExpiresByType image/gif...
Read More...code
Apache Error
Posted by Cătălin on Sat, 16 Feb 2013Apache Error
Fix for "Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName" Error sudo /etc/init.d/apache2 restart Reloading web server config: apache2apache2:...
Read More...code
GPG error for Debian
Posted by Cătălin on Sun, 10 Feb 2013GPG error for Debian
Problem When updating the Debian based system, apt-get may display an error message like: W: GPG error: http://download.webmin.com sarge Release: The following signatures couldn't be verified because...
Read More...code
.ca whois response
Posted by Cătălin on Sun, 20 Jan 2013.ca whois response
The CIRA whois response don't contain 'AVAIL' any longer, all available domain name for registration will contain: 'Domain Status: available' Please note that you need to add 9 spaces between the colon...
Read More...code
Mounting an NTFS drive in Debian
Posted by Cătălin on Sun, 2 Dec 2012Mounting an NTFS drive in Debian
# apt-get install libfuse2 # apt-get install ntfs-3g # fdisk -l | grep NTFS sample: /dev/sdb1 1 121601 976760001 7 HPFS/NTFS # mkdir /media/YOUR-FOLDER # mount -t ntfs-3g...
Read More...code