Archive for the howto Category

Page 2 of 812345...Last »

Show loading icon in JQuery Ajax request

JQuery is the most used Javascript framework. It's exceptionally simpler and famous. The best part of JQuery is that it has very nicely done documentation and lot many resources available online. Lately, while doing one of my codeigniter I used JQuery and wanted to share a little snippet of code

Read Full Post

Show Facebook username on your page without using API

Facebook 's API is every changing and is a mystery sometimes. Today when I was dealing with one of my client, his requirement was to get User ID (UID) of a user without having to ask for "Access permission" from the user. However, this is NOT possible. Facebook does not allow to grab UID, they treat

Read Full Post

Turn Off Auto Correct in Mac OS X Lion

You might have noticed the "Auto Correct" feature of OS X Lion.  It's really helpful but at times it becomes simply annoying. For example, when I tweet I do not want  my tweets to be auto-corrected. You might want to turn off this feature cause it tries to auto correct tech terms, slang and many o

Read Full Post

mysql.sock path in Mac OS X

In my last post I discuss how to enable PHP over Apache in Mac OS X lion and today I bumped into a new problem. The problem is that when you install MySQL on Mac OS X and try to connect it via PHP, you will get an error. This error is thrown due to the fact that the path of the MySQL sockets are dif

Read Full Post

How to inspect css hover , active property using firebug

I am sure that while Design and Development of a website you definitely want to see the :hover property of an element using your favorite addon in FireFox called Firebug. But I have found that many newbie developers do not know how to see this property. Default settings of firebug shows only the "De

Read Full Post

Enable Apache,PHP in Mac OS X

Mac OS X comes with Apache,PHP pre-installed but is not enabled by default. Just when you get on to your new Mac OS X you definitely want to enable these. The following steps should help you enable PHP over Apache and you can start rolling. Enable PHP module in httpd.conf We first need to enabl

Read Full Post

Enable Save and Quit tabs in Firefox

I am sure when you open FireFox you open as many windows. And imagine if you accidentally quite Firefox ? That's irritating - No ? I know you are smart enough to go to in History menu and Click Restore previous session. But imagine having to fill user username password for certain Web Sites ? And im

Read Full Post

WordPress : Disable / Remove URL field from the comment area

WordPress  allows commenting by default on the blog post or pages you create using WordPress. The comment area constitutes of the Name, Email, URL and Comment. Name and Email fields are mandatory but URL field is options. However, many automated bots try to exploit this feature and post some automa

Read Full Post

Apple : apt-get command for MAC

Heard OS X is more like Linux ? But you might wonder that apt-get does not work by default in MAC OS X. Some folks are in love with apt-get and find it easier to install new applications using apt-get. So in this post I am going to show you how you can make apt-get to work in MAC OS X. To make

Read Full Post

WordPress : Run shortcode in PHP template file

WordPress shortcode is very useful while creating new posts or pages. It is a nifty way to perform certain tasks in the post. For instance, if you want to add a youtube video or image gallery then WordPress shortcodes are quite useful. Many plugins provide their own shortcodes for displaying cert

Read Full Post

Empty WordPress trash automatically

Wordpress has an inbuilt trash system which keeps your posts, pages, comments in trash for 30 days by default. However, WordPress has a way to change this default 30 days time period. We can even disable this feature such that WordPress does not empties the trash automatically. In order to change

Read Full Post

Add default content for a new post in WordPress

Most of the bloggers write the blogs in a certain format or at-least have a common signature or a punch line in every post on their blog. For example in my blog posts I always end the posts with Stay Digified!! Sachin Khosla So what if we can automate that type of text such that it shows up aut

Read Full Post

How to hide all icons from MAC desktop

Every time I download a file or save something on Desktop, I promise myself that it will be soon moved to it's actual location. But in reality I never get a chance to move that file and result a "Cluttered Desktop". It just take 2-3 days to clutter my desktop after I install a new Operating System.

Read Full Post

Cache burst refresh or hard refresh in MAC

When I shifted to MAC lot of things changed. On top of everything the Keyboard changed which in return resulted in change of all the shortcut keys that I used in Windows, Linux using the Windows Keyboard. While development of websites, I often used Ctrl + f5 on Windows/Linux machine to refresh a bro

Read Full Post

Add PHP GD support to apache in Ubuntu Linux

PHP GD library is used to created images on the fly. This library is not installed or activated by default when you first install Apache on Linux. But GD library is used widely while developing websites. For eg. if you want to create a captcha image for a registration form, then you are going to use

Read Full Post

Page 2 of 812345...Last »

Get Adobe Flash playerPlugin by wpburn.com wordpress themes