Skip to content

Instantly share code, notes, and snippets.

View eritpchy's full-sized avatar
🤩
out of work.

Jason eritpchy

🤩
out of work.
View GitHub Profile
@eritpchy
eritpchy / asus_ipv6.sh
Created November 22, 2022 02:15
asus_ipv6.sh
#!/bin/sh
ip6tables -X
ip6tables -F
ip6tables -P OUTPUT ACCEPT
ip6tables -P INPUT ACCEPT
ip6tables -P FORWARD ACCEPT
#https://www.right.com.cn/forum/thread-2802556-1-1.html
ip -6 route add 0::/0 dev ppp0
ip -6 route add default dev ppp0 metric 1
@eritpchy
eritpchy / asus_ddns.sh
Last active November 22, 2022 02:00
asus_ddns.sh wan_start or crontab
#!/bin/sh
server=`nvram get ddns_server_x`
hostname=`nvram get ddns_hostname_x`
wanip=`nvram get wan0_ipaddr`
wanoldip=`nvram get wan0_realip_ip`
nasserver="nwsrv-ns1.asus.com"
postexe="/sbin/ddns_updated"
cachefile="/tmp/ddns.cache"
ffmpeg -t 7200 -f lavfi -i color=c=black:s=1920x1080 -i "1.sup" -filter_complex "[0:v][1:s]overlay[v]" -map "[v]" -c:v libx264 -tune stillimage -pix_fmt yuv420p output.mp4
@eritpchy
eritpchy / install.md
Created July 7, 2021 12:30 — forked from rmcgibbo/install.md
Scientific Python From Source, with MKL

Scientific Python From Source

This document will walk you through compiling your own scientific python distribution from source, without sudo, on a linux machine. The core numpy and scipy libraries will be linked against Intel MKL for maximum performance.

This procedure has been tested with Rocks Cluster Linux 6.0 (Mamba) and CentOS 6.3.

Compiling Python From Source