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
@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.
@dotherightthing
dotherightthing / acf-pro-distribution.md
Created August 19, 2021 09:28
[Distributing ACF Pro with a theme or plugin] #wordpress #acf

Distributing ACF PRO within a theme/plugin

You can include the ACF PRO plugin within a premium theme/plugin as long as it is made clear in the copyright / information that the ACF PRO files are not to be used or distributed outside of the premium theme/plugin.

You can not include the ACF PRO plugin within a free theme/plugin.

You can not include a ACF PRO license key within the theme/plugin/materials.

Distributing ACF within a theme/plugin