fix default deck template, and final cleanup

This commit is contained in:
Bryan Jenks 2020-04-19 00:48:44 -07:00
parent ebf1c2e79d
commit f0d2f331eb
1 changed files with 32 additions and 3 deletions

35
flash
View File

@ -34,10 +34,39 @@ NO_DECKS="
No decks were found, please make a new deck No decks were found, please make a new deck
using ':' as a delimiter in a '.csv' file in using ':' as a delimiter in a '.csv' file in
the '.local/share/flash' directory. the '.local/share/flash' directory.
An example of a card:
'Math:What is the square root of 4?:2:0'
" "
DECK_TEMPLATE="category1:question1:answer1:0 DECK_TEMPLATE="History:When was the declaration of independence signed?:1776:0
category2:question2:answer2:0 Math:What is the square root of 4?:2:4
category3:question3:answer3:0 Science:What is the charge of a proton?:Positive:2
Philosophy:What was socrates known as?:The Gadfly of Athens:0
Programming:What is the typical starting value of an array?:0:5
History:What did Abraham Lincoln Typically Keep In his hat?:Mail:0
Math:what is the first 2 decimal places of PI:3.14:4
Science:What is the charge of an electron?:Negative:3
Programming:What does OOP stand for?:Object Oriented Programming:2
History:What did socrates drink to commit suicide?:Hemlock Tea:2
Math:What is the equation for a slope of a line?:y=mx+b:4
Science:What is the charge of a neutron?:Neutral:1
Programming:What is Vim?:God's Text Editor:999
History:What were the british known buy during the american revolution?:The redcoats:1
Math:What is the value of this equation - log10(100)?:2:0
Science:What are protons/neutrons/electrons made of?:quarks:5
Programming:What does RAM stand for?:Random Access Memory:1
History:What was the year 2000 also known as?:Y2K:0
Math:What is the formula for mean?:Sum/count:4
Science:What is cold?:The absense of heat:3
Programming:What languages are the worst?:Proprietary:999
History:When did man land on the moon?:1969:4
Math:10^3=?:1000:1
Science:The _____ ______ Project mapped all of man's genes.:Human Genome:3
Programming:What is the best computer to program on?:Thinkpad:999
History:When was flash.sh created?:April 2020:999
Math:What do you call a number only divisible by itself and 1?:Prime:0
Science:What is the distance between the Earth and Sol called?:An Astronomical Unit (AU):1
Programming:Best operating system?:Arch, because BTW i run Arch:999
" "
if [ ! -d $DIR ];then # If Directory does NOT exist if [ ! -d $DIR ];then # If Directory does NOT exist