Skip to content

Instantly share code, notes, and snippets.

@knallfunk
knallfunk / grabby.sh
Created February 21, 2018 18:45 — forked from philcryer/grabby.sh
a bash script to perform batch downloads of Internet Archive (archive.org) materials, via record ids as listed in todo.txt
!/bin/bash
#
################################################################################
#
# File : grabby.sh
# Usage : ./grabby.sh
# Author : phil.cryer@mobot.org
# Date created : 2009-10-10
# Last updated : 2012-04-10
# Source : http://code.google.com/p/bhl-bits/utilities/grabby
@knallfunk
knallfunk / T_T
Created September 6, 2017 16:11
Whyyyyy?
function(e,a){var i;i={passwords:"123456,password,12345678,qwerty,123456789,12345,1234,111111,1234567,dragon,123123,baseball,abc123,football,monkey,letmein,shadow,master,696969,mustang,666666,qwertyuiop,123321,1234567890,pussy,superman,654321,1qaz2wsx,7777777,fuckyou,qazwsx,jordan,123qwe,000000,killer,trustno1,hunter,harley,zxcvbnm,asdfgh,buster,batman,soccer,tigger,charlie,sunshine,iloveyou,fuckme,ranger,hockey,computer,starwars,asshole,pepper,klaster,112233,zxcvbn,freedom,princess,maggie,pass,ginger,11111111,131313,fuck,love,cheese,159753,summer,chelsea,dallas,biteme,matrix,yankees,6969,corvette,austin,access,thunder,merlin,secret,diamond,hello,hammer,fucker,1234qwer,silver,gfhjkm,internet,samantha,golfer,scooter,test,orange,cookie,q1w2e3r4t5,maverick,sparky,phoenix,mickey,bigdog,snoopy,guitar,whatever,chicken,camaro,mercedes,peanut,ferrari,falcon,cowboy,welcome,sexy,samsung,steelers,smokey,dakota,arsenal,boomer,eagles,tigers,marina,nascar,booboo,gateway,yellow,porsche,monster,spider,diablo,hannah,bulldog,j
@knallfunk
knallfunk / convertPolyToPath.js
Created January 1, 2016 20:38 — forked from ricardoriogo/convertPolyToPath.js
Convert SVG polygon element to path element.
var polys = document.querySelectorAll('polygon,polyline');
[].forEach.call(polys,convertPolyToPath);
function convertPolyToPath(poly){
var svgNS = poly.ownerSVGElement.namespaceURI;
var path = document.createElementNS(svgNS,'path');
var points = poly.getAttribute('points').split(/\s+|,/);
var x0=points.shift(), y0=points.shift();
var pathdata = 'M'+x0+','+y0+'L'+points.join(' ');
if (poly.tagName=='polygon') pathdata+='z';
@knallfunk
knallfunk / modules.md
Created January 1, 2016 12:06 — forked from mattdesl/modules.md
my favourite modules.
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'