Skip to content

Instantly share code, notes, and snippets.

View jason-shen's full-sized avatar
πŸ—Ό
Coding........

Jason Shen jason-shen

πŸ—Ό
Coding........
View GitHub Profile
@jason-shen
jason-shen / jssip.md
Created September 22, 2019 17:44 — forked from dtolb/jssip.md
JsSip Demo

#JSSIP with Catapult API ​ ##Prerequisites ​

  • Register for a Catapult (Bandwidth Application Platform) account here
  • Register a SIP domain
  • Create an endpoint/user
  • If you want to make calls to the PSTN (normal phones) you will need a server to handler events from Catapult
  • Make phone calls ​
@jason-shen
jason-shen / golang-tls.md
Created August 30, 2019 14:52 — forked from denji/golang-tls.md
Simple Golang HTTPS/TLS Examples
Generate private key (.key)
# Key considerations for algorithm "RSA" β‰₯ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" β‰₯ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
@jason-shen
jason-shen / notes.md
Created November 24, 2018 09:18 — forked from matthewjberger/notes.md
How to make an electron app using Create-React-App and Electron with Electron-Builder.
#!/bin/sh
set -eu
JANUS_REV=master
CONTAINER=false # if true, delete more for smaller image
JANUS_REPO=meetecho/janus-gateway
PREFIX=/opt/janus-gateway
SRCDIR=$HOME/src
@jason-shen
jason-shen / ubuntu-vpn-setup.md
Created May 15, 2018 17:19
vpn setup sh script
@jason-shen
jason-shen / .editorconfig
Created May 8, 2018 09:59 — forked from EQuimper/.editorconfig
My Editor Config Setup
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@jason-shen
jason-shen / gist:3c68c3bdfe1f50053ca403e9c6f54e5e
Created May 8, 2018 09:54 — forked from EQuimper/gist:2b09f6b76bddf3c00d543c7c897dea14
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
@jason-shen
jason-shen / git-aliases.md
Created May 8, 2018 09:53 — forked from EQuimper/git-aliases.md
The Ultimate Git Alias Setup

The Ultimate Git Alias Setup

If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.

Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.

The simplest way to add an alias for a specific git command is to use a standard bash alias.

# .bashrc
@jason-shen
jason-shen / sec_tutorial.md
Created May 7, 2018 03:34 — forked from tgrall/sec_tutorial.md
MongoDB Security Tutorial

#Simple MongoDB Security Tutorial

###1 - Start mongod without any "security option"

$ mongod --port 27017

@jason-shen
jason-shen / redis-install-guide.md
Created May 6, 2018 19:34
Install Redis on macOS Sierra via Homebrew

Install Redis on macOS Sierra via Homebrew

It's very simple to install Redis on macOS. Just follow the instructions below.

For the first you need to [install Homewbrew][0]. Then run the command below in you Terminal:

$ brew install redis

To get all info about this package run: