Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
I posted a coding challenge in the second issue of learnbyexample weekly.
-
Want to remove metadata (DateTime, Model, Orientation, ShutterSpeedValue, etc) from your images?
-
You'd probably know about the startswith() and endswith() string methods. >>> sentence = 'This is a sample string' >>> sentence.startswith('This') True >>> sentence.startswith('is') False >>> sentence.endswith('ing') True >>> sentence.endswith('ly') Fal…
-
Hello!
-
Hello!
-
Hello!
-
I'm building a tool called rcut that allows you to use cut like syntax with features like regexp based delimiters.
-
So, I was editing a markdown file in Vim and I wanted to convert some lines to links.
-
This SO question was interesting and had various approaches to solve it.
-
Poster created using Canva This post covers Basic Regular Expressions (BRE) and Extended Regular Expressions (ERE) syntax supported by GNU grep, sed and awk.
-
While answering this SO question, I ran into a debug misery.
-
One of the feedback I got for my Perl one-liners ebook was to showcase examples where Perl shines compared to other text processing tools.
-
TL;DR: Small victories are more precious when you have nothing.
-
This post shows how you can use the ripgrep, perl and sd commands to perform multiline fixed string search and replace operations from the command line.
-
This stackoverflow Q&A got me thinking about various ways to construct a solution in GNU sed if lookarounds are needed.
-
ripgrep (command name rg) is a grep tool, but supports search and replace as well. rg is far from a like-for-like alternate for sed, but it has nifty features like multiline replacement, fixed string matching, PCRE2 support, etc.
-
Poster created using Canva Next step🔗 Programmers often wonder what to do after learning the basics.
-
Above diagram created using Regulex This blog post gives an overview of regular expression syntax and features supported by JavaScript.
-
Photo Credit: Tranmautritam on Pexels I've always wanted to create nice looking, useful GUI applications over the years.
-
The above image was generated using matplotlib courtesy code provided by Doing Math with Python book.
-
The surprise🔗 So, a pleasant surprise awaited me last Sunday.