Skip to content

Instantly share code, notes, and snippets.

View dankhan-adl's full-sized avatar

Mohammad Danish Khan dankhan-adl

  • Atom Data Labs
  • Bengaluru
View GitHub Profile
@sloria
sloria / bobp-python.md
Last active December 17, 2024 19:51
A "Best of the Best Practices" (BOBP) guide to developing in Python.

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@vasanthk
vasanthk / System Design.md
Last active December 26, 2024 13:34
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?
@daniel0076
daniel0076 / homebridge
Created December 5, 2017 14:27
Homebridge init.d script for LEDE/OpenWRT (procd init.d script)
#!/bin/sh /etc/rc.common
# Description: Enable Homebridge on boot
# Author: Daniel Tsai <[email protected]>
START=90
USE_PROCD=1
EXTRA_COMMANDS="status"
EXTRA_HELP=" status Print Homebridge run information"