Just completed all Access Control challenges on PortSwigger Web Security Academy!
Enjoyed learning bypass and broken logic issues.
What should I explore next to build a solid web security foundation?
#infosec #CTF #Cybersecurity
1
9
435
🚀 Python functions are data too!
You can store them in lists, pass them around, and call them dynamically.
This trick makes your code cleaner, smarter, and way more flexible.
👇 Try this mini "function switchboard"
#Python #AdvancedPython #100DaysOfCode
👀 Python’s bool is a subclass of int 🤯
Yes. 'True' is literally '1', and 'False' is '0'.
Which means... you can use booleans in math!
You’ve probably used it without realizing 😅
Try this and see for yourself 👇
#Python #MindBlown #100DaysOfCode
🤯 Python Trick You’ll Love
Merge 2 dictionaries in 1 line.
No loops, no functions, no imports.
Just '|' 👇 (Python 3.9+)
Clean. Fast. Pythonic.
Try it and reply if this was new to you!
#Python #CodeNewbie #100DaysOfCode #Tech
🎲 Python: Roll a Virtual Dice🎯
Want to simulate rolling a 6-sided dice?
Just one import and one line of code does the trick!
Great for games, simulations, or just having fun!
What's your use case?
#Python #CodeNewbie #100DaysOfCode #Tech
Ever needed to split a list into chunks cleanly, without loops?
This one-liner does it using slicing. No imports. No clutter.
Ideal for batching data or paginating results.
Simple, readable, and 100% Pythonic.
Got a use case in mind? Drop it below.
#Python #100DaysOfCode
🚀 Python unpacking trick:
Ever seen this?
a, b, *rest = [1, 2, 3, 4, 5]
It lets you split data fast.
Great for handling lists when you only care about a few values.
Tried it before? Comment your use-case👇
#Python #CodeTips #100DaysOfCode #Tech
Python’s 'set()' is 🔥 for more than duplicates.
✅ Fast membership tests
✅ Subset & superset logic
✅ Set math: union, diff, intersect
It's a hidden gem for clean logic.
Ever used 'set()' in a unique way? Share below 👇
#Python #CodeNewbie #DevTips #100daysofcoding #tech
Confused by '==' vs 'is' in Python?🐍
'==' means "Does it look the same?" (Value check)
'is' means "Is it the very same thing?" (Memory check)
A key difference for clean code!
#Python #100DaysOfCode #LearnCode #tech
Ever wondered **how Python knows if two things are the same** object?
Meet 'id()' a simple tool to reveal an object’s identity in memory. 🧠
It helps you understand mutability, references, and bugs better!
#Python #LearnPython #CodeNewbie #tech #100DaysOfCode
🤯 You can run Python code "from a string" .
This is how 'eval()' and 'exec()' work under the hood.
Here's how they differ 👇
#Python #CodeTips #Learning #100DaysOfCode
Ever tried printing long text in a CLI?
🐍 Python’s 'textwrap' module lets you wrap text cleanly, just like markdown paragraphs.
Great for building CLIs, logs, or writing tools.
Try this. What will you wrap first? 👇
#Python #CLITools #tech #100DaysOfCode
I’ve completed 15 labs on @WebSecAcademy, mostly focused on XSS.
But now I’m stuck. DOM-based XSS is confusing me.
If you’ve faced this before how did you learn to understand and exploit it better?
Any tips or resources would really help. 🙏
#BugBounty #WebSecurity #XSS
1
7
508
🐍 Python's calendar module can auto-detect weekends.
No external libs.
No hardcoding days.
Useful for:
- Workday calculators
- Leave planners
- Automated reports
What’s your use case? 👇
#Python #DevTools #Tech #100DaysOfCode














