2018-05-06 17:04:02 +02:00
|
|
|
* English
|
|
|
|
:PROPERTIES:
|
|
|
|
:ANKI_DECK: English
|
|
|
|
:END:
|
2018-01-07 08:21:24 +01:00
|
|
|
|
2017-12-27 17:20:01 +01:00
|
|
|
** Vocabulary
|
2018-01-07 08:21:24 +01:00
|
|
|
|
2018-05-06 08:01:06 +02:00
|
|
|
*** Item :vocab:idioms:
|
2018-01-07 08:21:24 +01:00
|
|
|
:PROPERTIES:
|
|
|
|
:ANKI_NOTE_TYPE: Basic (and reversed card)
|
|
|
|
:END:
|
|
|
|
|
2017-12-27 17:20:01 +01:00
|
|
|
**** Front
|
2018-01-07 08:21:24 +01:00
|
|
|
|
|
|
|
(it's) raining cats and dogs
|
|
|
|
|
2017-12-27 17:20:01 +01:00
|
|
|
**** Back
|
2018-01-07 08:21:24 +01:00
|
|
|
|
|
|
|
it's raining very hard
|
|
|
|
|
2018-05-06 17:04:02 +02:00
|
|
|
* Computing
|
|
|
|
:PROPERTIES:
|
|
|
|
:ANKI_DECK: Computing
|
|
|
|
:END:
|
2018-01-07 08:21:24 +01:00
|
|
|
|
2018-05-06 08:01:06 +02:00
|
|
|
** Item :lisp:emacs:programming:
|
2018-01-07 08:21:24 +01:00
|
|
|
:PROPERTIES:
|
|
|
|
:ANKI_NOTE_TYPE: Basic
|
|
|
|
:END:
|
|
|
|
|
2017-12-27 17:20:01 +01:00
|
|
|
*** Front
|
2018-01-07 08:21:24 +01:00
|
|
|
|
|
|
|
How to trap errors in elisp ?
|
|
|
|
|
2017-12-27 17:20:01 +01:00
|
|
|
*** Back
|
2018-01-07 08:21:24 +01:00
|
|
|
|
|
|
|
#+BEGIN_EXPORT html
|
|
|
|
<div align="left">
|
|
|
|
#+END_EXPORT
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
(condition-case the-error
|
|
|
|
;; the protected form
|
|
|
|
(progn
|
|
|
|
(do-something-dangerous)
|
|
|
|
(do-something-more-dangerous))
|
|
|
|
;; handlers
|
|
|
|
(error-symbol1 (handler1 the-error))
|
|
|
|
((error-symbol2 error-symbol3 (handler the-error))))
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
#+BEGIN_EXPORT html
|
|
|
|
</div>
|
|
|
|
#+END_EXPORT
|
|
|
|
|
2018-05-06 17:04:02 +02:00
|
|
|
* Mathematics
|
|
|
|
:PROPERTIES:
|
|
|
|
:ANKI_DECK: Mathematics
|
|
|
|
:END:
|
2018-01-07 08:21:24 +01:00
|
|
|
|
2018-05-06 08:01:06 +02:00
|
|
|
** Item1
|
2018-01-07 08:21:24 +01:00
|
|
|
:PROPERTIES:
|
|
|
|
:ANKI_NOTE_TYPE: Cloze
|
|
|
|
:END:
|
|
|
|
|
|
|
|
*** Text
|
|
|
|
|
|
|
|
The dot product of two vectors is {{c1::$|\alpha| \cdot |\beta| \cos{\varphi}$}}
|
|
|
|
|
|
|
|
*** Extra
|
2018-01-08 11:20:11 +01:00
|
|
|
|
2018-05-06 08:01:06 +02:00
|
|
|
** Item2
|
2018-01-08 11:20:11 +01:00
|
|
|
:PROPERTIES:
|
|
|
|
:ANKI_NOTE_TYPE: Basic
|
|
|
|
:END:
|
|
|
|
|
|
|
|
*** Front
|
|
|
|
|
|
|
|
Given two vectors:
|
|
|
|
|
|
|
|
\begin{equation*}
|
|
|
|
\alpha = \{a_1, a_2, a_3\}, \beta = \{b_1, b_2, b_3\}
|
|
|
|
\end{equation*}
|
|
|
|
|
|
|
|
What's the result of $\alpha \cdot \beta$ ?
|
|
|
|
|
|
|
|
*** Back
|
|
|
|
|
|
|
|
\[a_1b_1 + a_2b_2 + a_3b_3\]
|