Skip to content

Instantly share code, notes, and snippets.

View HelloWorld.java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World.");
}
}
View email_maybe.md

Option 1

There is just one generic mutation that can handle all message creation. I am unsure how scalable this is. Main benefit I can think of is that we wouldn't need to adjust the graphql layer every time we added a new medium to send messages/notifications with. The more I think about this thought the more unreasonable it feels.

sendMessage(input: SendMessageInput!): Boolean

enum MessageType {
   EMAIL
   SMS
}
@jicee13
jicee13 / angular_universal_prerendering_and_hammer_js_custom_config.md
Last active Nov 29, 2018
After creating an Angular Universal application, here is how you can also make it suitable for prerendering.
View angular_universal_prerendering_and_hammer_js_custom_config.md

Angular Universal Prerendering

Note: This tutorial is for prerendering an application after following these instructions.

These steps can also be easily applied to any general Angular Univseral app as well.

  1. Assuming we want lazy loading...

npm i @nguniversal/module-map-ngfactory-loader --save

Then update your app.module.ts

View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: