Hean Hong Leong
MY BLOGS
-
Mr Leong's Blog
http://www.mrleong.net/
This is my personal tech blog. I write about web technologies, software development tools and techniques. I runs a software development company in Johor Bahru, sometime I blog about my experience on managing developers.
LATEST ARTICLES ( 27 )
-
Creating a Read-only Backup User for Mysqldump
: TL;DR GRANT LOCK TABLES, SELECT ON *.* TO 'BACKUPUSER'@'%' IDENTIFIED BY 'PASSWORD'; Minimal permissions required for mysqldump are ‘LOCK TABLES’, and... Read more
Posted on 21 March 2016 COMPUTING -
How To Use Journalctl to View and Manipulate Systemd Logs | DigitalOcean
: journald has become the new standard for logging in Linux. When systemd manages units, it uses journald for logging. This article from DigitalOcean provides... Read more
Posted on 15 February 2016 COMPUTING -
Human Readable Byte Formatter For Go
: I was profiling my application some time ago, by logging memory usage. Instead of “1073741824 bytes”, I want to log it as “1M”. This is more readable. Read more
Posted on 01 February 2016 COMPUTING -
Go Runtime Memory Usage
Go’s runtime package provides functions for analying memory usage. This is an example on how to retrive information on allocated memory and also amount... Read more
Posted on 20 January 2016 COMPUTING -
Solve Lubuntu Fcitx Pinyin Black Frame Issue
Image taken from Ubuntu Chinese Forum.I am Google PinYin in Lubuntu 15.10. I discovered that fcitx-qimpanel is causing this this issue, due to... Read more
Posted on 02 January 2016 COMPUTING -
Use DNSSEC As Defence Against DNS Poisoning And MITM Attack
Disclaimer: If you do now know what DNS is, you may skip this article. DNSSEC (Domain Name System Security Extension) is a protocol, which adds authentication... Read more
Posted on 13 December 2015 COMPUTING -
Command Line Interface For WordPress
WP-CLI is a PHP CLI tool for managing WordPress. I was tasked to maintain a WP site for a client. Previously it was installed and maintained by a different team. Read more
Posted on 04 December 2015 COMPUTING