Skip to content

Instantly share code, notes, and snippets.

View whimsycwd's full-sized avatar

David whimsycwd

  • Snapmaker Inc
  • Shenzhen,China
View GitHub Profile
@chrsgrffth
chrsgrffth / mailchimp-subscribe.coffee
Last active July 10, 2020 14:34
Vue – Mailchimp Subscribe Component
# To get the `action` prop:
#
# 1. Go to your dashboard on mailchimp.com and navigate
# to Lists > Signup Forms > Embedded Forms.
#
# 2. Copy the `<form>` action from the generated HTML code.
#
# 3. Pass that into the component via the prop, like so:
#
# <mailchimp-subscribe
@fappel
fappel / RunInThread
Last active August 8, 2023 10:17
JUnit 4 TestRule to run a test in its own thread
/**
* RunInThread an other accompanying files are licensed under the MIT
* license. Copyright (C) Frank Appel 2016-2021. All rights reserved
*/
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@staltz
staltz / introrx.md
Last active April 15, 2024 10:24
The introduction to Reactive Programming you've been missing