Skip to content

Instantly share code, notes, and snippets.

@tgrecojs
tgrecojs / SassMeister-input-HTML.html
Created August 27, 2014 22:28
Generated by SassMeister.com.
<h1>Hello World</h1>

2016: The Year of the Data Visualization

As 2015 came to a close, I found myself juggling a number of different tasks, some of which were work related and some of which were not. I approach each day with the hunger to learn more about different web technologies. I like to read about stuff such as new advancements in JavaScript libraries as I think it’s important to keep up to date on that type of stuff. After all, web application development is changing rapidly, so it is important for developers such as myself to ensure they we are not using outdated solitions. Well, at least I think its important.

Anyone who develops JavaScript application will tell you that the current scene of JS is similar to Game of Thrones. It is much friendlier version though. Here, there is no war, but instead supporters of rival frameworks and libraries spend time contribute to projects maintained by their “enemies”. The real similarity comes when you analyze who sits upon the Iron Throne. Both in web development and Westoros, no

gistup
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Bl.ocks Example - Tom Greco</title>
</head>
<body>
<p>This is the Bl.ocks</p>
<script id="__bs_script__">//<![CDATA[
document.write("<script async src='http://HOST:3000/browser-sync/browser-sync-client.2.13.0.js'><\/script>".replace("HOST", location.hostname));
//]]></script>
[{
"Date": "1/1/2009",
"Time": "2:15 a.m.",
"Street Address": "100 N. Green St.",
"Neighborhood": "Near West Side",
"Age": 47,
"Gender": "Male",
"Race": "Black",
"Name": "David Garrett",
"Cause": "Gunshot"
[{
"Date": "1/1/2009",
"Time": "2:15 a.m.",
"Street Address": "100 N. Green St.",
"Neighborhood": "Near West Side",
"Age": 47,
"Gender": "Male",
"Race": "Black",
"Name": "David Garrett",
"Cause": "Gunshot"
[
{
"_id": "5954748fa5f5ab0004f90f78",
"updatedAt": "2017-06-29T03:31:27.252Z",
"createdAt": "2017-06-29T03:31:27.252Z",
"questionString": "May I have a raise?",
"answer": "false",
"askee": "Mr. Bossman",
"answerWorth": 1,
"_createdBy": "thomasjosephgreco@gmail.com",
const Post = ({ title, content }) =>
<div>
<h2>{title}</h2>
<p>{content}</p>
</div>;
test('<Post />', assert => {
const msg = 'should render a post';
const props = {
title : 'I am the title',
content: 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam'
};
const actual = <Post {{...props}} />
const expected =
assert.end()
})
@tgrecojs
tgrecojs / index.js
Created August 20, 2017 07:44
next.js shell component
import React from 'react';
export default ({title = 'How tight is this next.js thing?'}) => <h2>{title}</h2>;