Skip to content

Instantly share code, notes, and snippets.

@tsenga
tsenga / README.markdown
Created November 11, 2012 18:44
Visualisation Exploration: D3: Timeline Experiment

An experiment within the Visualisation Exploration series.

Exploring, techniques and practices in the field of data visualisation.

See the output: http://bl.ocks.org/tsenga/4055833.

Key history of this experiment:

  • D3, the data driven visualisation enabler.
  • Initial prototype written in handcrafted SVG with handcrafted data
@mbostock
mbostock / .block
Last active October 27, 2018 15:49 — forked from mbostock/.block
Bivariate Area Chart
license: gpl-3.0
redirect: https://beta.observablehq.com/@mbostock/d3-band-chart
@bewest
bewest / README.markdown
Created September 27, 2012 06:20
Ting configure AT chat+pppd in linux 3g+beaglebone angstrom cloud9-image
@bewest
bewest / bewest-nodejs-native.build.log
Created September 4, 2012 18:47
nodejs do_populate_sysroot fails: bitbake
DEBUG: Removed the following variables from the environment: PSEUDO_BINDIR, OE_SOURCE_DIR, OE_BUILD_DIR, DISTRO_DIRNAME, PSEUDO_LOCALSTATEDIR, SSH_CLIENT, PSEUDO_LIBDIR, LD_LIBRARY_PATH, HISTCONTROL, SSH_ASK_PASS, SHLVL, LL_DJANGO_MODE, BBFETCH2, OE_BASE, LD_PRELOAD, EDITOR, OE_BUILD_TMPDIR, STY, PSEUDO_OPTS, TERMCAP, SSH_CONNECTION, BUILDDIR, SSH_TTY, OLDPWD, PSEUDO_PREFIX, SCRIPTS_BASE_VERSION, WINDOW, DJANGO_SETTINGS_MODULE, MAIL, LS_COLORS
DEBUG: Found bblayers.conf (/home/bewest/src/beagle-board-setup-scripts/conf/bblayers.conf)
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/conf/bblayers.conf
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-angstrom/conf/layer.conf
DEBUG: Adding layer /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe
DEBUG: LOAD /home/bewest/src/beagle-board-setup-scripts/sources/meta-openembedded/meta-oe/conf/layer.conf
DEBUG: Adding layer /home
@bewest
bewest / README.markdown
Created July 28, 2012 22:13
oe-core, bitbake theory of operation

Basic theory of operation for using openembedded goes something like this:

I usually have project directories to work under each project in eg /git/. Eg project foo has a working and source directory I use to track it under /git/foo/. So I end up producing builds in /git/foo/builds/ and working on source in /git/foo/src.

Openembedded is composed of many granular parts, but basically works like this: the minimal core is oe-core and bitbake; meta-* packages provide granularity and openembedded, yocto et al to tweak the

@bewest
bewest / 99-novatel.rules
Created June 24, 2012 22:41
How to get Virgin Mobile USA Broadband2Go working in Ubuntu Linux 9.10
# /etc/udev/rules.d/99-novatel.rules
ENV{ID_CDROM}==”?*”, ENV{ID_SERIAL}==”Novatel_Mass_Storage*”, RUN+=”/usr/local/bin/bb2go %k”
@benjchristensen
benjchristensen / index.html
Last active December 7, 2023 13:39
Interactive Line Graph (D3)
<!--
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@jaredhanson
jaredhanson / gist:2559730
Created April 30, 2012 16:20
Restify and Passport /cc Hal Robertson
// Based off example code from Hal Robertson
// https://github.com/halrobertson/test-restify-passport-facebook
// See discussion: https://groups.google.com/forum/?fromgroups#!topic/passportjs/zCz0nXB_gao
var restify = require('restify')
// config vars
var FB_LOGIN_PATH = '/api/facebook_login'
var FB_CALLBACK_PATH = '/api/facebook_callback'
var FB_APPID = '<<YOUR APPID HERE>>'
@jmibanez
jmibanez / gist:2140974
Created March 20, 2012 20:29
Using restify with connect
// Restify server config here
var server = restify.createServer({
name: 'restify-test',
version: '1.0.0',
});
// ...
// Connect config here
var connectApp = connect()
@enthal
enthal / index.html
Created January 28, 2012 20:36
Example of d3 axis() for axes and grid lines
<!DOCTYPE html>
<html>
<head>
<title>D3 - Line Chart - axes and grid using axis()</title>
<!-- script type="text/javascript" src="https://raw.github.com/jquery/sizzle/master/sizzle.js"></script -->
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.min.js"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.time.min.js"></script>
<style type="text/css">
body {