Skip to content

Instantly share code, notes, and snippets.

View bnguyensn's full-sized avatar
Hacking away...

Binh Nguyen bnguyensn

Hacking away...
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bnguyensn on github.
  • I am bnguyensn (https://keybase.io/bnguyensn) on keybase.
  • I have a public key ASCHimXE5GV6QK7YKupkGymX6NKSpFIMLT6juZxCVzkjfQo

To claim this, I am signing this object:

@bnguyensn
bnguyensn / .gitignore
Last active October 29, 2019 21:54
Standard .gitignore
# ########## OS ########## #
# macOS
.DS_store
# ########## EDITOR ########## #
# IntelliJ
.idea
*.iml
@bnguyensn
bnguyensn / .prettierrc
Created February 13, 2019 00:37
Standard .prettierrc
{
"singleQuote": true,
"trailingComma": "es5"
}
@bnguyensn
bnguyensn / .flowconfig
Created February 14, 2019 00:27
Standard .flowconfig
[ignore]
.*/node_modules/.*
.*/dist/.*
.*/build/.*
[include]
[libs]
[lints]
@bnguyensn
bnguyensn / tsconfig.json
Last active October 29, 2019 21:54
Standard tsconfig.json
{
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"dom",
"esnext",
"webworker"
],
"moduleResolution": "node",
@bnguyensn
bnguyensn / ubuntu-update.md
Last active February 16, 2019 15:20
Instructions to update Ubuntu systems

Update Ubuntu

sudo apt-get update        # Fetches the list of available updates
sudo apt-get upgrade       # Strictly upgrades the current packages
sudo apt-get dist-upgrade  # Installs updates (new ones)

sudo reboot                # Restart
@bnguyensn
bnguyensn / homebrew.md
Last active November 1, 2019 00:02
homebrew

homebrew

# Update formulae and Homebrew itself
brew update

# Upgrade everything
brew upgrade

# Remove packages' old versions
@bnguyensn
bnguyensn / nvm-commands.md
Created February 16, 2019 15:33
Common nvm commands

Common nvm commands

# List installed versions
nvm ls

# List versions available for install (WARNING: list is long)
nvm ls-remote
@bnguyensn
bnguyensn / .prettierignore
Last active October 29, 2019 21:55
Standard .prettierignore
dist
build
tests
ignore
@bnguyensn
bnguyensn / service-worker-notes.md
Last active October 29, 2019 21:55
Service worker notes

Service worker notes

Requirements

Lifecycle

1. Registration