Skip to content

Instantly share code, notes, and snippets.

@maanimis
maanimis / CONCURRENCY.md
Created December 7, 2025 17:07 — forked from montanaflynn/CONCURRENCY.md
Examples of sequential, concurrent and parallel requests in node.js

Concurrency in JavaScript

Javascript is a programming language with a peculiar twist. Its event driven model means that nothing blocks and everything runs concurrently. This is not to be confused with the same type of concurrency as running in parallel on multiple cores. Javascript is single threaded so each program runs on a single core yet every line of code executes without waiting for anything to return. This sounds weird but it's true. If you want to have any type of sequential ordering you can use events, callbacks, or as of late promises.

Ubuntu/Debian Server Security Setup Guide

Prerequisites

  • Fresh Ubuntu/Debian server installation
  • Root or sudo access
  • Basic familiarity with command line

Step 1: Initial System Update

{
// UI
"workbench.iconTheme": "hypernym-icons",
"workbench.colorTheme": "FullstacksJS (Dark)",
"editor.cursorSmoothCaretAnimation": "on",
"editor.cursorBlinking": "smooth",
"editor.fontFamily": "'Monaspace Argon', 'DejaVuSansM Nerd Font', sans",
"editor.codeLensFontFamily": "'Monaspace Argon'",
"editor.inlineSuggest.fontFamily": "'Monaspace Argon'",
"markdown.preview.fontFamily": "'Monaspace Argon'",