An example on how to rebuild nginx rpm/deb package with 3rd party module

ngx_version=$(nginx -v 2>&1 | cut -s -f2 -d ‘/’) ngx_config=$(nginx -V 2>&1 | cut -s -f2 -d’:’ | head -2 | tail -1 | awk -F ‘\–with-cc-opt’ ‘{print $1}’) sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev libzip-dev sudo mkdir ~/build && cd ~/build sudo git clone git://github.com/arut/nginx-rtmp-module.git sudo wget http://nginx.org/download/nginx-$ngx_version.tar.gz sudo tar xzf nginx-$ngx_version.tar.gz && […]

[WHMCS] sell in multiple currencies for the same client

So recently I ran into this weird scenario where I had to sell Product A in USD and Product B in EUR for the same client on XSL.TEL because in current WHMCS currency system the client can choose 1 currency at registration and have to create new account using new email to buy a product […]