DevOps
Typical .gitlab-ci.yml Gitlab CI script: .gitlab-ci.yml Sample CI file: Examples: Reuse code inside of .gitlab-ci.yml file Manual deploy only from hotfix or feature branches Show RAM and storage: Angular unit testing in Gitlab
Typical .gitlab-ci.yml Gitlab CI script: .gitlab-ci.yml Sample CI file: Examples: Reuse code inside of .gitlab-ci.yml file Manual deploy only from hotfix or feature branches Show RAM and storage: Angular unit testing in Gitlab
Solution which works with empty object, null and undefined as a value: Alternative solution:
Angular deprecated APIs and features List of deprecated Angular APIs and features Angular deprecation practices Angular Changelog
html: Multiple switch cases with the same output:
Basic syntax html: Syntax with local variables: html: Syntax without markup: html:
js: html: Basic math operations: html: Template reference variable html: Property binding js: html:
Duck Typing A programming style which does not look at an object’s type to determine if it has the right interface; instead, the method or attribute is simply called or used (“If it looks like a duck and quacks like a duck, it must be a duck.”) By emphasizing interfaces rather than specific types, well-designed ... Read more
Python os
Working with files using context manager: Example to get the list of files in the directory with context manager: Working with files (open, read, write, copy, binary) contextlib