Skip to content

Instantly share code, notes, and snippets.

View yoamomonstruos's full-sized avatar

Tom Bates yoamomonstruos

View GitHub Profile
@yoamomonstruos
yoamomonstruos / index.html
Created December 2, 2016 19:08 — forked from d3noob/.block
Simple vertical tree diagram using v4
<!DOCTYPE html>
<meta charset="utf-8">
<style> /* set the CSS */
.node circle {
fill: #fff;
stroke: steelblue;
stroke-width: 3px;
}

Keybase proof

I hereby claim:

  • I am yoamomonstruos on github.
  • I am yoamomonstruos (https://keybase.io/yoamomonstruos) on keybase.
  • I have a public key whose fingerprint is 8CD2 DF3E 6F3C A2C0 0095 7576 8A0D 0BE1 1BE9 D236

To claim this, I am signing this object:

function getFrontMatter(file) {
return new Promise((resolve, reject) => {
readFile(join(__dirname, '../pages', file), (error, content) => {
if (error) return reject(error);
let doc = fm(content.toString())
resolve(doc);
});
})
}
import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import Helmet from 'react-helmet';
import * as BoardsActions from '../actions/boards-actions';
import BoardList from '../components/boardList';
class Boards extends Component {
constructor(props) {
int retweet_number = 20;
int base_size = 20;
void setup() {
size(800, 800);
background(0, 0, 0);
smooth();
};
void draw() {
@yoamomonstruos
yoamomonstruos / flex-align.css
Last active January 3, 2016 05:49
Vertical Alignment
.Aligner {
display: flex;
align-items: center;
justify-content: center;
}
.Aligner-item {
max-width: 50%;
}
// ============================================= //
// SPACING VARIABLES //
// ============================================= //
$spacing: (
'Xxl' 50,
'Xl' 40,
'L' 30,
'M' 20,
'S' 10,
var studios = {
nyc: {
coords: {
latitude: 40.748224,
longitude: -73.995730
}
},
london: {
coords: {
latitude: 51.523910,
@yoamomonstruos
yoamomonstruos / btn.scss
Created December 3, 2013 15:30
Colour generation
.btn {
display: inline-block;
padding: 0 50px;
height: 40px;
color: #FFF;
font-size: 16px;
line-height: 38px;
text-transform: uppercase;
text-decoration: none;
border: 2px solid #FFF;
# Customize to your needs...
export PATH=$PATH:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
PATH=node_modules/.bin:$PATH
PATH=/usr/local/share/npm/bin
PATH=.bundle/binstubs:.bundle/binstubs:/Users/yoamomonstruos/.rbenv/shims:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin