Generating Favicons using ImageMagick on the Command-Line (1 mins read).

How to generate a multi-size favicon.ico
on the command-line using ImageMagick.
Generating Favicons using ImageMagick on the Command-Line (1 mins read).
How to generate a multi-size favicon.ico
on the command-line using ImageMagick.
The fact that โgrepโ stands for global regex print, which is 4000x times easier to understand than trying to understand grep in abstract just neatly summarises the entire Linux ecosystem in a nutshell to me ๐
Lou โ๏ธ ๐จโ๐ป๐๏ธโโ๏ธ๐ธ๐ด๐ปโโ๏ธ๐ (@loujaybee)Sat, 05 Feb 2022 20:13 GMT
The worst crime the open source community ever committed was making two tools, one called 'useradd' and the other called 'adduser' and making them do almost the same thing.
๐ f o r e s t ~ w i t c h ๐ป (@endlesstemple)Fri, 04 Feb 2022 05:16 GMT
Replacing Text in Vim with the Output of a Command (1 mins read).
How to replace text under the cursor with the output of a command.
Create Executables, not Shell Aliases or Functions (2 mins read).
Why I create standalone executable scripts instead of shell aliases or functions.
Decades of UNIX and Linux use have taught me to love the terminal more than any other app out there. If there's one thing I'd recommend any newcomer learn, it's how to tame the command line.
Daniel Cuthbert (@dcuthbert)Tue, 25 Jan 2022 16:42 GMT
I find it absurdly funny that you can type "man <command>" unironically and have the command explained to you
Tierney Cyren, the Cosmic Equine (@bitandbang)Fri, 07 Jan 2022 19:49 GMT
How old were you when realized that grep was g/re/p ? I'm 39
Juan Pablo Daniel (@jpdborgna)Mon, 27 Dec 2021 19:42 GMT
TIL that itโs possible (if not easy) to use `locate` & `updatedb` with independent directory structures in addition to system wide. A la # locate -d ./locatedbGrant Taylor (@DrScriptt)Sun, 19 Dec 2021 08:39 GMT
Getting the Battery Status of a Bluetooth Device on Linux (1 mins read).
How to use dbus-send
to retrieve the percentage of battery left on a Bluetooth device on Linux.
Converting an Image to a Base64 data
URL with Node.JS (1 mins read).
How to convert an image to a data
URL using Node.JS on the command-line.
did you know that if you put `+noall +answer` into `~/.digrc`, it'll make your dig output easier to read? here's a before/after
๐Julia Evans๐ (@b0rk)Sat, 04 Dec 2021 14:59 GMT
Controlling the Linux Backlight via the Command-Line (1 mins read).
How to manage your screen backlight on the command-line, without installing any tools.
RT @type__error Running something with the โverbose flagCarol ๐ป (@CarolSaysThings)Thu, 19 Aug 2021 11:26 +0000
Encoding Strings for Embedding in JSON with Ruby on the Command-Line (1 mins read).
How to easily convert a string to a format that can be used as a value for JSON strings.
Parsing Encoded JSON Strings on the Command-Line with Ruby (1 mins read).
How to decode an encoded JSON string.
Fun fact: Alfred Aho is the A in Awk. The w and k are Peter Weinberger and Brian Kernighan. The trio created the software tool in 1977Post details
And the Turing Award for best compilation goes to... Jeffrey Ullman and Alfred Aho reg.cx/3Za7The Register (@TheRegister)Thu, 01 Apr 2021 01:06 +0000
The Register (@TheRegister)Thu, 01 Apr 2021 18:21 +0000
I just learned about the CLI tool `grex`. It might change how I approach regular expressions (๐ค๐). You provide string values and it comes up with a regular expression matching them.๐ฒ github.com/pemistahl/grex Video alt: CLI session showing multiple generated reg. expressions.Stefan Judis (@stefanjudis)Sun, 21 Mar 2021 13:52 GMT
Bash: the up arrow can be used to get past commands Users: yesssssss Bash: We also have a history comman- Users: up arrow!! Bash: a history command , where you use ! to call past comma- Users: UP ARROWWWWWcasey (@varcharr)Wed, 03 Feb 2021 22:21 GMT
Letโs build a list! Which other CLI tools expose a command to do this? We have gh api, knife raw and snykctl api so far.Post details
Ohโฆ Snap. The `gh` CLI tool has an API subcommand for interacting with the GitHub API directly. E.g., `gh api /orgs/$ORGrepos` Then slice and dice the data with `jq`.Anti-fascist Joshua (@jtimberman)Sun, 24 Jan 2021 19:40 GMT
Gareth Rushgrove (@garethr)Sun, 24 Jan 2021 20:21 GMT
https://github.com/veltman/clmystery is a fun interactive way of getting more hands on experience if that helps?
One of the fights I keep losing at ${DAYJOB} is โdonโt use short flags in shell scripts if you have long flags available; make things easier for the people who come after youโ And like... I do not understand why this is controversial or why people resist it so strongly.Ryan McKern ๐ต๐ท (@the_mckern)Fri, 18 Dec 2020 00:55 GMT
Creating Signed JOSE Objects with Ruby (1 mins read).
How to use ruby-jose
to create a signed JSON Object Signing and Encryption (JOSE) object on the command-line.
Diffing Pretty-Printed JSON Files (4 mins read).
How to compare two JSON documents by pretty-printing them.
I very much recommend learning how to use a more well-structured scripting language than Bash, as languages such as Ruby have a great standard library, a huge ecosystem of other libraries, and are commonly installed across machines - this is a great look at partially replacing shell scripts with Ruby
Generating Random Bytes On the Command Line with OpenSSL (1 mins read).
How to generate random bytes as binary, base64 or hex, using openssl
on the command-line.
Generating the Client Assertion JWT for private_key_jwt
Authentication with Ruby (1 mins read).
A helper script to generate the client assertion required to authenticate to an Authorization Server that supports private_key_jwt
, on the command-line with Ruby.
Verifying Signed JWTs (JWS) with Ruby (2 mins read).
Using the ruby-jwt library to verify a signed JSON Web Token (JWS) on the command-line.
Creating Signed JWTs (JWS) with Ruby (1 mins read).
Using the json-jwt and ruby-jwt libraries to sign a JSON Web Token on the command-line.
How to Run Java on the Command-Line to Attach a Debugger (1 mins read).
How to run java
on the command-line, and make it possible to attach a debugger.
Anna Dodson and I had good fun a couple of years ago with https://github.com/veltman/clmystery and https://overthewire.org/wargames/
Converting Output from Rest Assured to Curl Requests (3 mins read).
How to convert the log output from Rest Assured to a curl
request.