Tuesday, 23rd October, 2018

Full size Terminal in MacOS

If you’re one of those people who like their Terminal app to cover the entire available width & height of their computer screen, but are tired of it showing up in a random size when you open it, then see this video to set the correct size for once & all.

Step 1: Open terminal & drag it by corners to make it full size.

Step 2: Enable the option to show current window dimensions on the titlebar of the app so that you can see it.

Step 3: Set the window width/height size to the dimensions you see on the titlebar for future.

Wednesday, 17th October, 2018

100% legit

Finally I have managed to make every single piece of media & software on my laptop 100% legal, including Adobe Photoshop. No more pirated stuff for me.

Friday, 12th October, 2018

New MacBook Pro

Exactly after 7.5 years it is now time to say goodbye to my trusty old pal, the MacBook Bro. It served me so well through thick & thin despite various parts failing gradually. A big majority of my personal & professional achievement has been due to this machine. My truest friend of the current decade.

And I welcome the newest, fully loaded, top of the line, maxed out 15.4″ MacBook Pro with 2.6 GHz 6 core Intel Core i7 processor, 15.4″ retina display with True Tone, Touch Bar with Touch ID, 16GB of 2400MHz DDR4 RAM & 512GB SSD storage & more bling than I can remember. The works. The whole nine yards. I went all out with this one 😉

This is Apple’s latest & greatest mobile computing device till date. It is both a monster from the inside & a thing of beauty from the outside. Its fast like Usain Bolt & beautiful like Scarlett Johansson my wife. Hope to get many years of work done on it.

Sunday, 30th September, 2018

Sleep like a baby

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!

Thursday, 20th September, 2018

Search specific text in MacOS

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.

cd ~/Deb/Sites/project1/wp-content/themes/twentyseventen/

Step 2: Use the grep command to search inside this folder & folders further inside it.

grep -ir 'space_below' .

MacOS command grep

Here 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 'class="container"'

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.

Monday, 17th September, 2018

Tracking my visitors

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.

Tuesday, 11th September, 2018

Slothilda

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.

Wednesday, 8th August, 2018

How to receive SMS while outside India

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.

Tuesday, 31st July, 2018

Bus stop & train station near Grand Palace Bangkok

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.

Royal Thai Navy Club

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.

Grand Palace Bus Stop

The fair is 9 Baht per person one way between this bus stop & the bus stop near the MRT station.