Commit ca64bb30 authored by Anthony Scemama's avatar Anthony Scemama

Varicelle

parent 25c67878
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# -*- mode: org -*- # -*- mode: org -*-
#+TITLE: Reproducible Research Notes #+TITLE: Reproducible Research Notes
#+AUTHOR: Anthony Scemama #+AUTHOR: Anthony Scemama
#+CATEGORY: Notes #+CATEGORY: Notes
#+TAGS: [ TOOLS : ORGMODE(o) EMACS(e) SPACEMACS(s) R(r) PYTHON(p) ] #+TAGS: [ TOOLS : ORGMODE(o) EMACS(e) SPACEMACS(s) R(r) PYTHON(p) ]
#+STARTUP: content #+STARTUP: content
* Emacs installation :EMACS:
* Emacs installation :EMACS:
** Install Emacs via miniconda: ** Install Emacs via miniconda:
#+begin_src bash
#+begin_src bash conda update -n base -c defaults conda
conda update -n base -c defaults conda conda install -c conda-forge emacs r-parsedate
conda install -c conda-forge emacs r-parsedate #+end_src
#+end_src
** Install Spacemacs :SPACEMACS: ** Install Spacemacs :SPACEMACS:
[[https://www.spacemacs.org/][Spacemacs website]] [[https://www.spacemacs.org/][Spacemacs website]]
#+begin_src bash #+begin_src bash
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
#+end_src #+end_src
and activate the *org* layer. and activate the *org* layer.
** Install ** Install Source-code-pro font
[[https://github.com/adobe-fonts/source-code-pro][GitHub]]
#+begin_src bash
git clone https://github.com/adobe-fonts/source-code-pro.git
cd source-code-pro/TTF
cp * ~/.fonts/
#+end_src
* Spacemacs memo :SPACEMACS: * Spacemacs memo :SPACEMACS:
- Open ~/.spacemacs file : SPC f e d - Open ~/.spacemacs file : SPC f e d
* Org-mode memo :ORGMODE: * Org-mode memo :ORGMODE:
[[https://orgmode.org/manual][Org-mode Manual]] [[https://orgmode.org/manual][Org-mode Manual]]
** General ** General
:DRAWERNAME:
Hidden info
:END:
- C-c / : Sparse tree - C-c / : Sparse tree
- , s n : Narrow to subtree
- , s N : Widen
- SPC i s : Insert snippet
- = a r : indent subtree
- Drawers contain info we don't normally want to see - Drawers contain info we don't normally want to see
:DRAWERNAME: - C-c C-c : Activate cross in [ ]
Hidden info - S-up S-dn on date : Modify date [2020-04-09 Thu]
:END: - Enter time +2 to add a range of 2 hours [2020-04-07 Tue 14:00-16:00]
- , C i , C o : Clock from agenda
- , S S : sort
** Tables ** Tables
- Move table columns with M-LEFT - Move table columns with M-LEFT
- Insert column with M-S-RIGHT - Insert column with M-S-RIGHT
...@@ -49,25 +62,25 @@ ...@@ -49,25 +62,25 @@
| 2 | 4 | | 2 | 4 |
#+TBLFM: $2=$1*1 #+TBLFM: $2=$1*1
#+TBLFM: $2=$1*2 #+TBLFM: $2=$1*2
| Task 1 | Task 2 | Total | | Task 1 | Task 2 | Total |
|---------+----------+----------| |---------+----------+----------|
| 2:12 | 1:00 | 03:12:00 | | 2:12 | 1:00 | 03:12:00 |
| 2:15 | 1:47 | 04:02 | | 2:15 | 1:47 | 04:02 |
| 3:02:20 | -2:07:00 | 0.92 | | 3:02:20 | -2:07:00 | 0.92 |
#+TBLFM: @2$3=$1+$2;T::@3$3=$1+$2;U::@4$3=$1+$2;t #+TBLFM: @2$3=$1+$2;T::@3$3=$1+$2;U::@4$3=$1+$2;t
** Plots ** Plots
#+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]" #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]"
| Sede | Max cites | H-index | | Sede | Max cites | H-index |
|-----------+-----------+---------| |-----------+-----------+---------|
| Chile | 257.72 | 21.39 | | Chile | 257.72 | 21.39 |
| Leeds | 165.77 | 19.68 | | Leeds | 165.77 | 19.68 |
| Sao Paolo | 71.00 | 11.50 | | Sao Paolo | 71.00 | 11.50 |
| Stockholm | 134.19 | 14.33 | | Stockholm | 134.19 | 14.33 |
| Morelia | 257.56 | 17.67 | | Morelia | 257.56 | 17.67 |
M-x org-plot/gnuplot M-x org-plot/gnuplot
* Resources * Resources
** Links ** Links
* [[http://kitchingroup.cheme.cmu.edu/blog/][Blog]] * [[http://kitchingroup.cheme.cmu.edu/blog/][Blog]]
...@@ -75,17 +88,16 @@ ...@@ -75,17 +88,16 @@
* Models for LaTex: [[https://github.com/schnorr/ieeeorg][IEEE]], [[https://github.com/schnorr/wileyorg][Wiley]], [[https://github.com/schnorr/acmorg][ACM]], [[https://github.com/schnorr/llncsorg][LNCS]] * Models for LaTex: [[https://github.com/schnorr/ieeeorg][IEEE]], [[https://github.com/schnorr/wileyorg][Wiley]], [[https://github.com/schnorr/acmorg][ACM]], [[https://github.com/schnorr/llncsorg][LNCS]]
** Examples ** Examples
* [[https://github.com/norvig/pytudes/blob/master/ipynb/Economics.ipynb][Jupyter]], [[https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks][Gallery]], [[https://nbviewer.jupyter.org/url/www.inp.nsk.su/~grozin/python/sympy.ipynb][SymPy tutorial]] * [[https://github.com/norvig/pytudes/blob/master/ipynb/Economics.ipynb][Jupyter]], [[https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks][Gallery]], [[https://nbviewer.jupyter.org/url/www.inp.nsk.su/~grozin/python/sympy.ipynb][SymPy tutorial]]
*
* Git configuration * Git configuration
login: 27c0641acb9e5727b9680a9b3481db8e login: 27c0641acb9e5727b9680a9b3481db8e
password: ce21b85a28 password: ce21b85a28
* Nice HTML rendering * Nice HTML rendering
#+begin_src html #+begin_src html
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/htmlize.css"/> ,#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/htmlize.css"/>
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/readtheorg.css"/> ,#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="http://www.pirilampo.org/styles/readtheorg/css/readtheorg.css"/>
#+HTML_HEAD: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> ,#+HTML_HEAD: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
#+HTML_HEAD: <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> ,#+HTML_HEAD: <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/lib/js/jquery.stickytableheaders.js"></script> ,#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/lib/js/jquery.stickytableheaders.js"></script>
#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js"></script> ,#+HTML_HEAD: <script type="text/javascript" src="http://www.pirilampo.org/styles/readtheorg/js/readtheorg.js"></script>
#+end_src #+end_src
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment