UEFI and GPT Mess with Windows 10 and Linux

Operating System not found

I’ve recently bought a Dell XPS 13 9350.

Problem

I tried installing Fedora on it but the installer was not able to detect the SSD. I tried disabling UEFI and it worked. The problem was that as soon as I disabled it I was no longer able to boot into Windows 10. I tried different combinations and every change that resulted in Fedora installer seeing the drive, broke Windows 10 boot setup. I thought I would be able to enable UEFI after the setup and use Windows 10 whenever I needed it and decided to install Fedora.
Continue reading UEFI and GPT Mess with Windows 10 and Linux

WordPress Backup Script

Recently I remembered that I had this little handy script that I used to backup my WordPress blog. The script contains only 2 actual commands.

I used nice while compressing / uncompressing the files to avoid CPU throttling since my blog is running on a shared hosting server.

This WordPress backup script doesn’t work without user interaction since it needs you to enter the password. Continue reading WordPress Backup Script

Merge PDF Files on CentOS

Install EPEL YUM Repository

Get EPEL YUM Repository installed on the machine if you don’t already have it. The package you require is in EPEL repository. You can check if the repository is installed using “yum repolist”

Click here for instructions on installing EPEL YUM Repository

Install PDFjam

You need to install PDFjam using the following YUM command:

yum install pdfjam

Continue reading Merge PDF Files on CentOS

LinkedIn Link to Google Plus Profile

Today I realised the Google Plus profile link in my LinkedIn profile didn’t actually work. At the time I added the link I forgot to check it. This was the url I put on the profile:

https://plus.google.com/117330811303735761777/posts

Now what LinkedIn doing was adding ‘#!’ (called shebang or hashbang) turning it into:

https://plus.google.com/117330811303735761777/posts#!

Continue reading LinkedIn Link to Google Plus Profile

Minecraft Server Memory Issues on Linux

Are you having memory leak issues with your Minecraft Server on Linux? The solution might be in this post. I’ve been running a MC server on my VPS (HeartInternet) for the last 4 months. It was all good until we started exploring the map. The MC server was randomly being killed and this message was coming up in our screen:

Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host

Continue reading Minecraft Server Memory Issues on Linux

Load Twitter Follow Button Asynchronously

The default Twitter Follow code, the script loads the like button synchronously. When you add the synchronous Twitter Follow button to your website, Page Speed Online will tell you to prefer asynchronous resources. When I tried to use it on a minimal HTML page score goes down by 8 points. If you are like me and want to get the best score possible in Page Speed you would want to know how to make it asynchronous.

Prefer asynchronous resources - Fetching resources asynchronously prevents those resources from blocking the page load. - Page Speed Insights
Prefer asynchronous resources message on Page Speed for Twitter Follow Button

Continue reading Load Twitter Follow Button Asynchronously