- Make new directory and change into it
~ $ mkdir my-files
~ $ cd my-files
- Add a new file to the directory
const PostUtils = require('./path/to/lib/post.js') | |
const prepareEventData = contentItem => { | |
try { | |
const postUtils = new PostUtils(contentItem) | |
const event = contentItem && { | |
...contentItem, | |
...postUtils.combinePostSections() | |
} |
[ | |
{ | |
"title": "Scary Cars Assembly", | |
"date": "2024-06-04T01:09:37.439Z", | |
"orderId": "665e695109cb3900121484f5", | |
"orderNumber": "100027", | |
"tickets": [ | |
{ | |
"customerId": "65f0da3aac81240012b84bc8", | |
"customerEmail": "jim+my1shoe@27.works", |
// # Javascript to copy in dev tools console | |
let data = await (await fetch("https://www.mapmyrun.com/internal/allWorkouts/?started_after=2020-01-29")).json() | |
// Change started_after for date you want to filter from or remove entirely for every workout | |
// Api parameters: | |
// number user= *id* - can be found in url of the person's profile ie https://www.mapmyrun.com/profile/[id]/activity_feed | |
// ISO-8601-date started_after= *date* for example this is valid 2020-01-29 | |
// ISO-8601-date started_before= *date* this is another valid date 2011-10-05T14:48:00.000Z | |
// Remove ?user= to access only your own workouts | |
// Example url using all 3 parameters | |
// https://www.mapmyrun.com/internal/allWorkouts/?started_after=2020-01-29&started_before=2021-5-29&user=123456789 |
CELO Testnet Address: 0xC0317003c3F7C88b50eF416D3C25C250EaA8948B |
BASE_PORT=3001 | |
INCREMENT=1 | |
port=$BASE_PORT | |
isfree=$(netstat -taln | grep $port) | |
while [[ -n "$isfree" ]]; do | |
port=$[port+INCREMENT] | |
isfree=$(netstat -taln | grep $port) | |
done |
I hereby claim:
To claim this, I am signing this object:
[{"constant": true,"inputs": [],"name": "beneficiary","outputs": [{"name": "", "type": "address" }
],"payable": false,"stateMutability": "view","type": "function"},{
"constant": false,"inputs": [],"name": "claim","outputs": [],"payable": false,"stateMutability": "nonpayable","type": "function" },{
0x0A1f6c2bE095DF39141B3735288EF74CfB04eF08