Skip to content

Instantly share code, notes, and snippets.

View Yaoshicn's full-sized avatar
😎
Old-school New Cool.

Xuanliang Cui Yaoshicn

😎
Old-school New Cool.
  • Nanyang Technological University
  • Singapore
View GitHub Profile
@Yaoshicn
Yaoshicn / Bless.md
Last active November 10, 2018 22:22

Bless Bless Bless Bless Bless

Keybase proof

I hereby claim:

  • I am Yaoshicn on github.
  • I am yaoshi (https://keybase.io/yaoshi) on keybase.
  • I have a public key whose fingerprint is 8638 16A6 AC61 4E6E 0284 A117 C329 1BAC 3990 F8EE

To claim this, I am signing this object:

@Yaoshicn
Yaoshicn / ngrok-selfhosting-setup.md
Created February 27, 2017 14:18 — forked from lyoshenka/ngrok-selfhosting-setup.md
How to setup Ngrok with a self-signed SSL cert

Intro

The plan is to create a pair of executables (ngrok and ngrokd) that are connected with a self-signed SSL cert. Since the client and server executables are paired, you won't be able to use any other ngrok to connect to this ngrokd, and vice versa.

DNS

Add two DNS records: one for the base domain and one for the wildcard domain. For example, if your base domain is domain.com, you'll need a record for that and for *.domain.com.

Different Operating Systems

@Yaoshicn
Yaoshicn / install-erlang-on-raspberry-pi-3.md
Last active April 26, 2019 22:52
Install Erlang on Raspberry Pi 3

Dependencies

The libwxbase2.8/libqt5/libgtk2.0-dev could be installed for insurance.

# for erlang
sudo apt-get install fop 
sudo apt-get install libncurses5-dev
sudo apt-get install openjdk-6-jdk
sudo apt-get install unixodbc-dev
sudo apt-get install g++
@Yaoshicn
Yaoshicn / Hash_sum_mismatch.md
Created May 1, 2018 09:25
How to solve hash sum mismatch problem on Raspberry Pi.
sudo apt-get clean
sudo rm /var/lib/apt/lists/partial/*
sudo vim /etc/apt/sources.list
deb http://archive.raspbian.org/raspbian stretch main contrib non-free
deb-src http://archive.raspbian.org/raspbian stretch main contrib non-free