RSSAmplifier

Blog

From Development to Production on Nick Janetakis

Recent content in From Development to Production on Nick Janetakis

nickjanetakis.comRSS feed ↗25 posts

Latest posts

Using Your Monitor as a Key Light with Bash and a Wallpaper Tool

This is handy for when you're on video with a webcam and want to control the lighting on your face in a quick way.

Getting PagerDuty's Latest vCard with curl and awk

This is a really low tech / low effort solution to solve a specific problem, you can apply this for whatever 1 off use cases you have.

SMART Stats for Your SSD and HDD on Linux, macOS and Windows

These stats let you see the health of your drives along with useful stats like temperatures and how long it's been powered on.

How to Back Up PostgreSQL in Docker (Local, S3, and Plakar)

We'll cover doing backups and restores with and without Plakar and show how you can save money along the way.

Customize Tumbler's Thumbnail Entries on Arch Linux

We'll go over how to detect mime types and customize ffmpegthumbnailer to support additional mime types for certain files.

Watch Out for Data Loss When Redirecting to a File in a Shell Script

There's a number of subtle things going on when you redirect output to a file, here's how to do it safely and verify it with strace.

Install Docker on Arch Linux with and Without Docker Desktop

You don't have to miss out on Docker Desktop features on Linux, it's pretty painless to install either the CLI or Docker Desktop.

Visually Create Video Clips with mpv, FFmpeg and a Lua Extension

We'll take advantage of using temporary mpv chapter markers and FFmpeg to avoid needing to re-encode the video.

Prevent Kdenlive from Producing Millions of Log Lines on Linux

We'll go over how to disable Kdenlive's noisy logs so when you run journalctl it's not overtaking your output.

tmux: Swapping Windows and Rotating Panes

Here's a few handy shortcuts so you can rearrange whatever you're working on.

8 Useful Ways to Configure Your Zsh History

Being able to search your shell history is important, this will help you control where and how your commands get saved.

Remap a Second Mod Key in niri's Config Without Extra Tools

Having a second pathway to press the default mod / super key is a nice choice to have available.

Locked Out of Sudo on Arch Linux? Skip the 10 Minute Wait

This could happen if you've fat fingered your password too many times, we'll go over how to reset it and configure the limits.

DotFriedRice: niri / Arch Desktop Environment with Modern CLI Tools

Configure most systems with modern command line tools and optionally an Arch Linux niri based desktop environment.

Walking Through a Minimal Arch Linux Set Up with archinstall

We'll spend some time going through most of the options, in the end you'll have confidence to set up a system to your liking.

Create Bootable Arch USB on Linux / macOS with cat (Rufus on Windows)

You can use this to install Arch Linux or act as a recovery disk. Technically this method works for most Linux installers.

Combine Tmux, btop and a GPU Monitoring Tool for System Monitoring

Here's a quick way to get your system's overall health and it uses a nice trick to programmatically create tmux sessions or windows.

Differentiate Between an Empty or Unset String Variable with Bash

We'll go over a POSIX compliant solution using parameter expansion as well as a Bash 4.2+ variable existence check.

Custom dmenu / fzf Picker to Set Your Timezone with Geolocation

I wanted a fast and dependable way to set my system's timezone when traveling to new places with a laptop running Linux.

Bash Nameref: Mutate Function Arguments (Pointer-Like Behavior)

This is the type of thing that's really handy when you need it but you may not need it too often.

Awesome Git Diffs with Delta, fzf and a Little Shell Scripting

Spotting differences in code is an important part of what we do, Delta is by far the best CLI diff tool I ever used.

Quickly Get Your Local and Public IP Address from the Command Line

Occasionally I want to get either my local or public IP address and wanted to stop having to parse command outputs or Google for it.

A Shell Alias for Getting Outdated Packages in Arch, Debian and macOS

I run this from time to time because it's faster than starting a system update and then canceling it if I only want to see the updates.

mpv Is the MVP of Video and Image Viewing

Since I switched to native Linux, I really missed IrfanView for image viewing but mpv is filling that gap quite nicely.

Fix Input Device Is Not a TTY with Docker Compose in CI

We'll get things to dynamically work with stdin and stdout and allow reusing Docker Compose commands when a TTY is available.