Generate random associations between your own concepts and manage them from the command line
Table of contents
- Python 3
These instructions apply for Linux but can be tweaked for other operating systems.
- Go to your installation path:
- Clone the repo:
git clone https://github.com/timotheechauvin/cr
- Go into it:
- Make the file executable:
sudo chmod +x cr.py
- Launch with:
- It is strongly recommended to create an alias in order to save time. Go to the end of your ~/.bashrc file and add the following line:
- If you've completed the previous step, you can launch cr by simply typing
crfrom any directory.
Every reasonable action can be done from the command line:
- Enter Generate a random association.
a word filenameAdd word to filename.txt if it is not already there. Example:
a signal vs noise conceptswill add signal vs noise to concepts.txt. If the file does not yet exist, it is created.
af word filenameStands for add force: add the word even if it is already somewhere in the file.
c wordReturn the list of files containing word.
rm wordRemove word from all files.
sSort all words alphabetically in all files.
qQuit the program.
If you wish to manage your concepts manually, the txt files are (and must be) located here:
. ├── cr │ ├── cr.py │ ├── README.md | └── ... ├── yourfile1.txt ├── yourfile2.txt └── ...
The format inside the files is simple: one word (which can contain spaces) per line.
Useful lists to get started
Issues, feedback and pull requests are all warmly welcome!
This project is under the MIT license.