http://forums.debian.net/viewtopic.php?f=5&t=127437
Re: rules with ipset after restart
Postby ralph.ronnquist » 2016-03-10 00:23
#!/bin/sh
ipset create MYSET hash:net
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Cambridge Silicon Radio\Harmony\Default] | |
"OSD"=dword:00000000 |
// open http://192.168.1.1/cgi-bin/baseinfoSet.cgi | |
console.log( | |
json.BASEINFOSET.baseinfoSet_TELECOMPASSWORD | |
.split('&') | |
.filter(it => it) | |
.map(it => String.fromCharCode(Number(it) > 57 ? Number(it) - 4 : Number(it))) | |
.join('') | |
) |
http://forums.debian.net/viewtopic.php?f=5&t=127437
Re: rules with ipset after restart
Postby ralph.ronnquist » 2016-03-10 00:23
#!/bin/sh
ipset create MYSET hash:net
#!/bin/sh | |
set -e | |
ORG=$1 | |
NEW=$2 | |
sed -i "s/^Package: $ORG\$/Package: $NEW/" /usr/lib/opkg/status | |
mv /usr/lib/opkg/info/$ORG.list /usr/lib/opkg/info/$NEW.list | |
echo "Success" |
const repoId = location.href.match(/repoId=(\d+)/)[1]; (await (await fetch(new Request('https://c.163yun.com/api/repos/' + repoId + '/tags', {credentials: 'same-origin'}))).json()).params.tags.filter((it, i) => i > 0).forEach(v => fetch(new Request('https://c.163yun.com/api/repos/tags/' + v.baseId, {method: 'DELETE', credentials: 'same-origin'}))); |
#!/bin/sh | |
killall -9 funjsqMT | |
killall -9 funjsqCloud | |
killall -9 FYdaemon | |
killall -9 funjsq_ctl | |
killall -9 funjsq_cli | |
killall -9 funjsq_conntime |
#!/bin/sh | |
# | |
# Author: Senorsen <senorsen.zhang@gmail.com> | |
# Description: merlin 路由器帆游添加第二台主机 | |
# Link: https://gist.github.com/Senorsen/eca0d6f5fc9901e9fc09479572940265 | |
# | |
# 使用方法: | |
# 0. 到帆游官网关闭插件(加速) | |
# 1. ssh 到路由器, vi /jffs/jsq.sh ,将本文件内容拷入(或者下载此脚本,传到路由器 /jffs 下) | |
# 2. 执行: `sh /jffs/jsq.sh 新主机 IP 地址` (例如:`sh /jffs/jsq.sh 172.22.8.64`) |
# Only in Linux >= 4.9.0 | |
# Append to sysctl.conf | |
# TCP BBR | |
net.core.default_qdisc=fq | |
net.ipv4.tcp_congestion_control=bbr |
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/sbin/ss-redir |