Skip to content

Instantly share code, notes, and snippets.

View zeusro's full-sized avatar
🤣
All in cloud native

Zeusro zeusro

🤣
All in cloud native
View GitHub Profile
@zeusro
zeusro / a.sh
Last active September 19, 2019 16:04
Ubuntu
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
@zeusro
zeusro / open-falcon-agent.sh
Last active April 3, 2018 02:22
自动安装 open-falcon-agent
check_sys() {
local checkType=$1
local value=$2
local release=''
local systemPackage=''
if [ -f /etc/redhat-release ]; then
release="centos"
@zeusro
zeusro / Program.cs
Created March 9, 2018 09:45
DotnetCore-LINQ
using System;
namespace zeusro
{
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
public class Person
{
@zeusro
zeusro / Main.java
Created March 9, 2018 09:41
java8-stream
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;