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 | |
| set -e | |
| cd $HOME | |
| echo "==> 安装基础依赖" | |
| apt-get update -y | |
| apt-get install -y curl tar jq | |
| echo "==> 获取最新的 VS Code Server 版本号" | |
| COMMIT=$(curl -s -L \ |
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 python | |
| # -*- coding: ascii -*- | |
| #: see: https://github.com/dasmith/stanford-corenlp-python/blob/master/jsonrpc.py | |
| """ | |
| JSON-RPC (remote procedure call). | |
| It consists of 3 (independent) parts: | |
| - proxy/dispatcher | |
| - data structure / serializer | |
| - transport |