This file contains hidden or 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
#!/usr/bin/env bash | |
if [ $# = 0 ]; then | |
echo 'usage: vgot cmdpackage[@version]' | |
exit 2 | |
fi | |
d=`mktemp -d` | |
cd "$d" | |
echo 'module temp' > go.mod | |
for i; do |
This file contains hidden or 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
未来3-5年公司所在的业务领域能够持续快速增长 | |
公司的商业模式能够高度获利,确保令人满意的投资回报率 | |
公司的商业模式能够更快获得高质量的用户/客户增长 | |
公司已经建立了较高的竞争壁垒,竞争对手难以模仿 | |
和主要竞争对手相比,公司能更快速和准确地识别用户/客户的需求 | |
公司能够应对用户/客户不断变化的需求 | |
公司付出的努力超过用户/客户对我们的期望 | |
和主要竞争对手相比,公司的产品或服务质量更优越 | |
公司的高层管理者(CEO/副总裁)能制定明确的业务发展方向,并推动执行 | |
我所在部门的管理团队能制定工作目标,并推动落地 |
This file contains hidden or 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 ( | |
"io/ioutil" | |
"net/http" | |
"github.com/faceair/jio" | |
"github.com/go-chi/chi" | |
) |
This file contains hidden or 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
# Configuration for Alacritty, the GPU enhanced terminal emulator | |
# Any items in the `env` entry below will be added as | |
# environment variables. Some entries may override variables | |
# set by alacritty it self. | |
env: | |
# TERM env customization. | |
# | |
# If this property is not set, alacritty will set it to xterm-256color. | |
# |
This file contains hidden or 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 utils | |
import ( | |
"unsafe" | |
jsoniter "github.com/json-iterator/go" | |
"github.com/modern-go/reflect2" | |
) | |
var JSON = jsoniter.ConfigCompatibleWithStandardLibrary |
This file contains hidden or 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 request | |
import ( | |
"bytes" | |
"encoding/json" | |
"io" | |
"io/ioutil" | |
"net/http" | |
"net/http/cookiejar" | |
"net/url" |
This file contains hidden or 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
#!/bin/bash | |
sourcefile=$1 | |
destfile=$2 | |
# Overly simple validation | |
if [ ! -e "$sourcefile" ]; then | |
echo 'Please provide an existing input file.' | |
exit | |
fi |
This file contains hidden or 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
#!/usr/bin/env bash | |
netstat -rn -f inet | grep 'utun3' | awk '{system("sudo route delete -net "$1" "$2)}' | |
netstat -rn -f inet | grep 'utun3' | awk '{system("sudo route delete -host "$1" "$2)}' | |
route -n add -net 172.0.0.0/8 -interface utun3 # dev 环境 | |
route -n add -host 47.96.11.196 -interface utun3 # gitlab.jiagouyun.com | |
route -n add -host 116.62.27.169 -interface utun3 # confluence.jiagouyun.com | |
route -n add -host 47.98.152.34 -interface utun3 # cmgmt.jiagouyun.com. |