anki-editor/examples.org

1.7 KiB

English   deck

Vocabulary

Item   note

Front

(it's) raining cats and dogs

Back

it's raining very hard

Computing   deck

Item   note

Front

How to trap errors in elisp ?

Back

  (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))))

Mathematics   deck

Item1   note

Text

The dot product of two vectors is {{c1::$|\alpha| \cdot |\beta| \cos{\varphi}$}}

Extra

Item2   note

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\]