Skip Navigation

Posts
123
Comments
73
Joined
2 yr. ago

Linux @lemmy.ml

Reasons to use your shell's job control

Linux @lemmy.ml

desed: Demystify and debug your sed scripts

Linux @lemmy.ml

Guide To GNU Coreutils

Linux @lemmy.ml

I wrote a Vim Reference Guide (beginner to intermediate level)

Linux @lemmy.ml

Linux Network Performance Ultimate Guide

Programming @programming.dev

Generating sudokus for fun and no profit

Linux @lemmy.ml

Basic examples for the Linux date command

Programming @programming.dev

Build your own SQLite, Part 1: Listing tables

Linux @lemmy.ml

The UNIX Pipe Card Game

Linux @lemmy.ml

Unix oneliners (mostly unorganized collection of bash oneliners)

Programming @programming.dev

Beating the compiler

Programming @programming.dev

Counting Bytes Faster Than You’d Think Possible

Linux @lemmy.ml

Making a Linux-managed network switch

Programming @programming.dev

A Logical Way to Split Long Lines

Linux @lemmy.ml

What is PID 0?

Linux @lemmy.ml

I wrote a book on Linux command line tools and Shell Scripting (beginner to intermediate level)

Linux @lemmy.ml

How terminal works

Linux @lemmy.ml

Disaster recovery with ZFS and zrepl

Programming @programming.dev

How To Make Good Small Games

Linux @lemmy.ml

I wrote an interactive TUI app that gives a brief tour of the GNU awk command for beginners

  • I've read his Memory, Sorrow, and Thorn trilogy. Epic dark fantasy, great characters and worldbuilding. The plot is good too, but the pacing goes off rail sometimes.

  • Thanks, that looks interesting, added to my TBR.

    Also, just remembered The Stars My Destination by Alfred Bester as another candidate for your request. This is also sci-fi.

  • If you don't mind sci-fi: Red Rising by Pierce Brown

    And there's the classic The Count of Monte Cristo by Alexandre Dumas

  • 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
    
      
  • Inspired by explainshell, I wrote a script (https://github.com/learnbyexample/command_help) to be used from the terminal itself. It is a bit buggy, but works well most of the time. For example:

     
        
    $ ch grep -Ao
           grep - print lines that match patterns
    
           -A NUM, --after-context=NUM
                  Print NUM lines of trailing context after matching lines.  Places a
                  line containing a group separator (--) between contiguous groups of
                  matches.  With the -o or --only-matching option, this has no effect
                  and a warning is given.
    
           -o, --only-matching
                  Print  only  the matched (non-empty) parts of a matching line, with
                  each such part on a separate output line.
    
      
  • I bought a Kindle but hardly ever use it. I was using the web app on my large desktop monitor and I found that comfortable (especially the solarized-like theme) compared to the Kindle device.

  • I mostly read on Kindle Unlimited. A lot of the progression fantasy and cozy fantasy books are on KU (my current favorite subgenres), so there's no shortage of books to read. In addition, there's plenty of self-pub fantasy and sci-fi books (there are two competitions: SPFBO and SPSFC which help in finding good ones to read).

  • I start my search string with stackoverflow as a workaround.

  • I use GVim for coding and text editing in general.

    Programming wise, CLI tools (grep, sed, awk, sort, head, etc) are enough for most of my tasks. I've written a few Python TUI projects (uses Textual framework) but these are around 300-400 lines, so Vim is more than enough for my purposes. Don't even need any plugins.

  • Was going to suggest Cradle as well!

    I'd add Mage Errant by John Bierce - magical academy, 4 member student group who trust each other, competent teachers, amazing worldbuilding, big battles (in later books), etc.

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