Skip to content

Instantly share code, notes, and snippets.

View aribn's full-sized avatar
💻

Ari Bader-Natal aribn

💻
View GitHub Profile
Verifying my Blockstack ID is secured with the address 18ga2uY1fTxnF3tpfjFQgm7N8aCKMh3QPq https://explorer.blockstack.org/address/18ga2uY1fTxnF3tpfjFQgm7N8aCKMh3QPq

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@aribn
aribn / telltale_lean.js
Last active April 24, 2022 23:16
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
aribn / modifications_to_pad_control.js
Created September 25, 2010 15:54
Cloning an etherpad
// To create a clone of pad CWrp961Hnw as of revision 3:
// http://sketchpad.cc/sp/pad/newsketch?clonePadId=CWrp961Hnw&cloneRevNum=3
// --------------------------------------------------------------------------------
// in etherpad/src/etherpad/control/pad/pad_control.js
// --------------------------------------------------------------------------------
import("etherpad.collab.collab_server.buildHistoricalAuthorDataMapForPadHistory");
function _processPaypalPurchase() {
var domain = domains.getRequestDomainId();
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.")
}