ejmichaud / elephant Goto Github PK
View Code? Open in Web Editor NEWAugment your memory from the console! :mortar_board: :muscle:
License: MIT License
Augment your memory from the console! :mortar_board: :muscle:
License: MIT License
Say you have 3 cards, with ids 0, 1, 2. Then you remove cards 0 and 1. Then you add 2 more cards, which are given ids of 1 and 2. You now have 2 cards with an id of 2. Uh oh!
It would be great if single notes were supported, and not just flashcards. Sometimes you just want to write down a piece of information and have it be searchable, without wanting to memorize it.
It might look nice to have questions and answers presented inside a box like this:
+---------------------+
| |
| What is the |
| approximate shape |
| of earth? |
| |
+---------------------+
Specifying a search
or a ls
--limit currently doesn't change the number of results that are printed, but instead the number of cards that are searched for this command. This often leads to failure if there are more than the given limit cards in the deck.
It would be nice to search for cards that contain phrase1
and phrase2
and phrase3
... etc so as to identify sub-groups and sub-sub-groups of card topics.
Please add!
It would be great if searches could be made case insensitive, such as with grep's -i flag.
It would be great to add arguments to the elephant quiz
command so that a review session only quizzes you on cards containing the listed phrases. This effectively adds card grouping support.
For example, a user could create a bunch of cards while learning the tensorflow api, and mention "tensorflow" in each of these questions... ie:
question: "In tensorflow 1.8, where is the relu activation function located?"
If the user phrased all tensorflow questions in this way, they could review only these cards with a simple command.
After I ran the clone, cd and pip install, I got this message when trying to run any elephant command (other than just $ elephant
) such as:
daniel@eduroam-169-233-152-187:~/projects/elephant$elephant ls Traceback (most recent call last): File "/anaconda3/bin/elephant", line 11, in <module> sys.exit(main()) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/anaconda3/lib/python3.7/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/anaconda3/lib/python3.7/site-packages/elephant.py", line 118, in ls c.execute('SELECT * FROM cards LIMIT ?', (limit,)) sqlite3.OperationalError: no such table: cards
My environment: Python=3.7, conda=4.5.12, OSX=Mojave
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.