Visiting the BAPS Shri Swaminarayan Mandir in Chino Hills, SoCal
Ever wondered how levitation tricks work?
Traditional Chinese Music Performance at the Santa Monica Pier
Hollywood Wax Museum
Quotes for the last Sunday of August 2018
- It is not important if you are walking slowly, but it is important to walk on the right road
- To succeed, your will for success should be stronger than your fear of failure
- Be like a comma. If you miss it, just put it and move forward towards your goal. Don’t be like a dot and end your dreams on first obstacle.
- You pray only when in need and hardship. It is much better to pray when happy and at ease. If you get to know your God in good times, he gets to know you in your bad times.
- War is bad, but what is worth than that are those who profit from war without even participating in it.
- Search for gold in the dirt under your feet, in the leftovers that you throw away, in the needs of others and try to provide for them.
Do not envy those who excelled and attained a better life because they worked hard to reach that point. There is plenty for everyone that work as hard. Do not stand still and do nothing. - The ignorant stands the first in life so other people can see him, but the learned stands in the back so he can see the people
- A donkey will never learn how to swim until water reach his ears
- He who disobeys his parents will not see good treatments from his children
- Do not talk alot about yourself and private life among your acquaintences, instead let them talk about their own life
- Be careful not to talk about the faults of others, even if they are at fault, instead be general and say that everyone can make mistakes and be at fault
- You can ask for a lot of things from others except for respect, that you have to earn
- He who does his work with love and passion will make it hard for sadness to creep into his life
- If you had lunch, then sleep on it. If you had dinner, then make sure you walk 40 steps at least
- Among friendships, there are two kinds that you should avoid the most.
The first kind is those who love and stay with you when your pocket is full and they turn against you when your pocket becomes empty.The other kind is those who flatter you in your presence, but curse you when you turn your back. - One day, the philosopher told the garbage collector: I pitty you because your work is disgusting and dirty
The garbage collector (gc) replied: Thank you sir, but tell me, what is your profession?
The philosopher replied: I study the manners and characters of people, I research their work and obstacles
The garbage collector laughed and replied: Oh poor man, oh poor man. - The more lazy you are the more frustrated you become. Frustration comes from failure and lazyness.
- Forgive your enemies…however do not ever forget their names
You might also like:
WordPress’ Gutenberg Editor
Of Mountains & Printing Presses
The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of pieces of content—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you’ll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.
What you are reading now is a text block, the most basic block of all. The text block has its own controls to be moved freely around the post…
… like this one, which is right aligned.
Headings are separate blocks as well, which helps with the outline and organization of your content.
A Picture is worth a Thousand Words
Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you’ll find aspects of adding captions or going full-width with your pictures much easier and robust than before.
Try selecting and removing or editing the caption, now you don’t have to be careful about selecting the image or other text by mistake and ruining the presentation. Continue reading “WordPress’ Gutenberg Editor”
Cool optical illusion trick: The 12 black dots
Brushing the cat!
Being a good parent ;)
Dangerous future with deadly drones – will this really happen?
Which Programming Language should you learn first? – Fun chart
Stop…eating animals: a traffic sign
How to enable DirectPlay in Windows 10 in 4 easy steps!
Want to get back on your feet? Miss two car payments!
Batchography: Parsing INI files from a Batch file
Often times you might want to write Batch file scripts to automate system administration tasks, and in addition to that you might want to pass configuration files to your Batch scripts.
This article, inspired by the Batchography book, shows you how to parse INI files and retrieve values from a given section and key.
Quick background
An INI file (or initialization file) is a text file that has the following format:
; comment [section_name1] Key1Name=Value1 . . . [section_name2] Key1Name=Value1 Key2Name=Value2 . . .
In the MS Windows operating system, a C/C++ programmer can read/write values from the INI files using the following APIs:
But can we do the same using Batch files?
Yes and in the next section, we show you how to read values from the INI file. Continue reading “Batchography: Parsing INI files from a Batch file”