Dipak's Blog

How to Remove Ads in Skype On Windows

Posted by in Operating System, Windows

When using Skype the other day I noticed a new ad placement that hadn’t been there before. Of course I found it annoying and wanted to get rid of it. Here’s how to get rid of that top banner ad in Skype by following some simple steps. For Skype 7.x Only : Step 1: Head to the Control Panel and click on Internet Options. This settings area may be hidden under Network and Sharing Center if you don’t see a direct shortcut for it. Step 2: Click on the Security…read more


Delete Orphaned Meta Data in WordPress

Posted by in Programming, WordPress

Delete Post Meta Data Sometimes while developing a new plugin you have to do lots of database work including creating posts, editing posts, and deleting posts. All of these actions affect the post meta data table and if you aren’t careful with how to manage the post meta data you’ll have thousands and thousands of rows of data. By deleting orphaned post meta data (meta data belonging to posts which no longer exist) you immediately remove thousands of records that weren’t doing anything.

Delete User Meta Data

Source…read more


How To Add Custom Rewrite Rules In WordPress

Posted by in PHP, WordPress

WordPress rewrite API used to convert URLs from something programmatically convenient to something user and search engine friendly. This article will give you some background information about WordPress URL rewriting principles and API. What Is Rewriting? URL rewriting is when you change what content is displayed by the server, normally when you type in a URL the web server will simply search for any files in that location. But with rewriting you can still show the same URL but in the back-end change where the server will look for the…read more


Disable Update WordPress nags with Plugin’s and Theme’s Update Notifications

Posted by in PHP, WordPress

1. To Disable Update WordPress nag : Insert the following code to the functions.php file of your active theme. It will remove the WordPress update nag e.g. WordPress 3.9.1 is available! Please update now, from the all users dashboard, admin dashboard & from Updates page as well.

2. To Disable Plugin Update Notifications : Insert the following code to the functions.php file of your active theme. It will remove the update notifications of all the installed plugins.

3. To Disable all the Nags & Notifications : Insert the…read more


Test Credit Card Account Numbers

Posted by in Tips & Tricks

Credit card numbers are not random. They can be checked by a mathematical formula for validity. Each kind of credit card uses a slightly different rule. This sample form checks credit cards for validity, so you must enter a valid credit card number. While testing, only use the credit card numbers listed here. Other numbers produce an error. Expiration Date must be a valid date in the future (use the mmyy format). Test Credit Card Account Numbers Credit Card Type Credit Card Number American Express 378282246310005 American Express 371449635398431 American Express Corporate…read more


Valid US Address for Developer Testing.

Posted by in Tips & Tricks

Many street addresses include a direction (e.g. E = EAST):

An example with the optional latter 4 digits of the zip code:

With an apartment/suite/etc. number (which many addresses don’t have):

If you don’t have room for the apartment/suite/etc. number on the street address line:

Many different terms for street type, or abbreviations for them, might follow the street name.

“PO Box” and “POB” are two valid ways of saying “Post Office Box.”

Some variants exist. In certain regions, some addresses have a direction after the…read more


How To Set Up Apache Virtual Host on Ubuntu

Posted by in Apache, Ubuntu

Prerequisites Before you begin this tutorial, you need to have Apache installed in order to work through these steps. If you haven’t already done so, you can get Apache installed on your server through apt-get:

After these steps are complete, we can get started. For the purposes of this guide, my configuration will make a virtual host for example.com. This will be referenced throughout the guide, but you should substitute your own domains or values while following along. I will show how to edit your local hosts file later…read more


Remove WordPress SEO columns from post table

Posted by in PHP, WordPress

The WordPress SEO plugin by Yoast is very popular, and for a good reason. It uses solid methodology, and is easy enough for folks to use who may not have a solid background in SEO. That being said, there is a *lot* of data to be displayed. On the post editor, it’s not a big deal, as it’s contained in a metabox and can be minimized easily. But on the post table, it can crowd out other information, especially if you have other data being displayed in the post column….read more