Posts in Tips and tricks

Best mobile inspector tool – Adobe Shadow

Hi all, I thought to share this with you, after hours of fun trying to access my localhost through my mobile devices. I can came[…]

Where to find your local hosts file Mac/PC

For Mac osx Lion: Open terminal and type in the following command line $ sudo nano /etc/hosts For PC users edit file: Windows7 C:\Windows\System32\drivers\etc\hosts WindowsXP

Internet explorer CSS hacks

Hi All, below are examples of how to target version of IE 6,7 and 8. body { border: 1px solid red; /* For all browsers[…]

Custom Web fonts

Hi guys, If you want to use nice funky, stylish fonts on your web sites… then I would recommend to use ‘Typekit’. Typekit gives you[…]

Basic Git commands to push and pull

To check what has been modified, changed or added # git status Pull files down from repo # git pull To push file to repo[…]

How to install LESS with Omega Responsive HTML5 Base Theme

How to implement LESS on to your Drupal sites with Omega theme (Responsive HTML5 Base Theme) 1) First of a will need to download and[…]

How to uncompress tar file in Linux

Here is how to uncompress tar file. # gunzip filename.tar.gz or # tar xvf filename.tar Here is the command to execute .pl file. # perl

MySQL: How to fix ERROR 1153 (08S01) in Centos 5

To increase ‘max_allowed_packet’. I came across this issue when trying to import 1.6gb sql dump. It took me a couple of hours to figure this[…]

How to restart Centos Apache and MySQL

Command line as follow: /etc/init.d/httpd  restart /etc/init.d/mysqld restart Or serice httpd restart serice mysqld restart ————————————– Import Database dumps 1) mysql -u root -p -h[…]

How to do a quick A/B test in commandline

# ab -n 100 -c 10 http://www.yourwebsite.com/index.php ————————————– Benchmarking www.yourwebsite.com (be patient)…..done Server Software: Apache/2.2.17 Server Hostname: www.yourwebsite.com Server Port: 80 Document Path: /index.php Document[…]

How to create MD5 Encrypt password in CentOS

Hi all, here is a tip how to create your own MD5 Encrypt password. There are a few MD5 Encrypt gernerators sites out there like[…]

CSS – Transparent box with drop shadows

This example only works for FireFox and Chromes. Sorry not for IE 🙁 #page-wrap { background: rgba(255, 147, 51, 0.7); -moz-box-shadow: 0 0 20px black;[…]