Posts

Showing posts from 2020

Work with Raspberry PI Zero W

Setup Raspberry PI  https://desertbot.io/blog/headless-pi-zero-ssh-access-over-usb-windows Setup Wifi with Raspberry PI Zero https://desertbot.io/blog/headless-pi-zero-w-wifi-setup-windows Setup Camera module  https://desertbot.io/blog/how-to-stream-the-picamera

Quotes

  Respect the the flat roads, Run over the hills - 3 Oct 2020 What are you afraid of? - Stopping - 4 Oct 2020 It's not about fatty body, it's about fatty mind. Train your mind, your body will follow - 6 Oct 2020 Turn off all the notifications, those are all distractions. - 16 Oct 2020 This time will pass, only your victory will remain - 24 Oct 2020   Pain, If it is letting you think, it's mental compulsion - 27 Oct 2020  Whatever we say, we forget. Whatever they say, we never forget.  - 14 Jan 2021 True power is to not to dominate the weak, True power is to inspire the strong for your will  - 26 Jan 2021 (Copied) You are what your choices are  - 9 Aug 2021

Typescript 4.0 is officially released

  https://github.com/microsoft/TypeScript/issues/38510

Goals before 35

Image

Flux vs Redux notes

Image

Reactive notes

Image
Not starting with the traditional definitions but some quick one-liner notes about the different parts & pieces of the React. Component in React 1. Defining a Component       -  Always name your components with upper case first letter. 2. Types        - Function components        - Class components 3. Ways of holding data        - props              - prop types (runtime prop validation)        - states             - setState (merge previous state & current state) 4. Life cycle Saying: All React components must act like pure functions with respect to their props.  JSX 1. External domain language, to generate html using JS to build a custom react component.  2. Supports html like syntax in JS.  3. Each element is transformed into a javascript function call.  4. Tran...

Template centric vs javascript centric client side framework

Image
Source:  https://app.pluralsight.com/library/courses/react-big-picture/table-of-contents

Different kind of casing to consider while naming variables, classes, files.

Image
camelCase Camel case  (stylized as  camelCase ; also known as  camel caps  or more formally as  medial capitals ) is the practice of writing phrases such that each word or abbreviation in the middle of the phrase begins with a  capital letter , with no intervening spaces or punctuation. Common examples include " iPhone " and " eBay ". It is also sometimes used in online usernames such as "johnSmith", and to make multi-word  domain names  more legible, for example in advertisements. source:  https://en.wikipedia.org/wiki/Camel_case PascalCase This is also a very popular way to combine words to form a single concept. It is often used as a convention in declaring classes in many languages. source:  https://en.wiktionary.org/wiki/Pascal_case#English Snake_Case Snake case combines words by replacing each space with an underscore (_) and, in the all caps version, all letters are capitalized, as follows: snake_cas...