Posts Tagged tricks
Increase logout or session time in phpmyadmin
What can be more annoying than logging repeatedly into phpmyadmin while you are working on a project. So in this post I am going to discuss how you can increase the logout time for phpmyadmin. The default session storage method is via cookies, hence we need to increase the logout time set inside the
Read Full PostHow to : Create a new WordPress user using PHP function
It's pretty easy to manage users in WordPress when you are logged into WordPress Dashboard as an Administrator. But what if you want to create a user via a PHP function ? The method which we are going to discuss is useful when you are creating a plugin or if you want to create a user by simply execu
Read Full PostHow to: Remove /category/ from your WordPress url
WordPress has awesome way to handle it's URLs with the name called Permalinks. It gives flexibility play around with almost everything in the URLs. Apparently, you can change the category and tag base from your WordPress Dashboard settings page. You can specify a string to replace the default "Categ
Read Full PostSpell check your documents from Command line in Linux
I know lot of people think that Unix/Linux has very less functionality, but the fact is Unix/Linux has all the functionality in it's core. It won't be wrong, if I say that other Operating Systems have copied some awesome stuff from Linux. Today we are going to see how you can spell-check a document
Read Full PostShow twitter like X days ago in WordPress for time
Have you fantasized of showing twitter like time on your blog, like posted 2 days ago ? I am sure after twitter showing this kind of time every web application wanted to show the same. WordPress introduced this long back(since v 1.5.0) but is used by very less people in the blogging community. I am
Read Full PostMac OS X: 2 ways to lock screen without any app
There are many blog posts on Internet which discuss about Locking screen of your Mac. Some discuss using Automator while other just ask you to install a 3rd party App, paid or free. However, there are two quick ways using which you can lock screen with just 2 clicks or even without a click of the tr
Read Full PostCut & Paste in Mac OS X Lion
Mac Os X never had an option to "cut" files within the finder and everyone kind of missed it, especially the windows users. But Apple has include this option in Lion OS X. Many of you all have already discovered it and are using it. So let's see how can you cut & paste in Mac OS X. You can si
Read Full Post1and1.com error “300 Multiple Choices”
Lately I bought hosting from 1and1.com since Dreamhost has been having lot of downtime. In short, experience with 1and1.com has been an awkward till date and I have already requested them to cancel my account under there refund policy. However,while writing .htaccess rules I faced many issues. On
Read Full PostSet the User Agent With PHP cURL
cURL is a sleek way to grab contents from a URL. It's helpful in PHP where servers have banned using the function file_get_contents() . A while back I had shared a post which show on how to grab the contents of a URL using cURL. However, cURL is much more than just grabbing data. It can be used to m
Read Full PostPNG Transparency with ImageMagick
I am sure it took you long to figure it out as to how do we change the Transparency of PNG images using ImageMagick. Same was the case with me and that is why I decided to write a post for the same. As you might be aware, ImageMagick is really awesome tool for image manipulation. It performs Imag
Read Full PostMS Windows slow as snail,optimize in few clicks
As we all know any version of Windows is prone to junk accumulation. Redundant registry entries, junk files, slowly start choking your once super-fast PC & you start to feel that various programs are starting to feel sluggish. Sure there are many programs which claim that they ca
Read Full PostShow 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 Post