This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Following stackoverflow discussion, from https://gist.github.com/tvlooy/cbfbdb111a4ebad8b93e (rev7) | |
function test(){ | |
local __MESSAGE__="$1" | |
local __RECEIVED__="$2" | |
local __EXPECTED__="$3" | |
if [ "${__RECEIVED__}" == "${__EXPECTED__}" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# "include: /etc/unbound/ad-blacklist.conf" in /var/unbound/etc/unbound.conf | |
# run this script as a daily cron | |
# | |
# The list URLs were taken from the pi-hole project. | |
# More experimental lists are at https://github.com/pi-hole/pi-hole/blob/master/adlists.default | |
TMPFILE=$( mktemp get_dns_blacklists-XXXXXXXXX ) | |
trap 'rm -f $TMPFILE; exit 1' EXIT KILL INT QUIT TERM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: | |
:: SET-LOCAL_LAN_ACCESS.cmd [-n|--dry-run][-d|--debug] | |
:: | |
:: sets a route to the local network (to be used after starting a VPN) | |
:: NEEDS ELEVATION | |
:: | |
:: where | |
:: [-n|--dry-run] don't actually set the route | |
:: [-d|--debug] print debug information |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Windows 10 Decrapifier 1803/1809 | |
#By CSAND | |
#Oct 5 2018 | |
# | |
# | |
#PURPOSE: Eliminate much of the bloat that comes with Windows 10. | |
# | |
# Change many privacy settings to be off by default. Remove | |
# built-in advertising, Cortana, OneDrive, Cortana stuff | |
# (all optional). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// derived and corrected from https://blogs.uoregon.edu/developments/2010/01/28/check-selected-all-boxes-bookmarklet/ | |
javascript: | |
if (typeof(G) == 'undefined' || !G) | |
G = true; | |
else | |
G = false; | |
(function() { | |
var C; | |
(function(W) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Cloudflare", | |
"url": "https://mozilla.cloudflare-dns.com/dns-query" | |
}, | |
{ | |
"name": "Quad9", | |
"url": "https://dns.quad9.net/dns-query" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 5/9/13 | |
sudo apt-get install build-essential libssl-dev zlib1g-dev \ | |
libjpeg-dev libxml2-dev libxslt1-dev libreadline-dev readline-common \ | |
wv poppler-utils gs | |
./install.sh --password= --target=$HOME/Plone-4.2 standalone | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#22/12/12 | |
http://www.slideshare.net/jlapalme/3-schools-of-ea | |
http://beyondinformation.blogspot.pt/2011/12/3-schools-of-thought-on-enterprise.html | |
http://eavoices.com/2012/05/28/three-schools-of-thought-for-enterprise-architecture/ | |
http://earf.meraka.org.za/earfhome/news/3-schools-of-thought-on-enterprise-architecture | |
http://www.computer.org/csdl/mags/it/2012/06/mit2012060037-abs.html | |
http://www.linkedin.com/groups/Considerate-Enterprise-Architecture-2604346 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
import com.cloudbees.plugins.credentials.* | |
import com.cloudbees.plugins.credentials.impl.* | |
def call(String url) { | |
println url; | |
} | |
/** | |
* @param url - svn server url |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# taken from https://stackoverflow.com/a/7601051 on 2020-10-14 | |
:%s/\(<[^>]*>\)/\1\r/g, to insert newlines after every tag |