You can configure a stat socket for haproxy in the global section of the configuration file: global daemon
Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...
Use this snippet by Achu from Ask Ubuntu: ping hostname.tld | while read pong; do echo "$(date): $pong"; done
Sometimes you just want to have a small web server that serves files to test something. Serve the current directory...
While you can use Apache as a reverse proxy, it tries to be too smart. Try nginx instead, it's...
One useful postgres command I stumbled upon recently was \x. It gives you an expanded display which allows you to...
Sending a testmail from a server with a configured exim is easy as pie. From your usershell: tell exim that...
When you make a simple TCP connection to a remote server (like telnet), your client won't normally notice when...
You want to test your 1GE or 10GE internet uplink? We needed to ensure we have full 10GE to the...
Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...
What is a Cookie? Google it if you do not know. How are cookies transferred between your browser and...
The asset pipeline is one of Rails' two mechanisms how stylesheets, javascripts and images from your /assets folder are processed...
Some tasks in a web application are better not done live when a user request a page, but in the...
This is a guide on how to effectively use Git when working on a feature branch. It is designed to...
Starting with Rails 4.0, when you get an exception reported via the ExceptionNotification gem, you will only see a very...
When working with PostgreSQL, you can use pgAdmin as a GUI. While you can do most things just like on...
Article shows how to make a script that fakes one kind of content when printed with cat, but uses different...
As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...
This is how you regain disk space from OpenStack instances if you are using kvm and qcow. If your instance...
Method lookup Understand all the terms in How Ruby method lookup works, in particular: include extend singleton class
Bash stores the exitcodestatus of piped commands in the environment variable PIPESTATUS So you can just echo ${PIPESTATUS[@]} to get...
PhantomJS has no binary builds for Linux, and building it yourself is painful. However, you can install it through npm...
I recommend install Node.js using nvm. This way you can have multiple Node versions in your ~/.nvm. You also won...
We've already learned how to integrate user-provided images uploads to our application in 205 basic file uploads and...