All tags
tools
Narrow down
Media27
- Tip
ffmpeg -i video.mp4 -i video.en.srt -map 0 -map 1 -c copy -c:s mov_text -metadata:s:s:0 language=eng video-subs.mp4ffmpeg -c:s mov_text adds subtitles to an MP4 that you can switch offPuts an SRT file into an MP4 as a subtitle track instead of burning it into the picture.30 Nov 2026 - Tip
ffmpeg -i film.mkv -map 0:v -map 0:a:0 -c:v copy -c:a aac -b:a 192k -ac 2 film-stereo.mkvffmpeg -ac 2 mixes 5.1 surround down to stereoConverts surround audio to two channels so it plays well on laptops and headphones.30 Nov 2026 - Tip
ffmpeg -i talk.mp4 -vn -c:a copy talk.m4affmpeg -vn -c:a copy pulls the audio out of a video as it isSaves the sound of a video file as a separate audio file without re-encoding it.30 Nov 2026 - Tip
ffmpeg -n -i "$f" -c copy "${f%.mkv}.mp4"ffmpeg -n refuses to overwrite a file that already existsMakes ffmpeg skip an output that is already there instead of asking or replacing it.30 Nov 2026 - Tip
ffmpeg -i sideways.mp4 -vf transpose=1 -c:a copy upright.mp4ffmpeg -vf transpose=1 turns a sideways phone video uprightRotates the picture of a video by 90 degrees, clockwise or counterclockwise.30 Nov 2026 - Tip
ffmpeg -loop 1 -i cover.jpg -i episode.mp3 -c:v libx264 -tune stillimage -pix_fmt yuv420p -c:a aac -shortest episode.mp4ffmpeg -loop 1 turns an audio file and one picture into a videoMakes a video from a still image and a sound file, for sites that only accept video.30 Nov 2026 - Tip
ffmpeg -i tape.avi -vf yadif -c:v libx264 -crf 20 -c:a aac tape.mp4ffmpeg -vf yadif removes the comb lines from old interlaced videoDeinterlaces old TV or camcorder footage so moving parts don't show striped edges.30 Nov 2026 - Tip
ffmpeg -i clip.mp4 -vf "fps=10,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" clip.gifffmpeg palettegen makes a GIF that doesn't look washed outBuilds a GIF from a video with a color palette made for that clip.30 Nov 2026 - Tip
ffmpeg -i input.mkv -c:v libx265 -crf 26 -tag:v hvc1 -c:a aac output.mp4ffmpeg -tag:v hvc1 makes an H.265 MP4 play on Apple devicesSets the codec tag Apple players expect, so an HEVC file plays in QuickTime and Safari.30 Nov 2026 - Tip
ffmpeg -i recording.mp4 -vf fps=1/60 thumbs/thumb-%03d.jpgffmpeg -vf fps=1/60 saves one picture for every minute of a videoTurns a video into a series of still images at a fixed interval, for previews or contact sheets.30 Nov 2026 - Tip
ffmpeg -i episode.mp3 -af volumedetect -f null - 2>&1 | grep -E 'mean_volume|max_volume'ffmpeg -af volumedetect measures how loud a file is before you change itReports the average and peak volume of a file so you know how much to adjust it.30 Nov 2026 - Tip
ffmpeg -i build.mp4 -vf "setpts=0.25*PTS" -an build-4x.mp4ffmpeg setpts=0.25*PTS speeds a video up four timesChanges the playback speed of the picture, for a timelapse or a slow motion clip.30 Nov 2026 - Tip
ffmpeg -i film.mkv -map 0 -c copy film-copy.mkvffmpeg -map 0 keeps every track, where the default keeps only one of eachMakes ffmpeg copy all audio and subtitle tracks instead of picking one per type.30 Nov 2026 - Tip
ffmpeg -i clip.mp4 -c:v copy -an clip-silent.mp4ffmpeg -an removes the sound from a video without touching the pictureMakes a silent copy of a video, with the video stream copied as it is.30 Nov 2026 - Tip
ffmpeg -v error -i movie.mkv -f null -ffmpeg -v error -f null – checks a video file for damageDecodes a whole file without saving anything and prints only the errors it finds.30 Nov 2026 - Tip
ffmpeg -i film.mkv -map 0 -c copy -metadata:s:a:0 language=eng -metadata:s:a:1 language=nld film-tagged.mkvffmpeg -metadata:s:a:0 language=eng labels an audio trackSets the language tag on audio or subtitle tracks so players show the right name.30 Nov 2026 - Tip
ffmpeg -ss 00:01:00 -to 00:01:30 -i match.mp4 -c:v libx264 -crf 20 -c:a aac goal.mp4ffmpeg -ss with -to cuts a clip, and -c copy makes it start at a keyframeCuts a part out of a video between two times, with a fast or an exact method.30 Nov 2026 - Tip
ffmpeg -sseof -30 -i recording.mkv -c copy last30.mkvffmpeg -sseof -30 cuts the last 30 seconds of a fileStarts the cut a fixed time before the end of the file, whatever its length.28 Nov 2026 - Tip
file 'part1.mp4'Ffmpeg -f concat joins video files from a text listJoins several video files into one without re-encoding, using a text file as the list.28 Nov 2026 - Tip
ffprobe -v error -show_entries format=duration -of default=nw=1:nk=1 input.mp4ffprobe -of default=nw=1:nk=1 prints a video's duration as a bare numberPrints only the length of a media file in seconds, with no labels around it.28 Nov 2026 - Tip
ffmpeg -i file.mp4 -vf cropdetect,metadata=mode=print -f null -ffmpeg -vf cropdetect finds the black bars you can crop awayMeasures the black borders in a video so you know the exact crop to use.28 Nov 2026 - Tip
ffmpeg -i talk.mp3 -af atempo=1.25 talk-fast.mp3ffmpeg -af atempo=1.25 plays an audio file faster and saves it as a new oneMakes an audio file play faster or slower and writes it as a new file.28 Nov 2026 - Tip
ffmpeg -i recording.mp3 -af silencedetect=n=-50dB:d=5 -f null -ffmpeg -af silencedetect finds the silent parts of a recordingLists where an audio file goes quiet, without changing the file.28 Nov 2026 - Tip
ffmpeg -i in.mkv -f segment -segment_time 10 -segment_format_options movflags=+faststart out%03d.mp4ffmpeg -f segment -segment_time 10 splits a video into equal piecesCuts one video into numbered files of a fixed length in a single command.28 Nov 2026 - Tip
ffmpeg -i in.mp4 -c:v libx264 -crf 23 -preset medium -c:a copy out.mp4ffmpeg -crf sets video quality instead of a bitrateEncodes video at constant quality with H.264 or H.265, so you pick a CRF number instead of a bitrate.25 Nov 2026 - Tip
ffmpeg -i in.mp4 -vf scale=1280:-2 -c:a copy out.mp4ffmpeg -vf scale=1280:-2 resizes video and keeps the aspect ratioScales a video to a fixed width and works out an even height so the picture is not stretched.25 Nov 2026 - Tip
ffprobe -v error -show_format -show_streams video.mkvffprobe shows the codecs and streams inside a video filePrints the container format and every stream of a media file, so you see codecs, resolution and duration.24 Nov 2026
Other tips23
- Tip
pdfgrep -rin "warranty" ~/Documentspdfgrep searches a whole folder of PDF files for a phraseFind the right manual or invoice by what is written in it.1 Dec 2026 - Tip
winget download --id Microsoft.PowerToyswinget download saves a Windows installer without running itFetch an app's installer to a folder for later or another PC.1 Dec 2026 - Tip
shuf -n 3 films.txtshuf picks random lines from a list or numbers from a rangeShuffle lines, draw a few at random, or pick a random number.1 Dec 2026 - Tip
xmllint --format feed.xmlxmllint makes a wall of XML readable and checks that it parsesIndent XML for reading and find where a broken document goes wrong.1 Dec 2026 - Tip
pdftotext -layout invoice.pdf invoice.txtpdftotext -layout pulls the text out of a PDF and keeps columnsTurn a PDF into plain text you can search or paste.1 Dec 2026 - Tip
mariadb --auto-vertical-output -u root -p appdbmariadb --auto-vertical-output switches wide results to one field per lineMakes the MariaDB client print wide query results vertically, one column per line.28 Nov 2026 - Tip
sqlite3 app.db "PRAGMA user_version = 3;"PRAGMA user_version gives a SQLite file a built-in schema version numberReads or sets a free integer in the SQLite file header, handy for tracking the schema version.28 Nov 2026 - Tip
mariadb -B -N -e "SELECT id, email FROM users WHERE active" appdbmariadb -B -N -e prints query results as bare tab-separated rows for scriptsRuns one query and prints plain tab-separated rows without borders or a header line.28 Nov 2026 - Tip
mat2 --show report.pdfmat2 shows and removes the metadata in PDFs, Office files and imagesLists and removes metadata from documents, images and other files, writing a cleaned copy.28 Nov 2026 - Tip
psql -X -d appdb -f report.sqlpsql -X skips your ~/.psqlrc so a script behaves the same everywhereStarts psql without reading startup files, so scripts give the same output on every machine.28 Nov 2026 - Tip
perfmon /relperfmon /rel opens Reliability Monitor, a day-by-day view of what went wrongShows crashes, failed updates and installs per day, with a stability score from 1 to 10.27 Nov 2026 - Tip
Get-Process | Out-GridView -PassThru | Stop-ProcessOut-GridView -PassThru lets you pick rows in a window and pipe them onOpens command output in a filterable window and passes the rows you select onward.27 Nov 2026 - Tip
sfc /scannowRun DISM /RestoreHealth before sfc /scannow when Windows files are brokenRepairs the Windows component store, so sfc has good copies to fix system files with.26 Nov 2026 - Tip
winget export -o apps.jsonwinget export saves your app list for the next PCWrites your installed Windows apps to a JSON file and reinstalls them elsewhere.25 Nov 2026 - Tip
lspci -klspci -k shows which kernel driver handles each PCI deviceLists PCI devices together with the kernel driver in use and the modules that could drive them.25 Nov 2026 - Tip
fallocate -l 1G test.imgfallocate -l 1G file reserves a file of that size instantlyPreallocates disk space for a file of the size you ask, without writing all the data like dd would.25 Nov 2026 - Tip
getent passwd jordigetent passwd looks up users the way the system doesQueries the user database through the Name Service Switch, so it also finds users from LDAP or other sources.25 Nov 2026 - Tip
lsusb -tlsusb lists USB devices, and lsusb -t shows them as a treeLists the USB devices the kernel sees, with the -t option showing how hubs and devices connect.25 Nov 2026 - Tip
uptime -puptime -p prints how long a machine has been running in wordsShows the system uptime as readable text, such as weeks, days and hours, instead of the classic load line.25 Nov 2026 - Tip
sfc /scannowsfc /scannow repairs corrupted Windows system filesScans protected system files and replaces damaged ones with a cached good copy, from an admin prompt.25 Nov 2026 - Tip
systeminfosysteminfo prints the Windows version, RAM, hotfixes and moreShows detailed configuration of the computer and its operating system in a Command Prompt window.25 Nov 2026 - Tip
cwebp -q 80 photo.jpg -o photo.webpcwebp -q 80 converts a PNG or JPEG to a smaller WebP fileConverts a PNG, JPEG or TIFF image to WebP, with a quality setting from 0 to 100.25 Nov 2026 - Tip
magick mogrify -path small -resize "1600x1600>" *.jpgmagick mogrify -resize batch-resizes images, but overwrites themResizes many images in one command, and with -path the originals stay untouched in their folder.25 Nov 2026
Web17
- Tip
wp comment list --status=hold --fields=comment_ID,comment_author,comment_contentwp comment approve clears the WordPress moderation queue in one commandApproves all pending comments at once after you have checked the list.30 Nov 2026 - Tip
wp core download --skip-content --locale=nl_NLwp core download with skip-content fetches WordPress without the default themesDownloads a clean WordPress core in the language you want, without bundled themes and plugins.30 Nov 2026 - Tip
wp import site.wordpress.2026-11-30.000.xml --authors=createwp import loads a WordPress WXR file and maps the authors for youImports an export file from the terminal and creates or maps the post authors.30 Nov 2026 - Tip
wp term list post_tag --fields=term_id,name,slug,countwp term list shows every WordPress category or tag with its post countLists the terms of a taxonomy with ID, slug and how many posts use each one.30 Nov 2026 - Tip
wp option get uploads_use_yearmonth_foldersThe WordPress setting for month and year upload folders only affects new filesExplains the Settings > Media checkbox that sorts uploads into dated folders.30 Nov 2026 - Tip
wp post-type list --fields=name,label,public,hierarchicalwp post-type list shows which content types a WordPress site hasLists every registered post type, including the hidden ones plugins add.30 Nov 2026 - Tip
test("async tests work too", async () => {Node --test runs your tests without installing a test frameworkRuns tests with the test runner built into Node, no extra package needed.28 Nov 2026 - Tip
npm explain globnpm explain shows why a package is in node_modulesShows the chain of dependencies that caused a package to be installed.28 Nov 2026 - Tip
powercfg /batteryreportpowercfg /batteryreport creates an HTML report about your laptop batteryGenerates an HTML report with battery usage over the lifetime of the system.25 Nov 2026 - Tip
wp language core install nl_NLwp language core installs and updates WordPress translationsLists, installs and updates the core language packs of a WordPress site from the command line.25 Nov 2026 - Tip
wp post list --post_status=draftwp post list --post_status=draft shows your unpublished postsLists draft posts from the command line with the fields and output format you choose.25 Nov 2026 - Tip
wp shellwp shell opens an interactive PHP prompt inside your WordPress siteStarts an interactive PHP console with WordPress loaded, to try functions and inspect data.25 Nov 2026 - Tip
node --watch index.jsnode --watch restarts your script when a file changesStarts a Node.js script in watch mode, so it restarts by itself each time you save a file it uses.25 Nov 2026 - Tip
npm cinpm ci gives a clean, reproducible install in CIInstalls exactly what the lockfile says, after wiping node_modules, so builds are the same every time.25 Nov 2026 - Tip
npm ls --depth=0npm ls --depth=0 lists only the packages you installed yourselfShows the top-level dependencies of a project without the long tree of dependencies below them.25 Nov 2026 - Tip
npm outdatednpm outdated shows which dependencies have newer versionsLists installed packages with their current, wanted and latest versions, without changing anything.25 Nov 2026 - Tip
wp db checkwp db check tests every WordPress table for corruptionRuns a table check on the whole WordPress database using the credentials from wp-config.php.24 Nov 2026
Shell7
- Tip
wp menu create "Main menu"wp menu builds a WordPress navigation menu from the terminalCreates a classic menu, adds links and assigns it to a theme location by script.30 Nov 2026 - Tip
wp rewrite structure '/%postname%/'wp rewrite structure sets the WordPress permalink format from the terminalChanges the permalink structure, and optionally the category and tag base, in one command.30 Nov 2026 - Tip
wp cron schedule listwp cron schedule list shows the intervals WordPress cron knows aboutLists the available WordPress cron schedules, such as hourly and daily, with their intervals in seconds.25 Nov 2026 - Tip
journalctl -p err -bjournalctl -p err -b shows only what went wrong since the last bootShows only the errors in the system log since the last boot.16 Nov 2026 - Tip
sort -u list.txt | sponge list.txtSponge lets a terminal pipeline write back to its own input fileWrites a pipeline's result back to the file it was reading from.22 Apr 2026 - Tip
sudo apt install moreutilsTs from moreutils puts a time stamp in front of each terminal lineAdds a time to every line of command output, for slow-step hunting.19 Apr 2026 - Tip
lscpu | grep -E 'Model name|Socket|Core|Thread|Virtualization'lscpu tells you cores, threads and virtualization support on linuxSummarizes the CPU model, core and thread counts and virtualization flags.11 Apr 2026
Network6
- Tip
yt-dlp --download-archive archive.txt "https://www.youtube.com/playlist?list=PLAYLIST_ID"yt-dlp --download-archive skips videos you already downloadedRemembers which videos were downloaded so a re-run only fetches new ones.3 Dec 2026 - Tip
qrencode -t ANSIUTF8 'https://example.com/a/long/path?id=12345'qrencode draws a QR code right in your terminal for your phoneMove a link from a terminal session to your phone by scanning it.1 Dec 2026 - Tip
networksetup -listallhardwareportsnetworksetup -listallhardwareports tells you which port is en0 on a MacMatch device names like en0 or en5 to Wi-Fi, Ethernet and Thunderbolt ports.30 Nov 2026 - Tip
socat TCP-LISTEN:8080,fork,reuseaddr TCP:127.0.0.1:3000socat forwards a TCP port to another address on Linux in one commandExpose a service on another port or address for a quick test, no proxy config needed.30 Nov 2026 - Tip
tailscale bugreporttailscale bugreport gives support an identifier for your logsMarks your Tailscale client logs with an identifier that you can hand to support.25 Nov 2026 - Tip
tailscale metrics printtailscale metrics print shows the client's own metricsPrints or writes the Tailscale client's usage metrics so a monitoring system such as Prometheus can read them.25 Nov 2026
Git6
- Tip
git diff --no-index old.conf new.confgit diff with no-index compares two files outside a repositoryGives you git's colored diff for any two files or folders, even outside a repository.30 Nov 2026 - Tip
git cat-file -p HEADgit cat-file -p shows what a commit really is insidePrints the raw content of a commit, tree or blob so you see git's own data.30 Nov 2026 - Tip
git count-objects -vHgit count-objects -vH shows how big your repository really isReports how much disk space the repository's objects take, in readable units.30 Nov 2026 - Tip
git config --global help.autocorrect promptHelp.autocorrect prompt asks before git runs a corrected commandMakes git ask for confirmation when it guesses what you meant after a typo in a command name.24 Nov 2026 - Tip
git tag -ngit tag -n lists your tags with their messagesLists tags together with the first line of their annotation, so the list explains itself.24 Nov 2026 - Tip
git maintenance startgit maintenance start keeps a big repository fast in the backgroundRegisters the repository for scheduled background upkeep like prefetching and commit-graph updates, so it stays fast.24 Nov 2026
Python6
- Tip
uv tree --depth 1uv tree shows why a python package is in your projectSee your project's dependency tree and which package pulled in a library.30 Nov 2026 - Tip
where pythonWhere.exe finds a program on your PATH, like which on LinuxLists where a program or file is found on PATH, in the order Windows uses it.28 Nov 2026 - Tip
python -m ensurepip --upgradepython -m ensurepip installs pip when your Python has noneInstalls the pip version bundled with Python, offline, if pip is missing from the interpreter.25 Nov 2026 - Tip
python -m pip check, then fix what it namesPip check finds broken or conflicting dependencies in an environmentVerifies that the installed packages have the dependencies they need, at compatible versions.25 Nov 2026 - Tip
python -X importtime -c 'import asyncio' 2> imports.txtpython -X importtime shows which import makes a script start slowlyPrints how long each imported module took, to find the import that slows down startup.24 Nov 2026 - Tip
python3 -m http.server 8000python3 -m http.server shares a folder over HTTP in one lineShares a folder over your network with one line of Python, no setup needed.16 Nov 2026
Docker5
- Tip
wp post term add 123 post_tag dockerwp post term add tags a WordPress post without opening the editorAdds a category or tag to a post from the terminal and keeps the terms it has.30 Nov 2026 - Tip
docker compose lsdocker compose ls lists every Compose project on the hostLists the Compose projects running on this host, so you can find one without remembering its folder.24 Nov 2026 - Tip
docker stats --no-streamdocker stats --no-stream gives you one snapshot instead of a live screenPrints one table with CPU and memory per container, then gives you your prompt back.16 Nov 2026 - Tip
docker system dfRun docker system df before you prune anythingShows how much disk space Docker uses before you delete anything with prune.16 Nov 2026 - Tip
docker compose run --rm app ls -la /datadocker compose run --rm gives you a one-off command that cleans up after itself8 Nov 2026
Mac3
- Tip
sysctl -n machdep.cpu.brand_string hw.memsize hw.ncpusysctl -n machdep.cpu.brand_string names the chip in your MacPrint the chip name, memory size and core count with one short command.30 Nov 2026 - Tip
dscl . -read /Users/$USER NFSHomeDirectory UserShell UniqueIDdscl . -read shows how macOS stores your user accountRead your account's home folder, shell and user ID straight from the directory.30 Nov 2026 - Tip
brew leavesbrew leaves lists the Homebrew packages you actually chose to installLists installed formulae that no other installed formula or cask depends on.25 Nov 2026
Security2
- Tip
ls ~/.gnupg/openpgp-revocs.d/GnuPG already made a revocation certificate for your key, so back it upFinds and backs up the certificate that lets you revoke a lost or leaked GPG key.27 Nov 2026 - Tip
gpg --symmetric --armor --output secret.txt.asc secret.txtgpg --symmetric and --encrypt protect a file with a passphrase or a keyEncrypts a file with GnuPG, either with a passphrase or for someone's public key.25 Nov 2026
Posts5
- PostDroppy for macOS review: a notch shelf that wants to be your whole menu bar, and the open-source question3 Dec 2026
- PostUniver: an open-source spreadsheet and document editor you can build into your own app16 Nov 2026
- PostNextDash v1.29.0: a tab bar for the phone, a Status screen, and columns you can drag14 Nov 2026
- PostUBlock Origin’s element picker could be steered by a web page, and I’d check my Firefox version13 Nov 2026
- PostClaude Code spends up to a fifth of its requests on a 3-5 word status line30 Oct 2026
Nothing matches.