Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 171
  1. Hello!

  2. 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.

  3. This blog post gives an overview and examples of regular expression syntax as implemented by the re built-in module (Python 3.13+).

  4. Do you find it confusing to use Ctrl+r for searching a command from shell history?

  5. 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.

  6. The command name sed is derived from stream editor.

  7. Hello!

  8. awk idioms explained

    Do you find awk one-liners cryptic?

  9. OS installation woes

    I prefer stability and thus I let my Linux LTS distributions to last almost till the entire end of support time.

  10. Hello!

  11. You might already know how to use the --color option to highlight matched portions with GNU grep.

  12. Hello!

  13. Hello!

  14. Having an interactive program that automatically loads questions and checks the solution is wonderful to have while learning a topic.

  15. Hello!

  16. I rarely ever use the date command, but when I need it I almost always struggle to get the right incantation.

  17. Hello!

  18. Interactive GNU awk tutorial

    Know command line basics and want to learn the GNU awk command?

  19. 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.

  20. Hello!

  21. Hello!

  22. Hello!

  23. 2023: year in perspective

    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.

  24. Hello!

  25. Hello!

  26. CLI text editing with ed

    I'm finally writing a post on the ed command.

  27. Hello!

  28. Combining motions such as w, % and f with editing commands like d, c and y require precise positioning to be effective.

  29. Here are some text and indent Vim settings that you can put in the vimrc file to customize your editor.

  30. sed provides escape sequences to change the case of replacement strings, which might include backreferences, shell variables, etc.

  31. In an earlier tip, you learned how to sort iterables based on a key.

  32. You can save frequently visited locations using marks for quicker navigation to those positions in the file.

  33. awk is handy to compare records and fields between two or more files.

  34. Having an interactive program that automatically loads questions and checks the solution is immensely helpful to have while learning a topic.

  35. Lookarounds help to create custom anchors and add conditions within a regex definition.

  36. Here are some general Vim settings that you can put in the vimrc file to customize your editor.

  37. The paste command is typically used to merge two or more files column wise.

  38. The next() builtin function can be used on an iterator (but not iterables) to retrieve the next item.

  39. 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.

  40. The grep command provides the -o option to extract only the matching portions.

  41. You can use the zip() builtin function to iterate over two or more iterables simultaneously.

  42. Hello!

  43. 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 (…

  44. In awk, the FS variable allows you to define the input field separator.

  45. Lookarounds help to create custom anchors and add conditions within a regex definition.

  46. Vim tip 27: regexp anchors

    By default, regexp matches anywhere in the text.

  47. By using the g flag with the s command (substitute), you can search and replace all occurrences of a pattern.

  48. Python provides a wide variety of features to work with strings.

  49. You can execute external commands from within Vim.

  50. Hello!