Skip to content

Instantly share code, notes, and snippets.

View RichNwankwo's full-sized avatar

Richard Nwankwo RichNwankwo

View GitHub Profile
@RichNwankwo
RichNwankwo / README.md
Created January 31, 2020 00:42 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
@RichNwankwo
RichNwankwo / SketchSystems.spec
Last active December 16, 2019 08:54
Timeline View
Timeline View
Total -> Total Timeline View
Breakdown -> Breakdown Timeline View
Total Timeline View
All Visitors Button -> All Visitors
New Visitors Button -> New Visitors
Returning Visitors Button -> Returning Visitors
All Visitors
New Visitors
Returning Visitors
@RichNwankwo
RichNwankwo / SketchSystems.spec
Created June 15, 2018 21:44
Off Task Decision
Off Task Decision
On Task
User is going off task -> Note Writing
User is staying on task -> Note Writing
Note Writing
User goes off task -> Pause Screen
User stays on task -> On Task
Pause Screen
User returns to work -> On Task
SELECT * FROM
(SELECT CASE WHEN (routine_1=10065) THEN '5' WHEN (routine_2=10065) THEN '7' WHEN (routine_3=10065) THEN '9' WHEN (routine_4=10065) THEN '11' END AS 'attribute_id_max_value'
FROM tfl_circles WHERE id = 44) as `circle_attribute_translate`
INNER JOIN
tfl_circle_attributes ON attribute_id_max_value = attribute_id
WHERE tfl_circle_attributes.circle_id = 44
UNION
SELECT * FROM
(SELECT CASE WHEN (routine_1=10065) THEN '6' WHEN (routine_2=10065) THEN '8' WHEN (routine_3=10065) THEN '10' WHEN (routine_4=10065) THEN '12' END AS 'attribute_id_min_value'
FROM tfl_circles WHERE id = 44) as `circle_attribute_translate`
var HelloWorld = React.createClass({
getDefaultProps: function(){
return {
message: "You danced all night baby you deserve it!"
}
},
getInitialState: function(){
return {
artist: "Drake"
queue()
.defer(d3.json, "/js/us.json")
.defer(d3.csv, '/<?php echo $data['msc']['filedata']?>')
.await(ready);
function ready(error, us, data) {
console.log(error, us, data);
var pairRateWithId = {};
var pairNameWithId = {};