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
| REM need administrator's privilege! | |
| setx path "%PATH%;C:\Program Files\Git\bin" /M |
| @echo off | |
| cls | |
| echo Set objShell = CreateObject("WScript.Shell") > c:\set_path.vbs | |
| echo Set objEnv = objShell.Environment("System") >> c:\set_path.vbs | |
| echo PathToAdd = "C:\Program Files\Git\bin" >> c:\set_path.vbs | |
| echo oldSystemPath = objEnv("PATH") >> c:\set_path.vbs | |
| echo newSystemPath = oldSystemPath ^& ";" ^& PathToAdd >> c:\set_path.vbs | |
| echo objEnv("PATH") = newSystemPath >> c:\set_path.vbs | |
| echo wscript.echo "Complete" >> c:\set_path.vbs | |
| c:\set_path.vbs |
| # for generate import | |
| for f in *.ts; do MODEL_NAME=$(grep -ohw 'class \(\w\+Model\)' $f | grep -ohw '\w\+Model'); test $MODEL_NAME && echo "import ${MODEL_NAME} from './$(echo $f | sed 's/\.ts$//')';"; done | |
| # for generate Interface | |
| for f in *.ts; do MODEL_NAME=$(grep -ohw 'class \(\w\+Model\)' $f | grep -ohw '\w\+Model'); test $MODEL_NAME && echo "$(echo ${MODEL_NAME} | sed -e 's/\w/\L\0/' | sed -e 's/Model$//'): ${MODEL_NAME};"; done |
| %windir%\system32\bash.exe -cur_console:p -c zsh |
| #!/bin/sh | |
| set -e | |
| flac 2>&1 >/dev/null || (echo "Install flac package first. "; exit 1) | |
| FILE=$1 | |
| # get the tags | |
| ARTIST=$(metaflac "$FILE" --show-tag=ARTIST | sed s/.*=//g || true) | |
| TITLE=$(metaflac "$FILE" --show-tag=TITLE | sed s/.*=//g || true) | |
| ALBUM=$(metaflac "$FILE" --show-tag=ALBUM | sed s/.*=//g || true) |
| # Only in Linux >= 4.9.0 | |
| # Append to sysctl.conf | |
| # TCP BBR | |
| net.core.default_qdisc=fq | |
| net.ipv4.tcp_congestion_control=bbr |
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDqSTvd4u7WEGgv/GGJ2E7XlD5UlHAuv2B2mRKcCwa2UAQyPCTiOXUpLV9nffnSj04JOweJCsMUnIM71nWDp0j/+sswWHEzk6vPWLTjQvhsF+0R3jxZBk/IGS6mv0Qme9wjHeHPCkqrl7oAEg2JTpzAzJsPniIcZp0Axvc1cJyj9MJaiKhiIjGyL+m7IhBjWu953CHE4YNMUG3FlpWqy9+ykp3Wzpbr1E2sQjuWWgJA8uVtNScFfC1zkKBYElTVtZSlBaJ7jXZqLYW2uhozHg922N5gQlg4pffMZbbe0sGLprnJtFeCMD8iWbXqaSkNIrdPWDjJoN/QooFyEVyBKYWh senorsen@pat |
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
| $('.operate .btn').eq(1).click(); setTimeout(() => $('.file-op a').click()); setTimeout(() => $('.text-center button,.btn-emphasis').eq(1).click()) |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Cambridge Silicon Radio\Harmony\Default] | |
| "OSD"=dword:00000000 |