Skip to content

Instantly share code, notes, and snippets.

View xxswingxx's full-sized avatar
🏠
Working from home

John Wu xxswingxx

🏠
Working from home
View GitHub Profile
@xxswingxx
xxswingxx / quaderno_billing.md
Last active July 2, 2020 11:12
Quaderno Legacy Billing Javascript plugin documentation

Billing

Billing is the simplest way to give your customers access to all their receipts & billing history. They can easily download past receipts and update their billing data by themselves. Improve your billing support with a single line of code.

<div style="width: 60%; margin: 0 auto;">
  <script
    src="https://billing.quaderno.io/billing.js" class="quaderno-billing-button"
    data-key="pk_live_-8TWhJcCjnZeDyceDza7"
 data-customer-id="92041d676b3cfc7fe1cb2457d319f534118ba098"
@xxswingxx
xxswingxx / settings.xml
Created September 12, 2020 14:21
Desperados 2 ultrawide resolution fix
<AttributeTable>
<Attribute name="ACTOR_ANGLE_SPINE_MAX" value="70.000000" type="float" />
<Attribute name="ACTOR_ANGLE_SPINE_MIN" value="-50.000000" type="float" />
<Attribute name="ACTOR_ANGLE_Y_HEAD_MAX" value="7.000000" type="float" />
<Attribute name="ACTOR_ANGLE_Y_HEAD_MIN" value="-7.000000" type="float" />
<Attribute name="ACTOR_ANGLE_Z_HEAD_MAX" value="46.000000" type="float" />
<Attribute name="ACTOR_ANGLE_Z_HEAD_MIN" value="-46.000000" type="float" />
<Attribute name="ACTOR_DEFAULT_VELOCITY" value="700.000000" type="float" />
<Attribute name="ACTOR_DISC_RADIUS_HORSE" value="13.000000" type="float" />
<Attribute name="ACTOR_DISC_RADIUS_HUMAN" value="13.000000" type="float" />
@xxswingxx
xxswingxx / toggleHound.js
Last active October 4, 2021 10:09
A Tampermonkey / Greasemonkey userscript to hide Hound conversations in Github PRs
// ==UserScript==
// @name Toggle Hound
// @namespace ToggleHoundInGithub
// @version 0.1
// @description Toggle Hound conversations in Github PRs
// @author xxSwingxx
// @match https://github.com/*pull*
// @icon https://www.google.com/s2/favicons?domain=tampermonkey.net
// @grant none
// ==/UserScript==

Retrieve an invoice by payment processor:

HTTP Request

GET /PAYMENT_PROCESSOR/customers/CUSTOMER_ID.json

Parameters

Parameter Type Description
PAYMENT_PROCESSOR string The name of the payment processor. Can be stripe, paypal, gocardless and braintree. Required
@xxswingxx
xxswingxx / stripe-keys-and-ids.tsv
Created August 31, 2023 11:12 — forked from fnky/stripe-keys-and-ids.tsv
Stripe keys and IDs
Prefix Description Notes
ac_ Platform Client ID Identifier for an auth code/client id.
acct_ Account ID Identifier for an Account object.
aliacc_ Alipay Account ID Identifier for an Alipay account.
ba_ Bank Account ID Identifier for a Bank Account object.
btok_ Bank Token ID Identifier for a Bank Token object.
card_ Card ID Identifier for a Card object.
cbtxn_ Customer Balance Transaction ID Identifier for a Customer Balance Transaction object.
ch_ Charge ID Identifier for a Charge object.
cn_ Credit Note ID Identifier for a Credit Note object.