Thursday, 1st November, 2018

Odisha has started ban on use of polythenes

Nine cities in my state Odisha which includes my city Bhubaneswar have started a ban on use of polythene bags for anything. It was implemented since past few days & from today onwards there will be heavy monetary penalty for using polythene on both vendors & consumers. I appreciate & support this excellent initiative.

Now is the perfect time to buy some cloth bags & I am well prepared in advance for this. I have ordered some cloth bags from SmallSteps.in few weeks ago. They are an organization at Auroville, Pondicherry who produce these beautiful bags. Their bags can be ordered online & they also ship internationally.

In fact the first SmallSteps bag I got was in 2013. I noticed this foldable cloth backpack [green bag in the photo] at a bookstore in Mumbai International Airport & had bought it for Rs 100. The bag is still in use, a testament to how strong they are.

We got 2 small ones, 2 big ones, two foldable backpacks & one foldable side bag. We use them for carrying vegetables, groceries & everything else.

These bags are lightweight, washable, affordable & durable. The foldable ones come with a small pouch in which they fold into when not in use and a carabiner to hang it to a purse or anything else.

They are more stylish than a plastic bag. Go for it!

Small Steps Bags

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.

Monday, 15th October, 2018

Gurgaon

GurgaonSaw this film on TV. Its so dark man. And heavy. Talented director.

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.