Activating the free Let’s Encrypt SSL certificate for your WordPress site

WPBeginner has a easy to follow tutorial on activating the free Let’s Encrypt SSL certificate for your WordPress site, assuming your web host supports them. The really simple ssl plugin mentioned makes the process painless for existing sites.

If you are on HawkHost, you can view their announcements here on their Let’s Encrypt and 2FA support. In short, you can get the free SSL certificate by:

  1. Logging to cPanel, locate the Security section and click on “Lets Encrypt™ SSL” option to start the process.
  2. You can then select the domain that you would like HawkHost to issue the SSL certificate to.
  3. You will be brought to a confirmation page. On confirmation, HawkHost will generate the SSL certificate for you.
  4. Back in your WordPress admin page, activate the really simple ssl plugin and click on the button “Go ahead, activate SSL!”.
  5. You might be logged out of the admin page. If so, login again and you will discover that your WordPress site is now on SSL.
  6. Refer back to the WPBeginner tutorial for additional details like Google Analytics updates.

The Violin – An animated short on 80 years of Singapore history

Singapore celebrated it’s 50th birthday on 9 August 2015. Here’s an animated short showcasing 80 years of Singapore history. [Via RocketNews24]

Bedtime reading – What is Code?

In case you are wondering of what all the buzzwords and jargon like algorithms, coding, off-the-shelf mean, the article What is Code by Paul Ford helps you weave all these buzzwords into a single story.

At 38000 words, it makes good bedtime reading, be it for someone who has no inkling on how computers work or someone who is a seasoned veteran. TL;DR? below is a video summary from Bloomberg via Huffington Post.

Handling line endings on Windows with git

Note to self: When collaborating on different platforms, one of the most common issue is line endings – LF on Mac/Linux and CRLF on Windows. With git, you can address this issue in the following ways:

1) Configure Global Settings

1) Windows users: git config --global core.autocrlf true
2) Mac/Linux users: git config --global core.autocrlf input

2) Configure Per-repository settings

echo "* text=auto" > .gitattributes
git add .
git commit -m "Files play nice in Mac, Linux and Windows"
git push origin master

Additional reading:
StackOverflow thread
Github help

Thank You, Mr Lee Kuan Yew

remember-lee-kuan-yew

This week, as I walked around places in Singapore, they become reminders of the enormous role that Mr Lee played as the founding father of Modern Singapore. These reminders become especially strong when my colleague and I were in the queue to pay our last respects to him.

Hyperlapse of the queue via The Straits Times:

The few hours of queuing seems to form a trail, leading me through the advancements of Singapore – the transformation of Singapore to become a global financial hub that is situated at Raffles Place and Marina Bay area, the celebration of the Arts at the Esplanade, and the clean up of the Singapore River, where it used to be full of rubbish and reeking of stench.

View of the queue

I became reflective and renewed my appreciation for Mr Lee’s leadership. My colleague and I also struck up conversations with the people queuing before and after us, discussing about the transformation of the Singapore River and how far Singapore has progressed. In addition, it is heartening to see shop owners and volunteers, who helped to provide water, a vital resource to brave the hot sun. Some shops even provided seats for the elderly who were in the queue.

wall of condolence cards

Finally, we reached the Parliament House. While passing through Security, you will be able to see walls of condolence cards. Inside the building, everyone paid their respects in an solemn and orderly manner. As the queue is very long, we were only allowed to stop briefly to pay our respects.

IMG_3705

While we can only stop for a few minutes in the Parliament House after waiting for several hours, I would say that Mr Lee, who dedicated his life to Singapore, definitely deserves our Respect.

I have spent my life, so much of it, building up this country. There’s nothing more that I need to do. At the end of the day, what have I got? A successful Singapore. What have I given up? My life. – Lee Kuan Yew

Mr Lee led Singapore’s transformation from a fledgling country with no natural resources upon Independence into a renowned global financial hub and a clean and green city that is safe to live in. It is this strong foundation that enables Singapore to prosper till date, where Singapore enters its 50th year of Independence.

Thank you Sir. Farewell, and may you rest in peace.

HiDPI Windows 8 setting for Brackets

While test-driving the brackets.io (Version 1.1) editor on Windows 8, I discovered that the text displayed on the application is not as crisp – it is rather pixelated – at HiDPI resolution of 2880 x 1620. The workaround is to edit the properties of the application and check Disable display scaling on high DPI scaling. This has already been reported as an issue on Github.

Pros: text becomes crisp!
Cons: Icons at the top right hand corner “shrunk” as they are displayed @ 100% scaling.

EDIT: New version of Brackets is out and the issue has been solved.