Skip to content
Non-applescript scripts
Shell Lua Perl JavaScript Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CHDK-related
README.md
anystyle.rb
check_dovecot.sh
check_zotero_export.sh
convert_pdf.sh
expand_page.sh
fix_scans.sh
get_images.sh
kill_diogenes.sh
ocr_images.sh
ocr_images_old.sh
restart_dovecot.sh
wikitbl.pl
zotero_s_and_r.js

README.md

Some other scripts

Just some other scripts that aren't Apple.

  • wikitbl.pl: a perl script that converts simple text tables to wikipedia-style tables.

      SYNOPSIS
      
      wikitbl.pl [-c|-t|-s <text>] [-h] [-help] <input file> [<output file>]
      
      DESCRIPTION
    
      A script to convert simple text tables to simple Wikipedia-style tables. The
      script assumes that the columns are separated by commas (also can be forced
      by -c), but will accept tabs (-t) and any other string (-s <text>). If the
      -h option is used, the script will treat the first line as a header. No
      effort is made to give all rows an equal number of cells.
      
      The following options are available:
      -c        columns are separated by comma (the default when no option is present)
      -t        columns are separated by tab
      -s <text> columns are separated by <text>
      -h        first row of file is treated as a table header
      -help     print this information
              
      If no output file is indicated, the output will go to STDOUT.
    

    Still to do: provide option for one-line-per-cell style.

  • zotero_s_and_r.js: a javascript that does a search and replace in Zotero, using the Execute JS add-on for FireFox. See https://forums.zotero.org/discussion/7707/1/find-and-replace-on-multiple-items/.

  • convert_pdf: Use pdfimages to get the right dpi for a PDF and pass that along to convert.

You can’t perform that action at this time.