Skip to content

Instantly share code, notes, and snippets.

View visualblind's full-sized avatar

Travis Runyard visualblind

View GitHub Profile
@visualblind
visualblind / ffmpeg-transcode-acodec.sh
Created June 3, 2020 00:42
Transcode with FFmpeg all (mkv, mp4) media files in specified directory, overwriting the original source files.
#!/usr/bin/env bash
#
## DESCRIPTION: Transcode with FFmpeg all (mkv, mp4) media files in specified directory,
## overwriting the original source files.
##
## AUTHOR: Travis Runyard
## Revised: 04/18/2020
## URL: https://sysinfo.io/ffmpeg-batch-transcode-audio/
# Exit on first non-zero exit code
@visualblind
visualblind / move-docker-root.sh
Created June 26, 2017 23:27
Move Docker Root on Ubuntu 16.04
#!/bin/bash
#sysinfo.io
#change paths below to suit your needs
dockerdir_new='/docker/var/'
dockerdir_old='/var/lib/docker/'
set -e
dockerdir_new2=$(echo "$dockerdir_new" | sed 's/\//\\\//g')
systemctl stop docker
mkdir -p $dockerdir_new
@visualblind
visualblind / Windows 10 Disable Services.bat
Last active May 17, 2025 09:10 — forked from 2510/Windows 10 Disable Services.bat
Disable unused services on Windows 10
REM Windows Search
sc config WSearch start=disabled
REM SSDP Discovery
sc config SSDPSRV start=disabled
REM Geolocation Service
sc config lfsvc start=disabled
REM ActiveX Installer
sc config AXInstSV start=disabled
REM AllJoyn Router Service
sc config AJRouter start=disabled