Skip to content

Instantly share code, notes, and snippets.

@surma
surma / README.md
Last active March 8, 2024 12:06
webpack-emscripten-wasm

Minimal example making webpack and wasm/Emscripten work together.

Build instructions:

  • Clone this gist
  • npm install
  • npm start
  • Open http://localhost:8080
  • Look at console
@lamlephamngoc
lamlephamngoc / TokenIndex.js
Last active November 13, 2018 20:37
Ledger sign txn on Ropsten Infura - Failed to subscribe to new newBlockHeaders to confirm the transaction receipts
import tiimPrivateSale from './ethereum/tiimPrivateSale';
...
submitPrivateSale = async (event) => {
event.preventDefault();
const {investor, value, bonus} = this.state;
this.closeSaleForm();
@tobiasbueschel
tobiasbueschel / gd-and-gds.md
Last active March 31, 2022 11:52
Alias: ignore package-lock.json and yarn.lock in git diff

Don't want to see package-lock.json and yarn.lock in your git diff? Here are two nifty aliases that hide these files from your diff.

alias gd="git diff -- :!package-lock.json :!yarn.lock"
alias gds="git diff --staged -- :!package-lock.json :!yarn.lock"