Files in the top-level directory from the latest check-in
- .gitignore
- resources
- src
- build
- install-fortune
- LICENSE
- lojong
- project.clj
- publish
- README.md
lojong
Various transformations on the list of Atisha's lojong slogans.
Taken, with some modifications, from http://www.unfetteredmind.org/mindtraining/
Downloads
These files are generated by this project:
Using the fortune file
If you've installed fortune
, there will likely be a database of
possible fortunes and their indexes somewhere on disk. You can
learn more about how to work with it at
https://linux.die.net/man/6/fortune
Check out install-fortune
for an example approach for installing
the generated fortune file into your OS.
Preparing your development environment
Install Leiningen: https://leiningen.org/
If you want to compile the LaTeX contents, you'll need an installation
of LaTeX for your operating system. It should include the pdflatex
command.
Program Usage
Produce a single lojong slogan:
./lojong
Or build a bunch of artifacts, including JSON, fortune, and PDF files,
using ./build
They will show up in target/documents
.
Development
The lojong
script relies on the presence of an uberjar. It tries to
build one if it doesn't exist. Successive executions use that jar file.
If you want to change code and see how things are different, you'll need
to lein clean
License
Copyright © 2024 Stephen Starkey
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.