Skip to content

Instantly share code, notes, and snippets.

View glamrock's full-sized avatar
🐝
hacking on things at Berkman <3

Griffin Boyce glamrock

🐝
hacking on things at Berkman <3
View GitHub Profile
_ _ _
| | (_) |
__ _____ __ _ ___| |_ _| |_
\ \ /\ / / _ \ / _` |/ _ \ __| | | __|
\ V V / __/ | (_| | __/ |_ | | |_
\_/\_/ \___| \__, |\___|\__| |_|\__|
__/ |
|___/
(also your smile is like kittens but whatevz)
#!/bin/sh
# file: lovecraft.sh
cd horizon
ls alderbaran
repeat 3 echo 'Hastur!'
done
TOPDIR = ../..
include $(TOPDIR)/Makefile.inc
MODULE_NAME:=commotion-httpinfo
MODULE_TITLE:=Commotion Little Dashboard
PKG_NAME:=commotion-httpinfo
PKG_VERSION:=0.2
PKG_RELEASE:=1
@glamrock
glamrock / gist:6501679
Created September 9, 2013 21:19
Tor guard, middle and exit nodes that use Tor 0.2.2.x on "Linux"
000WarIsPeace,PL,127,4,193.25.1.139,ip-1-139.gemini.net.pl,9001,9030,0,0,1,1,1,1,1,1,1,Tor 0.2.2.39 (git-2f7e71c2e896772f) on Linux x86_64,0,0
0x640x6B,DK,29,5,93.90.115.169,vps-93-90-115-169.vpsforce.eu,9001,None,0,1,1,0,1,0,1,1,0,Tor 0.2.2.35 (git-73ff13ab3cc9570d) on Linux x86_64,0,0
0xDEADBEEF,GB,309,102,80.229.143.225,joneseym.plus.com,443,9030,0,0,1,1,0,1,1,1,1,Tor 0.2.2.35 (git-73ff13ab3cc9570d) on Linux armv7l,0,0
11111222222,US,9,3,216.231.135.243,www.apac-domain.com,9001,None,0,0,1,0,1,1,1,1,0,Tor 0.2.2.36 (git-c1414cf70cbfcbb7) on Linux i686,0,0
5a5540c06a17501959,CA,0,1,99.233.229.250,CPE0080c6f15b5b-CM00159aab8560.cpe.net.cable.rogers.com,9001,None,0,0,0,0,1,0,1,1,0,Tor 0.2.2.35 (git-b04388f9e7546a9f) on Linux i686,0,0
achtung,IL,560,187,82.80.33.99,bzq-80-33-99.static.bezeqint.net,9001,9030,0,0,1,1,1,1,1,1,1,Tor 0.2.2.35 (git-73ff13ab3cc9570d) on Linux x86_64,0,0
acidworld,SE,58,15,37.123.158.43,h-158-43.a383.priv.bahnhof.se,9001,None,0,1,1,0,1,1,1,1,0,Tor 0.2.2.39 (git-2f7e71c2e896772f) on Linu
@glamrock
glamrock / gist:6673694
Created September 23, 2013 17:05
tidepools forever start .sh
#!/bin/bash
#
# An example init script for running a Node.js process as a service
# using Forever as the process monitor. For more configuration options
# associated with Forever, see: https://github.com/nodejitsu/forever
#
# You will need to set the environment variables noted below to conform to
# your use case, and change the init info comment block.
#
# This was written for Debian distributions such as Ubuntu, but should still
@glamrock
glamrock / 2ndhalfplays
Last active December 24, 2015 19:08
Quack.
2ndhalfplays.com
Current DNS For 2ndhalfplays.com
ns6569.hostgator.com
ns6570.hostgator.com
Old Hoster New Hoster Month / Year Zone Date Transaction
DOMAINCONTROL.COM N/A July 2011 2011-08-01 Deleted
WISEGUYHOSTING.COM DOMAINCONTROL.COM May 2011 2011-06-01 Transfer
@glamrock
glamrock / gist:6935712
Created October 11, 2013 14:34
debuginfo before wireless crash (tp-link N750 / WDR4300)
Sat Sep 10 19:53:45 UTC 2011
--------------------------------------------------------------------
BEGIN DEBUGGING INFO
--------------------------------------------------------------------
--------------------------------------------------------------------
@glamrock
glamrock / gist:6935728
Created October 11, 2013 14:35
debuginfo after wireless crash (tp-link N750/WDR4300)
Thu Sep 8 15:53:43 UTC 2011
--------------------------------------------------------------------
BEGIN DEBUGGING INFO
--------------------------------------------------------------------
--------------------------------------------------------------------
@glamrock
glamrock / qr label css
Created November 8, 2013 15:59
Unfortunately, this causes 5 columns per page rather than 6, but it's just a series of nudges to get it there. On the Drupal side, there are classes added to QR code and descriptors (see below).
@page {
margin-top: 13mm;
/*margin-bottom: 8mm; factor for padding */
margin-left: 20mm;
margin-right: 20mm;}
#page {padding: 0; margin: 0;}
What about an identicon that is generated as a face? Each of x number of hash/ID elements represents up to 36 options in a given feature.
eg, an id of "1234567890" would control 10 elements of the face, including everything from skin tone (up to 36 shades), lip shape/size/colour, face shape, hairstyle (which insinuates gender).
Gender: facial features coupled with hair insinuate gender. Much like real life, perceived gender reigns supreme.
Part of the problem I can see here is that, in practice, differentation requires a smaller number of variations for each facial feature. Instead of the full a-z/0-9 scenario, it would be easier to use a-f/1-9 and have 6 facial features. The odds of collision here are 1:11390625, and mitigated by also having the country code.
I really like this idea ^_^