Linux kernel is able to control every tiny bit of the hardware it operates. This time I am going to max out my server’s CPU performance by tuning the CPU to the performance mode.
As I mentioned before, I am a heavy terminal user, including viewing and replying emails with it. Mutt is my email client. Once you have setup your 2 factor authentication with Google, you won’t be able to access your Gmail using IMAP with your password, you’ll have to generate a specific password for the so called “Less Secure Apps”. There is a problem with that, if you use IMAP with less-secure-app password on your company account where “less secure app” is not allowed, you are probably stuck.
In this tutorial, I am going to show you how to setup the Google recommended OAuth 2.0 way with Mutt.
When I reboot into the new kernel and want to start one of my KVM boxes, this error appears:
Host CPU does not provide required features: spec-ctrl
Recently I was playing around with GitLab LFS setup, although the documentation on GitLab website has most of the technical background however there are a few details and examples missing. I’ll complement some of them here.
Continue reading “GitLab LFS setup”
Using mouse to select text with tmux sometimes is inefficient. For my setup, I’ll have to press shift key during text selection and keyboard copy will convert empty line as spaces. The following 2 lines in the configuration file works with version 2.8 (latest at the time of writing).
Continue reading “Currency Conversion on Bash”
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 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”
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”
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”