This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
#!/bin/bash | |
# Production Docker Host Hardening Script v2 | |
# For Ubuntu Server 24.04 LTS (Noble) | |
# Suitable for both Kamal deployment and builder hosts | |
set -euo pipefail | |
IFS=$'\n\t' | |
# --- Constants --- |
#!/usr/bin/env bash | |
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh" | |
if [ -z ${TM_PROJECT_DIRECTORY+x} ]; then | |
echo -n "$TM_FILEPATH" | pbcopy | |
echo "$TM_FILEPATH"'\n Absolute path copied to clipboard' | |
else | |
TM_PROJECT_DIRECTORY="$TM_PROJECT_DIRECTORY/" | |
echo -n "${TM_FILEPATH#$TM_PROJECT_DIRECTORY}" | pbcopy |
#!/usr/bin/env bash | |
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh" | |
echo -n "$TM_FILEPATH" | pbcopy | |
echo "Path $TM_FILEPATH copied to clipboard." |
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'` | |
# or... | |
sudo killall coreaudiod |