Skip to content

Instantly share code, notes, and snippets.

<#
.SYNOPSIS
Copy a CircuitPython project onto a device
.DESCRIPTION
A longer description of the function, its purpose, common use cases, etc.
.NOTES
Information or caveats about the function e.g. 'This function is not supported in Linux'
.LINK
Specify a URI to a help page, this will show when Get-Help -Online is used.
.EXAMPLE
@evenprimes
evenprimes / asna.py
Created October 26, 2018 16:51
Pythonista yoga/stretching routine display
'''asna.py -- yoga/excercise timer
A simple routine timer for yogis and such people that use a
series of timers. The layout works in both portrait and landscape
modes. I've tested the code on iPad and iPhone 8 Plus. The
layouts work for me on those devices, your milage may vary. ;)
The default included pose list is what i normally do. You can
also feed the list in on the command line (such as might happen
if you feed the contents of a text block or file from the iOS
""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Modern search.
set incsearch
" Ignore case while searching.
set ignorecase
" Highlight as we go.
set hlsearch