Showing posts from 2013

How to create a self signed SSL certificate and how to use it with your web Server.

SSL certificate is the foremost important aspect of any website. If your website is running without the SSL, the modern browsers will stop the users from entering the website. Of course, there are ways to bypass that, at your own risk. As long as your website has no commercial data exchange, sensitive user information, etc, you are still good to run a website without a proper SSL certificate. For example, a blog can run without an SSL.  Note that Google AdSense accepts websites without SSL.  But the topic of this post is about Self Signed SSL certificate. How to create one, how to use it, and where to use it.  Let us see where to use it. For any website which is used for internal purposes, it's always a good idea to use Self Signed SSL, instead of paying for a real SSL certificate. Internal I mean, within a company, team, or for personal uses, for testing purposes, etc.  Now, let us see how to create a self-signed SSL certificate.  What you need A Linux machine.  OpenSSL utility  A

MS Excel currency converter - Number to words Latest version

MS Excel currency converter 3.0 has been updated with bug fixes. This is the new version of my amazing currency converter VBA utility for MS Excel. The macro will convert the currency number which is in number to text. For example, Rs. 14,250 is a common standard to represent the money of Indian Rupees Fourteen Thousand, Two Hundred and Fifty. This VBA code takes the input as 14250 and prints as 'Fourteen Thousand, Two Hundred and Fifty'. It can be used in writing cheques, generating financial reports, MIS reports, and other accounting purposes. If you are familiar with accounting software such as Tally, you will know that the current number is converted into text. But this feature is not available in MS Excel. The earlier version had few bugs which were reported by the users. I have fixed them in this version.  Below is the list of bugs fixed 1. For 1000 and 100000 it was resulting in a null string. Now it has been fixed. You can download the VBA module here. After downlo

Excel VBA macro to swap 2 values in cells

It is very useful sometimes to have a shortcut to swap 2 cell values. I have created a macro in VBA to do this. Just copy paste the code below in your VBA module. This video will help you with the procedure VBA Code ------------- Sub Swap2Values()     Dim Value1 As Range, Value2 As Range     Dim TempValue1 As String, TempValue2 As String     If Selection.Cells.Count > 2 Or Selection.Cells.Count < 2 Then         MsgBox "Please select only 2 cells. For other options check back soon!"         End     End If       If Selection.Areas.Count > 1 Then         Set Value1 = Selection.Areas(1).Cells(1, 1)         Set Value2 = Selection.Areas(2).Cells(1, 1)     ElseIf Selection.Rows.Count > Selection.Columns.Count Then         Set Value1 = Selection.Range("A1")         Set Value2 = Selection.Range("A2")     Else         Set Value1 = Selection.Range("A1")         Set Value2 = Selection.Range("B1")     End If    

Connecting Bluetooth headset with laptop - Bluetooth A2DP

A normal phone Bluetooth headset can be easily connected to a laptop and it can be used as earphones or headphones while using skype, gtalk, WhatsApp, or any other voice chat services or of course to listen to your favorite music. All you need to do is a Bluetooth device and the Bluetooth driver with the A2DP(Advanced Audio Distribution Profile) profile. Here is the detailed procedure the setup Bluetooth device with your laptop. Download the A2DP Bluetooth driver from the link provided below. Extract the zip file 'Bluetooth A2DP Driver For'. Go inside the folder 'Bluetooth A2DP Driver For Windows', double-click on the installer file 'anyone-Bluetooth-usb2x0-WindowsXP-v2-1-0-4.exe'. Follow the onscreen instruction to complete the installation.  Once the A2DP driver is installed successfully, Switch on the Bluetooth in the Laptop and Headset. Look for the Bluetooth device the list of available Bluetooth devices. If it is not visible yet, select Add