Skip to content

Instantly share code, notes, and snippets.

View xDShot's full-sized avatar

xDShot

  • Digital Hell
View GitHub Profile
@xDShot
xDShot / discordencode.sh
Last active March 23, 2025 22:04 — forked from CallumDev/discordencode.sh
Bash script to encode videos with ffmpeg to under discord's 8MiB file limit
#!/bin/bash
# discordencode - encodes a video file to under 8MiB for Discord
#VF="scale=1280:-2"
usage () {
echo "Usage: [WEBM=1] [VCODEC=libx264] [ACODEC=aac] [VF=filter] [NOAUDIO=1] [VPRESET=x264-preset] $0 input output.mp4"
}
if [ -z "$1" ]
then
usage
exit 1
@xDShot
xDShot / PKGBUILD
Last active September 9, 2016 15:14
Updated PKGBUILD for the 'micro' package on the AUR. Makefile is completely broken, so we are going in 'hard way'. What a shame.
# Maintainer: Youngbin Han <[email protected]>
# Maintainer: xDShot <[email protected]>
pkgname=micro
pkgver=1.0.3
pkgrel=1
pkgdesc="A modern and intuitive terminal-based text editor"
arch=('x86_64' 'i686')
url="https://github.com/zyedidia/micro"
license=('MIT')
makedepends=('go')