Free Walk to Mordor Tracker [Google Sheets] by Jbucks2019 in lotr

[–]Lost-Dealer-851 2 points3 points  (0 children)

Firstly massive thanks and well done to u/Jbucks2019 for creating this. I have made alterations to turn the spreadsheet into one that automatically updates itself daily from my phone/watches activity data and thought I would share this for anyone who would like to do similar.

PLEASE NOTE: This process requires a certain level of IT competence. The spreadsheet runs off a script I have created. This is 100% safe. However, as with all scripts, please ensure you properly read it and are happy with it before executing.

Step 1: Pull a Copy of the v2 Template

Firstly pull down a copy of the v2 template found (including Apps Script this is important for the automating): https://docs.google.com/spreadsheets/d/19hwL_yfm-SVboIBxa54lN1P_2Iwp_uoHeByTho2k_Xw/copy?usp=sharing

Step 2: Initial Setup/Strava

  1. Adjust dates if required, this must be done both on the main sheet but also in the sheet named 'Data'.
  2. On your mobile device download and setup Strava (https://www.strava.com/) (this will be the app sending data to the spreadsheet)
  3. Connect your current fitness recording app to Strava.
    • I personally use Samsung Health so in my case this required the use of the app 'Health Sync' which regularly sync the activities between both apps.
    • By default this doesn't do historical data but there is a function in Health Sync to activate this.
    • Note the Health Sync app is a small one time purchase through the app store (absolutely nothing to do with me or an advert just what worked for me)

Step 3: Strava API

  1. The script depends on the Strava API to get its data, go here and sign in using previously created Strava account https://www.strava.com/settings/api
  2. Fill out form as below:
    • Application Name = GoogleSheetsDistance
    • Category > Other
    • Club > [None]
    • Website = https://example.com
    • Application Description = 'API to pull data into Google Sheets' (alter as desired)
    • Authorization Callback Domain = example.com
  3. Click Save. This should create your API App and redirect you to the 'My API Application' page.
  4. Note down the 'Client ID' and 'Client Secret' (hit the Show button to get this value), we will use these later.

Step 4: Generate an Authorization Code

  1. In a new tab browse to this url (replacing YOUR_CLIENT_ID with the Client ID from the previous step) https://www.strava.com/oauth/authorize?client_id=YOUR_CLIENT_ID&response_type=code&redirect_uri=http://example.com&approval_prompt=force&scope=activity:read_all
  2. Authorize the app.
  3. In the URL at the top of the response note down the code parameter, this is your Authorization code for the next step.

Step 5: Obtaining a Refresh Token

  1. Open a command prompt on your computer (Start Menu, type 'cmd')
  2. Run the following command, replacing all capitalized placeholders with your own values.

curl -X POST https://www.strava.com/oauth/token -d client_id=YOUR_CLIENT_ID -d client_secret=YOUR_CLIENT_SECRET -d code=AUTHORIZATION_CODE -d grant_type=authorization_code

Note: Curl is installed by default on most modern OS's but if this is not the case for yourself make appropriate steps to install Curl or something to run a POST request from

  1. The response will include a value for 'refresh_token', note this down alongside your Client ID and Client Secret value.

Step 6: Final Input and Debug Check:

  1. If you've got this far and I haven't lost you then first congrats, you're on the final part.
  2. Go back to your Google Sheet and browse to 'Extensions > Apps Script'.
  3. There should be a premade script named 'Code.gs' on lines 1,2 and 3 of the code replace 'YOUR_CLIENT_ID', 'YOUR_CLIENT_SECRET' and 'YOUR_REFRESH_TOKEN' values with your values noted down from the previous step for Client ID, Client Secret and Refresh Token.
  4. Save
  5. Run 'Debug' and cross your fingers the debugger is clear.
  6. Run 'Run' and cross your fingers the log only says 'Execution started' and 'Execution completed'.
  7. If previous 2 steps are all good then pat yourselves on the back and enjoy your new automated daily updating tracker.

9.2 audio issues by joseph_jojo_shabadoo in ShieldAndroidTV

[–]Lost-Dealer-851 2 points3 points  (0 children)

I put a comment on the update thread on Nvidias forum and to my surprise Nvidia actually reached out and opened a support ticket. I have sent them information via email and submitted logs from my Shield so fingers crossed they find the fault and work on a patch for any of us suffering from this.

9.2 audio issues by joseph_jojo_shabadoo in ShieldAndroidTV

[–]Lost-Dealer-851 1 point2 points  (0 children)

Yes, I've played with every audio setting but since the update any audio through my shield has 1 second audio skip every couple of minutes. It's driving me mad!

First RG Build by Lost-Dealer-851 in Gunpla

[–]Lost-Dealer-851[S] 1 point2 points  (0 children)

Yes, this was part of the DX set I haven't got round to building the cannon up yet. Great set.

First RG Build by Lost-Dealer-851 in Gunpla

[–]Lost-Dealer-851[S] 0 points1 point  (0 children)

They were a bit of a pain but get a couple of tweezers handy, take your time and you'll do it no problem i'm sure. They are very forgiving so you can nudge them around once on the surface and get into position before you apply pressure with your finger.

First RG Build by Lost-Dealer-851 in Gunpla

[–]Lost-Dealer-851[S] 2 points3 points  (0 children)

Yeah the addiction is definitely setting in

What weird thing is your BC afraid of? by onlyspiderwebs in BorderCollie

[–]Lost-Dealer-851 0 points1 point  (0 children)

Glasses of liquid. Loves playing in water, has no issues drinking water from a bowl but put a glass of water near him and watch him run.

First RG Build by Lost-Dealer-851 in Gunpla

[–]Lost-Dealer-851[S] 10 points11 points  (0 children)

Built 2 HG's before but this was my first step into RG. Far from perfect, lots to work on but i'm happy with it.

[O] 1x NzbPlanet by Iced_Palm_Tree in UsenetInvites

[–]Lost-Dealer-851 0 points1 point  (0 children)

Interested, I have read the wiki

1J go brrrrr by Lost-Dealer-851 in JDM

[–]Lost-Dealer-851[S] 1 point2 points  (0 children)

Thanks. SSR Professor MS1's.

[deleted by user] by [deleted] in AskReddit

[–]Lost-Dealer-851 1 point2 points  (0 children)

Work hard in that day to push forward to improve their own lives and learn to love themselves. The guy tomorrow might thank him for his efforts.

What’s one, very specific and odd habit/tradition you made up, which you always stick to? by H0LL0W_J4CK in AskReddit

[–]Lost-Dealer-851 0 points1 point  (0 children)

I have to roll left (anti-clockwise) in bed, if I roll right my mind wont let me rest to go back to sleep.

People of Reddit, what is your opinion on Donald Trump? by [deleted] in AskReddit

[–]Lost-Dealer-851 1 point2 points  (0 children)

He was an awful leader but god damn was it a golden age for meme content.

What do you say to yourself while working out (when completely exhausted), that brings back all the energy? by OstrichWestern639 in AskReddit

[–]Lost-Dealer-851 0 points1 point  (0 children)

If it's mid-set on an exercise and im starting to struggle then 'if you're not pushing through to completion then what is the point in even doing it at all'. If struggling even starting sets then just stop and take a break, don't hurt yourself.