I hereby claim:
- I am lzjluzijie on github.
- I am halulu (https://keybase.io/halulu) on keybase.
- I have a public key whose fingerprint is D6BB B216 0FC6 1FC5 C698 D2E4 84A6 DA88 7A07 E73D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#! /bin/bash | |
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin | |
export PATH | |
wget https://dl.google.com/go/go1.11.linux-amd64.tar.gz | |
tar -xzf go1.11.linux-amd64.tar.gz | |
rm -f go1.11.linux-amd64.tar.gz | |
mv go /usr/local | |
echo export GOROOT=/usr/local/go>/etc/profile.d/go.sh | |
echo export GOPATH=/root/go>>/etc/profile.d/go.sh | |
echo export PATH=$PATH:$GOROOT/bin>>/etc/profile.d/go.sh |
package main | |
import ( | |
"net" | |
"fmt" | |
"io" | |
) | |
func main(){ | |
listener, err := net.Listen("tcp", ":2333") |
# Colors | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;33m' | |
BLUE='\033[0;36m' | |
PLAIN='\033[0m' | |
speed_test_v4() { | |
local speedtest=$(wget -4O /dev/null -T300 $1 2>&1 | awk '/\/dev\/null/ {speed=$3 $4} END {gsub(/\(|\)/,"",speed); print speed}') | |
local host=$(awk -F'/' '{print $3}' <<< $1) |
[Script Info] | |
; Script generated by Aegisub 3.2.2 | |
; http://www.aegisub.org/ | |
Title: Default Aegisub file | |
ScriptType: v4.00+ | |
WrapStyle: 0 | |
ScaledBorderAndShadow: yes | |
YCbCr Matrix: TV.601 | |
PlayResX: 1920 | |
PlayResY: 1080 |
package main | |
import ( | |
"crypto/sha256" | |
"fmt" | |
base58 "github.com/jbenet/go-base58" | |
) | |
func main() { |
package main | |
import ( | |
"log" | |
"net/http" | |
) | |
func redirect(w http.ResponseWriter, r *http.Request) { | |
http.Redirect(w, r, "https://halu.lu/", 302) |