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
@glamrock
glamrock / scrape.alexa.rb
Last active December 28, 2015 18:59 — forked from zerothabhishek/scrape.alexa.rb
Scrape top 500 Belarusian sites from Alexa
## Via
# How to run:
# ruby alexaby.rb
#
# Output:
# 20 files each with the data in csv format
#
#
# Dependencies:
# ruby version > 1.9 # "ruby -v" to check
@glamrock
glamrock / gist:7584028
Created November 21, 2013 15:47
Internet: Don't use this code, I might be pulling a Rob Ford.
#!/bin/sh
# turn off debugging by default, change to 1 for debug log.
debug=0
wget=$(which wget)
# in the future this should get read with uci
# but since we're not exposing the value to change stick with Commotion default.
json_info_host='127.0.0.1'
json_info_port='9090'
-- calling the ip address to display in the node
local sys = require "luci.sys"
local uci = luci.model.uci.cursor()
-- Define the variable
-- for every adhoc connection
-- Use ubus to call the network interface list and grep for devices
@glamrock
glamrock / github unfollower
Created December 11, 2013 03:06
It's not you, it's me. Bulk unfollow of everyone on a given page.
void($('.btn-unfollow').click())
@glamrock
glamrock / cypherdoge
Created December 31, 2013 09:56
much crypto. such libertarianism.
Il 31.12.2013 03:51 coderman ha scritto:
> i'll let you cypherpunks in on a secret financial tip:
> the smart money banks in dogecoin: http://dogecoin.com/
▄ ▄
▌▒█ ▄▀▒▌
such coin ▌▒▒█ ▄▀▒▒▒▐
▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐ very
▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐ crypto
▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌
▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌
@glamrock
glamrock / gist:8608451
Created January 24, 2014 22:50
commotiond compile error
-- Build files have been written to: /home/cyril/commotiond/build/tests/src/googletest-build
[ 70%] Performing build step for 'googletest'
Scanning dependencies of target gtest
[ 50%] Building CXX object CMakeFiles/gtest.dir/src/gtest-all.cc.o
Linking CXX static library libgtest.a
[ 50%] Built target gtest
Scanning dependencies of target gtest_main
[100%] Building CXX object CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
Linking CXX static library libgtest_main.a
[100%] Built target gtest_main
@glamrock
glamrock / alexanderhamilton
Last active January 4, 2016 17:09
Alexander Hamilton
"Contact : \
""Expected_Behavior : \
""Name : Alexander Hamilton\
""Bad_Behavior : \
""User_action : \
"Thu Jan 23 22:29:35 UTC 2014
--------------------------------------------------------------------
BEGIN DEBUGGING INFO
--------------------------------------------------------------------
--------------------------------------------------------------------
@glamrock
glamrock / aaronburr
Created January 27, 2014 16:36
Aaron Burr
"Contact : \
""Expected_Behavior : \
""Name : Aaron Burr\
""Bad_Behavior : \
""User_action : \
"Thu Jan 23 22:29:23 UTC 2014
--------------------------------------------------------------------
BEGIN DEBUGGING INFO
--------------------------------------------------------------------
--------------------------------------------------------------------
/* Solarized Dark
For use with Jekyll and Pygments
http://ethanschoonover.com/solarized
SOLARIZED HEX ROLE
--------- -------- ------------------------------------------
base03 #002b36 background
base01 #586e75 comments / secondary content
Setting up tor (0.2.3.25-1) ...
* Starting tor daemon... [ OK ]
Setting up torsocks (1.3-3) ...
Setting up trousers (0.3.10-3) ...
* Starting Trusted Computing daemon tcsd [fail]
invoke-rc.d: initscript trousers, action "start" failed.
dpkg: error processing trousers (--configure):
subprocess installed post-installation script returned error exit status 137
Processing triggers for ureadahead ...
Setting up tor-geoipdb (0.2.3.25-1) ...