Skip to content

Instantly share code, notes, and snippets.

View dotherightthing's full-sized avatar

Dan Smith dotherightthing

  • Do The Right Thing
  • Wellington, New Zealand
View GitHub Profile

FIDO

FIDO Authentication, developed by the FIDO Alliance, is a global authentication standard based on public key cryptography. (https://fidoalliance.org/what-is-fido/)

The FIDO ("Fast IDentity Online") Alliance is an open industry association launched in February 2013 whose stated mission is to develop and promote authentication standards that "help reduce the world’s over-reliance on passwords".[1] FIDO addresses the lack of interoperability among devices that use strong authentication and reduces the problems users face creating and remembering multiple usernames and passwords. (https://en.wikipedia.org/wiki/FIDO_Alliance)

FIDO2 passwordless authentication relies on cryptographic algorithms to generate a pair of private and public passkeys—long, random numbers that are mathematically related. The key pair is used to perform user authentication directly on an end user’s device, whether a desktop computer, laptop, mobile phone, or security key. A passkey can be bound to a single user device or aut

@dotherightthing
dotherightthing / etrex20.md
Created February 27, 2023 18:16
Garmin e-trex 20 setup 2023

Garmin e-trex 20 setup 2023

Create an Explore account

Garmin Basecamp is no longer supported.

Create an account on https://explore.garmin.com/ instead.

Tutorials

Old tour to TrackMyTour

  1. Open Dropbox on iPad
  2. Browse to a tour day
  3. Tap the tick icon at top right of left hand pane
  4. Tap to check each of the images
  5. Choose share (?)
  6. Save Images
  7. Use Google and RideWithGPS to find image locations
  8. Use Hashphotos to geotag images

TrackMyTour to MapOut

TrackMyTour

  1. On-demand manual addition of waypoints during or after a ride (current location / hand picked location / photo geotags)
  2. Basic diary features (text/emoji, status icons) which supports some Markdown
  3. Data can be exported as KML or CSV, including links to original photo uploads (geotags are stripped but could be re-embedded)
  4. Offline map option

MapOut

RideWithGPS to lat/long and timestamp

  1. Open route in RWGPS web app, remember to get the Ride (ridden) not the Route (planned)
  2. More > Export as file > GPX
  3. If you have the Basic membership (USD 7.99/month, cancel when no longer requiring this feature as account and maps are retained) you can also export POIs you've added. For me it also seemed to export the whole route rather than just the segment to the nearest town
  4. Open in Google Earth (macOS)
  5. Places > Open the latest "GPS device" (at the bottom of the list)
  6. Tracks item > Uncheck arrow icon
  7. Points set > Leave as is
  8. Preferences > Navigation > Check "Do not automatically til while zooming" > OK
@dotherightthing
dotherightthing / slice-long-audio-sample.md
Last active February 21, 2023 07:00
Slice Found Sound samples in Ableton Live

Slice a long audio sample

  1. Load a sample into Simpler
    1. Open Ableton Live, turn on Push2
    2. Add Track > MIDI track > Collections > Favourites > _Found Sound > (Select a sample) > Load
  2. Choose a colour that's visible on Push2's screen
    1. Shift + (Track Name)
  3. Save the set in the SAMPLE CHOPPING folder
  4. Slice the sample
  5. MODE > Slicing
@dotherightthing
dotherightthing / decompile-pyc.sh
Created September 22, 2022 04:12
Decompile .pyc files in a directory and any sub-directores
pip install uncompyle6
find . -name "*.pyc" -exec bash -c 'uncompyle6 $1 > $1.py' _ {} \;
@dotherightthing
dotherightthing / lockdown-links.md
Last active August 22, 2021 01:15
Lockdown links
@dotherightthing
dotherightthing / viewportsizer.md
Created August 19, 2021 09:31
[View port sizer] #css
We couldn’t find that file to show.
@dotherightthing
dotherightthing / deaf-hoh-facemask.md
Created August 19, 2021 09:30
[Deaf and Hard of Hearing Face Mask] #covid
We couldn’t find that file to show.