Skip to content

Instantly share code, notes, and snippets.

View daquinoaldo's full-sized avatar

Aldo D'Aquino daquinoaldo

View GitHub Profile
@daquinoaldo
daquinoaldo / PDF-doclet.md
Last active November 7, 2022 10:26
PDF doclet: export JavaDoc in PDF

PDF doclet: export JavaDoc in PDF

  1. Download PDFDoclet from SourceForge.
  2. Edit pdfdoclet.sh setting correctly
  • PATH: the Java bin path
  • DOCLET_PATH: the path to the downloaded PDFDoclet JAR
  • SRC: the path to your source code containing the JavaDoc
  • PACKAGES: the list of all the packages in your source code
  • OUTPUT_NAME: optionally, the output name of the generated pdf (the directory must exists).
  1. Edit pdfdoclet.config changing api.title (the title of the first page of the JavaDoc) and api.author (your name)
@daquinoaldo
daquinoaldo / timelapsify.sh
Created May 15, 2022 16:33
Create a time lapse starting from plain photos taken with a intervalometer
#!/bin/zsh
[ -z "$1" ] && echo "Usage: $0 inputdir [framerate]" && exit 1
inpudir=$1
outputfile="$1.mov"
framerate=$2
: ${framerate:="60"}