cross compile haproxy for asuswrt-merlin use docker image dockcross/linux-mipsel
useage:
-
put cross_compile.sh in current directory
-
run
docker run -it --rm -v=$PWD:/mnt/files dockcross/linux-mipsel /bin/bash /mnt/files/cross_compile.sh
useage:
put cross_compile.sh in current directory
run
docker run -it --rm -v=$PWD:/mnt/files dockcross/linux-mipsel /bin/bash /mnt/files/cross_compile.sh
根据APNIC的最新IP地址列表及whois信息,生成的各主要运营商IP地址段
参考:https://github.com/clangcn/everyday-update-cn-isp-ip
#Installing and Using daemonize.sh
Installing the daemonize.sh
script is quite simple. You just need to get the script and make it executable.
wget https://gist.githubusercontent.com/dishuostec/089ed42cd7db78c0e4e36bc14b73317a/raw/1932e80a0b3869c671e6d20ba2c10f6c84199225/daemonize.sh
chmod +x daemonize.sh
To use daemonize.sh
just execute it like this:
#!/bin/sh | |
################################################# | |
# dnspod ddns v1.0 | |
# Dynamic DNS using DNSPod API | |
# Fork from https://github.com/anrip/ArDNSPod | |
# Modified by dishuostec | |
################################################# | |
# OS Detection |
#!/bin/sh | |
# | |
# Startup script for the DNS caching server | |
# | |
# chkconfig: - 49 50 | |
# description: This script starts your DNS caching server | |
# processname: dnsmasq | |
# pidfile: /var/run/dnsmasq.pid | |
# Source function library. |
#!/bin/sh | |
# | |
# chkconfig: 35 99 99 | |
# description: Node.js /home/nodejs/sample/app.js | |
# | |
. /etc/rc.d/init.d/functions | |
USER="nodejs" |
C:\backup\exe\WinSCP.com /privatekey=C:\backup\a.ppk [email protected] /command "synchronize local C:\backup\data\ /data/sqldump/BACKUPS/" exit |
#!/bin/bash | |
log_dir=/usr/local/nginx/logs/ | |
backup_log_dir=/data/nginx_logs/$(date +"%Y%m")/ | |
log_date=$(date +"%Y%m%d") | |
nginx_pid=/var/run/nginx.pid | |
keep_days=30 | |
echo "processing ${log_dir}" | |
#create backup dir |
#! /bin/bash | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin | |
export PATH | |
#=============================================================================================== | |
# System Required: CentOS6.x (32bit/64bit) | |
# Description: Install Shadowsocks(libev) for CentOS | |
# Author: Teddysun <[email protected]> | |
# Intro: http://teddysun.com/357.html | |
#=============================================================================================== |
// ==UserScript== | |
// @name Frame Killer | |
// @namespace http://www.arantius.com/ | |
// @description 联通http劫持 | |
// @include * | |
// @grant none | |
// ==/UserScript== | |
var frames=document.evaluate("//frame", document, null, | |
XPathResult.ANY_TYPE, null); | |
var f; |