- Flyweight Pattern
Introduction The Flyweight Pattern is a structural design pattern that minimizes memory usage by sharing as much data as possible between similar objects. Imagine a text editor rendering a document with thousands of characters. Each character needs a font, size, and color — but most characters…
- Composite Pattern
Introduction The Composite Pattern is a structural design pattern that lets you compose objects into tree structures and then work with those structures as if they were individual objects. Think of a file system — a directory can contain files and other directories. Whether you ask for the size of…
- 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…