Currency.sh
Continue reading “Currency Conversion on Bash”
PHP session issue with Remi php-fpm
Using redis for php session brings a lot of advantages, such as faster responsiveness to your website, however the down side could be not very stable and you may lose all redis cache on server reboot. As long as we have a HA setup of redis server we can prevent such thing from happening.
Continue reading “PHP session issue with Remi php-fpm”
WPS library fix for Linux for WPP
WPS for Linux is a great software for processing Microsoft Office files, however after installing the latest RPM on Fedora 27 I failed to start WPP (presentation).
Continue reading “WPS library fix for Linux for WPP”
Fix Music on Console TiMidity startup error
I love to use terminal / console, figured that it is more efficient at most of the times, even when I was listening to music. Music On Console (MOC) is one of the programs that I use.
Continue reading “Fix Music on Console TiMidity startup error”
SOCKS5 as a VPN under Linux
Being able to proxy via SOCKS5 on browser sometimes wasn’t enough, one needs a system-wide proxy. The best and simplest solution is of course VPN, but VPN is not as fast compare to SOCKS proxy like ShadowSocks under Linux. What can we do? In this article, I am going to briefly introduce System-wide SOCKS5 proxy for all applications.
Continue reading “SOCKS5 as a VPN under Linux”
Weechat – FiSH key exceed 56 bytes (448 bits)
Recently I came across a problem. My friend could not decrypt the channel message in IRC as the channel has a blowfish key exceeds 56 bytes of size. I don’t know about the mIRC implementation (fish10) but in weechat under Linux, I found a solution.
Continue reading “Weechat – FiSH key exceed 56 bytes (448 bits)”
Zabbix22 – Systemd enablement fix
When I was installing my zabbix server (version 2.2 branch) from RPM package, I encountered the following error when I was trying to enable the service.
Continue reading “Zabbix22 – Systemd enablement fix”
Using pingjs
Pingjs is a JavaScript library. It cleverly use the JavaScript’s native Image object to find the responsive time. Its example use has been provided by the author. The first “ping” to your target server is always incorrect. It counts the DNS resolve time in, hence I implemented this API to an endless loop of ping, to provide an accurate result back to the user.
Continue reading “Using pingjs”
Make a secret copy of sent email in Postfix
I have a business need. I need to send automatically generated email from a specific business address to my customers. Postfix does not help you to save it to “Sent” mailbox. Although I have mail logs telling me that emails have been sent to the correct email addresses but I really don’t know what is being sent.
Because I setup my own mail server, this is going to be really easy. There is no need to change my business code to BCC a secret address, which is not very nice.
Continue reading “Make a secret copy of sent email in Postfix”
IPSec over GRE setup tutorial
I have done some searching on the internet and found little about this specific topic, hence this post.