Skip to content

Instantly share code, notes, and snippets.

View jwm-art-net's full-sized avatar
💭
ex hobbyist coder

James Morris jwm-art-net

💭
ex hobbyist coder
View GitHub Profile
|||||see: https://gist.github.com/jwm-art-net/7f555bee4f96d406a95d5f7b6c595e1f
|||||generated by trials-skills-schedule-2025-07-26.c on Sun Jul 27 13:52:16 2025
#1 | Warm up: | Long skinny | Skill A: | Pedal ups | Skill B: | Lunge | Skill C: | Front hops | Modifier: | L-shape
#2 | Warm up: | Small hops, gaps, drops | Skill A: | Side hops | Skill B: | Long gaps | Skill C: | Wheelbase hops | Modifier: | Rounded/Natural
#3 | Warm up: | Rear wheel pivots | Skill A: | Pedal ups | Skill B: | High drops | Skill C: | Rotational hops | Modifier: | Off-camber
#4 | Warm up: | Free/w | Skill A: | Side hops | Skill B: | Bunny hops | Skill C: | Wheel swap | Modifier: | Wall
#5 | Warm up: | Skinny corners | Skill A: | Pedal ups | Skill B: | High gaps | Skill C: | Rolling hops | Modifier: | A-beam/Rail/Post
#6 | Warm up: | Rear to edge | Skill A: | Side hops | Skill B: | Precision drops
@jwm-art-net
jwm-art-net / skills-plan.c
Last active July 27, 2025 12:49
Simple c program to generate a training plan schedule for learning physical skills, the example is for bicycle trials
/* Trials Skills Schedule 2025-07-26
* Version 2.1 of the schedule
*
* Code :
* https://gist.github.com/jwm-art-net/7f555bee4f96d406a95d5f7b6c595e1f
*
* Text output:
* https://gist.github.com/jwm-art-net/478384456a8782f1b502b6abad31d10c
*
* I created this schedule to help me break out of habits that had
@jwm-art-net
jwm-art-net / getfit
Created May 19, 2020 19:56
Pull .fit files off my Garmin Edge 510 and put into a year folder and convert to gpx.
#!/bin/bash
function mountpoint_from_vendor_id
{
VENDORID="$1"
iserial=$(lsusb -v -d "$VENDORID": 2> /dev/null | grep iSerial -m 1 | cut -d ' ' -f 3)
}
SRCDIR="/run/media/sirrom/GARMIN/Garmin/Activities"
#!/bin/bash
#
# scroll text - scrolls text
# by james w. morris.
#
# creates a video of text scrolling over moving stripes to
# give slight parallax effect.
#
# for demo see: http://youtu.be/_kKpCxgNQyM
#
@jwm-art-net
jwm-art-net / gist:7646636
Created November 25, 2013 18:55
sed delete fluxbox xscreensaver menu entries
# use grep to check the regex:
grep '\[exec[]]\s[(].*[)]\s[{]/usr/lib/xscreensaver/.*\s-root[}]' Downloads/menu
# ie here's what it matches:
# [exec] (Abstractile) {/usr/lib/xscreensaver/abstractile -root}
# [exec] (Anemone) {/usr/lib/xscreensaver/anemone -root}
# [exec] (Anemotaxis) {/usr/lib/xscreensaver/anemotaxis -root}
# [exec] (Apollonian) {/usr/lib/xscreensaver/apollonian -root}