Wrapping Up Week Ending 2018-08-26

Positives

  • May have neared a personal high score for a ridiculous regular expression. It's purpose is to strip out certain query string variables in URLs prior to hashing the URL for a Varnish cache.

    set req.url = regsuball(req.url, "(\?|&)?(AcrobatWeb[^=]*|_[^=]*|adTestEnv|adTestKeyValues|ad|am|an|ap|bt_[^=]*|busted|choices|crlt.pid|did|email|error|esrc|exposeKarma|feed|file|hid|l|layout|o|ordersrc|p|pageno|photoId|platform|plckBlogId|psrc|qo|qsrc|rb|recipeBox|ref|referrer|regSource|scrlybrkr|sessionTemplate|socsrc|sssdmh|subid|uid|ut|utm[^=]*)=[^&]*&?", "\1");

  • Recently ran into the Space-cadet keyboard and had the revelation that more keyboards need a "rub out" key.

Negatives

  • No Linux VPN

    Though I'm continually improving my setup. This week's objective is to setup dnsmasq+squid+autossh to handle automagic proxying through my laptop for domains.

links

social