Bookmarks for 14 feb 2013 through 19 feb 2013


These are my links for 14 feb 2013 through 19 feb 2013:

  • How-To: Bash Parameter Expansion and String Manipulation | Debuntu – There is many ways to do string manipulation with bash, like finding a filename extension using expr, separating the directory part from a filename using dirname and basename…. or even more sophisticated ones based on regex, sed…. Why using a sledgehammer to crack a nut when you could use bash builtin functionalities! Bash built-ins expansion can be used to: Get substrings Substitute part of a string Case modification Removing prefix and suffix of a string
  • Vagrant – Create and configure lightweight, reproducible, and portable development environments. Vagrant is a tool for building complete development environments. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases development/production parity, and makes the "works on my machine" excuse a relic of the past.
  • » Linuxaria – Everything about GNU/Linux and Open source How to log the correct Ip having Varnish and Nginx – When you run a webserver behind a reverse proxy or HTTP accelerator such as Varnish, the webserver access logs will display the IP of the proxy (generally 127.0.0.1) instead of the end user’s IP. This is a problem when you have a software like webalizer, awstats or similar log file analysis program, because you lose one of the most important information: “Who is the requestor of a page ?”, also having all the access coming from the same IP (127.0.0.1) you lose information such as “what’s the browsing pattern of visitors ?” “Is someone trying to do something Nasty ?”