Roland's homepage

My random knot in the Web

Articles about software

  1. foto4lb

    Update: The script now allows you to set the target width of the
    pictures using the -w command-line argument.

    Photos from modern digital cameras are generally so large these days that you have to shrink them to use them in a document. I do this a lot, so I automated ...

  2. make-mp3

    After writing the make-flac python script, I adapted a copy to use LAME to generate variable bitrate MP3 files instead.

    source:make-mp3.zip
    GPG signature:
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.19 (FreeBSD)

    iEYEABECAAYFAlDYYQUACgkQEnfvsMMhpyUVJwCgirlOViH2DJScIwACA0F4HRq6
    vlQAoJFV7rsBiu6EDpWE6C326KB0gGa8
    =Ywop
    -----END PGP SIGNATURE-----
    SHA256 hash:0bf7615d8507d63c9189b7d2941074f9ad07e555573faf9599f58e9a6a13de18
    Requirements:python, LAME

    Note

    |filename|/images/cc0.png

    To the extent ...

  3. gitdates

    Update: The checkfor function was split off into its own
    (included) module.

    In answer to this question on stackechange, I wrote gitdates.py. If it is called from a directory that is under git resivion control, it lists all the files there with the short hashtag and the date from ...

  4. dicom2png

    Update: The checkfor function was split off into its own
    (included) module.

    This simple script uses ImageMagick to convert DICOM images from a Philips digital X-ray machine to PNG format. It crops the images from 2048x2048 pixels to 1574x2048 pixels, the actual size of the detector.

    To speed up the ...

  5. git-check-all

    Update: The checkfor function was split off into its own
    (included) module.

    This scripts looks for all directories in the users' home directory that are managed by the git revision control system (i.e. that have a .git subdirectory).

    For each of those directories it checks wether there are uncommitted ...

  6. make-flac

    In this day and age I want to have my music collection available on my computer. Lugging around all my CDs is unpractical and storage is relatively cheap. So I've used FLAC to convert them all to high-quality music files.

    The make-flac python script is what I use to ...

  7. markphotos

    Update: The checkfor function was split off into its own
    (included) module.

    Update: use the platform-neutral os.devnull instead of the /dev/null device that is generally only found on UNIX-like platforms.

    The markphotos.zip script adds a copyright notice to pictures. It uses exiftool. This is not a visible ...

  8. tifftopdf

    It is not uncommon for legacy 2D drawings to be scanned and then distributed as black/white TIFF files. While these files are relatively compact, viewing them can be a PITA. The previewer on windows XP (which is what we use at work) is slow. PDF files are much easier ...

  9. mkhistory

    Formatting git changelogs for LaTeX

    Most of the things I write, be it software or something else, are under revision control with git. Mostly because it makes undoing mistakes easy. My LaTeX documents are no exception. With software it is customary to have a change-log (like the one generated by ...


Page 1 / 2 »