Skip to content

Instantly share code, notes, and snippets.

View BethMwangi's full-sized avatar

Beth Mwangi BethMwangi

  • Crowdfavorite
  • Nairobi, Kenya
View GitHub Profile
@BethMwangi
BethMwangi / .sh
Created March 23, 2023 14:27
Django REST start up Script
#!/bin/bash
# Get the name of the new project from user input
read -p "Enter the name of your new Django project: " project_name
# Create a new directory for the project
mkdir $project_name
cd $project_name
# Create a virtual environment for the project
@BethMwangi
BethMwangi / System Design.md
Created January 13, 2020 17:29 — 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?
@BethMwangi
BethMwangi / System Design.md
Created January 13, 2020 17:29 — 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?
@BethMwangi
BethMwangi / API.md
Created May 16, 2018 15:57 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

{
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Cobalt2",
//Cobalt2 Settings
"editor.fontFamily": "Operator Mono, Menlo, Monaco, 'Courier New', monospace",
// "editor.fontSize": 17,
// "editor.lineHeight": 25,
// "editor.letterSpacing": 0.5,
@BethMwangi
BethMwangi / index.html
Created August 1, 2016 17:34
Portfolio Website
<section class="hero" name="top">
<div class="shape-layer shape-layer-1">
<svg class="shape shape-1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 207.2 227.4">
<path d="M10.4,218.1L196.8,9.3" />
</svg>
<svg class="shape shape-2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 141 118">
<path d="M9.9,45.9L36,19.8l74.5,74.5" />
</svg>
@BethMwangi
BethMwangi / The Technical Interview Cheat Sheet.md
Created July 19, 2016 16:07 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.