Skip to content

Instantly share code, notes, and snippets.

View Albert-Gao's full-sized avatar
😊
Can't stop programming! So happy!

AlbertGao Albert-Gao

😊
Can't stop programming! So happy!
View GitHub Profile

Using JSDOC-Based TypeScript

Get Started

Choose your editor

  • WebStorm, Rider
    • Partial support, not enough intelli hints
    • Toggle on TypeScript language service
  • VSCode
@dengjonathan
dengjonathan / .babelrc
Last active May 1, 2018 20:36
Webpack/ Babel/ Express Env for React
{
"plugins": ["react-hot-loader/babel"],
"ignore":[]
}
@dustinfarris
dustinfarris / conftest.py
Last active April 28, 2023 13:57
Stubbing out Kivy windows for your unit tests (using py.test)
"""
Unit testing Kivy is easy, but requires a little boiler plate to keep the
window quiet while you test your code. This is one way to set up py.test,
but the same technique can probably be used with other test runners as well.
More information on how these py.test hooks work:
http://pytest.org/latest/plugins.html#generic-runtest-hooks
"""
import mock
@bradmontgomery
bradmontgomery / install-comodo-ssl-cert-for-nginx.rst
Last active March 20, 2025 17:17
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert