Technical

Save SSL Certificate to .CER file

If ever you wanted to save an SSL certificate to a file:

  1. Navigate to the secure website in your browser
  2. Double Click on the lock to view the certificate
  3. Click on Install Certificate, Click Next
  4. Check “Place all certificates in the following store”
  5. Choose one of the stores
  6. Run through the rest of the screens
  7. Navigate to Start -> Run -> certmgr.msc
  8. Goto the store selected in step 5
  9. Right click on the certificate, select All Tasks -> Export

Hope it helps

Uncategorized

SnagIt to WordPress.com

This is cool.. I love SnagIt from TechSmith. And I love WordPress as well. TechSmith has an output plugin for SnagIt that directly posts to WordPress. Saves you a lot of hassle. You can align the image, some basic formatting and you can also choose to post as a draft, not publishing it directly. You can try out a copy of SnagIt from:http://www.techsmith.com/screen-capture.aspAnd the Output Plugin here:http://download.techsmith.com/snagit/outputs/enu/typepad.snagaccP.S: This entire post is from the plugin. I am loving it 🙂

.net, Code, Microsoft, Technical, Visual Studio

LIFO and FIFO (Stack and Queue)

Well, I was working on one of the projects which required the use of the FIFO and LIFO data structures. Since the project was based on .NET, I had no trouble at all implementing the same.

The System.Collections namespace provides us with the classes required to implement FIFO and LIFO.

Declare the queue:
Queue myQ = new Queue(5);
To add an item:
myQ.Enqueue(“myItem”);
To remove an item:
myQ.Dequeue();

For LIFO:
Declare the Stack:
Stack myStack = new Stack(5);
To add an item:
myStack.Push(“myItem”);
To remove an item:
myStack.Pop();

Gone are the days where one has to write the entire code to implement these oft used operations.