Mind training!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Stephen Starkey 1f80d51e40 Finished HTML support 1 year ago
resources Beginning HTML support 1 year ago
src Beginning HTML support 1 year ago
.gitignore Added JSON export. 2 years ago
LICENSE First commit 2 years ago
README.md Finished HTML support 1 year ago
build Finished HTML support 1 year ago
install-fortune Better text output 2 years ago
lojong Removed toy language experiments 2 years ago
project.clj Finished HTML support 1 year ago
publish Removed toy language experiments 2 years ago

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 © 2020 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/>.