This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# description: Apache Tomcat init script | |
# processname: tomcat | |
# chkconfig: 234 20 80 | |
# | |
# | |
# Copyright (C) 2014 Miglen Evlogiev | |
# | |
# This program is free software: you can redistribute it and/or modify it under |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -genkey -alias lyuap -keyalg RSA -keypass changeit -storepass changeit -keystore lyuap.keystore -keysize 2048 -validity 3600 | |
keytool -export -alias lyuap -keystore lyuap.keystore -file lyuap.crt | |
keytool -import -alias lyuap -file lyuap.crt -keystore cacerts | |
从jks导出私钥为pkcs12格式: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ . /usr/local/bin/oraenv | |
$ sqlplus /nolog | |
sql> connect sys/passwd as sysdba | |
sql> startup | |
sql> exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# nginx - this script starts and stops the nginx daemon | |
# | |
# chkconfig: - 85 15 | |
# description: NGINX is an HTTP(S) server, HTTP(S) reverse \ | |
# proxy and IMAP/POP3 proxy server | |
# processname: nginx | |
# config: /etc/nginx/nginx.conf | |
# config: /etc/sysconfig/nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setuid = root | |
setgid = root | |
pid = /var/run/stunnel.pid | |
;debug = debug | |
;output = /tmp/stunnel.log | |
verifyPeer = yes | |
checkHost = yourdomain.com | |
sni = yourdomain.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
SS_CONFIG_FILE=/mnt/jffs2/hw/ss.json | |
SS_REDIR_BIN=/mnt/jffs2/app/shadowsocks-libev-2.6.3/ss-redir | |
SS_TUNNEL_BIN=/mnt/jffs2/app/shadowsocks-libev-2.6.3/ss-tunnel | |
GFW_FILE_PATH=/mnt/jffs2/hw/etc/gfw-nat | |
IPTABLES_BIN=/mnt/jffs2/plug/app/bin/iptables | |
IPTABLES_RESTORE_BIN=/mnt/jffs2/plug/app/bin/iptables-restore | |
DNSFORWARD_BIN=/mnt/jffs2/plug/app/bin/dns-forwarder | |
SERVER_IP=`cat $SS_CONFIG_FILE |grep '"server"' | awk -F '"' '{print $4}'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# douyin | |
address=/douyinvod.com/0.0.0.0 | |
address=/ixigua.com/0.0.0.0 | |
address=/douyinpic.com/0.0.0.0 | |
address=/snssdk.com/0.0.0.0 | |
address=/huoshanstatic.com/0.0.0.0 | |
address=/amemv.com/0.0.0.0 | |
address=/douyincdn.com/0.0.0.0 | |
address=/pstatp.com/0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BIN_DIR=/mnt/jffs2/plug/app/busybox | |
export PATH=$BIN_DIR/bin:$BIN_DIR/sbin:$BIN_DIR/usr/bin:$BIN_DIR/usr/sbin | |
DOMAIN='' | |
NAME='' | |
APIKEY='' | |
CAFILE="/mnt/jffs2/hw/etc/ssl/certs/ca-certificates.crt" | |
CURL_BIN="/mnt/jffs2/plug/app/bin/curl" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### for shadowsocks-libev 2.3.6 +, using ipset | |
# set in dnsmasq.conf | |
ipset=/fast.com/netflix | |
ipset=/nflxext.com/netflix | |
ipset=/nflximg.com/netflix | |
ipset=/nflximg.net/netflix | |
ipset=/nflxso.net/netflix | |
ipset=/nflxvideo.net/netflix | |
ipset=/nflxvideo.net/netflix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "1685f1b549464713", | |
"type": "tab", | |
"label": "推送每日用电数据", | |
"disabled": false, | |
"info": "自动推送每日用电数据到企业微信", | |
"env": [] | |
}, | |
{ |
OlderNewer