]> git.g-eek.se Git - users/gustav/scripts.git/log
users/gustav/scripts.git
7 months agoSwitch from Unoconv to LibreOffice and complete with alternatives master
Gustav Eek [Thu, 4 Apr 2024 07:01:59 +0000 (09:01 +0200)]
Switch from Unoconv to LibreOffice and complete with alternatives

Switch from Unoconv backed to directly use LibreOffice. Unoconv starts
to be buggy and LibreOffice is more tolerant to whether the server is
running, therefore Unoconv is rather in the way.

Use *pdftotext* for conversion of formats that will not convert to
text using LibreOffice (spreadsheets and presentations).

In case chache exists but input filename differ, then rename the
cached filename to match the input one. This is usefull for Mutt,
which always has a different temporary file.

Rename format "pdf" -> "zatura", cfr "emacs"

7 months ago[unoconv-display] Collect logging and output in dedicated functions
Gustav Eek [Thu, 4 Apr 2024 06:54:15 +0000 (08:54 +0200)]
[unoconv-display] Collect logging and output in dedicated functions

15 months ago[unoconv-display] Print cache file names
Gustav Eek [Sun, 30 Jul 2023 07:43:31 +0000 (09:43 +0200)]
[unoconv-display] Print cache file names

19 months ago[unoconv-display] Bugfix quotation problem
Gustav Eek [Wed, 30 Nov 2022 09:32:35 +0000 (10:32 +0100)]
[unoconv-display] Bugfix quotation problem

A filename variable needed quotation in one line.

23 months ago[unoconv-display] Update for Emacs view mode
Gustav Eek [Wed, 30 Nov 2022 09:32:35 +0000 (10:32 +0100)]
[unoconv-display] Update for Emacs view mode

Almost a full rewrite: (a) converted file name changed so that hash is
reflected as a directory and the base name is kept for the PDF and
text files, (b) convert to both PDF and text, and (c) complete with a
flag (`-e`) for viewing the text version in Emacs.

The name update has a positive pedagogic effect that the original
filename is still reflected in the PDF/text viewer title.

2 years ago[exiv2-find-uncommented] Inital on find untaged script
Gustav Eek [Sun, 10 Jul 2022 09:05:30 +0000 (11:05 +0200)]
[exiv2-find-uncommented] Inital on find untaged script

2 years ago[event-participant] Improve control flow
Gustav Eek [Thu, 19 May 2022 17:26:02 +0000 (19:26 +0200)]
[event-participant] Improve control flow

Print summary if no STDIN is provided, instead of if input was empty.
Create file if not existing. Create cache if not existing. Update help
accordingly.

TODO Provide arguments as ordinary flags: `-f` for file, `-n` for
"other name", `-c` for cancel, argument can be "comment".

TODO Provide long list option for printing: `-s` for summary.

TODO Provide title row and header row for the CSV-file: `-t` for
setting title.

TODO Provide PGP encryption by default: `-r` for GPG recipiant.

2 years ago[exiv2-export] Inital on picture export script
Gustav Eek [Sat, 5 Feb 2022 06:59:15 +0000 (07:59 +0100)]
[exiv2-export] Inital on picture export script

4 years ago[event-participant] Add posibility to add person on same email address
Gustav Eek [Tue, 10 Nov 2020 19:01:49 +0000 (20:01 +0100)]
[event-participant] Add posibility to add person on same email address

4 years ago[event-participant] Make quoted tolerant
Gustav Eek [Sun, 1 Nov 2020 18:37:27 +0000 (19:37 +0100)]
[event-participant] Make quoted tolerant

For names which are encoded as Quoted-Printable, decode those using
qprint(1).

4 years ago[event-participant] Add help and printing option
Gustav Eek [Sun, 25 Oct 2020 09:53:30 +0000 (10:53 +0100)]
[event-participant] Add help and printing option

Add a printing option to print the full list if input is empty.

Also add a help message.

4 years ago[event-participant] Add sorting and unique
Gustav Eek [Sat, 24 Oct 2020 08:06:43 +0000 (10:06 +0200)]
[event-participant] Add sorting and unique

4 years ago[event-participant] Refactor management of expressions
Gustav Eek [Sat, 24 Oct 2020 08:00:49 +0000 (10:00 +0200)]
[event-participant] Refactor management of expressions

There was dual styles of expression usage. With this change all
expressions are inline for simplicity.

Also handling of command line arguments is slight updated.

Also some navigatory comments are added.

4 years ago[event-participant] Inital on Event participation script
Gustav Eek [Sat, 24 Oct 2020 06:55:28 +0000 (08:55 +0200)]
[event-participant] Inital on Event participation script

Move to this repository from elsewhere.

The script reads an email from stdin and adds sender to a list of
participants for an event.

4 years agorefac: Format Makefile
Gustav Eek [Sat, 24 Oct 2020 06:53:39 +0000 (08:53 +0200)]
refac: Format Makefile

4 years ago[repo-encrypt] Document
Gustav Eek [Thu, 22 Oct 2020 22:25:32 +0000 (00:25 +0200)]
[repo-encrypt] Document

The added file *repo-encrypt.mdwn* documents the software. References
are provided in *README*.

4 years agoModify Git ignore file
Gustav Eek [Thu, 22 Oct 2020 22:24:51 +0000 (00:24 +0200)]
Modify Git ignore file

4 years ago[mosh] Inital on mosh bash completion
Gustav Eek [Thu, 22 Oct 2020 22:23:15 +0000 (00:23 +0200)]
[mosh] Inital on mosh bash completion

