Skip to content

Instantly share code, notes, and snippets.

View evanpeck's full-sized avatar

Evan Peck evanpeck

View GitHub Profile
@evanpeck
evanpeck / recursiveTrace.py
Last active August 29, 2015 14:07
While teaching recursion in an Introduction to CS class, I wasn't terribly happy with any existing visualizations of recursive methods. I created a very simple command-line vis that traces the calls in sumOfDigits
'''
ORIGINAL FUNCTION
def sumOfDigits(numberString):
if len(numberString) < 1:
return 0
else:
return int(numberString[0]) + sumOfDigits(numberString[1:])
'''
@evanpeck
evanpeck / .block
Last active October 28, 2016 14:20
HindSight: D3 Scatterplot Example
license: mit
@evanpeck
evanpeck / .block
Created October 28, 2016 13:29
HindSight: Exoplanets Scatterplot
license: gpl-3.0
@evanpeck
evanpeck / .block
Last active October 28, 2016 14:01
HindSight: US Map of Nielsen Media Markets
license: mit
@evanpeck
evanpeck / .block
Last active October 29, 2016 01:57
HindSight: Sequences sunburst
license: mit
@evanpeck
evanpeck / .block
Last active October 29, 2016 02:41
HindSight: Bubbly Jobs Chart
height: 2500
@evanpeck
evanpeck / .block
Created October 29, 2016 20:16
HindSight: Zoomable Treemap Bar Chart
license: mit

This is a header - it's big

In general, you can just type away, but there are a number of markers that are nice to know.

If you want to quote something from text, use >:

this is how I would quote some text from another source. This is especially nice if it's a longer quote. Is this long enough? I'm just making up words as I write.

More pound signs mean smaller headers

@evanpeck
evanpeck / ClassConduct.md
Last active August 12, 2021 12:31
A code of conduct that is inserted into the syllabus of CS courses. I'd love to improve it + make it more actionable. Don't hesitate to suggest changes!

Code of Conduct

You have two primary responsibilities:

  • Promote an inclusive, collaborative learning environment.
  • Take action when others do not.

Professionally, we adhere to ACM’s Code of Ethics. More broadly, a course like INSERT COURSE NAME involves reflection, collaboration, and communication. Computer science has a checkered history with respect to inclusion – in corporate environments, in our classrooms, and in the products we create. We strive to promote characteristics of transparency and inclusivity that reflect what we hope our field becomes (and not necessarily what it has been or is now).

We reject behavior that strays into harassment, no matter how mild. Harassment refers to offensive verbal or written comments in reference to gender, sexual orientation, disability, physical appearance, race, or religion; sexual images in public spaces; deliberate intimidation, stalking, following, harassing photography or recording, sustained d

@evanpeck
evanpeck / 2016_seattle_censusTracts.geojson
Created October 8, 2023 18:27
Seattle Census Example for INFO 4602
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.