This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// # 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-Go to the starting point of the project | |
>> git checkout origin master | |
-fetch all objects | |
>> git fetch origin | |
-Make the branch from the tag | |
>> git branch new_branch tag_name | |
-Checkout the branch | |
>> git checkout new_branch | |
-Push the branch up | |
>> git push origin new_branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name \.AppleDouble -exec rm -rf {} \; |