­
  • The Art of Debugging

The Art Of Debugging

To successfully exterminate a bug the first thing you want to do is find the root cause. Do not look at code. It’s compulsory to understand the problem else you will make no progress.  Take a step back, maybe a few steps if needed, and look at the problem from a birds eye view.  An eagle’s eye would be preferable ....read more

  • How to install NodeJS on MAC

How To Install Typescript On Mac

Installing Typescript on a Mac is very simple just follow the steps below: You need to have NodeJS installed on your mac.  Go to the NodeJS website and install the current version. To varify that your installation was successfull, go into your console and enter the following command:       node -v We need "npm" to install Typescript which ....read more

  • website2

How To Download Entire Website On Mac

There are a lot of web tools on the web to help you download a website such as Httrack but with a little bit of effort you can easily achieve this by simply executing one line of code via your command line.  So lets get right to it shall we.... Install Xcode on your Mac. Install the commad line tools for Xcode. Open ....read more

  • Facebook_Logo

Increase Facebook page app width and height

I recently worked on a project which involved creating a Facebook app using the new Timeline theme for pages. If you need to customize the width and height of the canvas of your Facebook application then add the the following lines of code: -Include the Facebook JS library in your app <script src="https://connect.facebook.net/en_US/all.js"></script> -Add this to your HTML body tag ....read more

  • wordpress-tags

WordPress Popular Tags

Here is a quick way to list/display the most popular tags. The code should be self explanatory, the function "get_tags" is used to get all the tags along with some custom arguments that you can provide to it to get the most popular tags. <?php     $args['orderby'] = 'count';     $args['number'] = '11';//number of tags we want to fetch    ....read more

  • mamp

Setup Virtual Host On MAMP

Setting up a virtual host on your MAMP server is not difficult. 1. Go into the Apache folder and update the httpd.conf file (/Applications/MAMP/conf/apache/httpd.conf). Don't forget to make a backup of the httpd.conf file before editing it. 2. Look for the following line of code (Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf) and uncomment it as indicated below, don't forget to make a backup: # ....read more