A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| #!/bin/bash | |
| #shellcheck shell=bash | |
| find $HOME/src -type d \( -name "target" -or -name "node_modules" -or -name "venv" -or -name "dist" -or -name "build" -or -name ".idea" -or -name ".vscode" \) -or -name "*.log" -or -name "*.bak" -or -name "*.swp" -or -name "*~" -or -name "debug" -or -name "debug_log" | |
| I'm told that there are people claiming to "tokenize" my git repositories with my approval. | |
| I just want to clarify that that is not the case. I do not believe in monetizing my repositories. | |
| If you believe crypto-currencies are anything but a scam, I have a bridge to sell you. | |
| But I'm not selling source code. |
| // sleep.js | |
| const sleep = async (time = 1000) => | |
| { | |
| return await new Promise((res) => { | |
| setTimeout(() => { | |
| res(); | |
| }, time); | |
| }); | |
| }; |
| #!/bin/zsh -df | |
| # Et voila! | |
| # No more typing in the same repository owner/repo twice after running | |
| #`gh repo create` | |
| function copy_that_last_repo_address() { | |
| if ! command -v gh &>/dev/null; then | |
| echo "gh command not found. Please install GitHub CLI." |
| #!/usr/bin/env node | |
| // Open ("Google") Search in your default browser from your CLI. | |
| // Check if search terms were provided | |
| if (process.argv.length <= 2) { | |
| console.log('Usage: gsearch [search terms]'); | |
| process.exit(1); | |
| } |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html