- Postgres – JSON and JSONB
jsonb is a real column type with real operators, not a text field you parse in the application. -> versus ->>, the containment operator @> and the GIN index that makes it fast, jsonb_path_query, updating one key with jsonb_set, and expanding an array into rows. Ends with the harder question: which of your columns should NOT have been jsonb.
- CSS Introduction
CSS (Cascading Style Sheets) is used to style and lay out web pages — for example, to alter the font, color, size, and spacing of your content, split it into multiple columns, or add animations and other decorative features. It is a simple design language intended to simplify the process of making…
- Git branch
List all branches within a repository git branch //or git branch –list List all of remote branches git branch -a Create a local branch git branch {branch-name} Example: create a branch name test-100 git branch test-100 Check for the new created branch folaukaveinga@Folaus-MacBook-Pro-3 demo % git…
- Javascript Timing
Timing JavaScript code can be executed in time-intervals either by set a timeout and then execute a funciton or set an interval and then execute a function repeatedly. setTimeout(function, milliseconds) // wait 3 seconds and then execute function let timeout = setTimeout(function(){…
- Javascript this keyword
The this keyword references the object of which the function is a property. In other words, the this references the object that is currently calling the function. When this is used alone, the owner is the Global object, so this refers to the Global object. In a browser window the Global object is…