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”

Landmarks, Museums, Parks, Markets, and other recreational sites

This article contains a collection of various landmarks, museums, parks, markets and other recreational sites that have been featured in this blog:

Cities

Museums

Places

Batchography: How to check if your Batch file script is running as an Administrator

In chapter 4 of the Batchography book, I illustrate 3 methods that you can use to check if your Batch file script is running as an Administrator.

In this blog post, I will share with you the method entitled “Using known commands that fail to run without elevated privileges” from the book.

The idea behind this method is to run commands that are known to fail and return a non-zero error code if they are not executed with administrative privilege.

The Batch script would then check the return code and act accordingly:

@echo off


:: 
:: The Batchography book by Elias Bachaalany
::


net session >nul 2>&1

if %errorlevel% neq 0 (
  echo Requires administrative privilege.
  goto :eof
)

echo Script starts here...

flower separator
batchography-good-resDo you want to master Batch Files programming?

Look no further, the Batchography is the right book for you.

Available in print or e-book editions from Amazon.com!

 

flower separatorYou might also like:

Technical cheat sheets

This article is compilation of the various blog posts that contain a set of steps, table of hotkeys and shortcuts and/or other quick information for reference purposes.
cheat sheet
The list below will be updated when new relevant articles are posted in this blog:

Stay tuned!

flower separatorYou might also like:

Seven Golden Keys for Good Health – an advice from Dr. Shinya

fruit-basketI ran into the following article when researching the topic of Kangen Water.

The contents of this blog post has been compiled from excerpts from the “The Enzyme Factor Paperback – April 1, 2010 by Hiromi Shinya MD” book.

I find this article very useful, therefore I am sharing with you slightly modified version of it. It will contain 7 important diet and mental attitude tips to inspire you to have good health and longer life.

Make sure you check the other recommended articles.

flower separator

1. GOOD DIET

You should be consuming 85-90% plant based foods and 10-15% animal based food and proteins.

Plant-based foods

Eat a 85-90% plant-based foods:

  • Eat 50% whole grains, brown rice, whole wheat pasta, barley, cereals, whole grain bread & beans including soybeans, kidney beans, garbanzo beans, lentils, pinto beans, pigeon peas, black, white & pink beans.
  • Eat 30% green and yellow vegetables and root vegetables, including potatoes, carrots, yams and beets and sea vegetables.
  • With the remaining 5-10%, eat fruits, seeds & nuts.

Continue reading “Seven Golden Keys for Good Health – an advice from Dr. Shinya”

Batchography: Changing the MAC address on Windows – A free Batch script

batchography-good-resIn a previous post entitled “How to get unlimited free Internet at Airports“, I showed you how to circumvent the time limit imposed by the “free” Wi-Fi connections in certain airports.

For that trick to work, you were required to update the MAC address of your computer each time the free time is over.

In this blog post, I am going to share with you the ChangeMACAddressBatch script that I wrote with the help and instructions from the excellent Batchography book.

The script makes use of various recipes illustrated in the Batchography book (in Chapter 4) and uses the various Batch scripting language syntax (Chapters 1 and 2) and methodologies (Chapter 3). Therefore, I will not be explaining the script’s contents or how it works because it will become evident if you read the Batchography book.

flower separator

Get the book from Amazon:

  • Paperback editionbtn-buy-on-amazon
  • E-book editionbtn-buy-on-amazon

flower separator

How to use the script interactively

To begin with, you need to run the script with administrative privileges.

Running the script as an administrator


On Windows 8 and above, just press Win+X and choose “Command Prompt (Admin)” like this:

chg-mac-run-elevated-command-prompt

Otherwise, if you are using the Windows Explorer window, then right-click on your script and choose “Run as Administrator”:

chg-mac-run-as-admin

Starting the script

When you first run the script, you will be presented with the main menu that will show you a list of all the adapters you have on your system.

On my laptop for instance, I have 4 adapters:

  • An Ethernet adapter
  • 2 x VMWare virtual adapters
  • A Wi-Fi adapter

Using the keyboard, type the adapter number that you want to inspect and/or change its MAC address:

chg-mac-main-menu

Let’s press “4” in this case and go inside that adapter’s information screen. Continue reading “Batchography: Changing the MAC address on Windows – A free Batch script”

Dream – Death and Reincarnation

A few month back, I had the following dream:

I was driving my car and I suddenly lost control of it and it strayed from the right all the way to the left and hit another men’s four wheeler. The other driver was not harmed but became so enraged. He stepped out of his car, shot and killed me. My body was dead but I was still able to see what’s happening around me. I was like a ghost or spirit. I could roam anywhere I want and fly.

Continue reading “Dream – Death and Reincarnation”

Keyboard shortcuts for working in a remote desktop Windows Machine from your MacBook

macos-rdp-1In this blog post, I am going to share with you how to get the missing keyboard keys that let you work in MS Windows via the remote desktop client under Mac OS X with the MacBook’s keyboard.

What is important to know is that when using a MacBook’s keyboard, you don’t have all the keys that you usually have on a PC keyboard.

Essentially, you are missing the following keys:

  • HOME / END.
  • DEL key. This is different from the MacBook’s “Delete” key (which is equivalent to the “Backspace” key).
  • INS Key.
  • Page Up / Page Down.
  • The “Windows” key.

Continue reading “Keyboard shortcuts for working in a remote desktop Windows Machine from your MacBook”