Skip to content

Instantly share code, notes, and snippets.

View yuhunglin's full-sized avatar

Yu-Hung Lin yuhunglin

  • Chaos Monkeys United
  • Monkey Island
View GitHub Profile
@yuhunglin
yuhunglin / keybase.md
Created August 11, 2017 23:19
what are these silly keys

Keybase proof

I hereby claim:

  • I am yuhunglin on github.
  • I am yuhung (https://keybase.io/yuhung) on keybase.
  • I have a public key ASDg3QsNqSWB_hME84qAGewxZ7fnrFNiNZDHxBfxgVaZXwo

To claim this, I am signing this object:

@yuhunglin
yuhunglin / gist:96856ada2d3353fb5efd
Created September 25, 2015 23:13
Log all the things
- What do we want to do?
- Everytime an API endpoint was involved,
- metrics middleware to audit elements
- Uncaught exceptions (should go to logger instead blowing up)
- Timestamps on all entries
- Start pushing in a requestID for all fermina request
- Logging units of work
- Offload lifecycle management to 3rd party services
- JSON format
@yuhunglin
yuhunglin / gist:5130238
Created March 10, 2013 20:15
Noisy openssl warning when attempting to use coveralls with jruby.
Cubert:calcentral yuhung$ rspec spec
/Users/yuhung/.rvm/gems/jruby-1.7.2@calcentral/gems/simplecov-0.7.1/lib/simplecov.rb:34 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
/Users/yuhung/.rvm/gems/jruby-1.7.2@global/gems/jruby-openssl-0.8.2/lib/shared/jruby-openssl.rb:16 warning: already initialized constant PKCS1_PADDING
/Users/yuhung/.rvm/gems/jruby-1.7.2@global/gems/jruby-openssl-0.8.2/lib/shared/jruby-openssl.rb:16 warning: already initialized constant SSLV23_PADDING
/Users/yuhung/.rvm/gems/jruby-1.7.2@global/gems/jruby-openssl-0.8.2/lib/shared/jruby-openssl.rb:16 warning: already initialized constant NO_PADDING
/Users/yuhung/.rvm/gems/jruby-1.7.2@global/gems/jruby-openssl-0.8.2/lib/shared/jruby-openssl.rb:16 warning: already initialized constant PKCS1_OAEP_PADDING
/Users/yuhung/.rvm/gems/jruby-1.7.2@global/gems/jruby-openssl-0.8.2/lib/shared/jruby-openssl.rb:16 warning: already initialized constant UNIVERSAL_TAG_NAME
/Users/yuhung/.rvm/gems/jruby-1.7.2@global/gems/