Search
Lessons (36)
- Bash Scripting & Scheduled Jobs
Write safe Bash scripts with variables, conditions, loops and functions, make them fail loudly with set -euo pipefail …
- How Browsers Render a Page
… none elements, <head and <script are left out. ( visibility: hidden elements are included: they take space but are …
- Frontend Security
… your app, third-party scripts, browser extensions and other websites all live in it. Browser security is about …
- Jenkins in Production: Deploys, Docker and Scaling
… Use declarative, and drop into a script { } block only when needed. Why shouldn't builds run on the …
- EC2, Storage and Auto Scaling
… Paste the following script in the user-data field. bash !/bin/bash set -euxo pipefail dnf install -y …
- DevOps and the Path from Code to Server
… tuning, security, monitoring, upgrades DevOps principles worth remembering - Automate anything you do twice. A script never forgets a …
- MVC, MVP & MVVM
… the <script setup part acts as the ViewModel -- <script setup import { ref, computed } from "vue"; const email = ref …
- Jenkins: From Install to Your First Pipeline
… Jenkins has two syntaxes: declarative (structured, recommended) and scripted (raw Groovy). Use declarative. groovy pipeline { agent any // run …
- Users, Permissions & sudo
… code, HTML, config without secrets 755 ( rwxr-xr-x ) Folders and scripts others may run 600 ( rw------- ) Secrets …
- React vs Vue vs Angular
… script setup import { ref, computed } from "vue"; const count = ref(0); const double = computed(() = count.value 2); </script …
- Zero-Downtime Deploys & Rollbacks
… env ExecStart=/usr/bin/npm start The deploy script bash !/usr/bin/env bash deploy.sh: build a …
- CI/CD Fundamentals and Pipeline Design
… Deploy to staging Helm, SSH + script, kubectl apply Real environment check 1 to 3 min 10. Approval / smoke …
- Portfolio and GitHub That Prove Your Skills
… document Q&A with RAG and an evaluation script. README template markdown Project Name One sentence: what problem …
- Choosing a Programming Language
… the compiler finds every caller Relies on tests Speed of writing a script Slightly slower Fastest Documentation Types …
- CI/CD with GitHub Actions
… 11), and the workflow fails (red ❌) if the script exits with a non-zero code, for example when …
- Database Relations & Foreign Keys
… message; constraints protect the rule when another service, script or race condition bypasses that validation. Delete behavior is …
- Deploy a Node.js App to a VPS, Step by Step
… Put them in ~/bin/deploy.sh (the script from lesson 6): bash cd /var/www/myapp git pull …
- What Is Object-Oriented Programming?
… Modern languages mix styles: - Small scripts and data transforms are often clearer as plain functions ( map , filter , reduce …
- Clean Architecture
… When NOT to use it For a small script, a prototype or a simple CRUD app, the layers …
- Backend Languages: Node.js, Go, Python & Rust
… processes (GIL limits CPU threads) AI/ML, data, scripting, fast prototyping Slower raw speed Rust async (Tokio) + threads …
- Frontend Performance & Core Web Vitals
… Remove render blockers: inline critical CSS, defer scripts, and preload key fonts with font-display: swap . html <link …
- Linux Command-Line Essentials
… user's personal files ( ~ is a shortcut) Your scripts, SSH keys /root The root user's home Rarely …
- Processes, Services & systemd
… is-active myapp Prints active / failed , handy in scripts systemctl list-units --type=service --state=failed Everything that …
- Multi-Region and Disaster Recovery
… when data is destroyed or corrupted (a bad script deletes a table, and the deletion is happily copied …
- Monitoring, Logs & Backups
… for one of your sites, write the backup script above for a test database, schedule it, and do …
- Clean Architecture in Depth
… infrastructure changes. ❌ Prototypes, small CRUD apps, short-lived scripts. There, a simple layered structure is kinder ( KISS ). Key …
- Flash Sale: 10 Million Buyers, No Oversell
… on Redis You can use a Redis Lua script (a small program that runs inside Redis as one …
- Python Fundamentals
… venv source .venv/bin/activate macOS / Linux .venv\Scripts\Activate.ps1 Windows PowerShell python -m pip install requests …
- Releases, Observability and Production Safety
… Each of these needs its own recovery plan , written before the release, e.g. "a script to find …
- Capacity Planning, SLOs and Error Budgets
… Can it absorb bots and static files (images, scripts) and rate-limit fairly? App Is there still headroom …
- Month 4: RAG and Knowledge Systems (Weeks 13-16)
… 2. Tuesday: Write an ingestion script: read 20-50 documents (market reports, county guides, internal procedures), chunk naively …
- Month 3: LLM Engineering (Weeks 9-12)
… one script runs a prompt set across three models and writes a CSV of output, latency, tokens and …
- Linux Troubleshooting Playbook & Interview Questions
… an alert that would have caught it earlier, a check in the deploy script, a runbook. Blame the …
- Backend Design Scenarios
… decision atomic ( INCR plus expiry or a Lua script), set short timeouts, monitor Redis latency/errors, and never …
- A WhatsApp OTP Is Only Single Use If You Make It So
… If you want "5 tries, then dead" instead, you need more logic, so a short Lua script (which …
- Kafka for Backend Services
… in a DLT. - Build a small tool or script to inspect and replay DLT messages after fixing the …