perl -i -lne 's/\s*$//; print if ! $x{$_}++' $HISTFILE
alias ALIAS | sed -e 's/^alias [^=]\+=//' -e "s/'//g"
curl icanhazip.com
curl wttr.in/
ex -bsc '%s/\r//|x' file
git commit --amend --no-edit
git hook run update -- WRAPPER --save-hash all '*'
git reset --hard $(git rev-list --max-parents=0 --abbrev-commit HEAD) # reset to initial
git submodule update --init --recursive --remote
gpg --quick-gen-key "KEY NAME" default default never
sh -c 'find $@ 2>&1 | grep -v "Permission denied" >&2' -
sh -c 'mkdir ~/.ssh && ssh-copy-id -i $XDG_DATA_HOME/ssh/id_rsa.pub "$@" && rmdir ~/.ssh -
sh -c 'pkg-config --variable=pcfiledir "$1" | xargs -I {} cat {}/"$1".pc' - PKG
# create webm video from a mp4 file
avconv -i in.mp4 -vcodec libvpx -crf 10 -b:v 1M -acodec libvorbis -qscale:a 5 out.webm
# slicing movie file
avconv -i in.mp4 -vcodec copy -acodec copy -ss 00:00:00 -t 00:01:40 out.mp4
# converting image size
convert -resize 500 in.png out.png
convert -density 192 PDF -quality 100 -alpha remove IMG
sh -c 'convert $@ sixel:-' -
# create ogg audio from a mp4 file
ffmpeg -i input.mp4 -vn -acodec libvorbis -y output.ogg
python3 -m http.server 8000
python3 -m venv .venv && . .venv/bin/activate
scanimage.sh --format tiff | magick - -resize 50% -quality 75 scan.jpg
tmux run '"$XDG_CONFIG_HOME"/tmux/scripts/ressurect-auto.sh restore'
vim "$(command -v music.m3u)"
sudo dd bs=4M oflag=direct status=progress if=ISO of=DEV
exec sway --unsupported-gpu
mount -t cifs //10.0.2.4/qemu/
php -S 0.0.0.0:8000 # PHP server
podman pull $(podman images --format='{{.Repository}}' | tr '\n' ' ')
sudo usermod -a -G groupname username # add user to group
transmission-daemon -T -w "$XDG_DOWNLOAD_DIR" -c "$XDG_DOWNLOAD_DIR"
sudo sh -c 'apt update && apt upgrade && apt autoclean && apt autoremove'
