How to open Cursor from the command line - Charlie Holtz

System & Network Admin
Linux: Hide Your Shell Passwords with sshpass
Hard-coding is never the answer. Instead, use sshpass when you need to put a password in your Bash script.
gists/install-festival-for-orca-on-fedora-silverblue.md at main
gists - A place for me to post and share small, self-contained code snippets.
Linux Shell Scripting: A Pathway to Automated System Excellence | Linux Journal
Crunchbang++ versus Bunsen Labs: Both turn it up to 12
Lightweight rivals, both based on Crunchbang, OpenBox, and Debian
A Cheat Sheet to Database Access Control: PostgreSQL
Configuring security in Postgres is often a highly manual task, but automation helps simplify and standardize managing access permissions.
How to Learn Nix, Part 49: nix-direnv is a huge quality of life improvement
The reason I discovered an ancient blog post the other day was that I had something new to say about Nix for the first time in over two years.
The thing I want to say is this: nix-direnv is great. It fixes roughly every problem that I’ve had with nix-shell, and does so in a much nicer way than my previous ad-hoc solutions.
The 5 minutes guide to stop selling out your DNS queries to BigTech
The 5 minutes guide to stop selling out your DNS queries to BigTech Software Development, API development, Indutrial IOT
A Practical Guide to GNU sed With Examples
The CLI sed is often misunderstood. Yet, it can be very useful to edit automatically a bunch of files directly in the shell or in a script.
Linux: Create Encrypted Tunnels with SSH Port Forwarding
If you are looking to create a encrypted tunnel from one Linux instance to another, the bet choice is SSH port forwarding.
Testcontainers
Testcontainers is an opensource framework for providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
How to change the Swappiness of your Linux system
Swappiness is the kernel parameter that defines how much (and how often) your Linux kernel will copy RAM contents to swap. This parameters default va...
How to use sys.argv in Python - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
How to Create a Directory in Python - AskPython
In this tutorial, we will see how to do precisely that. We will learn several ways to create a directory in Python.
Revolutionizing Command Line Interface with Dynamic Themes | Linux Journal
Say Goodbye to Loops in Python, and Welcome Vectorization!
Use Vectorization — a super-fast alternative to loops in Python
Bandwidth Measurement using netcat on Linux
There are various implementations. I am using nmap-ncat on rockOS 8 on both hosts.
Netcat's using TCP by default and this test is not limited by disk I/O from what I understood. That said, it is not
Secure Remote Linux Server Logins with SSH Key Authentication
If you do any remote Linux work with the Secure Shell, you shouldn't assume that it's locked down by default. Here is how to set up key authentication.
PSSH - Run Commands on Multiple Remote Linux Systems
PSSH is a small Python-based program, which allows you to execute commands on multiple Linux remote servers in parallel at the same time using the single shell.
Port Knocking Ubuntu Servers (or Containers) for More Secure SSH
Port knocking works by closing off all ports and only opening them 'on demand,' according to a pre-determined sequence of pings.
PowerTOP - Analyze and Manage Power Consumption in Linux
PowerTOP is a terminal-based diagnosis tool developed by Intel that helps you monitor power usage by programs running on a Linux system.
How Devs Can Use Postgres Extensions, Including for AI Apps
A company called Tembo is encouraging developers to build on top of Postgres, using an ever-growing array of Postgres extensions.
Linux Networking: Configuring Network Address Translation (NAT) | Linux Journal
X.509 Certificates Expalined
Introduction to X.509 Certificates
Today I learned that bash has hashmaps - Xe Iaso
Clone a Git repository into a specific folder | Techie Delight
This post will discuss how to clone a Git repository into a specific folder... The standard approach to clone is repository is using the git-clone command.
Getting started with rsync - Comprehensive Guide
rsync is a CLI tool that covers various use cases. Transfering data, creating backups or archives, mirroring data sets, integrity checks, and many more.
Reference for this article: rsync version 3.2.
Daemonize: running a Python script as a daemon - Ronan Lopes
A daemon is a program that runs in background in your operational system. They’re usually processes that runs for an undefined amount of time executing tasks that don’t depend on the user. On a UNIX system, you may have some examples as syslogd (logging system) and sshd (handles remote connections by SSH protocol) – you can notice that both of them end with letter “d”, indicating they run as a daemon. In a previous post I showed how to implement a Bot for collecting daily points on Gokano with Mechanize and suggested as a future work to daemonize that algorithm. In that kind of application, it’s not practical to keep the console open while the script runs, once you usually want to keep it running indefinitely. You could also want to run that script on a remote server (like an Amzon EC2 machine, for example) through SSH. Once you daemonize it, you can run it and close the connection without killing the process. In python, there are many libraries to daemonize your code. In my tests, I personally liked Daemonize a little bit more. With a few lines of code you can configure your script to run on background. You can install Daemonize through …
Automating Python Scripts with Systemd: A Step-by-Step Guide – TecAdmin
How to autorun a Python script using systemd. How to create own systemd service using Python script. How to configure Python script to start as systemd.
Working With Files in Python – Real Python
In this tutorial, you'll learn how you can work with files in Python by using built-in modules to perform practical tasks that involve groups of files, like renaming them, moving them around, archiving them, and getting their metadata.