Skip to content

Instantly share code, notes, and snippets.

View YahuiWong's full-sized avatar
🌈
Focusing

ArthurWang YahuiWong

🌈
Focusing
View GitHub Profile
@YahuiWong
YahuiWong / install-ss-tproxy.sh
Last active September 4, 2018 11:17 — forked from sancome/install-ss-tproxy.sh
Auto install SS-TProxy on CentOS 7.3 Minimal
#!/bin/sh
#
# Script for automatic setup of an SS-TPROXY server on CentOS 7.3 Minimal.
#
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
exiterr() { echo "Error: $1" >&2; exit 1; }
exiterr2() { exiterr "'yum install' failed."; }
bigecho() { echo; echo -e "\033[36m $1 \033[0m"; }
@YahuiWong
YahuiWong / install_ffmpeg.sh
Created December 28, 2019 07:07 — forked from spookyuser/install_ffmpeg.sh
Installs FFmpeg on aws\whatever
# Taken from https://forums.aws.amazon.com/thread.jspa?messageID=332091
# And https://gist.github.com/rainabba/07425c3bc14a0bb51632f12e913d9081
#
# Usage: `sudo bash ./install_ffmpeg.sh`
# Config Variables
static_host=https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz
filename=ffmpeg-git-64bit-static.tar.xz
@YahuiWong
YahuiWong / answerfile
Created May 26, 2023 12:17 — forked from oofnikj/answerfile
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"