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
#!/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
#!/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
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>interactive xpath tester</title> | |
<!-- From http://ponderer.org/download/xpath/ by ([email protected]) on 2017-03-28 --> | |
<!-- license unknown --> | |
<style> | |
body { | |
background-color: #eee; | |
} | |
#in { |
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
Email accessibility compliance | |
http://www.interactiveaccessibility.com/services/wcag-20-compliance | |
http://www.headstar.com/ten/ | |
http://www.email-standards.org/ |
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
L10n - Localization resources | |
ICU - International Components for Unicode | |
http://site.icu-project.org/ | |
CLDR - Unicode Common Locale Data Repository | |
http://cldr.unicode.org/ | |
http://l10ns.org/ | |
https://www.youtube.com/watch?v=4ZXagCR9urg |
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
http://stackoverflow.com/a/16293580/43408 | |
https://stackoverflow.com/questions/3958350/removing-duplicate-rows-in-notepad | |
Since Notepad++ Version 6 you can use this regex in the search and replace dialogue: | |
^(.*?)$\s+?^(?=.*^\1$) | |
and replace with *nothing*. This leaves from all duplicate rows the last occurrence in the file. | |
- ^ - matches the start of the line. |
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
http://dave.cheney.net/2012/01/18/why-go-gets-exceptions-right |
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
https://blog.abstratt.com/2008/05/05/on-code-and-diagrams/ | |
https://web.archive.org/web/20120127085644/http://blog.objectmentor.com/articles/2007/09/06/why-we-write-code-and-dont-just-draw-diagrams | |
https://web.archive.org/web/20101118004330/http://www.rgoarchitects.com/nblog/2007/08/28/AD2007BuildingDSLsInStaticAndDynamicLanguagesNealFord.aspx |
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 | |
# A bash script to create a time machine disk image suitable for | |
# backups with OS X 10.6 (Snow Leopard) | |
# This script probably only works for me, so try it at your own peril! | |
# Use, distribute, and modify as you see fit but leave this header intact. | |
# (R) sunkid - September 5, 2009 | |
# | |
# retrived from http://www.insanelymac.com/forum/topic/184462-guide-106-snow-leopard-time-machine-backup-to-network-share/ | |
# http://www.insanelymac.com/forum/index.php?app=core&module=attach§ion=attach&attach_id=55807 |