Sound sleep is one of the best things you can do for your health & mental peace.
My goto solution in case of any difficult situation is sleeping. Fought with someone? Don’t think too much, just go to sleep. You’ll forget more about the incident than you’ll remember after you wake up.
Struck at a programming task? Sleep. Ways to solve the issue will automatically come to your brain after.
Trying to decide something, confused & need to arrive at a conclusion? Sleep over it, you’ll be able to take a better decision after you wake up.
I have lost friends, money, my thinness, and probably some more things, but one thing I have not lost is my ability to sleep like a new born baby, anytime of the day or night, for long hours at a stretch.
At my age when people are stressing and loosing their sleep over future goals, how to amass more wealth, how to show it off to others, I sleep like a tiny jelly fish meditating in the bottom of the deep dark ocean.
Need help with your sleep?
Try these things to sleep better. But if you have trouble falling asleep naturally, you can even force yourself to sleep! How?
Lie down, dim or turn off lights, close your eyes, count backwards from 100 to 0 slowly. That simple! It works, try it. I dare you to reach zero, I have never reached zero.
And by sleep, I don’t mean 15 minute quick power naps. Thats bullshit. I don’t count it as sleeping if it does not span across atleast a few hours. Sleep like you don’t have a single worry in this crazy world. Sleep like a baby!
Spotlight search is great if you’re looking for file or folder names. But to search for specific words inside text or code files in a folder, the following command line method is much more effective.
Step 1: Open the Terminal app, use the
cd command to navigate to the folder where you want to search for your desired text or file name.
Step 2: Use the
grep command to search inside this folder & folders further inside it.
grep -ir 'space_below' .
space_below is the word you are looking for. You can also search for text with quotes such as class or ID names by doing
Notice the quotes & the dot in the 2nd step, they are required. This should be particularly useful for developers and writers who deal with text & need to find very specific ones.
Is something I don’t do. I don’t have any analytics or visitor tracking script installed on my site, so I have no idea how many people visit my site & which country they are from. I like it that way.
Slothilda is the only web comic I subscribe to & truly enjoy.
It’s minimal, animated style comics, sent to my inbox infrequently really appeals to me.
The designer has an upcoming printed book, below is the trailer for that book.
When you are travelling outside India, if you have wifi or a SIM of that country to get mobile internet, and using that to make Whatsapp calls etc, and you just need to receive SMS from India for some essential services such as One Time Passwords then read this.
You do not need to buy an international roaming pack just to receive SMS. Receiving incoming SMS from India to your mobile while you are abroad is FREE, you do not pay anything for that. You just need to have main account balance of around Rs 200/300 or so.
So whenever I need to use a service that sends an OTP to my Indian mobile number, such as while logging into my your bank account, I do this:
- Disable mobile data (important)
- Switch off mobile
- Remove foreign SIM
- Insert Indian SIM
- Switch on mobile
- Let it automatically search for & connect to a network in that country with whom my Indian mobile network has an agreement.
After I get network signal on the mobile I login to the service which needs to send an OTP and I get it instantly.
If you are looking to use public transport other than the boating system to go to the Grand Palace in Bangkok & come back then this information is for you.
The Hua Lamphong MRT [underground train] is the station closest to the palace. You can get there by MRT trains or BTS trains [sky train]. Then the bus station near to this MRT should have a bus number 1 which will drop you at one of the stops near the palace.
Similarly bus number 1 will take you back from one of the bus stops near the palace to the Hua Lamphong MRT.
Grand Palace being a large area there are several bus stops around it, so it is important to recognize this bus stop. Look for the bus stop in front of Royal Thai Navi Club & besides a group of food stalls/market area. Also “Thanon Maha Rat” will be written on a board near this stop.
The fair is 9 Baht per person one way between this bus stop & the bus stop near the MRT station.
We have been staying in Bangkok since a week, one more week to go. Thais are a great bunch of hospitable people. Good amount of fruits have already been eaten.
If you get this MySQL error
Error reading file 'UNOPENED' (Errcode: 5 - Input/output error) while importing a .sql file into your database via the command line, then chances are your sql file is corrupted, was not exported/downloaded properly. Export the file again & try, it worked for me.
I have been using TransferWise to get paid since more than a year, so I can safely claim TransferWise is way better than PayPal.
I end up paying 1 to 1.5% fees when getting payment via TransferWise, while PayPal used to take approximately 4.5% in fees.
TransferWise sends the money much faster to the bank account, usually on the same day.
PS: I wish TransferWise paid me to say this, but they didn’t. But then with their lower fees it has kinda paid for itself, so may be they did?!
If you use my link transferwise.com/u/debasishp to sign up they will give you a free international transfer of up to £500. And if 3 people sign up using my link then I will get £50.
We went on a road trip in our car from Bhubaneswar to Tirupati & came back.
Saturday, 28th April: Bhubaneswar -> Visakhapatnam.
Sunday, 29th April – Friday, 4th May: Visakhapatnam -> Vijayawada. Stayed in the week days & worked.
Saturday, 5th May: Visakhapatnam -> Tirupati.
Sunday, 6th May: Visited Venkateswara temple on Tirumala hills.
Sunday, 6th May – Thursday, 10th May: Stayed at Tirupati in the week days & worked.
Friday, 11th May: Tirupati -> Vijayawada.
Saturday, 12th May: Vijayawada -> Visakhapatnam.
Sunday 13th May: Visakhapatnam -> Bhubaneswar.
Drove 2625 kilometers.
Burned approximately Rs 11000 of petrol.
Paid Rs 2832 at 36 toll booths.
The road is mostly scenic with great 6 lane between Vijayawada – Tirupati.