Sunday, 21st April, 2019

Shoe Dog

Shoe DogRead this autobiography of Nike’s creator Phil Knight.

It was a rather big read at 386 pages so took me a good amount of time to finish.

Gives you an interesting and inspiring look into his life & work.

Thursday, 11th April, 2019

WordPress HTTP ERROR 500

WordPress Admin did not load after logging in, instead you got that error page? There are several reasons for getting this error, the following could be one of the possible solutions.

Step 1:

Make sure you have WordPress debugging & error logging enabled in your wp-config.php file. Don’t know how to do that? Look for a line WP_DEBUG inside the wp-config.php file and change the false to true. Also add this line define( 'WP_DEBUG_LOG', true ); below it. So they need to look like this:

Step 2:

Now check whether the debug.log file inside your wp-content folder contains a php notice about sidebar similar to below.

[11-Apr-2019 06:19:00 UTC] PHP Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "Social Profiles" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /wp-includes/functions.php on line 4667

If it does then you need to have the line 'id' => 'something' inside your register_sidebar() function right after the 'name' => line in your theme’s functions.php file where you have registered your widgetized areas.

Woah what?

This id is kinda required now, been that way since WP 4.2 I believe. This is not a CSS id, you just use this id [or the name] in the dynamic_sidebar() function to specify which widgetized area you want to display in your theme. So this id can be a number or a word, doesn’t matter, just make sure to have it in your functions.php, the above php notice won’t appear again and you won’t get the 500 error after logging into WP Admin.

Example:

So if this was your theme’s register_sidebar() function BEFORE:

This will be the AFTER:

Thursday, 4th April, 2019

How to get the best shave

(1) Take your shower first. Shampoo, soap, shower gel, scrub, bath salt, charcoal mask, what have you.

(2) DO NOT DRY YOUR FACE.

(3) Shave.

(4) Razor slides off your face like butter on a baby’s bottom.

Thursday, 7th March, 2019

Life lesson 2

Don’t buy bedsheets from shopping malls or big brand names. Most of them are overpriced, terrible pieces of designer cloth unsuitable for comfortable sleeping.

After spending thousands of rupees I have come to the conclusion that their advertisement of 100% cotton is usually false, they are almost always a mix of cotton & some other polyester like material which feels like silk or satin, and annoyingly slides your head off the pillow & your body off the bed while sleeping. The xxx% thread count claim is utter lies, just false details to get you to buy their products.

Always & only buy bedsheets from local handicraft fairs. They are handmade by someone with the hope of earning a livelihood, 100% pure cotton, cheap, perfect texture that you can ‘feel’ over your skin, very comfortable after a wash or two for a good night’s sleep. And you will be supporting local workers directly instead of a corporation. Never buying branded bedsheets / pillow covers again.

Monday, 25th February, 2019

How to increase your HDFC bank credit card limit

If you already have a credit card from HDFC bank then this is for you. Depending upon your spending & repayment history the bank allocates higher limits on your card from time to time.

But to actually avail of that limit upgrade you have to take action from your side. You can either call the customer care to inquire, or you can check in netbanking if you’re eligible for credit limit increment.

Login to netbanking, go to Cards > Credit Cards > Request > Credit Limit Enhancement. Upon selecting your card number you will be presented with either a credit limit that is higher than your current limit if you’re eligible, or a message that you’re currently not eligible.

In case you do have an upgrade available then you just have to request for it & your card’s limit will be enhanced immediately, which you will be able to check in the netbanking credit card section.

In case you’re not eligible for an upgrade right now then there will be a button to get a message when an enhancement is available. Click that & the bank will notify you when it is available.

Either ways, it’s easy to upgrade your credit card’s limit & you should always ask for it even if you don’t spend much. It’s always good to have the highest credit card limit that you can.

Saturday, 23rd February, 2019

Who will cry when you die?

Who Will Cry When You DieAfter more than a decade I have been able to finish reading a book from cover to cover. I think the last proper book I read was Steve Wozniak’s autobiography iWoz back in 2007-08.

I am so glad I chose this particular book because it is small, and it was an easy & fun read.

Hopefully the dry spell is finally over & I’ll be able to read more in the coming days.

Thursday, 7th February, 2019

What exactly is “focus”?

All the inspirational blogs, articles, videos, self help books advise us to focus. But what exactly is that focus?

I think focus is not something that comes naturally or automatically, and does not stay with you forever. You have to get it or bring it manually yourself, on a daily basis, and quite often several times in a day.

For me focus is the act of reminding oneself regularly to work on what is important & ignore the rest. One must do this mental exercise of “bringing focus” everyday, until it becomes a solid habit set in stone.

Tuesday, 22nd January, 2019

How to go to Okada, Manila from SM Mall of Asia

Free bus to Okada from Mall of AsiaThere are free shuttle buses running every 30 minutes that pick you up from SM Mall of Asia [MOA] to Okada casino & resort and drop back at MOA. The drive is approximately 10 minutes.

The bus stop is right in front of Pet Express in Mall of Asia. Look for the purple signboard which also has the timing schedule of the bus both ways.

Even if you don’t want to go into the casino, the visit to Okada is still worth it for the amazing, free 5 minute water + light + sound show that starts at 6 PM every day & runs every hour until 10 PM in the weekdays & until 11 PM in the weekends.

Timing of free bus service from SM Mall of Asia to Okada, Manila

Click to enlarge

Monday, 21st January, 2019

Life lesson 1

Drawstring bags are terrible. The strings go out of balance often & it is frustrating to adjust them. Never buying one again.