Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am evliu on github.
  • I am evliu (https://keybase.io/evliu) on keybase.
  • I have a public key ASDME-kwq9jVqyAeLPZzGd9xYaU4E4kiekOfjYZu23xksQo

To claim this, I am signing this object:

@evliu
evliu / medicationOrdersFHIR.json
Last active April 30, 2016 03:33
medicationOrderFHIRTest.json
[
{
"resourceType": "MedicationOrder",
"identifier": [
{
"value": "SomeMedicaitonOrderUniqueIdentifier"
}
],
"dateWritten": "2016-01-15",
"status": "active",
@evliu
evliu / collections.js
Created October 10, 2014 00:05
reaction-core collections.js
var AddressSchema, Cart, CartItemSchema, Customers, MetafieldSchema, Orders, PackageConfigSchema, ProductVariantSchema, Products, ShopMemberSchema, Shops, Tags, VariantMediaSchema;
share.ReactionPalette = this.ReactionPalette = new Meteor.Collection(null);
share.Product = this.Product = new Meteor.Collection("Product");
share.Variant = this.Variant = new Meteor.Collection("Variant");
ReactionCore.Collections.ConfigData = new Meteor.Collection("ConfigData");
ReactionCore.Collections.Translations = new Meteor.Collection("Translations");
/*
@evliu
evliu / blogpost.md
Created September 19, 2013 00:01 — forked from coryalder/blogpost.md

Save books out of Safari Books Online

From http://objectivesea.tumblr.com/post/9033067018/safaribooks

This is hard. I spent way too much time figuring this out, because I was annoyed that a book I bought (Addison-Wesley) was available online for free, except only for 45 days after which payment was required. So I made this hack... probably useful to no one else, but here it is.

Requirements:

  1. iPad.
  2. Safari To Go (the Safari Books Online iPad app).
[8/15/13 4:15:33 PM] Sharon Choi: Sharon Choi added Kenji Heigel to this conversation
[8/15/13 4:15:35 PM] Sharon Choi: Sharon Choi added Brian Wulbern to this conversation
[8/15/13 4:15:39 PM] Sharon Choi: Sharon Choi added Suzanna to this conversation
[8/15/13 4:15:46 PM] Sharon Choi: Sharon Choi added Everest Liu to this conversation
[8/15/13 4:15:50 PM] Sharon Choi: Sharon Choi added Marc Lundgren to this conversation
[8/15/13 4:15:55 PM] Sharon Choi: Sharon Choi added Jeffrey Yang to this conversation
[8/15/13 4:17:54 PM] Sharon Choi: didn't want to invite the whole peanut gallery bc too many cooks
[8/15/13 4:18:00 PM] Sharon Choi: spoil the pot or whatever
[8/15/13 4:18:04 PM] Sharon Choi: but anyways
[8/15/13 4:18:17 PM] Sharon Choi: next week is melanie's and eric's bday on the 22nd
@evliu
evliu / auiScrollInfo.html
Created February 28, 2013 17:10
AUI ScrollInfo snippet
<script>
var body = A.one('body');
body.plug(A.Plugin.ScrollInfo);
body.scrollInfo.on('scrollToBottom', function (event){
//Load more content when the user scrolls to the bottom of the page
});
</script>
@evliu
evliu / gist:5058264
Created February 28, 2013 17:03
AUI PJAX snippet
<script>
AUI().use('pjax', function (A) {
new A.Pjax({container: '#content'});
});
</script>
<div id="content"></div>
<a href="someLink" class="yui3-pjax">
Some Link that loads into #content