Skip to content

Instantly share code, notes, and snippets.

@aribn
Last active April 24, 2022 23:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aribn/1522171 to your computer and use it in GitHub Desktop.
Save aribn/1522171 to your computer and use it in GitHub Desktop.
Tell-tale signs of a #leanstartup in the original Etherpad source code
billing.log({type: "paypal-attempt",
domain: domain,
message: "Someone tried to use paypal to pay for on-demand."+
" They got an error message. If this happens a lot, we should implement paypal."})
java.lang.Thread.sleep(5000);
_validationError('billingPurchaseType', "There was an error contacting PayPal. Please try another payment type.")
@aribn
Copy link
Author

aribn commented Apr 24, 2022

Clever way to determine demand for a feature before investing in implementation. Found in the billing controller in the original Etherpad codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment