Extract the first frame of video files as JPEG images for LaTeX/Beamer.

LaTeX’s and Beamer’s multimedia package enables videos to be referenced and linked in PDF documents with the \movie command. \movie does not automatically create a thumbnail of the video, so the user has to provide a placeholder image or manually specify the width and height. My solution is to use Make to generate an image for the first frame of...   read more

21 Jul 2014 | Make, LaTeX, Linux

Using Python to organize a music directory.

This is part of a 3-post series on using mpv and Python for music organization and playing in Linux and OSX. Improving mpv as a music player with Lua scripts. Improving mpv as a music player with Bash/Zsh shell functions. This article introduces a Python script I use to organize my mp3 music directory structure for iTunes and mpv. mpv...   read more

05 Jul 2014 | Linux, Python

Improving mpv as a music player with Bash/Zsh shell functions.

This is part of a 3-post series on using mpv and Python for music organization and playing in Linux and OSX. Improving mpv as a music player with Lua scripts. Using Python to organize a music directory. mpv is a fork of mplayer and adds bug patches, an improved command-line interface, and an experimental Lua scripting option. This article provides...   read more

05 Jul 2014 | Linux, Bash, Zsh

Improving mpv as a music player with Lua scripts.

This is part of a 3-post series on using mpv and Python for music organization and playing in Linux and OSX. Using Python to organize a music directory. Improving mpv as a music player with Bash/Zsh shell functions. mpv is a fork of mplayer and adds bug patches, an improved command-line interface, and an experimental Lua scripting option. This article...   read more

05 Jul 2014 | Linux, Lua, mpv

Bash shell script to automatically install BLAS and LAPACK.

BLAS and LAPACK are popular libraries for linear algebra in Fortran applications. Some servers have a Fortran compiler, but does not include these libraries. This is especially problematic when using a machine without root access for downloading these libraries from the official repositories, or when using multiple compilers. The following is a simple shell script that I use to automatically...   read more

25 Jun 2014 | Bash, Fortran, Linux

Older Posts