This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # block_website_time | |
| # block websites by time of day | |
| # run as a cron job, initially i ran this once a minute | |
| # but then tried once every ten minutes... which means i can manually | |
| # edit the hosts file and get a short window of access. | |
| # too easy though, so now it's once every 5 minutes. | |
| # this is the 2nd main version. the main difference from the initial | |
| # version is the chunk of entries this script generates is deleted |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |||||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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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} |