Skip Navigation
Beginners Guides
  • I have a list of learning resources for CLI tools and scripting here: https://learnbyexample.github.io/curated_resources/linux_cli_scripting.html

    I've also written a few TUI interactive apps to practice text processing commands like grep, sed, awk, coreutils, etc: https://github.com/learnbyexample/TUI-apps

  • I wrote a Vim Reference Guide (beginner to intermediate level)
  • Why do you think it is a phishing link? Gumroad is a well known platform to sell digital goods.

    I mention it is free up to some date because it will go back to being a paid product after that.

  • I wrote a Vim Reference Guide (beginner to intermediate level)

    Hello!

    I am pleased to announce a new version of my Vim Reference Guide ebook.

    This is intended as a concise learning resource for beginner to intermediate level Vim users. It has more in common with cheatsheets than a typical text book. Topics like Regular Expressions and Macros have more detailed explanations and examples due to their complexity. I hope this guide would make it much easier for you to discover Vim features and learning resources.

    Links:

    • Web version: https://learnbyexample.github.io/vim_reference/
    • PDF/EPUB versions: https://learnbyexample.gumroad.com/l/vim_reference_guide (FREE till 31-Aug-2024)
    • Markdown source: https://github.com/learnbyexample/vim_reference
    • Video demos: https://www.youtube.com/playlist?list=PLTv2U3HnAL4NN2tK-59ZiNBm-o64-Yvos

    Did you know that Vim has an easy mode, which is actually very hard to use for those already familiar with Vim? See my blog post for more details!

    I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

    Happy learning :)

    12
    Basic examples for the Linux date command
    learnbyexample.github.io Basic examples for the Linux date command

    Examples and resource links for the Linux date command.

    I rarely ever use the date command, but when I need it I almost always struggle to get the right incantation. So, wrote a blog post for easy reference.

    Do you use a cheatsheet as well?

    16
    What's everyone reading lately? 08/06/2024)
  • I started reading progression fantasy on Royal Road earlier this year (a site for posting web serials). Here's my current follow list (excluding stories that are on hiatus):

    • The Runic Artist — isekai, rune-based crafting, good mix of action and slice-of-life
    • The Broken Knife — Kobold MC with a dragon companion, dark but compelling read, excellent worldbuilding
    • Demon World Boba Shop — cozy isekai, nice characters
    • Dual Wielding — slow burn, tale of two friends (both very talented), writing is good, action scenes get dark and intense
    • Legends and Librarians — cozy romance, magical library (not litrpg/progression), plenty of cute creatures
    • An Otherworldly Scholar — isekai, teacher MC, good worldbuilding, nice romance, great characters, plenty of twists, adventure and danger, especially enjoyed the slice-of-life stuff
    • Archmage from Another World: Gaining Administrator Access — isekai from another fantasy world, lighthearted fun with good set of characters, no looming world-level threats so far
    • Underkeeper — MC is a recent magical academy graduate, good at magic but works as underkeeper (no money/connections to join adventurer groups), got darker than I'm comfortable with, but loved the characters and the demon companion
    • Immovable Mage — good worldbuilding, characters, plot twists and detailed magic system, clever use of plot events pushes MC towards OP, would suggest to read at least till the end of 2nd arc
    • Level One God — likeable MC, cool magic stuff I haven't seen before, some bad moments are really dark, good writing
    • Spire's Spite — criminally underrated with only 100+ followers, mostly been spire climbing so far, good magic system, dark and has some stuff I don't like but overall I've enjoyed it
    • Blood Curse Academia — overall I enjoyed the combination of action, learning and mystery, but a lot of weird coincidences and stuff didn't make sense
    • Mana Mirror — loved the concept of mana garden and the myriad customization options, writing and plot was easy to follow, third volume is the best so far
    • The Maid Is Not Dead — writing felt like traditionally published epic fantasy with progression elements, slow burn but events are starting to escalate
    • Dark Lord's Last Call — MC's soul is swapped with the dark lord, plans to open a tavern, enjoyable light-hearted read
    • Orphan — I usually ignore the litrpg math but this one takes it a bit too far! characters all have flaws (though sometimes it becomes a bit too irritating), good worldbuilding and mystery
    • Rules of Biomancy — 70 year old herbalist MC with a secret past comes across two isekai-ed people in danger of dying and decides to help, enjoying a lot
  • Build your own SQLite, Part 1: Listing tables
    blog.sylver.dev Build your own SQLite, Part 1: Listing tables

    As developers, we use databases all the time. But how do they work? In this series, we'll try to answer that question by building our own SQLite-compatible database from scratch. Source code examples will be provided in Rust, but you are encouraged t...

    Build your own SQLite, Part 1: Listing tables
    0
    Interactive TUI app with 100+ Python re(gex)? exercises
    github.com TUI-apps/PyRegexExercises at main · learnbyexample/TUI-apps

    Terminal User Interface (TUI) apps. Contribute to learnbyexample/TUI-apps development by creating an account on GitHub.

    TUI-apps/PyRegexExercises at main · learnbyexample/TUI-apps

    I wrote a TUI application to help you practice Python regular expressions. There are more than 100 exercises covering both the builtin re and third-party regex module.

    If you have pipx, use pipx install regexexercises to install the app. See the repo for source code and other details.

    3
    Making an iterator out of a function
    mathspp.com TIL 100 – Making an iterator out of a function

    You can use the Python built-in function iter with two arguments to create an iterator from a function.

    2
    A Logical Way to Split Long Lines
  • Not my blog, just sharing it here.

    That said, I don't see that broken rectangle on Chromium.

  • What is PID 0?
    blog.dave.tf What is PID 0? · blog.dave.tf

    Yes, there's a PID 0! An explanation of what it is, and a quick walk through linux early boot code.

    17
    I wrote a book on Linux command line tools and Shell Scripting (beginner to intermediate level)
  • Is it regex or sed/awk syntax (or both) that gives you trouble?

    I had similar reaction and didn't even try to learn them for years - then I caught the stackoverflow craze of answering CLI questions (and learning from others).

  • I wrote a book on Linux command line tools and Shell Scripting (beginner to intermediate level)

    Hello!

    I am pleased to announce a new version of my Linux Command Line Computing ebook.

    This ebook aims to teach Linux command line tools and Shell Scripting for beginner to intermediate level users. The main focus is towards managing your files and performing text processing tasks. Plenty of examples are provided to make it easier to understand a particular tool and its various features. There are 200+ exercises to help you practice what you've learned and solutions are provided for reference. I hope this ebook would make it easier for you to discover CLI tools, features and learning resources.

    Links:

    • Free PDF/EPUB: https://learnbyexample.gumroad.com/l/cli_computing (till 9-June-2024)
    • Web version: https://learnbyexample.github.io/cli-computing/
    • Markdown source, exercise solutions, etc: https://github.com/learnbyexample/cli-computing
    • Short video about the book: https://youtu.be/vedRFbWwx_c

    I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

    Happy learning :)

    9
    What are your must-have programs?
  • oxipng, pngquant and svgcleaner for optimizing images

    auto-editor for removing silent portions from video recordings

  • How terminal works
  • Not my blog, just sharing it here. Saw it on HN (https://news.ycombinator.com/item?id=40419325)

  • Improving shell workflows with fzf
  • What's the difference between two_percent and skim?

  • What apps would you love to have open-source alternatives for?
  • Check out https://novelwriter.io/

    I'm not familiar with such softwares (I use pandoc for technical writing), but might help you..

  • CLI text processing with GNU Coreutils (head, tail, tr, sort, paste, pr, join, etc)
  • Yeah, it is uncommon spelling, but if you google, you'll find it's not that rare ;)

  • CLI text processing with GNU Coreutils (head, tail, tr, sort, paste, pr, join, etc)
  • I'm self-published and haven't worked for other publications. Sometimes, my submissions reach HN front page, so you might have seen there or because others picked it up from there and shared around elsewhere.

  • Vim prank: alias vim='vim -y'
  • As per the manual, "Mappings are set up to work like most click-and-type editors" - which is best suited with GUI Vim.

    While Vim doesn't make sense to use without the modes, there are plugins like https://github.com/tombh/novim-mode!

  • CLI text processing with grep, sed, awk, perl and ruby
  • I had to learn Linux CLI tools, Vim and Perl at my very first job. Have a soft spot for Perl, despite not using it much these days other than occasional one-liners (mainly for advanced regex features).

  • CLI text processing with grep, sed, awk, perl and ruby
  • Thanks a lot for the kind words! Means a lot to me :)

  • What are you reading??
  • I'm a bit active on book-related forums. I post reviews of books I've read, give book recommendations, etc. In this case, the author contacted me based on my reviews.

  • What are you reading??
  • Like alpha, beta, gamma readers. Used by authors to get feedback at various stages of their book before it is published. Alpha stage is very rough, like first draft. Not sure where the line lies between beta and gamma stage, but they are close to finished works - only typos and minor changes would be made based on reader feedback.

    For indie authors, beta readers often help to get a few reviews out close to book publication.

  • What are you reading??
  • I'm doing a beta-read. Well written, great ideas, etc. Unfortunately, the book is turning out to be much darker than I'm comfortable with. I'll probably try to get to the halfway point before deciding to give up.

  • Easy book to resume reading?
  • Bobiverse by Dennis E. Taylor is a fun and easy read

  • learnbyexample learnbyexample @programming.dev

    Interests: Regular Expressions, Linux CLI one-liners, Scripting Languages and Vim

    GitHub: https://github.com/learnbyexample

    Posts 105
    Comments 65