Category: Tricks n Techniques

  • How to Create Icon (.ico) File from Png File Using Paint.Net?

    If you are creating a new Windows application, you need to create an icon file with .ico extension. If you are using Visual Studio, it is really difficult to create icon file. Here is an easy way to create icon file from your logo png file. Prerequisites How to Install IconCur Plugin You may get…


  • How to Set Default Reminder of 15 Minutes in Thunderbird?

    Recently I switched from Outlook to Thunderbird to manager multiple email accounts and events. So far I did not face any issue with Thunderbird. Most of the functionality available in Outlook are also available in Thunderbird so I don’t miss Outlook. But when I started creating events, I had to manually select Reminder value to…


  • How to Remove Mail Server From Spamhaus Blacklist?

    Spamhaus IP Address Blacklist Removal Process

    I have been using Digital Ocean for hosting couple of Websites from past couple of years. I am using a dedicated droplet as a mail server which hosts emails for all the domains. One day Gmail started bouncing emails from my mail server. I found out that Gmail is using Spamhaus blacklist to block emails…

  • Software Developer Career Day Presentation for Elementary School

    Last year I participated in a Career Day at school to show what Software Developer is and what they do. I created PowerPoint to make it interesting for the 1st grade kids. Presentation ended with an interactive programming session in which kids programmed a dumb robot i.e. me to complete a task of throwing a…


  • CsvHelper – Cannot write to a closed TextWriter.

    If you are using CsvHelper and get the error “Cannot write to a closed TextWriter”, here is a solution. You are trying to reuse the same underlying stream to write using CsvWriter Instead, you don’t want to close the underlying stream so change your code to “true” parameter will leave the underlying stream open.


  • CPPAN – You have spaces in the storage directory path

    I am using space in my username and when I tried to use CPPAN, it showed following error. Searching online did not yield any result and gradually found this link ( which shows how to change storage directory path. All you have to do is open “C:\Users\[USER NAME]\.cppan\cppan.yml” and change the “storage_dir” value to your…


  • How to copy big file to hundrededs of computers and verify its integrity

    If you have a big file that you want to send to hundreds of computers, you may use copy or xcopy commands but in certain scenario, it may not work. For example, on slow internet, when you start copying the file and for whatsoever reason the copy fails, the (corrupted) file with exact size still…


  • Commands for Using Standalone 7-zip to Split and Combine Zip File

    What is Standalone 7-zip? It is a single executable that can be used to zip and unzip files without installing 7-zip on a machine. How to Get Standalone 7-zip? Visit the page and download “7-Zip Extra: standalone console version, 7z DLL, Plugin for Far Manager” Command to Create a Zip and Split it Based…


  • Simple Trick to Replace Multiple Spaces With Single Tab Character

    If you have data with multiple space characters and you wish you could replace all the multiple spaces with tab characters (I bet you want to paste it into Excel), here is a quick trick – Use RegEx in Notepad++.


  • Task Scheduler The operator or administrator has refused the request

    I have a scheduled task on my Windows 10 machine and some days I observed that it did not run. Once it missed the run, it would not run forever till I manually kick off the job again. On internet, I could not find the answer so after trial and error, I found that the…