- Open Terminal and install UV:
curl -LsSf https://astral.sh/uv/install.sh | sh - Update terminal to find UV:
source $HOME/.local/bin/env - Install fit-file-faker:
uv tool install fit-file-faker - Run setup:
fit-file-faker -s - Run application:
fit-file-faker -m(will monitor TPV directory for new files until this terminal is closed) - Optionally, upload all previous files to garmin connect by doing Upload All:
fit-file-faker -ua
This file contains hidden or 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
| function writeZestimateToSheet() { | |
| var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); | |
| var sheets = spreadsheet.getSheets(); | |
| var zillowSheet = sheets.find(sheet => sheet.getSheetName() == 'Zillow'); | |
| var balanceHistory = sheets.find(sheet => sheet.getSheetName() == 'Balance History'); | |
| if (zillowSheet && balanceHistory) { | |
| var zillowIds = ['%%%%%%%%%']; | |
| var row = []; | |
| for (i = 0; i < zillowIds.length; i++) { | |
| if (zillowIds[i] != undefined){ |
This file contains hidden or 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
| function writeZestimateToSheet() { | |
| var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); | |
| var sheets = spreadsheet.getSheets(); | |
| var zillowSheet = sheets.find(sheet => sheet.getSheetName() == 'Zillow'); | |
| if (zillowSheet) { | |
| var html = UrlFetchApp.fetch('https://www.zillow.com/homes/%%%%%%%%%_zpid/').getContentText(); | |
| const divRegex = /(<div class="zestimate-value">)(\$)(\d{1,3})(,\d{3})*(<\/div>)/g; | |
| const moneyRegex = /(\$)(\d{1,3})(,\d{3})*/g; | |
| var div = html.match(divRegex); |
This file contains hidden or 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
| function isDope(object) { | |
| return object.tagName === 'BUTTON'; | |
| } | |
| var arr = Array.from(document.getElementsByClassName('thumbs-up ')); | |
| var button = arr.find(isDope); | |
| setInterval(function() { | |
| button.click(); | |
| console.log('clicked!'); | |
| }, 20000); |