Skip to content

Instantly share code, notes, and snippets.

@vasanthk
vasanthk / System Design.md
Last active July 24, 2024 23:02
System Design Cheatsheet

System Design 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?
@drewtm
drewtm / ascii_graph
Created February 18, 2014 22:07
Quick-and-dirty IMU Sensor Graphing
/*
* Here is a sketch that "graphs" the accelerometer and gyroscope data coming from
* the Pololu L3G and LSM303 libraries--by rapidly outputting graphically-arranged
* strings to the Arduino serial monitor. It's much easier than strings of numbers
* to look at and tell whether your sensors are working properly.
*/
#include <Wire.h>
#include <String.h>
#include <L3G.h>
@IvanZuy
IvanZuy / Keil.gitignoe
Created January 5, 2014 04:43
.gitignore for Keil project.
*.axf
*.htm
*.Inp
*.map
*.tra
*.dep
*.__i
*.crf
*.d
*.o
@monstermunchkin
monstermunchkin / SecureXMLRPCServer.py
Created July 22, 2011 19:29
SSL / TLS XML-RPC Server in Python
import socketserver
import ssl
import xmlrpc.server
try:
import fcntl
except ImportError:
fcntl = None
class SecureXMLRPCServer(socketserver.TCPServer,
xmlrpc.server.SimpleXMLRPCDispatcher):