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" |
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
using System; | |
namespace zeusro | |
{ | |
using System.Collections.Generic; | |
using System.Linq; | |
using Newtonsoft.Json; | |
public class Person | |
{ |
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
import com.google.gson.Gson; | |
import com.zeusro.Person; | |
import com.zeusro.Sex; | |
import java.time.LocalDate; | |
import java.time.ZoneId; | |
import java.util.*; | |
import java.util.stream.Collectors; | |
import java.util.stream.Stream; |
NewerOlder