Inspired by: Add Git Branch Name to Terminal Prompt
I have a two line zsh prompt:
- line 1: current-directory
[git branch]
- line 2: hostname
HH:MM:SS
$
In my .zshrc
file:
Inspired by: Add Git Branch Name to Terminal Prompt
I have a two line zsh prompt:
[git branch]
HH:MM:SS
$In my .zshrc
file:
#!/usr/bin/env python3 | |
""" | |
SPDX-License-Identifier: MIT https://opensource.org/licenses/MIT | |
Copyright © 2021 pukkandan.ytdlp@gmail.com | |
* Input file is an info.json (with comments) that yt-dlp (https://github.com/yt-dlp/yt-dlp) wrote | |
* Change FIELDS according to your needs |
package main | |
import ( | |
"fmt" | |
"io" | |
"os" | |
) | |
func main() { | |
var count int64 |
r""" | |
dump-all-variables.py | |
-John Taylor | |
2024-05-16 | |
Dumps both global and local Python variables and their values | |
""" | |
import json | |
import re |
#!/bin/bash | |
# create a number of objects in the given S3 bucket | |
set -euo pipefail | |
COUNT=25 | |
START=0 | |
SOURCE=object | |
DEST="s3://test-bucket-${RANDOM}-${RANDOM}-${RANDOM}" |
desktop
- a windows PCmacbook
I need to run KeePassXC
on both my Windows desktop and MacBook. I consider the desktop to be the source of truth.
If I want to update an entry, then I will modify KeePassXC only on my Windows box. I am restricting myself to this
This is a TL;DR for: https://linuxopsys.com/topics/update-firmware-on-ubuntu-using-fwupd
# Install
su -
apt update
apt install fwupd
# Display supported devices
fwupdmgr get-devices
cal -3
is very useful