Skip to content

Instantly share code, notes, and snippets.

View ShawnOakley's full-sized avatar

Shawn Oakley ShawnOakley

View GitHub Profile
@philm
philm / Dockerfile
Last active June 25, 2020 11:36
Docker setup for Ruby on Rails
FROM atlashealth/ruby:2.1.2
ENV DEBIAN_FRONTEND noninteractive
# Install any dependencies needed by Rails
RUN apt-get update -q && \
apt-get install -qy curl libpq-dev libqt4-dev xvfb imagemagick --no-install-recommends && \
# install Node for asset minification
curl -sL https://deb.nodesource.com/setup | bash - && \
@widged
widged / d3lib.md
Created October 4, 2013 03:29
d3 libraries

chartFactory

/affini-tech/ChartFactory

Based on D3.JS and Dimple, ChartFactory provide the ability to build quickly D3.JS charts without coding any lines of javascript. Just define your dashboard in a JSON and voila !

charts: [
        {id:'chart1',
         width:800,height:250,

xAxis:{type:'Category',field: "Month",orderRule:'Date'},

@michaelmalak
michaelmalak / ipyD3.py
Last active December 19, 2015 23:28 — forked from z-m-k/LICENSE
Modifications for Mac compatibility. There is a small chance it still works on Windows -- have not tested.
from __future__ import division
import numpy
import shlex
from uuid import uuid1
class d3object:
def __init__(self,
height=100,
width=100,
topHtml='',
bottomHtml='',
@mbostock
mbostock / .block
Last active August 21, 2023 08:45
World Map
license: gpl-3.0
redirect: https://observablehq.com/@mbostock/map-coloring