Filtering Apache logs / conditional Logging – This can be very troublesome when trying to access certain web pages. The only way to get through is to make use of conditional logging (it is not the only way to control the contents of the logs) To do this, simply define an environment variable ,according to certain criteria, then request that the server does not write the file type within log when this variable exists
TestSSLServer – TestSSLServer is a simple command-line tool which contacts a SSL/TLS server (name and port are given as parameters) and obtains some information from it: Supported versions (among SSL 2.0, SSL 3.0, TLS 1.0, TLS 1.1 and TLS 1.2). Support of Deflate compression (TLS-level compression, not HTTP-level gzip/deflate compression, which this tool does not consider). Supported cipher suites, for each protocol version. Server certificate hash and name.
Largest small system emulator – This entry weighs in at a magical 4043 bytes (8086 nibbles, 28,301 bits). It manages to implement most of the hardware in a 1980’s era IBM-PC using a few hundred fewer bits than the total number of transistors used to implement the original 8086 CPU. If you are using OS X, the included sc-ioccc.terminal configuration file will correctly display console applications that use ANSI graphics. [ via http://braindead.tumblr.com/post/72245783959 ]
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.