Skip to content

Instantly share code, notes, and snippets.

brycehemme

Block or report user

Report or block brycehemme

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@brycehemme
brycehemme / fitbit-heartrate-data-visualizer.html
Last active Aug 12, 2019
Visualize Fitbit Heart Rate Data. From the Fitbit data export, this tool will visualize one to many heartrate*.json files. This gist is heavily based on the details outlined here: https://jrtechs.net/data-science/a-closer-look-at-fitbit-data
View fitbit-heartrate-data-visualizer.html
<html>
<head>
<script type="text/javascript" src="//unpkg.com/vis-timeline@latest/dist/vis-timeline-graph2d.min.js"></script>
<link href="//unpkg.com/vis-timeline@latest/dist/vis-timeline-graph2d.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="col-4 shadow-lg p-3 bg-white rounded">
<label>Heart Rate JSON Files</label>
<input type="file" id="files" name="files[]" multiple />
<output id="list"></output>
@brycehemme
brycehemme / sync-projects
Created Sep 27, 2017 — forked from JonasGroeger/sync-projects
Gitlab: Clone / Pull all projects in a group
View sync-projects
#!/usr/bin/env bash
# Documentation
# https://docs.gitlab.com/ce/api/projects.html#list-projects
NAMESPACE="YOUR_NAMESPACE"
BASE_PATH="https://gitlab.example.com/"
PROJECT_SEARCH_PARAM=""
PROJECT_SELECTION="select(.namespace.name == \"$NAMESPACE\")"
PROJECT_PROJECTION="{ "path": .path, "git": .ssh_url_to_repo }"
You can’t perform that action at this time.