Create new files with the names below in a folder that is on your PATH. The sample command below uses the default editor to open such in your default editor. Likely TextEdit.
$ open -e /usr/local/bin/git-mrm /usr/local/bin/git-ddev
const paystackTransactionsFetcher = require('./PaystackTransactionsFetcher'); | |
paystackTransactionsFetcher.fetch({ | |
secretKey: 'sk_live_youwishiwereavalidkey___', // secret key | |
perPage: 100, // leave empty to fetch 50 per page | |
status: 'all', // leave empty to fetch only successful | |
startFrom: new Date('2011-01-01'), // Leave empty to fetch only a week ago | |
}) | |
.then((i) => { console.log(JSON.stringify(i, null, 2)); }) | |
.catch(console.error); |
<?php | |
class Operations { | |
const PATTERN_AMERICAN_EXPRESS = "/^3[47][0-9]{13}$/"; | |
const PATTERN_DINERS_CLUB = "/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/"; | |
const PATTERN_DISCOVER = "/^6(?:011|5[0-9]{2})[0-9]{12}$/"; | |
const PATTERN_JCB = "/^(?:2131|1800|35[0-9]{3})[0-9]{11}$/"; | |
const PATTERN_MASTERCARD = "/^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/"; | |
const PATTERN_VERVE = "/^((506(0|1))|(507(8|9))|(6500))[0-9]{12,15}$/"; |