Bookmark
Copy text through SSH in Vim/Neovim with OSC52
https://oroques.dev/2020/11/27/vim-osc52.html, posted Jul '22 by peter in development free shell text
TL;DR: OSC52 is an ANSI escape sequence that allows you to copy text into your system clipboard from anywhere, including from remote SSH sessions. Check vim-oscyank, a plugin which integrates OSC52 into Vim.
Bookmark
Coreutils Gotchas
https://www.pixelbeat.org/docs/coreutils-gotchas.html, posted Jun '21 by peter in development linux list reference shell
We make very careful considerations about the interface and operation of the GNU coreutils, but unfortunately due to backwards compatibility reasons, some behaviours or defaults of these utilities can be confusing.
This information will continue to be updated and overlaps somewhat with the coreutils FAQ, with this list focusing on less frequent potential issues.
Bookmark
pure-sh-bible: A collection of pure POSIX sh alternatives to external processes
https://github.com/dylanaraps/pure-sh-bible, posted 2020 by peter in development howto list reference shell
The goal of this book is to document commonly-known and lesser-known methods of doing various tasks using only built-in POSIX
sh
features. Using the snippets from this bible can help remove unneeded dependencies from scripts and in most cases make them faster. I came across these tips and discovered a few while developing KISS Linux and other smaller projects.
Bookmark
/bin/bash based SSL/TLS tester: testssl.sh
https://testssl.sh/, posted 2019 by peter in free networking security shell software testing
testssl.sh is a free command line tool which checks a server's service on any port for the support of TLS/SSL ciphers, protocols as well as recent cryptographic flaws and more.
jq is like sed for JSON data – you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.
jq is written in portable C, and it has zero runtime dependencies. You can download a single binary, scp it to a far away machine, and expect it to work.
jq can mangle the data format that you have into the one that you want with very little effort, and the program to do so is often shorter and simpler than you’d expect.
Bookmark
ingydotnet/git-hub
https://github.com/ingydotnet/git-hub, posted 2015 by peter in development free git shell software versioncontrol
The hub subcommand for git, allows you to perform many of the operations made available by GitHub's v3 REST API, from the git commandline command.
You can fork, create, delete and modify repositories. You can get information about users, repositories and issues. You can star, watch and follow things, and find out who else is doing the same. The API is quite extensive. With this command you can do many of your day to day GitHub actions without needing a web browser.
Facy is a terminal client for facebook, which support streaming-like feature. Only supports Ruby 1.9 and later. To install facy, we need ruby pre-installed, please refer to https://www.ruby-lang.org/en/installation/ to know how to install ruby. I recommend rvm to control the version of installed ruby.
Bookmark
DTVD/rainbowstream · GitHub
https://github.com/DTVD/rainbowstream, posted 2014 by peter in communication free shell social software
A smart and nice Twitter client on terminal wrote by Python.
Bookmark
Getopt::Long::Complete - A drop-in replacement for Getopt::Long, with tab completion - metacpan.org
https://metacpan.org/pod/Getopt::Long::Complete, posted 2014 by peter in development free perl shell software usability
You just replace use Getopt::Long with use Getopt::Long::Complete and your program suddenly supports tab completion. This works for most/many programs.
Bookmark
The TTY demystified
www.linusakesson.net/programming/tty/index.php, posted 2013 by peter in hardware history linux reference shell toread
The TTY subsystem is central to the design of Linux, and UNIX in general. Unfortunately, its importance is often overlooked, and it is difficult to find good introductory articles about it. I believe that a basic understanding of TTYs in Linux is essential for the developer and the advanced user. Beware, though: What you are about to see is not particularly elegant. In fact, the TTY subsystem — while quite functional from a user's point of view — is a twisty little mess of special cases. To understand how this came to be, we have to go back in time.