You may need to configure a proxy server if you're having trouble cloning
or fetching from a remote repository or getting an error
like unable to access '...' Couldn't resolve host '...'
.
Consider something like:
package main | |
import ( | |
"bytes" | |
"encoding/binary" | |
"fmt" | |
"log" | |
"os" | |
) |
C:\Users\MyUser\Downloads\beanstalkd-1.4.6-cygwin\bin\beanstalkd.exe -l 127.0.0.1 -p 11300 |
git config --global https.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
npm config delete proxy |
package crypto | |
import ( | |
"golang.org/x/crypto/blake2b" | |
) | |
// NewBlake2b256 ... | |
func NewBlake2b256(data []byte) []byte { | |
hash := blake2b.Sum256(data) | |
return hash[:] |
#!/bin/bash | |
#================================================= | |
# System Required: :Debian 9+/Ubuntu 18.04+/Centos 7+ | |
# Description: Trojan&V2ray&SSR script | |
# Version: 1.0.0 | |
# Author: Jeannie | |
# Blog: https://jeanniestudio.top/ | |
# Official document: www.v2ray.com | |
#================================================= | |
sh_ver="1.0.0" |
port: 7890 | |
socks-port: 7891 | |
allow-lan: true | |
mode: Rule | |
log-level: silent | |
external-controller: 127.0.0.1:9090 | |
dns: | |
enable: true | |
ipv6: false | |
listen: 127.0.0.1:5450 |