Skip to content

Instantly share code, notes, and snippets.

View sudk1896's full-sized avatar

Sudarshan Konge sudk1896

View GitHub Profile
@sudk1896
sudk1896 / System Design.md
Created August 12, 2018 12:51 — 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?
import random, math
CC_reqm = 4 #In angstrom units
CH_reqm = 3
CC_C12 = 2516582.4
CC_C6 = 1228.8
CH_C12 = 29108.222 #kcal mol-1A12 http://www.csb.yale.edu/userguides/datamanip/autodock/html/Using_AutoDock_305.a.html
CH_C6 = 79.857949
import random
CC_reqm = 4 #In angstrom units
CH_reqm = 3
CC_C12 = 2516582.4
CC_C6 = 1228.8
CH_C12 = 29108.222
CH_C6 = 79.857949
from unrealcv import client
client.connect()
import sys
num = len(sys.argv)
arg_list = (sys.argv)
args = list()
from unrealcv import client
client.connect()
import sys
command = client.request('vget /camera/0/rotation')
print command
from unrealcv import client
client.connect()
import sys
command = client.request('vget /camera/0/lit')
from unrealcv import client
client.connect()
import sys
##num = len(sys.argv)
##
##arg_list = (sys.argv)
##args = list()
##
from unrealcv import client
client.connect()
import sys
num = len(sys.argv)
arg_list = (sys.argv)
args = list()
@sudk1896
sudk1896 / output.log
Created November 16, 2016 18:40 — forked from lambday/output.log
[[email protected] saurabh]$ g++ -std=c++14 -O3 -w eigen_sqrt.cpp -I/usr/include/eigen3
[[email protected] saurabh]$ ./a.out
default ctor called.
default ctor called.
default ctor called.
default ctor called.
default ctor called.
default ctor called.
Task 1
initializer ctor called.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.