Skip to content

Instantly share code, notes, and snippets.

View HJianBo's full-sized avatar
🛹
Jumping into the Rust universe

JianBo He HJianBo

🛹
Jumping into the Rust universe
  • EMQ Technologies
  • Mars
View GitHub Profile
@HJianBo
HJianBo / erl
Created June 12, 2020 07:33 — forked from bokner/erl
debug erlang nif code with lldb
#!/bin/sh
#
# %CopyrightBegin%
#
# Copyright Ericsson AB 1996-2012. All Rights Reserved.
#
# The contents of this file are subject to the Erlang Public License,
# Version 1.1, (the "License"); you may not use this file except in
# compliance with the License. You should have received a copy of the
# Erlang Public License along with this software. If not, it can be
@HJianBo
HJianBo / README.md
Created July 25, 2019 08:34 — forked from chuyik/README.md
macOS 给 Git(Github) 设置代理(HTTP/SSH)
@HJianBo
HJianBo / ss.md
Created January 30, 2019 08:46
Shadowsocks original protocol

The shadowsocks protocol is very similar to SOCKS5 but encrypted and simpler.

Below is the structure of a shadowsocks request (sent from client-side), which is identical for both TCP and UDP connections before encrypted (or after decrypted).

+--------------+---------------------+------------------+----------+
| Address Type | Destination Address | Destination Port |   Data   |
+--------------+---------------------+------------------+----------+
|      1       |       Variable      |         2        | Variable |
+--------------+---------------------+------------------+----------+
@HJianBo
HJianBo / LC_CTYPE.txt
Created November 7, 2017 02:02 — forked from jampajeen/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8