# Git aliases
alias gp='git pull'
alias gs='git switch'
alias gb='git branch'
# Docker aliases
alias dps='docker ps'Yeah β if your goal is one tall clean still of the entire explorer page so you can do cinematic pans in Resolve/OBS/video editor, you basically want a full-page render, not a screen capture.
Here are the best methods depending on your workflow.
- Open your explorer page.
Applies a camera perspective rotation to input.mp4.
ffmpeg -i input.mp4 -vf "pad=1200:2200:(ow-iw)/2:(oh-ih)/2:black,perspective=x0=150:y0=150:x1=1050:y1=100:x2=100:y2=2050:x3=1100:y3=2100:interpolation=linear,scale=886:1920:flags=lanczos" -c:a copy -y output.mp4Great for making screen recordings look more cinematic.
A ton of the videos Iβve shot from my camera and imported into my media-sync-api is rotated once clockwise 90Β° as landscape, causing me to have to adjust it 270Β° clockwise to have it be correctly oriented see example in screenshot.
The video container and photo metadata should be there for the asset(s) I need to automatically fix that for anything in my projects media. I want to not have a leftover copy when Iβm done fixing them, and I donβt want the fixed file to have to be indexed again it should use the existing hashed index to overwrite it but with defensive programming so that we donβt have failures.
In fact defensive programming like this should cover other functionality we have.
| docker run -d \ | |
| --name codex-shim \ | |
| -p 3030:3030 \ | |
| -e LMSTUDIO_BASE="http://192.168.0.25:9999/v1" \ | |
| node:20-alpine \ | |
| sh -c " | |
| apk add --no-cache nodejs npm && | |
| npm init -y >/dev/null && | |
| npm i express node-fetch@3 && | |
| cat <<'EOF' > server.js |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # βββ Variables (override via environment) βββββββββββββββββββββββββββββββββββββ | |
| RUNNER_USER="${RUNNER_USER:-$USER}" | |
| RUNNER_NAME="${RUNNER_NAME:-repo-runner-ephemeral}" | |
| RUNNER_LABELS="${RUNNER_LABELS:-repo=default,arch=$(uname -m),role=ci,ephemeral}" | |
| RUNNER_ID="${RUNNER_ID:-default}" # used in paths and service name | |
| RUNNER_ROOT="${RUNNER_ROOT:-/opt/actions-runner/$RUNNER_ID}" | |
| RUNNER_WORK="${RUNNER_WORK:-/home/$RUNNER_USER/actions-work/$RUNNER_ID}" |
| #!/bin/bash | |
| # Enhanced file finder script with fzf integration | |
| # Save to /usr/local/bin/f and make executable with: chmod +x /usr/local/bin/f | |
| # Process arguments | |
| depth="" | |
| num_regex='^[0-9]+$' | |
| extensions=() | |
| copy_to_clipboard=true | |
| max_depth="" |
| #!/usr/bin/env bash | |
| # Autostart tiler: Chromium (LEFT -> $URL) + terminal (RIGHT -> tmux attach to "recent" + optional follow-up) | |
| # - If a tmux session exists, attach to the most-recent one by default. | |
| # - Optionally inject a FOLLOWUP_CMD into that tmux session as a new window or split. | |
| # - Falls back to plain shell if no tmux sessions exist. | |
| # - Preserves your original tiling logic. | |
| set -euo pipefail | |
| # ---------------- config ---------------- |
| ##### dce example output ##### | |
| ## Select a service: | |
| ## 1) video-api | |
| ## 2) video-web | |
| ## ?# 1 | |
| ## Connecting to service: video-api | |
| ############################## | |
| unalias dce | |
| # V1: Docker Compose Exec with built-in service selectiondce() { |