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 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.
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!
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!
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.
To create a completely customized header, footer, single page or post etc:
- Navigate to your site’s “wp-content > plugins > amp > templates” folder.
- Here you will find the base templates that the plugin uses. Copy the template you wish to modify.
- Create a folder named ‘amp’ inside your currently active theme folder, put this template there.
- It will override the plugin’s template file. Now customize this file.
Adding custom fonts
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:
By giving a flying fuck about:
- Social media
- Credit card points
- Fair weather friends
- Delete social media profiles & apps from mobile
- Put mobile in silent or flight mode before sleeping
If you invest in PPF then I suggest you max it out to 1.5lakhs. Its a safe way of ‘saving’ if not ‘investment’ in a world full of uncertainty. Even if you have other modes of investment to show towards Form 80C deductions, still do it because of the good rate of interest & zero tax on the whole amount.
And deposit the complete amount in one instalment in the beginning of a financial year between 1st to 5th April, that way you earn interest for the whole year, maximize your return.
Even though still at a beginner level, I’ve slowly started gaining some confidence working with GitHub, SSH & PHPMyAdmin to setup WordPress dev sites, manage local > dev > live site environments using GitHub, import/exporting database, altering things in database tables, moving stuff around with SSH.
Transitioning from the role of just a frontend developer to take more responsibility of the overall development life cycle.