Skip to content

Instantly share code, notes, and snippets.

James Sconfitto jrsconfitto

Block or report user

Report or block jrsconfitto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jrsconfitto
jrsconfitto / index.html
Last active Aug 29, 2015
7 Wonders streamgraph
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>7 Wonders Streamgraph</title>
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
margin: auto;
position: relative;
width: 960px;
}
@jrsconfitto
jrsconfitto / index.html
Last active Aug 29, 2015 — forked from mbostock/.block
7 Wonders scores stacked bar graph
View index.html
<!DOCTYPE html>
<html>
<title>7 Wonders scores as stacked bars</title>
<style type="text/css">
svg {
width: 960px;
height: 500px;
border: solid 1px #ccc;
font: 10px sans-serif;
@jrsconfitto
jrsconfitto / README.md
Last active Aug 29, 2015 — forked from mbostock/.block
7 Wonder's score streamgraphs
View README.md
@jrsconfitto
jrsconfitto / .gitignore
Last active Aug 29, 2015
7 Wonders base block
View .gitignore
node_modules
@jrsconfitto
jrsconfitto / index.html
Last active Aug 29, 2015
7 Wonders blocks base
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script type="text/javascript" src="tabletop.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
var gData
// https://docs.google.com/spreadsheets/d/1Whyq_IPIWrm7L6qTeu4IuSQ2RWnwtfwWiVwhA-jGEtQ/pubhtml
var key = 'https://docs.google.com/spreadsheet/pub?key=0AmhWglGO45rldFBiek84a1FHRmhPQjZaVzRSRGJZbXc&output=html'
View README.md
@jrsconfitto
jrsconfitto / goserve.go
Created Sep 24, 2013
Simple static file server in Go
View goserve.go
package main
import (
"flag"
"fmt"
"net/http"
"os"
"strings"
"strconv"
)
View index.html
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel='stylesheet' type='text/css' href='' />
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<meta name='viewport' content='initial-scale=1.0 maximum-scale=1.0'>
</head>
<body>
<script src=''></script>
@jrsconfitto
jrsconfitto / Build script
Last active Dec 18, 2015
My Nancy root path hacks for debugging views quickly when self-hosting
View Build script
echo "$(ProjectDir)Web" > "$(OutDir)Debug-Path.txt"
@jrsconfitto
jrsconfitto / powershell tips.md
Last active Dec 13, 2015
Useful Powershell commands that i can never remember!
View powershell tips.md

PowerShell tips

Because i can never remember stuff and then i end up walking down the same old road until i get to that stackoverflow answer i've already starred.

Environment variables

List them: Get-ChildItem Env: - Creating and modifying environment variables

Get your path in Powershell: $env:path
Make that path readable: $env:path.split(‘;’)

You can’t perform that action at this time.