Skip to content

Instantly share code, notes, and snippets.

Thomas Greco tgrecojs

Block or report user

Report or block tgrecojs

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
@tgrecojs
tgrecojs / SassMeister-input-HTML.html
Created Aug 27, 2014
Generated by SassMeister.com.
View d3.md

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

View chi.csv
Date Time Street Address Neighborhood Age Gender Race Name Cause
1/1/2009 2:15 a.m. 100 N. Green St. Near West Side 47 Male Black David Garrett Gunshot
1/3/2009 4:44 a.m. 11300 S. Racine Ave. Morgan Park 34 Male Black Jojuan Miller Gunshot
1/3/2009 5:13 p.m. 2100 E. 68th St. South Shore 40 Male Black Famous Ware Gunshot
1/5/2009 9200 S. Dobson Ave. Burnside 20 Male Black Xavier Lawrence Gunshot
1/8/2009 3:35 p.m. 5900 S. Springfield Ave. West Lawn 18 Male White David Hresil Gunshot
1/10/2009 8:46 p.m. 5000 S. Wabash Ave. Grand Boulevard 28 Male Black Aaron Blanton Gunshot
1/11/2009 1:05 a.m. 8900 S. Halsted St. Washington Heights 34 Male Black Tracy Barnard Hughes Gunshot
1/13/2009 2:01 a.m. 6500 S. Western Ave. Chicago Lawn 21 Male Black Ronnie L. Gibbs Gunshot
1/17/2009 2:23 a.m. 6200 S. Sacramento Ave. Chicago Lawn 19 Male Black Greg Bryant Stabbing
View index.html
<!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>
View chicago-homicde.json
[{
"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"
View 80victims.json
[{
"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"
View questions.json
[
{
"_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",
View pure-component.js
const Post = ({ title, content }) =>
<div>
<h2>{title}</h2>
<p>{content}</p>
</div>;
View pure-component.test.js
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()
})
You can’t perform that action at this time.