Skip to content

Instantly share code, notes, and snippets.

View johnzweng's full-sized avatar

Johannes Zweng johnzweng

View GitHub Profile

Analyze IDEA Performance Issues:

January 10, 2019

Setup:

  • IDEA Version and JVM runtime (JVM is the bundled one by JetBrains):
    IntelliJ IDEA 2018.3.3 (Ultimate Edition)
    Build #IU-183.5153.38, built on January 9, 2019
    JRE: 1.8.0_152-release-1343-b26 x86_64
    
@johnzweng
johnzweng / web3-status-im-tokensale.js
Created June 20, 2017 11:36
Status script for watching the status.im smartcontract crowdsale
/**
* Johannes Zweng <john@zweng.at>, 2017
*
* This simple script just loads the Status.im contracts (Crowdsale and Tokens)
* into the web3 Script API and then provides a single status function which you
* can call on the console to query the current status of the crowdsale.
*
* Usage:
* 1) Store this gist locally on your computer.
* 2) make sure you have "web3" and "bignumber.js" node modules installed. For example like this:
/**
* Johannes Zweng <john@zweng.at>, 2017
*
* This simple script just loads the 2 bancor contracts (Crowdsale and BNT Token)
* into the geth client and then provides a single status function which you
* can call on the geth console to query the current status of the crowdsale.
*
* Usage:
* ------
* 1) Start geth instance
@johnzweng
johnzweng / keybase.md
Created May 7, 2017 06:55
Github proof for keybase.io

Keybase proof

I hereby claim:

  • I am johnzweng on github.
  • I am johnzweng (https://keybase.io/johnzweng) on keybase.
  • I have a public key ASBoU3gbSHQZPDeYdljl32-5iClAuzGOO1Cb2ZzF2yi8QAo

To claim this, I am signing this object: