- Reviewers / Assignees:
 
gh repo view --json assignableUsershttps://www.maalik.dev/projects/onroad
Our application adopts a monorepo architecture, consolidating backend and frontend code within a single repository. This streamlined approach facilitates efficient codebase management and simplifies the deployment process.
Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:
Up Arrow: Will show your last commandDown Arrow: Will show your next commandTab: Will auto-complete your commandCtrl + L: Will clear the screen| export interface PaginationOptions { | |
| totalItems: number; | |
| currentPage?: number; | |
| pageSize?: number; | |
| maxPages?: number; | |
| } | |
| function paginate(options: PaginationOptions) { | |
| const totalItems = options.totalItems || 1; | |
| let currentPage = options.currentPage || 1; | |
| const pageSize = options.pageSize || 10; | 
Functional programming produces programs by composing mathematical functions and avoids shared state & mutable data
Class Inheritance: instances inherit from classes (like a blueprint — a description of the class), and create sub-class relationships: hierarchical class taxonomies. Instances are typically instantiated via constructor functions with the  new  keyword. Class inheritance may or may not use the  class  keyword from ES6.
Prototypal Inheritance:  instances inherit directly from other objects. Instances are typically instantiated via factory functions or  Object.create()  Instances may be composed from many different objects, allowing for easy selective inheritance.
A module usually corresponds to one .py file containing Python code, A Python module which can contain submodules or recursively, subpackages is called a package. Technically, a package is a Python module with an __path__ attribute
The default implementation of python is CPython (interpreter is writting in C language)
myString =  "abcdedg"| function is(value) { | |
| const checks = { | |
| get string() { | |
| return value instanceof String || typeof value === "string"; | |
| }, | |
| get undefined() { | |
| return typeof value === "undefined" || value === undefined; | |
| }, | |
| get null() { | |
| return value === null; | 
| #!/bin/sh | |
| # Update And Upgrade The System | |
| echo "\e[1;32m Upgrading Ubuntu \e[0m" | |
| sudo apt update && sudo apt upgrade -y | |
| # Install Common Packages | |
| echo "\e[1;32m Installing Common Developer Dependencies \e[0m" | |
| sudo apt install -y git pwgen wget curl make build-essential libssl-dev zlib1g-dev \ | |
| libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev \ | 
I use react-table npm package and i store all the data required by the table in the state
componentDidMount() {
    this.props.client
      .query({
        query: ALL_SKUS
      })
      .then(({ data }) => {
        const skus = removeTypename(data.allSkuTypes);