Skip to content

Instantly share code, notes, and snippets.

View red-murphy's full-sized avatar

Red Murphy red-murphy

View GitHub Profile
@red-murphy
red-murphy / gist:4657e7b1d4b8b683d03bfb2741b65ac1
Created April 27, 2020 05:12
Regex for loosely validating a US street address only
^\d{1,6}\040([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^\d{1,6}\040([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$|^\d{1,6}\040([A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,}\040[A-Z]{1}[a-z]{1,})$
Add-VpnConnection -Name "SN9 VPN" -ServerAddress "vpn.sn9.org" -TunnelType Pptp -EncryptionLevel Optional -AuthenticationMethod MSChapv2 -AllUserConnection -RememberCredential -PassThru
Set-VpnConnection "SN9 VPN" -AllUserConnection -SplitTunneling $True
Add-VpnConnectionRoute -ConnectionName "SN9 VPN" -DestinationPrefix 192.168.3.0/24 -PassThru
Add-VpnConnectionRoute -ConnectionName "SN9 VPN" -DestinationPrefix 192.168.1.0/24 -PassThru
// ==UserScript==
// @id iitc-plugin-count-portals-in-polygons@kottt
// @name IITC plugin: CountPortalsInPolygons
// @category Layer
// @version 0.100
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL
// @downloadURL
// @description allow to select portals area and calculate optimal fields
// @include https://www.ingress.com/intel*
// ==UserScript==
// @id iitc-plugin-drawstore
// @name IITC plugin: DrawStore
// @category Info
// @version 0.1.2.20160407.004
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @updateURL https://github.com/Hurqalia/drawstore/raw/master/drawstore.meta.js
// @downloadURL https://github.com/Hurqalia/drawstore/raw/master/drawstore.user.js
// @installURL https://github.com/Hurqalia/drawstore/raw/master/drawstore.user.js
// @description [hurqalia22-2016-04-07-000004] DrawStore
// ==UserScript==
// @name jQueryfy
// @namespace http://rafasales.com
// @version 0.1
// @description Loads jQuery in any page
// @match http*://*
// @copyright 2012+, Rafael Sales
// ==/UserScript==
if (typeof(unsafeWindow.jQuery) != 'undefined') {
return;
@red-murphy
red-murphy / hosts.txt
Created November 28, 2016 02:51
Ingress Image Host Blocking File
lh1.ggpht.com 127.0.0.1
lh2.ggpht.com 127.0.0.1
lh3.ggpht.com 127.0.0.1
lh4.ggpht.com 127.0.0.1
lh5.ggpht.com 127.0.0.1
lh6.ggpht.com 127.0.0.1
lh7.ggpht.com 127.0.0.1
lh8.ggpht.com 127.0.0.1
www.panoramio.com 127.0.0.1
// ==UserScript==
// @id iitc-barcode-decoder@nerd4lyfe
// @name IITC plugin: Replace player names with more easily remembered names
// @category Misc
// @version 0.0.1.20170125183000
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @description [2017-01-24-165600] Click on barcode names to convert them to something you can remember
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*
// ==UserScript==
// @id iitc-barcode-decoder@nerd4lyfe
// @name IITC plugin: Replace player names with more easily remembered names
// @category Portal Info
// @version 0.0.1.20161107012300
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @description [local-2016-11-07-012300] Show resonator energy percentage on resonator energy bar in portal detail panel.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*
// ==UserScript==
// @id iitc-barcode-decoder@nerd4lyfe
// @name IITC plugin: Replace player names with more easily remembered names
// @category Portal Info
// @version 0.0.1.20161107012300
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
// @description [local-2016-11-07-012300] Show resonator energy percentage on resonator energy bar in portal detail panel.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.PouchAuthentication=e()}}(function(){var e;return function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[s]={exports:{}};t[s][0].call(f.exports,function(e){var n=t[s][1][e];return o(n?n:e)},f,f.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<r.length;s++)o(r[s]);return o}({1:[function(e,t,n){(function(t){"use strict";function r(e){return"function"==typeof e.getUrl?e.getUrl().replace(/\/[^\/]+\/?$/,""):e.name.replace(/\/[^\/]+\/?$/,"")}var o=e(13),i=e(16);n.getUsersUrl=function(e){return i(r(e),"/_users")},n.getSessionUrl=function(e){return