Skip to content

Instantly share code, notes, and snippets.

@kylemcdonald
kylemcdonald / enable-2000mW.sh
Created February 17, 2017 19:27
Enable ~2000mW (33dBm) wireless output on Raspberry Pi.
#!/usr/bin/env bash
# Based on http://networkgeekstuff.com/networking/how-to-create-custom-linux-wi-fi-regulatory-database-to-unlock-30db1000mw/
sudo apt-get update
mkdir ~/regdb
cd ~/regdb
sudo apt-get -y install python-m2crypto
@kylemcdonald
kylemcdonald / prixdata-readme.md
Last active September 8, 2015 19:54
Instructions for downloading and manipulating some raw dumps from the Ars Electronica Prix archive server.

Ars Prix Data Dump

Download 27 years of Ars Electronica Prix submissions: prixdata.zip (1.5MB zipped, 15MB unzipped).

This data was pulled from a public-facing Django endpoint:

curl -o prixdata.json "http://archive.aec.at/prixdata/?iDisplayLength=49119&iDisplayStart=0&sEcho=0"

Marina Abramovic is starting an interdisciplinary performance and education center.

She needs $600,000 to complete this project, so she's raising the money with a Kickstarter.

In the midst of the Kickstarter campaign there is an interesting reward:

THE EXERCISES: MUTUAL GAZE WITH MARINA ABRAMOVIC. Marina will perform the Abramovic Method eye gazing exercise with you via webcam. You may document this experience in any way you’d like and opt to include it in MAI digital archives. PLUS Neuroscience Exclusives, OMA / MAI Digital Design Package, Abramovic Method Exclusives, access to ALL $25 live stream exercises / live events, MAI 101 Lecture and Digital Booklet, MAI Founder (WALL FOUNDER), and Digital MAI rewards.

In order to help Marina meet her goal, and to explore all the possibilities of this exercise, I would like to arrange a "Mutual Gaze" session around one or more of the following constructed situations:

@chrisallick
chrisallick / gist:4693962
Created February 1, 2013 20:36
How day do dat? Pulling vine videos from twitter based on a hashtag. create the json request, bump the script tag with object into your dom, delete dom element, parse it.
result.entities.urls[0].expanded_urlfetch = function(query) {
var script_tag = document.createElement("script");
script_tag.id = "fetcher";
script_tag.src = "https://search.twitter.com/search.json"+query+"&callback=parse";
document.body.appendChild(script_tag);
}
parse = function(data) {
document.body.removeChild(document.getElementById("fetcher"));
if( data && data.results ) {