Skip to content

Instantly share code, notes, and snippets.

[
{
"name": "Palais des Sports",
"category": "Palais omnisports",
"address": "81, Rue Raymond Teisseire",
"post_code": 13009,
"city": "Marseille",
"phone_number": "04 91 71 30 40",
"url": "http://sports-loisirs.marseille.fr/equipements-sportifs/palais-des-sports",
"longitude": 5.40128867653098,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pirhoo
pirhoo / main.js
Created August 2, 2021 10:29
Export a Fitbit dump (exercise-*.json files) to Strava
// yarn add strava-v3 glob-promise glob lodash
const strava = require('strava-v3');
const glob = require("glob-promise")
const _ = require("lodash")
strava.config({
client_id: "",
client_secret: "",
redirect_uri: "http://localhost/callback",
})
[
{
"date": "1995",
"value": 284.1733871
},
{
"date": "1996",
"value": 262.2768595
},
{
[
{
"date":2008,
"death":0,
"injury":300,
"malfunction":49
},
{
"date":2009,
"death":2,
[
{
"date": 2008,
"value": 371
},
{
"date": 2009,
"value": 187
},
{
[
{
"label": "Warned about local complications",
"value": 52
},
{
"label": "Not warned",
"value": 42
},
{
[
{
"movie": "Avatar",
"budget": 237,
"box_office": 2784
},
{
"movie": "ET: The Extra-Terrestrial",
"budget": 11,
"box_office": 793
<script>
import VueI18n from 'vue-i18n'
import get from 'lodash/get'
import throttle from 'lodash/throttle'
import search from '../mixins/search'
import axios from 'axios'
import { VueAutosuggest } from 'vue-autosuggest'
export default {
name: 'SearchForm',

Keybase proof

I hereby claim:

  • I am pirhoo on github.
  • I am pirhoo (https://keybase.io/pirhoo) on keybase.
  • I have a public key ASC00iiFgFC4JVufD7x2j40GQcY0-WUAsronURKcxnFvFgo

To claim this, I am signing this object: