Skip to content

Instantly share code, notes, and snippets.

View wbuchanan's full-sized avatar

William Buchanan wbuchanan

View GitHub Profile
@wbuchanan
wbuchanan / iclogs.yml
Last active September 24, 2020 12:29
Logstash configuration example for munging logs generated by Infinite Campus
###########################################################################################################
# I have this file saved as iclogs.yml, but you could name the file anything you wanted to. When you #
# start up logstash you need to tell it where this file is using the -f flag on the command line like: #
# #
# logstash -f iclogs.yml #
# #
# There are still some bugs in the parsing resulting in keys that contain no name value, which might be #
# possible to clean up using the grep setting of the mutate filter. #
###########################################################################################################
@wbuchanan
wbuchanan / districtgrades.json
Last active June 23, 2020 12:16
Help showing school points after zoom to bounding box
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wbuchanan
wbuchanan / .block
Last active July 25, 2018 18:47 — forked from mbostock/.block
SVG feGaussianBlur
license: gpl-3.0
@wbuchanan
wbuchanan / graphBlurbs.json
Created March 22, 2018 15:29
Example of Embedding help Pop Ups in Hoonuit's Edvantage Dashboard Product
[
{ "name" : "# of Incidents by Year",
"id" : "411",
"graphStory" : "This table shows the number of incidents by year. It is broken down into incident type and shows three years.",
"chartType" : "Two-Way Table",
"dataQualityLinkUrl" : "https://icreports.fcps.net/ReportServer/Pages/ReportViewer.aspx?%2fConflictReports%2fICBehaviorErrorRept",
"dataQualityLinkContent" : "Behavior Error Report",
"dataQualityReason" : "Are there any errors affecting my data that need to be addressed?",
"contactEmail" : "Jan Hatfield",
"contactSubjectLine" : "I have a question about Behavioral Incident Data",
@wbuchanan
wbuchanan / balancedAssessment.js
Created November 28, 2016 20:38
Balanced Assessment Framework Illustration
// Defines variables that are global in scope. This is good for debugging but not so good for production code
var nodes, links, node,
margin = {top: 20, right: 50, bottom: 20, left: 50},
width = 1200 - margin.right - margin.left,
height = 1080 - margin.top - margin.bottom,
i = 0,
duration = 750,
root,
tree = d3.layout.tree()
.size([width, height])