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 https://code.google.com/p/apache-scalp/ Download Scalp: https://code.google.com/p/apache-scalp/downloads/detail?name=scalp-0.4.py Backup Link: http://www.wyzaerd.com/scalp/scalp-0.4.py Original (Broken) XML Rules File: https://dev.itratos.de/projects/php-ids/repository/raw/trunk/lib/IDS/default_filter.xml Fixed XML Rules File: http://www.wyzaerd.com/scalp/default_filter.xml 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 ./scalp-0.4.py -f ./default_filter.xml -o ./scalp-output -l /var/log/httpd_log –html ./scalp-0.4.py -f ./default_filter.xml -o . -l /var/www/cust1/logs/access.log.1440892800 ./scalp-0.4.py -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 http://www.varnish-cache.org/docs/2.1/reference/index.html http://www.varnish-cache.org/docs/2.1/tutorial/increasing_your_hitrate.html Important Note: By default, Varnish will NOT cache pages that have cookies!!! http://www.varnish-cache.org/trac/wiki/VCLExampleCacheCookies sub vcl_recv { unset req.http.cookie; } sub vcl_fetch { unset beresp.http.set-cookie; }