Sundeep π
@learn_byexample
Followers
3K
Following
33K
Media
767
Statuses
13K
I tweet about Regex, Python, Linux CLI one-liners, Vim and interesting tech nuggets. β Author of several programming ebooks and devourer of fantasy books π§
Joined April 2015
Is curl supposed to be pronounced "See URL"? Because that makes sense, but I hadn't thought about it until now.
135
34
2K
There is one thing you can start doing right now that will make your Python API 10 times better. Limit methods to 1 or 2 positional arguments, and make the rest keyword only. The positional arguments should be the key information, i.e. the thing that is being acted upon. In
8
6
121
Here's a lie developers tell themselves: βRecursion is uselessβ That's a coping mechanism because you're afraid of recursion... But you shouldn't be afraid! Recursion is actually nice β¨ And it's a very natural way to express certain algorithms... Let me show you an example.
1
1
3
ππ₯Festive offers for my ebooks till 30-November-2025: "All 13 Books Bundle" is $16 (normal price $36) β learn Regular Expressions, Linux CLI tools, Python, Vim and more! https://t.co/eQPHfOalhH
learnbyexample.gumroad.com
Bundle detailsThis bundle contains all my published ebooks on various programming topics: Understanding Python re(gex)? Understanding JavaScript RegExp Understanding Ruby Regexp CLI text processing...
1
2
2
ππ₯Festive offers for my ebooks till 30-November-2025: "All 13 Books Bundle" is $16 (normal price $36) β learn Regular Expressions, Linux CLI tools, Python, Vim and more! https://t.co/eQPHfOalhH
learnbyexample.gumroad.com
Bundle detailsThis bundle contains all my published ebooks on various programming topics: Understanding Python re(gex)? Understanding JavaScript RegExp Understanding Ruby Regexp CLI text processing...
1
2
2
Are you a #Python user and a lifelong learner? I've just published my 8th annual list of every Python-related Black Friday / Cyber Monday sale I'm aware of. https://t.co/70rNMDsciF
2
5
17
Need a temp file in Python? Maybe you need to test a function that requires a file-like object. Or maybe you need a buffer because you're processing an amount of data so large that it doesn't fit into memory... In these situations, `tempfile.TemporaryFile` can help you out.
1
3
21
So I've been publishing a series of articles on x86 assembly and also putting them together in the form of a PDF. Recently, it crossed 100+ pages. Still halfway more to go, and I am a tad slower because life's gotten very busy lately. The hard part is creating interesting
7
20
133
Vim can do all of that and even better Take a look at it yourself
The VS Code ecosystem is unreal. β’ You can write Python in VS Code β’ You can write Java in VS Code β’ You can write Shell scripts in VS Code β’ You can build Dockerfiles in VS Code β’ You can write Terraform in VS Code β’ You can manage Git from VS Code β’ You can edit YAML
184
355
6K
I consider myself a "just in time" developer. Like I have no idea how to work with sqlite databases in Python. At least not without an ORM. By the end of the day I will. Let me tell you the secret of how I do that... I read docs and play with code until it works. π€«
126
118
2K
π§ "learnbyexample weekly" issue #207 is out. Python testing, Linux Pipes, Vim galore, Size of Space and more! ππ§π Free newsletter about programming, delivered every Friday: https://t.co/FooVxP0qOJ π You'll also get access to previous issues.
learnbyexample.gumroad.com
Motivation I come across various programming resources while researching for the books I write and as part of social media browsing.I hope that this free newsletter (delivered every Friday) will he...
1
1
0
Python Programming Exercises, Gently Explained π 42 programming exercises to let you practice what you've learned, for beginner and intermediate programmers https://t.co/McHiuWiHWw
inventwithpython.com
0
0
0
Vim galore π everything you need to know about Vim https://t.co/Y9NC6t7BfJ
github.com
:mortar_board: All things Vim! Contribute to mhinz/vim-galore development by creating an account on GitHub.
1
0
0
Linux Pipes π how shells internally create pipes, write buffer, named pipes, etc https://t.co/zXZTc0WmlB
biriukov.dev
Pipes # Last updated: Oct 2025 Contents How shells internally create pipes Pipe and write buffer SIGPIPE signal $pipestatus, $? and pipefail FIFO or Named pipes pv tool Pipe usage Packets pipe mode...
1
0
0
Getting started with testing in Python π learn how to create a basic test, execute it, and find the bugs before your users do https://t.co/rPs8kiAfh5
realpython.com
Learn Python testing in depth by writing unit and integration tests, measuring performance, and uncovering security issues. Find bugs before your users do!
1
0
0
π§ "learnbyexample weekly" issue #207 is out. Python testing, Linux Pipes, Vim galore, Size of Space and more! ππ§π Free newsletter about programming, delivered every Friday: https://t.co/FooVxP0qOJ π You'll also get access to previous issues.
learnbyexample.gumroad.com
Motivation I come across various programming resources while researching for the books I write and as part of social media browsing.I hope that this free newsletter (delivered every Friday) will he...
1
1
0
π§° From filtering logs to transforming CSVs, from ENV vars to external commands β the Ruby One-Liners Guide shows how Ruby can replace half your shell toolbox.
learnbyexample.github.io
Example based guide for text processing with Ruby from the command line
1
9
73
π§ "learnbyexample weekly" issue #206 is out. Simpler code, Context manager, CLI oneliners, smolBSD and more! ππ§π Free newsletter about programming, delivered every Friday: https://t.co/FooVxP0YEh π You'll also get access to previous issues.
learnbyexample.gumroad.com
Motivation I come across various programming resources while researching for the books I write and as part of social media browsing.I hope that this free newsletter (delivered every Friday) will he...
1
1
0
The Little Book of Linear Algebra π Vectors, Matrices, Linear Systems, Determinants, etc https://t.co/EstypzGt1F
0
0
1