Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Hello!
-
From wikipedia: Connect Four: Connect Four is a game in which the players choose a color and then take turns dropping colored tokens into a six-row, seven-column vertically suspended grid.
-
This blog post gives an overview and examples of regular expression syntax as implemented by the re built-in module (Python 3.13+).
-
Do you find it confusing to use Ctrl+r for searching a command from shell history?
-
Either you've already heard of pandoc or if you have searched online for markdown to pdf or similar, you are sure to come across pandoc.
-
The command name sed is derived from stream editor.
-
Hello!
-
Do you find awk one-liners cryptic?
-
I prefer stability and thus I let my Linux LTS distributions to last almost till the entire end of support time.
-
Hello!
-
You might already know how to use the --color option to highlight matched portions with GNU grep.
-
Hello!
-
Hello!
-
Having an interactive program that automatically loads questions and checks the solution is wonderful to have while learning a topic.
-
Hello!
-
I rarely ever use the date command, but when I need it I almost always struggle to get the right incantation.
-
Hello!
-
Know command line basics and want to learn the GNU awk command?
-
I'm hoping this post will serve as a quick reference for some of the use cases and tickle your curiosity if you haven't come across this nifty CLI text processing tool yet.
-
Hello!
-
Hello!
-
Hello!
-
TL;DR: Updated six programming ebooks, created four interactive TUI apps for exercises, wrote blog posts, recorded YouTube videos, newsletter prospered, read 100+ novels, and so on.
-
Hello!
-
Hello!
-
I'm finally writing a post on the ed command.
-
Hello!
-
Combining motions such as w, % and f with editing commands like d, c and y require precise positioning to be effective.
-
Here are some text and indent Vim settings that you can put in the vimrc file to customize your editor.
-
sed provides escape sequences to change the case of replacement strings, which might include backreferences, shell variables, etc.
-
In an earlier tip, you learned how to sort iterables based on a key.
-
You can save frequently visited locations using marks for quicker navigation to those positions in the file.
-
awk is handy to compare records and fields between two or more files.
-
Having an interactive program that automatically loads questions and checks the solution is immensely helpful to have while learning a topic.
-
Lookarounds help to create custom anchors and add conditions within a regex definition.
-
Here are some general Vim settings that you can put in the vimrc file to customize your editor.
-
The paste command is typically used to merge two or more files column wise.
-
The next() builtin function can be used on an iterator (but not iterables) to retrieve the next item.
-
Quantifiers can be applied to literal characters, dot metacharacter, groups, backreferences and character classes. * match zero or more times abc* matches ab or abc or abccc or abcccccc but not bc Error.
-
The grep command provides the -o option to extract only the matching portions.
-
You can use the zip() builtin function to iterate over two or more iterables simultaneously.
-
Hello!
-
Moving within the visible window: H move to the first non-blank character of the top (home) line of the visible window M move to the first non-blank character of the middle line of the visible window L move to the first non-blank character of the bottom (…
-
In awk, the FS variable allows you to define the input field separator.
-
Lookarounds help to create custom anchors and add conditions within a regex definition.
-
By default, regexp matches anywhere in the text.
-
By using the g flag with the s command (substitute), you can search and replace all occurrences of a pattern.
-
Python provides a wide variety of features to work with strings.
-
You can execute external commands from within Vim.
-
Hello!