See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| for file in `cat .gitignore` ; do git rm -r --cached $file; done |
| git branch -m master main | |
| git status | |
| git push origin HEAD | |
| git branch -D master | |
| git push origin :master | |
| git status |
| # requires Signal Desktop | |
| brew install --HEAD tbvdm/tap/sigtop | |
| mkdir signal-export | |
| cd signal-export | |
| sigtop export-messages -f text plain-text | |
| sigtop export-messages -f json json | |
| sigtop export-attachments attachments | |
| sigtop export-database signal.sqlite |
| # requires: | |
| # - WhatsApp Desktop and | |
| # - backup of iPhone using Finder | |
| pip install whatsapp-chat-exporter | |
| mkdir whatsapp-export | |
| cd whatsapp-export | |
| BACKUP_PATH=~/Library/Application\ Support/MobileSync/Backup/ | |
| DEVICE_IDS=$(ls "$BACKUP_PATH") | |
| if [ -z "$DEVICE_IDS" ]; then | |
| echo "No backups found in $BACKUP_PATH" |
Following https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
Open your SVG file in a text editor. Find a with a dark or missing fill. Add a CSS media query that will trigger on theme changes and change fill to the colors you want:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500">| #!/usr/bin/env bash | |
| # dump-repo-text.sh — dump all text file content from a repo into a single file | |
| # Usage: ./dump-repo-text.sh [-o output.txt] [-d directory] | |
| set -e | |
| # Defaults | |
| OUTPUT="repo_text_dump.txt" | |
| DIR="." |
| #!/bin/bash | |
| set -e | |
| if [ -z "$1" ]; then | |
| echo "Usage: sudo ./setup-mesh.sh 192.168.77.X" | |
| exit 1 | |
| fi | |
| MESH_IP="$1" | |
| SERVICE_PATH="/etc/systemd/system/mesh-startup.service" |