This is the follow-up article for “Merging Chef JSONs into 1 template“. We are now able to merge environments and role files into 1 master template to manage, how are we gonna extract an environment or a role out of that template.
Category archives: Techie Stuff
Merging Chef JSONs into 1 template
Recently I am playing with Chef and I am having fun on some software with a little difference across different VMs. For example, on VM1: at log.xml: … verbosity=INFO … On VM2 it is set to ERROR, VM3 is set to DEBUG, etc.
Solve zsh cursor positioned at the beginning in zsh history lookup using arrow key for Ubuntu
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.
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 …
Continue reading “Enable Memcached on Remi based PHP install for WordPress”
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 …
Continue reading “Proxy all traffic of a program with ProxyChains”
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 …
Continue reading “Check Out your IP address (And User-Agent)”
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 …
Continue reading “cURL support for CloudFlare-enabled websites”