[HOWTO] [UPDATED] Add Widgets to Notepad-Chaos WordPress Theme


UPDATE: As wordpress does not show characters correctly, the codes below may not work. So please do copy the codes from this file I have uploaded. Please read the post as well as the instructions included in the file. You may need to use WinRAR or 7zip to extract the file if you are running Windows.

The theme I’m using in this blog is widget unaware Notepad-Chaos theme. However, I have managed to allow it to add widgets. Continue reading [HOWTO] [UPDATED] Add Widgets to Notepad-Chaos WordPress Theme

I moved to Linux because Windows does not support my Hardware

[ad#ad-1] Back in the days of 2005, I did not use Linux because it did not support my cheap PCTEL HSP56 Dial-up modem. Now, I do not use Windows Vista because it does not support my cheap Telson Electronics CDMA 1x USB Wireless Modem. Sorry for my poor choice of internet (both in 2005 and now) because I live in rural area of Nepal and we don’t have a choice. Continue reading I moved to Linux because Windows does not support my Hardware

[HOWTO] Save Screenshots in Ubuntu Automatically when PrintScreen key is pressed

[ad#ad-1] When you press the PrintScreen key in Ubuntu, you will see a gnome-screenshot dialog box with options to save the image or Copy it to clipboard. This function is great unless of course, you mistakenly press the key several times day which is really irritating. How about silently saving the image to some predefined location rather than popping up the dialog?
Continue reading [HOWTO] Save Screenshots in Ubuntu Automatically when PrintScreen key is pressed

Turbo C++ IDE – Running on Linux, Windows Vista, Windows 7 or Mac OS

Please look at the alternatives for Turbo C++ IDE before reading this post. Continue reading it only if you want to use BGI graphics (consider Allegro Gaming Library if you want an easy to use Graphics solution for C\C++) or for code compatibility with your Textbook. You might consider changing your textbook if your School/College/University allows for new code. Continue only if you have no other option than using the DOS based Turbo C++ 3.0.

You will want to follow the tutorial if you plan to use Linux, Mac OS, Windows Vista or Windows 7 but have to use Turbo C++ in full screen environment so you are stuck with Windows XP or older version of Windows.
Installtion Of Dosbox
Dosbox is an x86 emulator with dos. It is available for Linux, Windows and Mac. It can be used to run legacy DOS applications and Games. We will use to run Turbo C++.

Dosbox may be present in the repository if you use Linux. Use your package manager to install dosbox.

Windows and Mac installers/binaries can be found in the official website.

One-Time Setup
Place the installed Turbo C++ or Turbo C++ Setup in a folder. You might want this folder to mount as drive inside the dosbox. For that find the dosbox.conf file and add appropriate lines in the [autoexec] section. For example, if you want to mount a directory c:\MyDosFiles as c:, then you must write the following in the dosbox based on your OS. For Windows (Vista or 7) you will need to add the following lines:
mount c c:\MyDosFiles
In Linux and Mac, if the directory is in /home/username, it will be something like:
mount c /home/username/MyDosFiles

If you just plan to use Turbo C, you might as well launch the Turbo C++ IDE each time you start dosbox by adding folowing extra lines in dosbox.
cd tc

Also, you might want to add
fullscreen = true
at the top of the dosbox.conf file to start it in full screen.

Now, you can Launch dosbox and enjoy.

To quit, you will need to quit the IDE and type in exit at the prompt.

Hope this helps. Please post back comments and feedback. Also share if you get stuck somewhere.