SpiderOak Purge Historical versions

I don’t like the default for SpiderOak’s –purge-historical-versions command, which does this:

This allows you to remove historical versions of files in your backup set according to the following schedule, which is to keep one version per hour for the last 24 hours, then one version per day for 30 days, then one version per week thereafter.

So here’s my own version, which does:

  • One version per hour for the last 24 hours
  • Then one version per day for 14 days
  • Then one version per week for 8 weeks
  • Then one version per month thereafter

On Windows
"C:\Program Files\SpiderOakONE\SpiderOakONE.exe" --purge-historical-versions h24,d30,w8,m --verbose

On Linux
SpiderOakONE --purge-historical-versions h24,d30,w8,m --verbose

Gimp Plugin – fixed crop

This is a simple script to crop a plugin with fixed dimensions – I used it to crop out the window border from a VNC Client connected to an industrial touchscreen.

(script-fu-register
    "script-fu-crop"                    ;func name
    "Screenshot Crop"                   ;menu label
    "Crops an image to a fixed size"    ;description
    "Sandy Scott"                       ;author
    ""                                  ;copyright notice
    "January 11, 2015"                  ;date created
    ""               ;image type that the script works on
    SF-IMAGE    "Image"                 0
    SF-DRAWABLE "Drawable"              0
)
(script-fu-menu-register "script-fu-crop" "/Filters/Custom/")
(define (script-fu-crop image drawable)

    ; Prep
    (gimp-context-push)
    (gimp-image-undo-group-start image)
    
    ; Crop the image
    (gimp-image-crop image 800 480 8 30)
    
    ; Finishing Off
    (gimp-image-undo-group-end image)
    (gimp-context-pop)
    (gimp-displays-flush)
)

Save in the gimp scripts folder, something like C:\Users\JoeBloggs\.gimp-2.8\scripts\ on Windows, or /home/JoeBloggs/.gimp-2.8/scripts/ on Linux.

It will appear under Filters > Custom

MusicBrainz Classical Style Guide – Quick Reference

Editing MusicBrainz data can be intimidating at the best of times, but Classical recordings can be particularly tricky, as the 4 different “Artist” fields can all be different.

Hopefully this quick reference guide should avoid a few more mistakes in future.

Alternatively, check out the full Classical Style Guide