Zsh under Ubuntu has a strange behaviour. When you have typed some commands and use up arrow key to look back, the cursor is always at the beginning of the line. This can be solved very easily.
Category archives: Techie Stuff
Enable Memcached on Remi based PHP install for WordPress
The php stack I am using for blogs and other hosted php websites is from Remi. I am on PHP version 5.6. The memcached plugin was enabled and I never checked its status. I only found out that the memcached is not enabled at all on my websites. OK I figured this will be a […]
File Not Found error in USB Minimal Fedora setup
I created an EFI Live USB stick for the minimal ISO of Fedora 22. When I boot from it, grub said error: file ‘/images/pxeboot/vmlinuz’ not found error: you need to load the kernel first
Modify GitLab Branding
If you want to remove the branding, you could try to edit the following yaml/rb file, but you need to be cautious about the space as yaml is very sensitive to spacing (no tabs allowed). Also, when you do an upgrade on GitLab, those changes will be lost. Be sure to back up the files […]
Proxy all traffic of a program with ProxyChains
EastLink sucks. Somehow in the evenings, they manage to lower the speed of my connection from home to my server at OVH Canada BHS centre. I’ve complained before but this issue is not going to be resolve anytime soon. Since my residence does not support another ISP (BellAliant, namely), I have to stick to EastLink […]
Unicode Emoji for your Linux
In Unicode 7.0 there will be tons of Emoji icons added. Linux currently by default, is poorly supporting showing those chars. If you want to add them into your system, what should you do?
Check Out your IP address (And User-Agent)
I know there are many tell-your-IP-address services available, some even have the whois lookup functionality. I found it was unhelpful when it comes to scripting. I made a website, it has more features which curlmyip.com doesn’t have. It could report your IP address for a script-friendly way (direct response). It supports ipv4, ipv6 and SSL […]
cURL support for CloudFlare-enabled websites
CloudFlare provides a nice protection from DDoS and other hacking activities, last year they even added a free UniverSSL package to all users. The problem began with the cURL ciphers on cloudflare-enabled websites. cURL does not successfully handshake with cloudflare servers with its default encryption algorithms. Update: Recent update on cURL and nss libs have […]
Tmux configuration
Tmux is a terminal multiplexer, the main feature of it for me is to split window side by side, one for doing debugging, the other for coding. I know there are some substitutions available, such as konsole and terminator but I find tmux handy.
Using rsync to resume SCP file transfer
Using scp to transfer a large file or folder can be sometimes unstable, it doesn’t have the feature to resume broken transfers. Therefore, we have to start over each time when we cancel the transfer. There is a software called rsync that has the resume feature and it supports multiple protocols such as rsync:// and […]