Skip to content

Instantly share code, notes, and snippets.

View marshallformula's full-sized avatar

Nate Gibbons marshallformula

View GitHub Profile
BINARY_NAME=s3proxy
.PHONY: run
run: build
bin/$(BINARY_NAME)
.PHONY: build
@marshallformula
marshallformula / d3-margin.js
Created November 13, 2017 21:33
d3 margin convention
const totalWidth = 960
const totalHeight = 600
const margin = { top: 20, right: 20, bottom: 20, left: 20}
const width = totalWidth - margin.left - margin.right
const height = totalHeight - margin.top - margin.bottom
const svg = d3.select('#chart').append('svg')
.attr('width', width + margin.left + margin.right)
.attr('height', height + margin.top + margin.bottom)
@marshallformula
marshallformula / keybase.md
Created September 8, 2017 16:03
keybase.md

Keybase proof

I hereby claim:

  • I am marshallformula on github.
  • I am marshallformula (https://keybase.io/marshallformula) on keybase.
  • I have a public key ASCQrLpJZteCl4ujjhGJGqMkz4e8QvgVf-yg516f06ibaAo

To claim this, I am signing this object:

@marshallformula
marshallformula / webpack.config.js
Last active November 4, 2016 14:33
webpack that includes assets in dev server
const path = require('path')
const webpack = require('webpack')
const CopyWebpackPlugin = require('copy-webpack-plugin')
const dest = path.resolve(__dirname, '../', '../', 'resources/static')
module.exports = {
entry: {
app: ['./src/index.js']
},