Posts Tagged tricks
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 PostTurn 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 PostUse Spotlight as calculator
This is a quick, short but nifty trick in OS X. When I shifted from Windows / Linux to MAC, I used calculator the old way. Open the calculator first and then punch in the values to get results. Probably Spotlight thought a better way out and said why punch the arithmetic equations in some other util
Read Full PostWordPress : 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 PostOS X LION: How to change Launchpad’s background color
With OS X Lion comes the great Launchpad which allows you to launch applications with just one click. And hence changing it's background should also be straight forward. It does not actually changes the background, but instead changes "effects" of the current background image or desktop's wallpaper.
Read Full PostApple : 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 PostWordPress : 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 PostWordPress : Display content to registered users only
During WordPress theme, or plugin development there are times when you want to show certain page’s content based upon the user. For instance, you want to display a download link to only registered users and display a Register link to un-registered or new users. So we are going to discuss a way thr
Read Full PostAdd 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 PostHow 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 PostWordPress wp_nav_menu separator and First Last Classes
wp_nav_menu is a wordpress built-in plugin that allows you to show navigation in the front-end. This simple function picks the menu defined in the wp-admin dashboard and displays it as the list. Just like other wordpress functions this is also powerful. It takes various parameters to customize the o
Read Full PostHow to reset lost MySQL password
There are times when you get stuck with a lost password of MySQL database. And yes it becomes difficult to recall one with the computerized brains of ours :) In this post, I am going to show you how you can rest a lost MySQL password. Using this procedure you can reset the lost password of root o
Read Full PostChange your crontab editor
Lately I have been messing around with cron jobs and apparently I used this utility called crontab. But on various servers I found that crontab opens the file in different editors. Some use pico, while others use nano. However, since I am comfortable using vi editor , so I found a way to make the
Read Full PostHow to install themes for Google talk (gtalk)
Google Talk looks very old school these days. It’s been there for a while but I do not know for some reason Google ignores it like it’s step son. I say so because there are not many updates for Google talk, and its not capable of many thing which you can do from within Gmail. Probably, Google th
Read Full PostReally Hidden Windows 7 Tricks! Part 2
This Post is Part of Series [FIRST ONE] ——————.1.—————— Restore Previous Folder Windows at Login: Usually, after software updates or virus scans, users HAVE TO Log-off or (worst) Restart the computer. If you do not want to lose your Opened Windows after the reboo
Read Full Post