Skip to content

Instantly share code, notes, and snippets.

@gurkanoluc
gurkanoluc / System Design.md
Created April 18, 2016 21:56 — forked from vasanthk/System Design.md
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?
#!/bin/bash
export PATH=/usr/local/.rbenv/bin:/root/.rbenv/shims/:$PATH;
cd /var/www/<project_name>/current && bundle exec sidekiq -e production -C /var/www/<project_name>/current/config/sidekiq.yml -P /var/www/<project_name>/shared/pids/sidekiq.pid
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Car c1 = new Car("Ferrari");
Car c2 = (Car) c1.clone();
}
public class Car implements Cloneable {
public String name;
public Car() {
// TODO Auto-generated constructor stub
}
public Car(String name)
#!/usr/bin/env python
# coding: utf-8
from otomobil import *
def main():
c = Otomobil()
i = 0
<div id="training_program">
<table>
<tr>
<td style="width:100px;">Saatler / Günler</td>
<td style="width: 40px; padding: 5px; text-align: center;">
Pazartesi </td>
<td style="width: 40px; padding: 5px; text-align: center;">
Salı </td>
<td style="width: 40px; padding: 5px; text-align: center;">
Çarşamba </td>
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, strUtils;
type
TForm1 = class(TForm)
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, strUtils;
type
TForm1 = class(TForm)
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)