learnbyexample
Interests: Regular Expressions, Linux CLI one-liners, Scripting Languages and Vim
- 136 Posts
- 15 Comments
- learnbyexample@programming.devOPtoPython@programming.dev•All About Decorators in PythonEnglish2·7 个月前
I’m not the site author, just submitting the link.
Not sure which part you need to be logged in to view - I’m seeing links to different articles and exercises and they are all visible without logging (I checked in an incognito window).
- learnbyexample@programming.devOPtoProgramming@programming.dev•A Logical Way to Split Long LinesEnglish1·1 年前
Not my blog, just sharing it here.
That said, I don’t see that broken rectangle on Chromium.
- learnbyexample@programming.devtoProgramming@programming.dev•Algorithms for Competitive ProgrammingEnglish4·1 年前
See also: https://github.com/pllk/cphb (Competitive Programmer’s Handbook)
I have a list of curated resources here: https://learnbyexample.github.io/py_resources/
There are sections for beginners, intermediate, advanced, etc. Also included are exercises, projects, debugging, testing, and many more stuff. Hope it helps :)
See also: https://jimbly.github.io/regex-crossword/
For Python, I wrote a TUI app with 100+ interactive exercises: https://github.com/learnbyexample/TUI-apps/blob/main/PyRegexExercises (covers both
re
andregex
modules)
- learnbyexample@programming.devOPtoJavaScript@programming.dev•Understanding JavaScript RegExp with hundreds of examples and exercisesEnglish4·2 年前
It’s the name of the constructor, for example:
const pat1 = new RegExp(`42//?5`)
So, I used that in the book name.
- learnbyexample@programming.devtoProgramming@programming.dev•Best place to write and host a programming guideEnglish8·2 年前
I use GitHub pages and mdbook (https://github.com/rust-lang/mdBook)
- learnbyexample@programming.devtoProgramming@programming.dev•What helps people get comfortable on the command line?English3·2 年前
You can do it in Bash as well. Put this in
.inputrc
:"\e[A":history-substring-search-backward "\e[B":history-substring-search-forward # or, if you want to search only from the start of the command "\e[A": history-search-backward "\e[B": history-search-forward
I start my search string with
stackoverflow
as a workaround.
- learnbyexample@programming.devtoProgramming@programming.dev•LPT: ChatGPT is incredible for generating and evaluating regex2·2 年前
That depends on the regex flavor. Some of them have full support for variable length lookbehinds, for example JavaScript and third-party
regex
module for Python.
- learnbyexample@programming.devOPtoProgramming@programming.dev•The Front-End Developer's Guide to the TerminalEnglish4·2 年前
The post isn’t about terminal frameworks though, it is about how to get started using the command line.
- learnbyexample@programming.devOPtoProgramming@programming.dev•Learn x86-64 assembly by writing a GUI from scratchEnglish3·2 年前
I’m just sharing the article here.
You might be able to reach the author via https://github.com/gaultier/blog/issues or https://www.linkedin.com/in/philippegaultier/
Not my site, just sharing a link I saw on HN.