Skip to content

Instantly share code, notes, and snippets.

Avatar
👻
boo!

Paul Fitzpatrick paulfitz

👻
boo!
View GitHub Profile
@paulfitz
paulfitz / ChumbyDockerFile
Created Jun 30, 2021 — forked from davidatroberts/ChumbyDockerFile
Dockerfile for Chumby SDK
View ChumbyDockerFile
FROM amd64/ubuntu:20.04
RUN apt-get update && apt-get install -y \
wget \
tar \
sudo \
cmake \
libc6-i386
RUN cd /tmp
RUN wget http://files.chumby.com/toolchain/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
@paulfitz
paulfitz / find_coop.md
Created Sep 5, 2018
Sketch of the fields stored in find.coop
View find_coop.md

find.coop is primarily a database of Organizations with Locations.

Organization

field meaning type
name name of organization string
phone primary phone number string
@paulfitz
paulfitz / find_coop_schema.sql
Created May 19, 2018
current find.coop schema
View find_coop_schema.sql
CREATE TABLE tag_contexts (
id INTEGER NOT NULL,
name TEXT,
friendly_name TEXT,
PRIMARY KEY (id)
);
CREATE TABLE tags (
id INTEGER NOT NULL,
name TEXT,
root_id INTEGER,
@paulfitz
paulfitz / psv.json
Last active Jan 25, 2017
psv schema
View psv.json
{
"datapackage_version": "1.0-beta.7",
"name" : "PSV dialect",
"description" : "Shady partial schema for playing with",
"resources" : [
{
"dialect" : {
"csvddfVersion": 1.0,
"delimiter": "💩",
"doubleQuote": true,
View postgres_odb_backend.c
/*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
View keybase.md

Keybase proof

I hereby claim:

  • I am paulfitz on github.
  • I am paulfitz (https://keybase.io/paulfitz) on keybase.
  • I have a public key whose fingerprint is DEA2 1C97 8939 1A36 6DD5 1B72 B4C5 C07A 4B93 4256

To claim this, I am signing this object:

@paulfitz
paulfitz / hstruct.rb
Created Apr 10, 2014
OpenStruct, modified to be interchangeable with regular instances
View hstruct.rb
# OpenStruct, modified to be interchangeable with regular instances
# in a haxe translation
#
# The one difference with OpenStruct is that any lambda will get
# automatically called, as if it were a regular method:
# thing = HxOpenStruct.new
# thing.add_one = lambda{|x| x+1}
# thing.forty = 40
# thing.forty_two = lambda{ 42 }
@paulfitz
paulfitz / polydriver_test.cpp
Created Mar 8, 2011
Narrow down a memory allocation problem
View polydriver_test.cpp
#include <yarp/os/all.h>
#include <yarp/sig/all.h>
#include <yarp/dev/all.h>
#include <iostream>
using namespace yarp::os;
using namespace yarp::dev;
using namespace std;
@paulfitz
paulfitz / Makefile
Created Dec 21, 2010
This is format specification for table differences
View Makefile
default:
asciidoc tdiff_spec_draft.txt