How To Associate All Log Files with MacVim

Author: , April 12th, 2017

You can associate a file extension with an app (such as MacVim) via the “Info dialog”. Just select the file and hit Cmd-i, then go to the “Open with” tab, select app and hit “Change all…”. This will change the default application for that file type.

How To Use Apache Scalp Log Analyzer to Catch Website Attacks

Author: , August 31st, 2015

Requires Python! Scalp Home Download Scalp: Backup Link: Original (Broken) XML Rules File: Fixed XML Rules File: To Fix the XML file: Replace: (?:all|distinct|[(!@]*)? with (?:all|distinct|[(!@]+)? and: (?i:(\%SYSTEMROOT\%)) with (?:(\%[sS][yY][sS][tT][eE][mM][rR][oO][oO][tT]\%)) Examples: 1 2 ./ -f ./default_filter.xml -o ./scalp-output -l /var/log/httpd_log –html ./ -f ./default_filter.xml -o . -l /var/www/cust1/logs/access.log.1440892800 ./ -f […]

How To See The GIT History Of A File

Author: , January 30th, 2012

git log -p filename ~or~ git whatchanged -p filename

PainMinder™ Launched!

Author: , August 18th, 2011

Our health-related website is finally live to the public! A long time coming, but worth the effort. The site is FREE, and will handle many health-related tracking tasks quite easily. Naomi and I have worked incessantly to make the site worthy of use. We think it is ready for prime-time. Now let’s see what the […]

How To Troubleshoot Varnish

Author: , January 17th, 2011

To monitor Varnish, simply run: # varnishlog Important Note: By default, Varnish will NOT cache pages that have cookies!!! sub vcl_recv { unset req.http.cookie; } sub vcl_fetch { unset beresp.http.set-cookie; }