Guides in Photoshop allows you to place images and elements precisely. Guides are nothing but non printable horizontal and vertical lines. Photoshop allows you to have as many as horizontal and vertical guides you want. Photoshop also allows you to move and remove guides. Here is how you can play with those guides!
Continue reading Adding Guides In Photoshop: One Second Tip
Displaying Posts From A Category In WordPress
It may happen that you are designing some sort of archive page or a front page and you want to list all posts belonging to a specific category. In this case you can use WP_Query (or the simpler get_posts() helper) to pull in exactly the posts you need.
Continue reading Displaying Posts From A Category In WordPress
Capture & Share Screenshots Easily With Dropbox
Dropbox allows you to take screenshot and share it right from your Dropbox account easily. Just like print screen button that you have used in old days to take screenshot, Dropbox app has a special combination of buttons to take screenshot of your PC.
Continue reading Capture & Share Screenshots Easily With Dropbox
Turning Facebook Profile Pics Into Emoticons
[[username]] trick below. That standalone Chat sidebar is long gone now that chat lives entirely in Messenger, so there’s no way to reproduce this on today’s Facebook. Keeping this post up for nostalgia.
Did you know, you can use profile pics as emoticons in your Facebook chat? No… then here is how to use them.
Continue reading Turning Facebook Profile Pics Into Emoticons
Git: Delete Last Commit
Everyone who’s used Git for long enough has committed something they didn’t mean to — a debug print left in, a config file with the wrong values, a commit message that’s just “wip.” The fix depends entirely on one question: has that commit been pushed anywhere yet? This post walks through both cases. It’s the twelfth post in this site’s Git command guide, following Git Log.
Continue reading Git: Delete Last CommitWorking With wp_register_script()
WordPress lets you register your own script files with your theme or plugin instead of hardcoding a <script> tag into your header or footer. The traditional approach loads scripts unconditionally on every page, whether they’re needed or not, and gives WordPress no way to manage load order or avoid duplicate copies of the same library. Registering scripts with wp_register_script() (and loading them with wp_enqueue_script()) lets WordPress handle dependencies, versioning, and placement for you, which keeps your site faster and your script loading predictable.
So how do you register a script?
Use the following syntax to register a script. This is typically called inside a function hooked to wp_enqueue_scripts (more on that below).
wp_register_script( $handle, $src, $deps, $ver, $in_footer );
Continue reading Working With wp_register_script() Switching On Inbox Tabs In Gmail
If you are having lots of mail in your mailbox then it is harder to find a particular mail. If you are receiving 20+ mails daily then you might need to spend huge time to check which messages are important and which are not. As the number of mails increases, complexity also increases. Of-course Gmail have tried each and every way to make your mailbox more and more manageable. Gmail introduced labels along with folders. You can use labels to categorize messages. But still working with label is not so simple and not that much complex. A few days ago Gmail developer found a new way to manage growing inbox and they named it as “Inbox Tabs“.

What are those tabs?
Gmail inbox tabs are somewhat similar to tabs in your browser. Gmail by default provides 5 tabs viz Primary, Social, Promotions, Updates and Forums. Since this is newest feature introduced by Google, still you cannot have custom tabs. Whenever a new email arrives to your inbox Gmail automatically detects the sender, classifies it and place it in appropriate tab. So you will find all your generic and primary communications in ‘Primary’ tab, social emails (which arrives from Google+ and Facebook) in ‘Social’ tab. Even there are dedicated tabs for promotions, updates and forum emails.
Continue reading Switching On Inbox Tabs In Gmail