Friday, 15th June, 2018

PayPal vs TransferWise

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.

Monday, 14th May, 2018

Bhubaneswar – Tirupati Round Trip

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.

Friday, 13th April, 2018

My laptop turned 7 today

I had purchased my current MacBook Pro on 13th April 2011. My primary & only computer. I use it daily for rigorous web development work & entertainment. Everything I have is because of this machine. It is still going strong.

Specs: 13-inch, Early 2011, 2.3GHz Intel Core i5 processor, upgraded to 8×2 1600 FSB DDR3 RAM, 320GB SATA HDD.

Issues: One single green vertical line on left side of screen, some grey smudge looking spots on one area of the screen, DVD player not working, card reader not working, internal audio is not good, color coating gone off from 8 keys, on its 2nd battery, on its 3rd power adapter.

So if your question is how long a Apple laptop will last, the answer is atleast 7 years. I am not even married that long!

Sunday, 8th April, 2018

Tiger Zinda Hai

Tiger Zinda Hai

Saw it last night. Good movie. I like that they have shown nice things about Pakistan & its people. We need more love not hatred in the world.

Sunday, 1st April, 2018

Baby Driver

Baby Driver

Saw it yesterday. A touch slow n boring towards the end. Good background music in various places though.

Friday, 30th March, 2018

The House

The House

Saw it yesterday. A bit low on comedy but okay.

Thursday, 29th March, 2018

Continuous, automatic Time Machine backups

SanDisk Ultra Fit 128GB
See that? Exactly!

So I sold my 1 TB Western Digital My Passport USB 2 external hard disk for dirt cheap to a student who came with 3 sketchy looking friends to pick it up.

Then I bought a 128 GB SanDisk Ultra Fit USB 3 flash drive. The thing is so tiny its almost invisible.

Now it is connected to one of the USB ports of my MacBook Pro for ever.

And Time Machine is taking regular backups to it automatically every few minutes. Backup A game!

Tuesday, 27th March, 2018

Customize AMP pages on WordPress

So Google’s Accelerated Mobile Pages project is gaining momentum. If you are using this AMP plugin made by Automattic on your WordPress site, it comes with a standard design for all the post types.

But if you are not satisfied with the layout & need to customize your AMP page design to make it stand out from the rest then here is how you can do that.

This is the relevant documentation for the above plugin, keep it handy, the customization page has code snippets you can use to insert elements in common header & footer.

To create a completely customized header, footer, single page or post etc:

  1. Navigate to your site’s “wp-content > plugins > amp > templates” folder.
  2. Here you will find the base templates that the plugin uses. Copy the template you wish to modify.
  3. Create a folder named ‘amp’ inside your currently active theme folder, put this template there.
  4. It will override the plugin’s template file. Now customize this file.

Adding custom fonts

You can add custom fonts from Google Fonts & more, font icons such as FontAwesome to your AMP pages in the <head> section by adding following code in the theme’s functions.php:

Adding custom CSS

You can add custom, internal CSS to the <head> section of a AMP page, but it is better to keep all those CSS rules in a CSS file inside the theme folder & then include that file’s contents in the <head> using the PHP include() function inside functions.php as follows:

Tuesday, 20th March, 2018

Sleep better

By giving a flying fuck about:

  • News
  • Social media
  • Credit card points
  • Fair weather friends

Also:

  • Delete social media profiles & apps from mobile
  • Put mobile in silent or flight mode before sleeping