3125K - Kode Together

3125K - Kode Together

Share

CODE . CLOUD . SECURE . AUTOMATE
3125K will amaze you!!!

26/07/2026

Ep 36 — Scope: The LEGB Rule ⭐ "Why didn't my variable change?!" 😤 90% of those bugs are SCOPE. Python looks up names in an exact order — L→E→G→B — and once you know it, UnboundLocalError never surprises you again. Save this card šŸ“Œ you WILL need it.

26/07/2026

not 0 = ...? Truthiness separates juniors from seniors šŸ„‹ Drop your answer + your years of Python experience below!

25/07/2026
25/07/2026

Add two numbers WITHOUT converting them šŸ”— LeetCode #2 — the carry trap that fails interviews. Would your loop survive 5+5?

25/07/2026

šŸ“˜ EP 43 — Read-Only Containers

šŸ”’ The simplest container hardening trick almost nobody uses: make the filesystem read-only.

If an attacker can't write files, they can't drop a payload, a webshell, or a crypto-miner. Game over for them. šŸ›”ļø

docker run --read-only myapp

App needs to write to /tmp? Give it a writable in-memory tmpfs and nothing else:
--tmpfs /tmp --tmpfs /run āœļø

šŸ”„ Stack it: read-only + non-root + cap-drop = a container so locked down that even a code-execution bug finds almost nothing to grab. Defense in depth, three flags.

šŸ’¬ Which of these 3 are you already doing? šŸ‘‡
šŸ”– Save the fortress recipe.

25/07/2026

Day 33 — Redshift

šŸ“Š Day 33/100: Querying billions of rows for analytics? RDS will cry. Redshift won't.
Columnar storage + massively parallel processing = complex reports in seconds. šŸ’° But for occasional S3 queries, Athena is cheaper — know the difference.
šŸ”– Save the "warehouse vs app DB" rule.

25/07/2026

Ep 35 — Unpacking Magic Swap two variables with ZERO temp variables šŸŖ„ Plus: split lists with *rest and merge dicts in one line. The syntax tricks that make seniors' code look like magic. Which one did you not know? Comment the number!

25/07/2026

🚨 SNEAKY ONE 🚨 Is (1) a tuple or not? 90% answer too fast and regret it. Take your time... then comment!

24/07/2026

šŸ“˜ EP 42 — Drop Capabilities ⭐

šŸ”» Your container ships with ~14 Linux "superpowers" (capabilities) by default. Your app probably uses zero of them. Every unused one is a free gift to an attacker. šŸŽ

The senior move: drop everything, add back only what's essential.

--cap-drop ALL --cap-add NET_BIND_SERVICE

Layer on:
🚫 --security-opt no-new-privileges (block privilege escalation)
🧱 --security-opt seccomp=profile.json (restrict syscalls)

This is least-privilege for containers — and it blocks whole classes of exploits for free. šŸ”’

šŸ’¬ Did you know containers had capabilities at all? šŸ‘‡
šŸ”– Save this hardening combo.

24/07/2026

Most Python beginners never ask WHY this works. __mul__

Want your school to be the top-listed School/college in Kathmandu?

Click here to claim your Sponsored Listing.

Location

Address

Kathmandu
44600