Skip to content

Instantly share code, notes, and snippets.

View j-chimienti's full-sized avatar
🎯
Focusing

Joe j-chimienti

🎯
Focusing
View GitHub Profile
// Node.js CheatSheet.
// Download the Node.js source code or a pre-built installer for your platform, and start developing today.
// Download: http://nodejs.org/download/
// More: http://nodejs.org/api/all.html
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
<!DOCTYPE html>
<html>
<head>
<title>d3 update</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>
</head>
<body>
<script>
var margin = { top: 50, right: 50, bottom: 50, left: 50 };
var data = [ 5, 30, 10, 25, 7];
@j-chimienti
j-chimienti / README.md
Created August 5, 2016 20:22
D3 tutorial let's make a map

Lets Make a map

This is a simple example following Mike Bostock's Let's Make a Map Tutorial.

var quotes = [
{ quote: 'The lessons we remember are the lessons we learn the hard way',
author: 'Seth Godin'
},
{
quote: 'Anything worth doing is worth doing slowly',
author: 'Mae West'
}, {
quote: 'The things you own end up owning you. It is only after you lose everything that you are free to do anything.',
author: 'Chuck Palahniuk '
@j-chimienti
j-chimienti / d3-meteor-map.markdown
Created February 8, 2018 14:16
D3 - Meteor Map
[
[
"We may make contact with ambitious species on other planets or stars; soon thereafter there will be interplanetary war. Then, and only then, we will of this earth be one",
"Will Durant"
],
[
"We are punished by our sins, not for them",
"Elbert Hubbard"
],
[

Program Info

l i
Program 4 days weekly
Workout Duration 30-60 minutes
Program Duration 8-12 Weeks
Rest Periods About one minute between sets
version: '3.1'
services:
mongo1:
hostname: mongo1
container_name: localmongo1
image: mongo:4.0-xenial
expose:
- 27017
restart: always
entrypoint: [ "/usr/bin/mongod", "--bind_ip_all", "--replSet", "rs0" ]
@j-chimienti
j-chimienti / docker-compose.yml
Last active February 1, 2019 19:24
Mongo cluster
version: '3.1'
services:
mongo1:
hostname: mongo1
container_name: localmongo1
image: mongo
expose:
- 27017
restart: always
entrypoint: [ "/usr/bin/mongod", "--bind_ip_all", "--replSet", "rs0" ]
@j-chimienti
j-chimienti / nginx-docker-compose.yml
Created March 19, 2019 14:27
docker compose file to get nginx proxy and lets encrypt
version: '2'
services:
nginx:
restart: always
image: jwilder/nginx-proxy
container_name: nginx
ports:
- 80:80
- 443:443