Skip to content

Instantly share code, notes, and snippets.

@pshlos46
pshlos46 / README.md
Created February 7, 2024 12:23 — forked from jonblack/README.md
Garmin HRV/sleep Plot

Garmin Connect only supports showing a maximum 4-week plot of HRV data. This script scrapes HRV and sleep data and plots it on a single graph, making it much easier to see the trend over time.

In order for the script to work, you need to provide the correct values for the Authorization and Cookie headers. To get these:

  • Log in to Garmin Connect and navigate to the HRV status report
  • Open the browser developer tools and select the network tab
  • In the HRV status report, click to a previous period. This will cause a network request to update the report
  • In the developer tools, click on the network request and look for the request header.

Using an Access Token for the first time

Follow the instructions on Github to Create an Access Token in Github

Configure Git to use the osxkeychain

By default, git credentials are not cached so you need to tell Git if you want to avoid having to provide them each time Github requires you to authenticate. On Mac, Git comes with an “osxkeychain” mode, which caches credentials in the secure keychain that’s attached to your system account.

You can tell Git you want to store credentials in the osxkeychain by running the following:-

@pshlos46
pshlos46 / curl.md
Created September 12, 2019 11:22 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@pshlos46
pshlos46 / webex-ubuntu.md
Last active October 15, 2018 14:04 — forked from mshkrebtan/webex-ubuntu.md
Run Cisco Webex on 64-bit Ubuntu 16.04

[WIP]Run Cisco Webex on 64-bit Ubuntu 16.04

With Audio and Screen Sharing Enabled

This guide is based on the below resources:

Short Description - Goal