This file contains 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} |
This file contains 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 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" |