Batchography – Programming the “Hangman game” using the Batch scripting language!

hangman-1In this blog post, I am going to share with you the high level steps needed to build the Hangman game using the Batch scripting language.

To learn more about how the Hangman is programmed using the Batch scripting language, please refer to Chapter 5 in the Batchography book.

flower separator
batchography-good-res
Get the book from Amazon:

  • the print editionbtn-buy-on-amazon
  • or the e-book editionbtn-buy-on-amazon

flower separator

Continue reading “Batchography – Programming the “Hangman game” using the Batch scripting language!”

3 easy steps to setting up a zero configuration multi-platform web server with NodeJS and local-web-server

In this technical post I am going to illustrate how you can use the simple local-web-server package for NodeJS to start your web server in a few commands.

Let’s get started!

Step 1 – Installation

First, install NodeJS from http://nodejs.org/download/

If you are using Windows, then make sure you download the MSI package because it is so easy to install.

Keep the default options as you’re installing:

image

After installing NodeJS, open an elevated command prompt (i.e: run cmd.exe as Administrator) and type the following command in order to install the local-web-server package:

npm install -g local-web-server

You should see something like this:

image

No errors imply that the package has been successfully installed! Continue reading “3 easy steps to setting up a zero configuration multi-platform web server with NodeJS and local-web-server”

How to turn your bookshelf into an e-book library: Digitizing all of your books

digitizing-books-scannedSince I moved to the US, I collected around 350 books. I love books and the thought of giving them up is not a pleasant thought.

Each time I used to move from an apartment to another, the majority of boxes would be packed with books. Each time I travel somewhere for a long period, I miss being able to grab a book from my bookshelf and start reading (most of my books are old and they do no exist in digital format anyway). It is clear that I have attachment to those books.

To break this attachment, I had to make a couple of decisions. The first was whether to just forget about the books, leave them on the shelves and get myself busy with another chore. The other decision was whether to scan and /or give away the books. With that came other questions like how to scan books and convert them to eBooks, what methods to use, how much efforts would it take to convert the books, etc.

I decided to get rid of the books and the trim down on the space they occupy. For the reasons outlined later in this blog post, I chose to destructively scan my books. By scanning the books, I get a digital and searchable copy of my books (in PDF format).

In this blog post, I will share with you different ways you can use to digitize books and then the remainder of this blog post will illustrate how I destructively digitized all of my books and what tools I used. Continue reading “How to turn your bookshelf into an e-book library: Digitizing all of your books”

The 8 methods of teaching – By Sri Aurobindo

biography-of-sri-aurobindo-method-of-teaching

Sri Aurobindo was an Indian nationalist, philosopher, yogi, guru, and poet. Aurobindo studied for the Indian Civil Service at King’s College, Cambridge, England. After returning to India he took up various civil service works under the maharaja of the princely state of Baroda and began to involve himself in politics. He was imprisoned by the British for writing articles against British rule in India. He was released when no evidence was provided. During his stay in the jail he had mystical and spiritual experiences, after which he moved to Pondicherry, leaving politics for spiritual work. — Wikipedia

In this article, I am going to discuss my thoughts about his teaching methods and how much they resonate with my own teaching methods. Continue reading “The 8 methods of teaching – By Sri Aurobindo”