Add to ~/.pi/agent/settings.json
{
"$schema": "https://gist.githubusercontent.com/ttimasdf/32edb41c4a8e4c445e65a451db4e954b/raw/pi-settings.schema.json",
// ...Usage:
source/ directory. copy migrator.py here.LOCAL_CDN_DOMAIN and p_imgcdn accordingly./migrator.py, pip package requests is the only dependency._export/| # The following is adapted from https://github.com/reswitched/loaders/blob/master/nxo64.py | |
| # | |
| # =========================================================================================== | |
| # | |
| # Copyright 2017 Reswitched Team | |
| # | |
| # Permission to use, copy, modify, and/or distribute this software for any purpose with or | |
| # without fee is hereby granted, provided that the above copyright notice and this permission | |
| # notice appear in all copies. | |
| # |
| FROM ubuntu:20.04 | |
| RUN apt-get update && apt-get install -y wget | |
| ARG url="https://dl-cdn.oray.com/hsk/linux/phddns-5.0.0-amd64.deb" | |
| RUN wget "$url" -O phddns.deb && \ | |
| dpkg -i phddns.deb && \ | |
| rm phddns.deb |
| diff --git a/Makefile.flags b/Makefile.flags | |
| index cff935ff5..e5818f5db 100644 | |
| --- a/Makefile.flags | |
| +++ b/Makefile.flags | |
| @@ -152,7 +152,7 @@ CRYPT_AVAILABLE := $(shell echo 'int main(void){return 0;}' >crypttest.c; $(CC) | |
| ifeq ($(CRYPT_AVAILABLE),y) | |
| LDLIBS += m rt crypt | |
| else | |
| -LDLIBS += m rt | |
| +LDLIBS += m |
https://github.com/Dreamacro/clash-dashboard
Save codes below as Dockerfile.
FROM node:lts-stretch
COPY . .
Fetch channels from WASU IPTV box web API and generate m3u8 from return data.
| #!/bin/sh /etc/rc.common | |
| # | |
| # Copyright (C) 2016 Jian Chang <aa65535@live.com> | |
| # Copyright (C) 2016 Evian Zhow <evianzhow@gmail.com> | |
| # | |
| # This is free software, licensed under the GNU General Public License v3. | |
| # See /LICENSE for more information. | |
| # | |
| START=90 |
curl -sSL https://gist.githubusercontent.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/autossh@host1 | \
sudo tee /etc/default/autossh@example
curl -sSL https://gist.githubusercontent.com/ttimasdf/ef739670ac5d627981c5695adf4c8f98/raw/autossh@.service | \
sudo tee /etc/systemd/system/autossh@.service
sudo useradd -g nogroup -s /bin/false -m tunnel
sudo -u tunnel mkdir -p ~tunnel/.ssh # and copy your private key here
Inspired from: https://github.com/vigente/gerardus/wiki/Integrate-git-diffs-with-word-docx-files
Usage:
cd /path/to/your/repo/with/docx
sh -c "$(curl -fsSL https://gist.githubusercontent.com/ttimasdf/7965baab972b901c1f8349ce5fcb5e09/raw/setup-git-hook.sh)"Done!