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
From 01ce72fb8086fb6984e4409739a821408045612e Mon Sep 17 00:00:00 2001 | |
From: Dudemanguy <[email protected]> | |
Date: Sat, 24 Feb 2024 15:07:31 -0600 | |
Subject: [PATCH] glocalfileinfo: add a dbus thumbnail generator | |
--- | |
gio/glocalfileinfo.c | 186 +++++++++++++++++++++++++++++++++++++++++-- | |
1 file changed, 179 insertions(+), 7 deletions(-) | |
diff --git a/gio/glocalfileinfo.c b/gio/glocalfileinfo.c |
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
/opt
)bin/
directory of the toolchain to $PATH
export PATH=$PATH:/opt/armv6-eabihf--glibc--bleeding-edge-2020.08-1
.message-content {font-size: 120%} | |
.message-content {color: black;} | |
.message-content {font-family: "Segoe UI", Georgia, Serif;} | |
.message-content {line-height: 1.5;} | |
.user-name {font: bold 16px/30px Georgia, serif;} |
# The command finds the most recent tag that is reachable from a commit. | |
# If the tag points to the commit, then only the tag is shown. | |
# Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object | |
# and the abbreviated object name of the most recent commit. | |
git describe | |
# With --abbrev set to 0, the command can be used to find the closest tagname without any suffix: | |
git describe --abbrev=0 | |
# other examples |
// Portable Wake-On-Lan by Lionello Lunesu, placed in the public domain | |
#ifdef _WIN32 | |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> | |
#include <winsock2.h> | |
#ifdef _MSC_VER | |
#pragma comment(lib, "ws2_32.lib") | |
#endif | |
#else | |
#include <sys/socket.h> |
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |