Skip to content

Instantly share code, notes, and snippets.

Michael Taylor Scheer ScheerMT

Block or report user

Report or block ScheerMT

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
ScheerMT / Makefile
Created Feb 28, 2018 — forked from hallettj/Makefile
Makefile for transpiling with Babel & Flow in a Node app, or in a client- or server-side shared library
View Makefile
# Makefile for transpiling with Babel in a Node app, or in a client- or
# server-side shared library.
.PHONY: all clean
# Install `babel-cli` in a project to get the transpiler.
babel := node_modules/.bin/babel
# Identify modules to be transpiled by recursively searching the `src/`
# directory.
ScheerMT / System
Created Apr 18, 2016 — forked from vasanthk/System
System Design Cheatsheet
View System

#System Design Interview Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

##Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
View gist:a92501d1e0adf13cadf66163d0bf05e7
The description of the method
- parameter parameterName1: description of param
- parameter parameterName2: description of param
- returns: description of return value
(undefined but common things)
- complexity: O(1).
- note: a note
- requires: The next value is representable.
View statsd.rb
#!/usr/bin/env ruby
# vim: set ft=ruby
require 'socket'
require 'term/ansicolor'
include Term::ANSIColor
You can’t perform that action at this time.