4 years ago[jira-tk] Inital on Jira took-kit
Gustav Eek [Thu, 22 Oct 2020 22:22:14 +0000 (00:22 +0200)]
[jira-tk] Inital on Jira took-kit

4 years ago[repo-encrypt] Update for recipients
Gustav Eek [Mon, 22 Jun 2020 22:05:24 +0000 (00:05 +0200)]
[repo-encrypt] Update for recipients

Update script for abstract recipients.

4 years ago[unoconv-display] Inital on PDF conversion from email
Gustav Eek [Wed, 13 May 2020 11:29:21 +0000 (13:29 +0200)]
[unoconv-display] Inital on PDF conversion from email

5 years ago[folkets] Bugfix of language setting
Gustav Eek [Thu, 3 Oct 2019 13:38:16 +0000 (15:38 +0200)]
[folkets] Bugfix of language setting

Refactor *LANG* -> *LANGUAGE*. Bash variables overwrote environmental
variable.

Also call "/usr/bin" versions to avoid aliases.

5 years ago[folkets] Initail on Fokets Lexikon wrapper.
Gustav Eek [Fri, 6 Sep 2019 17:58:01 +0000 (19:58 +0200)]
[folkets] Initail on Fokets Lexikon wrapper.

The program works as expected. Some improvements possible:

 * Use w3m also for calling (limit complexity)

 * Consider make a short version for std out

 * Force w3m quit without confirmation (that is how mutt is using w3m)

6 years ago[confluence-tk] Improvements
Gustav Eek [Thu, 15 Nov 2018 10:08:45 +0000 (11:08 +0100)]
[confluence-tk] Improvements

6 years ago[ip-check] Inital on check ip
Gustav Eek [Thu, 15 Nov 2018 10:02:00 +0000 (11:02 +0100)]
[ip-check] Inital on check ip

8 years ago[exiv2-common-edits] Bugfix in template generation
Gustav Eek [Sun, 24 Jul 2016 09:47:34 +0000 (12:47 +0300)]
[exiv2-common-edits] Bugfix in template generation

A tick mark was missing in the template generation for when
fotographer is not the camera owner. This commit fixes that.

8 years ago[yaml2json] Inital commit on these scripts
Gustav Eek [Fri, 27 Nov 2015 12:55:24 +0000 (13:55 +0100)]
[yaml2json] Inital commit on these scripts

9 years ago[confluence-tk] Visited pages support added
Gustav Eek [Fri, 21 Aug 2015 07:38:21 +0000 (09:38 +0200)]
[confluence-tk] Visited pages support added

In, by default, `~/.confluence-tk/sites.csv` page ID's and some
details is stored. Functionality is added for to parse and list the
content and also for to force rewrite.

9 years agoMerge branch 'epsilon' into 'master'
Gustav Eek [Mon, 17 Aug 2015 07:26:47 +0000 (09:26 +0200)]
Merge branch 'epsilon' into 'master'

Conflicts:
Makefile

9 years ago[exiv2-common-edits] Initial commit on project
Gustav Eek [Mon, 17 Aug 2015 07:23:16 +0000 (09:23 +0200)]
[exiv2-common-edits] Initial commit on project

See exiv2-common-edits for details on the project. The script as such
is added and the Makefile is updated.

9 years ago[confluence-tk] A downloader for confluence created
Gustav Eek [Thu, 6 Aug 2015 12:34:46 +0000 (14:34 +0200)]
[confluence-tk] A downloader for confluence created

The confluence toolkit consists of a markdown downloader.

9 years ago[repo-encrypt] Updated for Mac
Gustav Eek [Sun, 28 Jun 2015 18:47:01 +0000 (20:47 +0200)]
[repo-encrypt] Updated for Mac

The Mac version of the *cp* command can not handle .
The flag  is a replacement.

9 years ago[repo-encrypt] Encryption command to take directory as argument
Gustav Eek [Sun, 19 Apr 2015 19:29:29 +0000 (21:29 +0200)]
[repo-encrypt] Encryption command to take directory as argument

Tor the encryption command the parameter handling is modified to take
a target directory as argument instead of target file as before.

9 years ago[repo-encrypt] Bash completion added
Gustav Eek [Sat, 18 Apr 2015 21:45:05 +0000 (23:45 +0200)]
[repo-encrypt] Bash completion added

For the repo-encrypt script, some bash completion is added. The
Makefile is adjusted for to install these scripts. Also the README is
updated with instructions.

9 years ago[repo-encrypt] Independecny on the gpg-zip package introduced
Gustav Eek [Sat, 18 Apr 2015 09:36:58 +0000 (11:36 +0200)]
[repo-encrypt] Independecny on the gpg-zip package introduced

The procedudre used in the repo-encrypt command is
simplified. Archiving happens with simple tar. The program gpg-zip is
not needed.

The repo-encrypt script is also added to the installation scrip list.

A few TODO items is also kept in the script.

9 years agoFirst inclusion of the repo-encrypt script
Gustav Eek [Sat, 18 Apr 2015 07:56:35 +0000 (09:56 +0200)]
First inclusion of the repo-encrypt script

9 years agoInitial commit
Gustav Eek [Sat, 18 Apr 2015 07:54:01 +0000 (09:54 +0200)]
Initial commit

Licence details, README, Makefile, etc are added to the repository.

The script msmtp-notify is also added.