Skip to content

Instantly share code, notes, and snippets.

@boxysean
boxysean / gist:1671061
Created January 24, 2012 16:46
kernel error
root@OpenWrt /root# opkg install http://dump.boxysean.com/kmod-batman-adv_3.1.7+2011.4.0-1_ar71xx.ipk
Downloading http://dump.boxysean.com/kmod-batman-adv_3.1.7+2011.4.0-1_ar71xx.ipk.
Installing kmod-batman-adv (3.1.7+2011.4.0-1) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-batman-adv:
* kernel (= 3.1.7-1-d1cb4f844abb40ebc5116c03c7631a92) *
* opkg_install_cmd: Cannot install package kmod-batman-adv.
root@OpenWrt /root# uname -r
3.1.7
@boxysean
boxysean / gist:2030033
Created March 13, 2012 17:24
bootstrap example html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap, from Twitter</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
@boxysean
boxysean / README.md
Created March 22, 2012 20:36
Twitter Autosubmit

Description

Auto submits tweet on "Home" view of twitter.com when 140 characters is reached, keeps textarea in focus, and keeps scrollbar at topmost position.

Developed and tested on OS X 10.5.8, Firefox version 11.0, Greasemonkey 0.9.18.

By Sean McIntyre (email)

Installation Guide

### the following traceroute looks wrong to me. wonder if it's indicative of my issue. ###
# on OS X 10.5
# 192.168.0.1/32 is my home subnet.
# 10.8.0.1/32 is my vpn subnet.
$ netstat -rn
Routing tables
Internet:
### the following traceroute looks wrong to me. wonder if it's indicative of my issue. ###
# on OS X 10.5
# 192.168.0.1/32 is my home subnet.
# 10.8.0.1/32 is my vpn subnet.
$ netstat -rn
Routing tables
Internet:
@boxysean
boxysean / beaglebone-DMX.md
Created November 8, 2012 06:20
beaglebone-DMX README

Output DMX from your BeagleBone

DMX is a standard in the lighting industry and is used in applications from architecture to art installations to stage production.

Build instructions

  1. build pasm by cding into pasm/pasm_source and running the appropriate pasm build script (linux, mac, windows)
  2. type make in the project's root directory
@boxysean
boxysean / rhi-mesh-01.md
Created November 12, 2012 21:52
Red Hook Initiative mesh update: first edition

This is the first of periodic updates I'll make as I gather information.

About

Internet connectivity is largely out in Red Hook. (Open question: How out?) A collection of initiatives are working together to rapidly build infrastructure to provide free, reliable Internet connectivity to Red Hook.

The goal of this project is twofold: to provide Internet connectivity in the short-term for the disaster relief effort, and to create an infrastructure for future disaster responses.

Groups involved:

@boxysean
boxysean / rhi-mesh-02.md
Created November 14, 2012 03:35 — forked from virtadpt/rhi-mesh-01.md
Red Hook Initiative mesh update 002

The weekend was a great buildout of the network. The weekdays are a bit quieter, but progress is still being made.

About

Internet connectivity is largely out in Red Hook. (Open question: How out?) A collection of initiatives are working together to rapidly build infrastructure to provide free, reliable Internet connectivity to Red Hook.

The goal of this project is twofold: to provide Internet connectivity in the short-term for the disaster relief effort, and to create an infrastructure for future disaster responses.

Groups involved:

@boxysean
boxysean / hurricane-hackers-rhi-mesh.md
Created November 16, 2012 23:32
Hurricane Hackers RHI Mesh
@boxysean
boxysean / data-without-borders-final.md
Created December 5, 2012 03:44
Data Without Borders Final

Red Hook Mesh Network

My plan was to collect data about the usage of the Red Hook mesh network, but I failed to collect the proper data!

There is a unix utility called collectd which looks to be a great system operator tool for collecting and storing data over time. collectd is installed on all the routers in the mesh network, however I was never able to get the iptables plugin to report bandwidth used for any collectd instance. Sigh. I even asked people to help and tried a hack to get something, but nothing worked.

When the time came to perform some data analysis, I knew that although I didn't have quite the right data, I was still collecting data, so I started looking into that. A plugin that reported data on the mesh routing algorithm was installed, but when I investigated the data it turned out I had only two whole hours of said data. It looked like some of th