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
package org.zeusro; | |
import com.google.gson.Gson; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.zeusro.util.SQLHelper; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.ResultSet; |
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
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"log" | |
"regexp" | |
"strings" | |
) |
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
prepare(){ | |
sudo apt update | |
sudo apt install -y shadowsocks-libev git software-properties-common | |
# golang | |
sudo add-apt-repository ppa:longsleep/golang-backports | |
sudo apt-get update -y | |
sudo apt-get install -y golang-go | |
# v2ray | |
git clone https://github.com/shadowsocks/v2ray-plugin.git |
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
check_sys() { | |
local checkType=$1 | |
local value=$2 | |
local release='' | |
local systemPackage='' | |
if [ -f /etc/redhat-release ]; then | |
release="centos" |
NewerOlder