Skip to content

Instantly share code, notes, and snippets.

@gwongz
gwongz / group-metadata.json
Created December 15, 2019 16:46
celo-group-metadata
{"claims":[{"timestamp":1576428298,"type":"ACCOUNT","address":"0xCAd07eBF3c922bfe1292d4fbfcE015a934e520B9"}],"meta":{"address":"0x77611F4e37C0fea6DBF9237C0549B5E4e231bf3f","signature":"0x4d66c8a99d8124c265c11d323c53eb8cb541243d691430bc7cb7bcf9ffb8d93a4fdd33f8adaf5a25094b344cbf334eb1086433c819bf4e31a0f11623a45202c71b"}}
{"claims":[{"timestamp":1576000395,"type":"ACCOUNT","address":"0x77611F4e37C0fea6DBF9237C0549B5E4e231bf3f"},{"url":"http://52.3.182.45","timestamp":1576427187,"type":"ATTESTATION_SERVICE_URL"},{"timestamp":1576427855,"type":"ACCOUNT","address":"0x77611F4e37C0fea6DBF9237C0549B5E4e231bf3f"}],"meta":{"address":"0xCAd07eBF3c922bfe1292d4fbfcE015a934e520B9","signature":"0x99726a294d3d6bb4df2f11e2b9fff5e868e6e36fe6c6229ab7505cc4bfd3d3c454d34ae90003dab85f9c1dbed2721ad02d0e4bb4b42a217d72f8b8e00a9df7901b"}}
@gwongz
gwongz / celo-stake-off.md
Created December 9, 2019 22:20
Celo Stake Off

CELO_VALIDATOR_GROUP_ADDRESS=77611f4e37c0fea6dbf9237c0549b5e4e231bf3f CELO_VALIDATOR_ADDRESS=cad07ebf3c922bfe1292d4fbfce015a934e520b9

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

selection = request.values.get('language')
if not LANGUAGE_CHOICES._asdict().get(selection):
raise InvalidLanguageException('Invalid language')
@gwongz
gwongz / ascii.txt
Created July 24, 2015 02:18
2-d wave ascii
.----. ,----. ,----.
| | | | ; |
: : ' : | :
; | : | : ;
,----| ,----, ,----| ,----,
| ; ; ; ; | | ;
: ' | | | ' ' :
; | | | | : | |
| ' : : : ' ; |
@gwongz
gwongz / .bash_profile
Created December 9, 2014 19:15
bash profile
# setting up virtualenv wrapper
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Devel
source /usr/local/bin/virtualenvwrapper.sh
# pip should only run if there is a virtualenv currently activated
export PIP_REQUIRE_VIRTUALENV=true
export EDITOR='subl -w'
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
@gwongz
gwongz / .pypirc
Last active August 29, 2015 14:10
.pypirc config for PyPI
[distutils]
index-servers =
pypi
pypitest
# authentication details for live PyPI
[pypi]
repository: https://pypi.python.org/pypi
username: {{username}}
password: {{password}}
@gwongz
gwongz / jshint options
Created April 6, 2014 22:09
jshint options for SublimeLinter settings
"jshint_options":
{
// To fix column positions for JSHint errors you may want to add `"indent": 1` to your
// **User** "jshint_options". This issue affects users with tabs for indentation.
// This fix was reverted due to a conflict with using the `"white": true` option.
// "indent": 1,
"evil": true,
"regexdash": true,
"browser": true,
"wsh": true,
@gwongz
gwongz / slides.html
Last active December 22, 2015 21:09
Implementing SlidesJS
<div class="slide-container">
<div id="slides">
<a href="http://money.cnn.com/news/economy/mba100/2013/snapshots/1.html" target="_blank"><img src="images
/mba_800_600.png"></a>
<a href="http://edition.cnn.com/2012/11/13/world/asia/solar-eclipse-australia-explained" target="_blank"><img
src="images/solar_800_600.png"></a>
<a href="http://money.cnn.com/gallery/pf/2012/11/01/best-new-jobs-in-america/" target="_blank"><img src="images
/new_jobs_800_600.png"></a>
<a href="http://money.cnn.com/magazines/moneymag/best-jobs/2011/jobs-helping-others/1.html" target="_blank"><img
src="images/best_jobs_800_600.png"></a>