Category Archives: Tricks n Techniques

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 […]

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 […]

CKEditor 4 Custom Plugin Development Tips for PRO

I am developing a complex CKEditor plugin for typing in 23 Indian languages based on my PramukhIME JavaScript Library. If you are developing a complex plugin, CKEditor documentation is of little help. Here are some tips on what to do when you need certain features About PramukhIME JavaScript Library PramukhIME JavaScript Library is a highly […]

Prevent form submission while opening bootstrap modal dialog

Bootstrap makes it easy to open the modal dialog upon the button click. HTML code will automatically take care of lots of modal dialog activity behind the scene. I encountered a strange situation where the same code would work in the HTML page but not in the aspx page. The issue is, if I click […]