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 ?”
bash ini parser | /var/log/ajdiaz – In some situations i like to use INI files as configuration files, as python do. But bash do not provide a parser for these files, obviously you can use a awk code or a couple of sed calls, but if you are bash-priest and do not want to use nothing more, then you can try the following obscure code:
Jugg Monkey: VMWare HA Agent had an error – I recently had a problem with one hoste in a 3 node VMWare ESX 3. 5 cluster. For some reason, the HA Agent would not start after I applied outstanding software updates. I kept receiving "VMWare HA Agent had an error" in the alerts after the host came online. I had recently needed to change the IP address of the VMWare 3.5 ESX host, so I figured that was the root cause.
IBM devscan tool – United States – The devscan tool is a supplemental tool used by AIX support personnel to gather debugging data for Storage Area Networks. The package download includes a manual page that is also available on this site at the Usage tab.
mysqlreport :: Make easy-to-read MySQL status reports – mysqlreport makes a friendly report of important MySQL status values. mysqlreport transforms the values from SHOW STATUS into an easy-to-read report that provides an in-depth understanding of how well MySQL is running. mysqlreport is a better alternative (and practically the only alternative) to manually interpreting SHOW STATUS.
Percona Online Tools – Welcome to Percona's suite of productivity tools for MySQL database administrators and developers. One free account lets you access all of the tools below, and keeps you updated when new tools or enhancements are available. Registration is required.
Optimize your MySQL Server: Leverage our expertise to create a good starting configuration for a MySQL server. This tool will walk you through all of the steps necessary to create a ready to use MySQL configuration file in about 5 minutes.
Analyze an SQL Query: Find out when your SQL is potentially buggy, hard for MySQL to optimize, or confusing. This tool will analyze your SQL code and warn you when it detects problems that we've encountered while optimizing thousands of queries in real applications.
Per chi si avvicina al linguaggio, il libro costituisce una introduzione a Perl aggiornata e moderna, che permette di prendere confidenza con il linguaggio utilizzandone gli strumenti e le metodologie sviluppate negli ultimi anni.
Per il programmatore più esperto, Modern Perl costituisce un ideale aggiornamento su tutto quanto è stato introdotto con perl 5.12 e 5.14.
Consulta oppure scarica il libro
TCP Port Scanner in Bash – good coders code, great reuse – I just had this quick idea to write a tcp port scanner in bash. Bash supports the special /dev/tcp/host/port file that you can read/write. Writing to this special file makes bash open a tcp connection to host:port. If writing to the port succeeds, the port is open, else the port is closed.