11,365 karma · joined October 4, 2017
https://github.com/learnbyexample
https://learnbyexample.github.io/books/
* "Beware of Chicken" by CasualFarmer
* "The Immaculate Collection" by havlo
* "The Runic Artist" by Ellake
* "The Broken Knife" by SilverSidhe
* "Immovable Mage" by ImmovableMage
* "The Gorgon Incident and Other Stories" by John Bierce
* "Quest Academy" by Brian J. Nordon
* "The Weirkey Chronicles" by Sarah Lin
In any case, OP was using `-n1` which means one file per invocation.
I chose `mdbook` over `pandoc` mainly because of themes and search provided by default.
>>> re.compile(r'\w++')
re.error: multiple repeat at position 3
To use such a compiled pattern, you can call the method on this object instead of `re`. For example: >>> word = re.compile(r'\w+')
>>> word.findall('hello-there!')
['hello', 'there']Depends on where you live too - $10k would take care of 5 years for me.
From my experience though, it is better to figure out a way to sell something in addition to the open stuff.
https://news.ycombinator.com/item?id=28898157 (409 points | Oct 19, 2021 | 63 comments)
awk '!a[$0]++'
awk '/search/{n=2} n && n--'* "The Green Bone Saga" by Fonda Lee
* "The Weirkey Chronicles" and "Street Cultivation" by Sarah Lin
See also:
* Middle East/Middle Eastern SFF: https://old.reddit.com/r/Fantasy/comments/128ozc6/the_2023_r...
* Set in Africa: https://old.reddit.com/r/Fantasy/comments/ttrhvf/the_2022_rf...
* Set in Asia: https://old.reddit.com/r/Fantasy/comments/mhz3k7/the_2021_rf...
A Visual Guide to SSH Tunnels: Local and Remote Port Forwarding https://iximiuz.com/en/posts/ssh-tunnels/
My mom repurposed old pants as bags (I used it to carry my books at college - did get a lot of odd looks, but that's what I could afford at that time). Even now, I cut pieces of old clothing to be used for cleaning purposes. Those habits die hard.
If that is not an option, go with Perl. It'd be a little slower, but you'll get consistent results. Plus, Perl has powerful regex, lots of standard libraries, etc.
Then, I started working on an interactive TUI app for Python beginner exercises. I've previously written such apps for CLI tools (grep, sed, awk, coreutils, etc): https://github.com/learnbyexample/TUI-apps
Also, another in 2022: https://news.ycombinator.com/item?id=30273301
You can practice some of the exercises using this interactive TUI app: https://github.com/learnbyexample/TUI-apps/tree/main/CLI-Exe...
See also: https://ratfactor.com/slackware/pkgblog/coreutils, https://maizure.org/projects/decoded-gnu-coreutils/ and https://www.pixelbeat.org/docs/coreutils-testing.html
https://www.shellcheck.net/ is amazing to spot pitfalls.
See my list https://learnbyexample.github.io/curated_resources/linux_cli... for learning resources for CLI tools, scripting, etc.