Compare commits
9 Commits
e467c5aab2
...
3be5d50647
Author | SHA1 | Date | |
---|---|---|---|
3be5d50647 | |||
ea7e34cdf2 | |||
b4020fbf2d | |||
30ebf8af76 | |||
ac8f94fdff | |||
2f44f27771 | |||
e35ef29559 | |||
0f79d7e4c6 | |||
c368b1f983 |
@ -1,10 +1,10 @@
|
||||
#+TITLE:Desktop file for the applications
|
||||
#+SETUPFILE: ./setup/org-setup-file.org
|
||||
#+PROPERTY: header-args:conf :comments none :mkdirp yes
|
||||
|
||||
* Mime Applications
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/mimeapps.list
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
@ -40,7 +40,6 @@ application/x-bittorrent=deluge.desktop;
|
||||
* Neomutt
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/neomutt.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
@ -57,7 +56,6 @@ StartupNotify=true
|
||||
* Weechat
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/weechat.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
@ -77,15 +75,14 @@ GenericName=IRC Client
|
||||
* Matlab
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/matlab.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
Version=R2020a
|
||||
Version=R2020b
|
||||
Type=Application
|
||||
Terminal=false
|
||||
MimeType=text/x-matlab
|
||||
Exec=/usr/local/MATLAB/R2020a/bin/matlab -desktop -nosplash
|
||||
Exec=/usr/local/MATLAB/R2020b/bin/matlab -desktop
|
||||
Name=MATLAB
|
||||
Icon=matlab
|
||||
Categories=Development;Math;Science
|
||||
@ -96,7 +93,6 @@ StartupNotify=true
|
||||
* Neovim
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/nvim.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
@ -116,7 +112,6 @@ MimeType=text/english;text/plain;text/x-makefile;
|
||||
* Images
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/img.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
@ -128,7 +123,6 @@ Exec=/usr/bin/sxiv -a %u
|
||||
* Org-Protocol
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/org-protocol.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
@ -143,7 +137,6 @@ MimeType=x-scheme-handler/org-protocol;
|
||||
* Ranger
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/ranger.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
@ -159,23 +152,23 @@ MimeType=inode/directory;inode/mount-point;x-scheme-handler/ssh;x-scheme-handler
|
||||
* Emacs Client
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/emacsclient.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
Name=Emacs Client
|
||||
Exec=emacsclient -c %u
|
||||
Icon=emacs-icon
|
||||
GenericName=Text Editor
|
||||
Comment=Edit text
|
||||
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
||||
Exec=emacsclient -c %f
|
||||
Icon=emacs
|
||||
Type=Application
|
||||
Terminal=false
|
||||
MimeType=x-scheme-handler/org-protocol;
|
||||
NoDisplay=true
|
||||
Categories=Utility;TextEditor;
|
||||
#+end_src
|
||||
|
||||
* Torrent with Transmission
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/torrent.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
@ -183,3 +176,41 @@ Type=Application
|
||||
Name=Torrent
|
||||
Exec=tremc %U
|
||||
#+end_src
|
||||
|
||||
* Qutebrowser
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/qutebrowser.desktop
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
Name=qutebrowser
|
||||
StartupWMClass=qutebrowser
|
||||
GenericName=Web Browser
|
||||
Comment=A keyboard-driven, vim-like browser based on PyQt5
|
||||
Icon=qutebrowser
|
||||
Type=Application
|
||||
Categories=Network;WebBrowser;
|
||||
Exec=qutebrowser %u
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/qute;
|
||||
Keywords=Browser
|
||||
Actions=new-window;preferences;
|
||||
#+end_src
|
||||
|
||||
* Zathura
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/zathura.desktop
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=Zathura
|
||||
Comment=A minimalistic PDF viewer
|
||||
Comment[de]=Ein minimalistischer PDF-Betrachter
|
||||
Exec=zathura %f
|
||||
Terminal=false
|
||||
Categories=Office;Viewer;
|
||||
MimeType=application/pdf;
|
||||
#+end_src
|
||||
|
@ -192,3 +192,25 @@ exit 0
|
||||
#+begin_src bash :tangle ~/.local/bin/color-picker
|
||||
xcolor | tr -d '\n' | xsel -b
|
||||
#+end_src
|
||||
|
||||
* =readbib= - Open Bibliography File
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: readbib
|
||||
:END:
|
||||
|
||||
List all =pdf= files and open selected one with zathura.
|
||||
|
||||
#+begin_src bash :tangle ~/.local/bin/readbib
|
||||
cd ~/Cloud/pdfs/ && ls | rofi -dmenu -lines 20 | xargs -I {} zathura {}
|
||||
#+end_src
|
||||
|
||||
* =readnotes= - Open Note
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: readnotes
|
||||
:END:
|
||||
|
||||
List all =pdf= files and open selected one with zathura.
|
||||
|
||||
#+begin_src bash :tangle ~/.local/bin/readnotes
|
||||
cd ~/Cloud/brain/pdfs/ && ls | rofi -dmenu -lines 20 | xargs -I {} zathura {}
|
||||
#+end_src
|
||||
|
11
binaries.org
11
binaries.org
@ -870,17 +870,6 @@ else
|
||||
fi
|
||||
#+end_src
|
||||
|
||||
* =readbib= - Open Bibliography File
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: readbib
|
||||
:END:
|
||||
|
||||
List all =pdf= files and open selected one with zathura.
|
||||
|
||||
#+begin_src bash :tangle ~/.local/bin/readbib
|
||||
cd ~/Cloud/pdfs/ && ls | rofi -dmenu -lines 20 | xargs -I {} zathura {}
|
||||
#+end_src
|
||||
|
||||
* =pdf2bib= - Extract bibtex entry from PDF file
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: pdf2bib
|
||||
|
@ -185,6 +185,10 @@ machine torrent.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
password <<get-password(passname="torrent.tdehaeze.xyz/tdehaeze")>>
|
||||
|
||||
machine dl.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
password <<get-password(passname="dl.tdehaeze.xyz/tdehaeze")>>
|
||||
|
||||
machine deemix.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
password <<get-password(passname="deemix.tdehaeze.xyz/tdehaeze")>>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Desktop file for the applications</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -32,6 +32,8 @@
|
||||
<li><a href="#org777141a">Ranger</a></li>
|
||||
<li><a href="#org0cb9832">Emacs Client</a></li>
|
||||
<li><a href="#org42f59ff">Torrent with Transmission</a></li>
|
||||
<li><a href="#orgfe825a7">Qutebrowser</a></li>
|
||||
<li><a href="#org9b19704">Zathura</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -116,11 +118,11 @@
|
||||
<div class="outline-text-2" id="text-org034bd30">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Version</span>=R2020a
|
||||
<span class="org-variable-name">Version</span>=R2020b
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
<span class="org-variable-name">Terminal</span>=false
|
||||
<span class="org-variable-name">MimeType</span>=text/x-matlab
|
||||
<span class="org-variable-name">Exec</span>=/usr/local/MATLAB/R2020a/bin/matlab -desktop -nosplash
|
||||
<span class="org-variable-name">Exec</span>=/usr/local/MATLAB/R2020b/bin/matlab -desktop
|
||||
<span class="org-variable-name">Name</span>=MATLAB
|
||||
<span class="org-variable-name">Icon</span>=matlab
|
||||
<span class="org-variable-name">Categories</span>=Development;Math;Science
|
||||
@ -204,12 +206,14 @@
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Name</span>=Emacs Client
|
||||
<span class="org-variable-name">Exec</span>=emacsclient -c %u
|
||||
<span class="org-variable-name">Icon</span>=emacs-icon
|
||||
<span class="org-variable-name">GenericName</span>=Text Editor
|
||||
<span class="org-variable-name">Comment</span>=Edit text
|
||||
<span class="org-variable-name">MimeType</span>=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
||||
<span class="org-variable-name">Exec</span>=emacsclient -c %f
|
||||
<span class="org-variable-name">Icon</span>=emacs
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
<span class="org-variable-name">Terminal</span>=false
|
||||
<span class="org-variable-name">MimeType</span>=x-scheme-handler/org-protocol;
|
||||
<span class="org-variable-name">NoDisplay</span>=true
|
||||
<span class="org-variable-name">Categories</span>=Utility;TextEditor;
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -227,10 +231,52 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfe825a7" class="outline-2">
|
||||
<h2 id="orgfe825a7">Qutebrowser</h2>
|
||||
<div class="outline-text-2" id="text-orgfe825a7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Name</span>=qutebrowser
|
||||
<span class="org-variable-name">StartupWMClass</span>=qutebrowser
|
||||
<span class="org-variable-name">GenericName</span>=Web Browser
|
||||
<span class="org-variable-name">Comment</span>=A keyboard-driven, vim-like browser based on PyQt5
|
||||
<span class="org-variable-name">Icon</span>=qutebrowser
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
<span class="org-variable-name">Categories</span>=Network;WebBrowser;
|
||||
<span class="org-variable-name">Exec</span>=qutebrowser %u
|
||||
<span class="org-variable-name">Terminal</span>=false
|
||||
<span class="org-variable-name">StartupNotify</span>=true
|
||||
<span class="org-variable-name">MimeType</span>=text/html;text/xml;application/xhtml+xml;application/xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/qute;
|
||||
<span class="org-variable-name">Keywords</span>=Browser
|
||||
<span class="org-variable-name">Actions</span>=new-window;preferences;
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org9b19704" class="outline-2">
|
||||
<h2 id="org9b19704">Zathura</h2>
|
||||
<div class="outline-text-2" id="text-org9b19704">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
|
||||
<span class="org-variable-name">Version</span>=<span class="org-highlight-numbers-number">1.0</span>
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
<span class="org-variable-name">Name</span>=Zathura
|
||||
<span class="org-variable-name">Comment</span>=A minimalistic PDF viewer
|
||||
<span class="org-variable-name">Comment</span>[<span class="org-constant">de</span>]=Ein minimalistischer PDF-Betrachter
|
||||
<span class="org-variable-name">Exec</span>=zathura %f
|
||||
<span class="org-variable-name">Terminal</span>=false
|
||||
<span class="org-variable-name">Categories</span>=Office;Viewer;
|
||||
<span class="org-variable-name">MimeType</span>=application/pdf;
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:33 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>My own specific binaries</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -32,6 +32,8 @@
|
||||
<li><a href="#share"><code>share</code> - Share file with self-hosted <code>transfer.sh</code></a></li>
|
||||
<li><a href="#screen-select"><code>screen-select</code> - Xrandr pre-defined scripts</a></li>
|
||||
<li><a href="#color-picker"><code>color-picker</code> - Pick color and copy to clipboard</a></li>
|
||||
<li><a href="#readbib"><code>readbib</code> - Open Bibliography File</a></li>
|
||||
<li><a href="#readnotes"><code>readnotes</code> - Open Note</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -238,10 +240,38 @@ setbg && <span class="org-string">\ </span> <span class="org-comment-d
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-readbib" class="outline-2">
|
||||
<h2 id="readbib"><code>readbib</code> - Open Bibliography File</h2>
|
||||
<div class="outline-text-2" id="text-readbib">
|
||||
<p>
|
||||
List all <code>pdf</code> files and open selected one with zathura.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/pdfs/ && <span class="org-type">ls</span> | rofi -dmenu -lines <span class="org-highlight-numbers-number">20</span> | xargs -I <span class="org-rainbow-delimiters-depth-1">{}</span> zathura <span class="org-rainbow-delimiters-depth-1">{}</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-readnotes" class="outline-2">
|
||||
<h2 id="readnotes"><code>readnotes</code> - Open Note</h2>
|
||||
<div class="outline-text-2" id="text-readnotes">
|
||||
<p>
|
||||
List all <code>pdf</code> files and open selected one with zathura.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/brain/pdfs/ && <span class="org-type">ls</span> | rofi -dmenu -lines <span class="org-highlight-numbers-number">20</span> | xargs -I <span class="org-rainbow-delimiters-depth-1">{}</span> zathura <span class="org-rainbow-delimiters-depth-1">{}</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:33</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:40 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Binaries</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -42,7 +42,6 @@
|
||||
<li><a href="#mopidy-restart"><code>mopidy-restart</code> - Restart Mopidy</a></li>
|
||||
<li><a href="#upload"><code>upload</code> - Upload Script</a></li>
|
||||
<li><a href="#weather"><code>weather</code> - Display Weather in terminal</a></li>
|
||||
<li><a href="#readbib"><code>readbib</code> - Open Bibliography File</a></li>
|
||||
<li><a href="#pdf2bib"><code>pdf2bib</code> - Extract bibtex entry from PDF file</a></li>
|
||||
<li><a href="#pdf2png"><code>pdf2png</code> - Convert a PDF to PNG</a></li>
|
||||
<li><a href="#convert-file"><code>convert-file</code> - Convert any file to another filetype</a></li>
|
||||
@ -972,20 +971,6 @@ Get the weather from <a href="http://wttr.in/">http://wttr.in/</a>.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-readbib" class="outline-2">
|
||||
<h2 id="readbib"><code>readbib</code> - Open Bibliography File</h2>
|
||||
<div class="outline-text-2" id="text-readbib">
|
||||
<p>
|
||||
List all <code>pdf</code> files and open selected one with zathura.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/pdfs/ && <span class="org-type">ls</span> | rofi -dmenu -lines <span class="org-highlight-numbers-number">20</span> | xargs -I <span class="org-rainbow-delimiters-depth-1">{}</span> zathura <span class="org-rainbow-delimiters-depth-1">{}</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-pdf2bib" class="outline-2">
|
||||
<h2 id="pdf2bib"><code>pdf2bib</code> - Extract bibtex entry from PDF file</h2>
|
||||
<div class="outline-text-2" id="text-pdf2bib">
|
||||
@ -1328,7 +1313,7 @@ Run some simple calculations with <code>rofi</code>.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:40</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2021-01-12 mar. 12:15 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Configuration Files</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -221,6 +221,10 @@ machine torrent.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"torrent.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine dl.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"dl.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
|
||||
machine deemix.tdehaeze.xyz
|
||||
login tdehaeze
|
||||
<span class="org-variable-name">password <<get-password(passname</span>=<span class="org-string">"deemix.tdehaeze.xyz/tdehaeze"</span>)>>
|
||||
@ -272,7 +276,7 @@ Colors
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2021-01-12 mar. 12:15</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
211
docs/doom.html
211
docs/doom.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:32 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Doom Emacs Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -55,12 +55,13 @@
|
||||
<ul>
|
||||
<li><a href="#org9a192de">Org General Config</a></li>
|
||||
<li><a href="#org9c78e0f">Org Inline Images</a></li>
|
||||
<li><a href="#orgb941771">Org Links</a></li>
|
||||
<li><a href="#org64e43c9">Org Links</a></li>
|
||||
<li><a href="#org06d5c9f">Org Tagging</a></li>
|
||||
<li><a href="#org82e8603">Org Refile</a></li>
|
||||
<li><a href="#org4e35a03">Org TODO</a></li>
|
||||
<li><a href="#org10bb4ba">Org Archive</a></li>
|
||||
<li><a href="#orgb18d1ed">Org Agenda</a></li>
|
||||
<li><a href="#org5b2fa78">Org Agenda HTML</a></li>
|
||||
<li><a href="#orgfc73fc4">Org Fancy Priority</a></li>
|
||||
<li><a href="#orge3db067">Org Notification based on calendar event</a>
|
||||
<ul>
|
||||
@ -92,6 +93,7 @@
|
||||
<li><a href="#org9efe418">Number Equations</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org67fc6f1">Org Auto Tangle</a></li>
|
||||
<li><a href="#org40182cc">LaTeX macro both for LaTeX and HTML export</a></li>
|
||||
<li><a href="#org68f0642">Org Projects</a></li>
|
||||
<li><a href="#org3282b66">Automatically run <code>startblock</code> when opening org-mode files</a></li>
|
||||
@ -100,7 +102,7 @@
|
||||
<li><a href="#org90e8b2b">Render Tables</a></li>
|
||||
<li><a href="#orgab67420">Org Special Block Extras</a></li>
|
||||
<li><a href="#org7adfc1c">Org Inline Task</a></li>
|
||||
<li><a href="#orgf5ae68e">Org Links</a>
|
||||
<li><a href="#orge34498a">Org Links</a>
|
||||
<ul>
|
||||
<li><a href="#orgd172897">Youtube Links</a></li>
|
||||
</ul>
|
||||
@ -128,6 +130,7 @@
|
||||
<li><a href="#orgabce861">Indentation</a></li>
|
||||
<li><a href="#org7d7e65b">Library of Babel</a></li>
|
||||
<li><a href="#orge0d9b66">Org-Babel Matlab</a></li>
|
||||
<li><a href="#org49ad889">Mermaid</a></li>
|
||||
<li><a href="#org27c33e4">Some functions for using Matlab with Org Babel <code>,m</code></a></li>
|
||||
<li><a href="#orge649608">Remap <code>ctrl-ret</code> used to execute the src block and go to the next one</a></li>
|
||||
<li><a href="#orge323144">Remap <code>ctrl-shift-ret</code> used to execute the (matlab) src block in the background and go to the next one</a>
|
||||
@ -150,11 +153,12 @@
|
||||
<li><a href="#org56ad996">Deft</a></li>
|
||||
<li><a href="#org5e57970">Org-Roam-Bibtex (link)</a></li>
|
||||
<li><a href="#org31992e4">Citeproc-org (link)</a></li>
|
||||
<li><a href="#orgb692dae">Bibtex-Mode</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org5722bd7">LaTeX</a>
|
||||
<ul>
|
||||
<li><a href="#org95c7ff3">Basic Config</a></li>
|
||||
<li><a href="#org3d22b8a">Basic Config</a></li>
|
||||
<li><a href="#orge71a16b">Bibtex</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -172,7 +176,7 @@
|
||||
<li><a href="#orgafab721">Resources</a></li>
|
||||
<li><a href="#org2b8b75f">Cheatsheet</a></li>
|
||||
<li><a href="#orgebf9129">Helping function</a></li>
|
||||
<li><a href="#org5977a4c">Basic Config</a></li>
|
||||
<li><a href="#org1b07702">Basic Config</a></li>
|
||||
<li><a href="#org7c3d72b">Additional config</a></li>
|
||||
<li><a href="#org716f5e2">Provide Information</a></li>
|
||||
<li><a href="#org48a7840">Receiving emails using mbsync</a></li>
|
||||
@ -835,6 +839,29 @@ This works also with <code>C-x C-q</code>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-screenshot-page</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-doc">"Open current page as an SVG file with Inkscape"</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">string-match</span> <span class="org-string">"_"</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">file-name-base</span> <span class="org-variable-name">buffer-file-name</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">setq</span> filename <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">read-string</span> <span class="org-string">"Enter file name:"</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">car</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">split-string</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">file-name-base</span> <span class="org-variable-name">buffer-file-name</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">"_"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">setq</span> filename <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">read-string</span> <span class="org-string">"Enter file name:"</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> filepath <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"/tmp/"</span> filename <span class="org-string">".svg"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">shell-command</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"pdftk "</span> <span class="org-variable-name">buffer-file-name</span> <span class="org-string">" cat "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">number-to-string</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">pdf-view-current-page</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">" output /tmp/pdf_page.pdf"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">shell-command</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"pdf2svg /tmp/pdf_page.pdf "</span> filepath<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">start-process</span> <span class="org-string">""</span> nil <span class="org-string">"inkscape"</span> filepath<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> pdf-tools
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">pdf-view-mode-map</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-builtin">:desc</span> <span class="org-string">"Screenshot"</span>
|
||||
<span class="org-builtin">:ni</span> <span class="org-string">"C-c s"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">tdh-screenshot-page</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -947,9 +974,9 @@ Display the real size of images and not the one set with <code>attr_latex: :widt
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb941771" class="outline-3">
|
||||
<h3 id="orgb941771">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-orgb941771">
|
||||
<div id="outline-container-org64e43c9" class="outline-3">
|
||||
<h3 id="org64e43c9">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-org64e43c9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> org
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-link-abbrev-alist</span>
|
||||
@ -1227,6 +1254,24 @@ Org Agenda Custom Views
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5b2fa78" class="outline-3">
|
||||
<h3 id="org5b2fa78">Org Agenda HTML</h3>
|
||||
<div class="outline-text-3" id="text-org5b2fa78">
|
||||
<p>
|
||||
This function can be used to export the week calendar to html.
|
||||
This html page can be used as a starting page for the browser.
|
||||
This idea comes from <a href="https://blog.lambda.cx/posts/org-agenda-new-tab/">here</a>.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-org-agenda-to-html</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-agenda-list</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-agenda-write</span> <span class="org-string">"/ssh:thomas@grenoble:~/docker/config/calendar/www/index.html"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfc73fc4" class="outline-3">
|
||||
<h3 id="orgfc73fc4">Org Fancy Priority</h3>
|
||||
<div class="outline-text-3" id="text-orgfc73fc4">
|
||||
@ -1295,7 +1340,7 @@ dunstify --replace=<span class="org-highlight-numbers-number">85401</span> <span
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"C"</span> . <span class="org-string">"comment"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"mm"</span> . <span class="org-string">"src matlab"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"mf"</span> . <span class="org-string">"src matlab :exports none"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"mv"</span> . <span class="org-string">"src matlab :results value replace :exports none :tangle no"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"mv"</span> . <span class="org-string">"src matlab :results value replace :exports results :tangle no"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"l"</span> . <span class="org-string">"src emacs-lisp"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"q"</span> . <span class="org-string">"quote"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"s"</span> . <span class="org-string">"src"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -1742,13 +1787,13 @@ Adapt this from <a href="https://github.com/alhassy/emacs.d">https://github.com/
|
||||
<span class="org-builtin">:latex-compiler</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"latex -interaction nonstopmode -output-directory %o %f"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-builtin">:image-converter</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"dvipng -D %D -T tight -o %O %f"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span>dvisvgm
|
||||
<span class="org-builtin">:programs</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"pdflatex"</span> <span class="org-string">"dvisvgm"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-builtin">:description</span> <span class="org-string">"dvi > svg"</span>
|
||||
<span class="org-builtin">:message</span> <span class="org-string">"you need to install the programs: latex and dvisvgm."</span>
|
||||
<span class="org-builtin">:image-input-type</span> <span class="org-string">"dvi"</span>
|
||||
<span class="org-builtin">:programs</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"xetex"</span> <span class="org-string">"dvisvgm"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-builtin">:description</span> <span class="org-string">"xdv > svg"</span>
|
||||
<span class="org-builtin">:message</span> <span class="org-string">"you need to install the programs: xetex and dvisvgm."</span>
|
||||
<span class="org-builtin">:image-input-type</span> <span class="org-string">"xdv"</span>
|
||||
<span class="org-builtin">:image-output-type</span> <span class="org-string">"svg"</span>
|
||||
<span class="org-builtin">:image-size-adjust</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-numbers-number">0.6</span> . <span class="org-highlight-numbers-number">0.6</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-builtin">:latex-compiler</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"latex -interaction nonstopmode -output-directory %o %f"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-builtin">:latex-compiler</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"xelatex -no-pdf -output-directory %o %f"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-builtin">:image-converter</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"dvisvgm %f -n -b min -c %S -o %O"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
@ -2131,6 +2176,19 @@ Special Environments
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org67fc6f1" class="outline-3">
|
||||
<h3 id="org67fc6f1">Org Auto Tangle</h3>
|
||||
<div class="outline-text-3" id="text-org67fc6f1">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">use-package!</span> org-auto-tangle
|
||||
<span class="org-builtin">:after</span> org
|
||||
<span class="org-builtin">:hook</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-mode</span> . org-auto-tangle-mode<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org40182cc" class="outline-3">
|
||||
<h3 id="org40182cc">LaTeX macro both for LaTeX and HTML export</h3>
|
||||
<div class="outline-text-3" id="text-org40182cc">
|
||||
@ -2363,7 +2421,7 @@ Special Environments
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">while</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">not</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">eq</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">table</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-element-type</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-element-at-point</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">forward-line</span> <span class="org-highlight-numbers-number">-1</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">tdh-render-org-table</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-element-at-point</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span>tdh-render-org-table <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-element-at-point</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
|
||||
@ -2397,7 +2455,7 @@ Special Environments
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-element-map</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-element-parse-buffer</span><span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">table</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">tdh-render-org-table</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Use F9 to globally generate tables</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">org-mode-map</span> <span class="org-builtin">:n</span> <span class="org-string">"<f8>"</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">lambda</span> <span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">tdh-render-org-table-at-point</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">org-mode-map</span> <span class="org-builtin">:n</span> <span class="org-string">"<f8>"</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">lambda</span> <span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-rainbow-delimiters-depth-1">(</span>tdh-render-org-table-at-point<span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -2428,9 +2486,9 @@ Special Environments
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgf5ae68e" class="outline-3">
|
||||
<h3 id="orgf5ae68e">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-orgf5ae68e">
|
||||
<div id="outline-container-orge34498a" class="outline-3">
|
||||
<h3 id="orge34498a">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-orge34498a">
|
||||
</div>
|
||||
<div id="outline-container-orgd172897" class="outline-4">
|
||||
<h4 id="orgd172897">Youtube Links</h4>
|
||||
@ -3126,6 +3184,45 @@ Better format the output results for Matlab (<a href="https://www.reddit.com/r/e
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org49ad889" class="outline-3">
|
||||
<h3 id="org49ad889">Mermaid</h3>
|
||||
<div class="outline-text-3" id="text-org49ad889">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">yay -S mermaid-cli
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">use-package!</span> ob-mermaid
|
||||
<span class="org-builtin">:after</span> org
|
||||
<span class="org-builtin">:config</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">ob-mermaid-cli-path</span> <span class="org-string">"/usr/bin/mmdc"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-mermaid">gantt
|
||||
dateFormat YYYY-MM-DD
|
||||
title Adding GANTT diagram to mermaid
|
||||
excludes weekdays 2014-01-10
|
||||
|
||||
section A section
|
||||
Completed task :done, des1, 2014-01-06,2014-01-08
|
||||
Active task :active, des2, 2014-01-09, 3d
|
||||
Future task : des3, after des2, 5d
|
||||
Future task2 : des4, after des3, 5d
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="org01253d4" class="figure">
|
||||
<p><img src="figs/mermaid.png" alt="mermaid.png" />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org27c33e4" class="outline-3">
|
||||
<h3 id="org27c33e4">Some functions for using Matlab with Org Babel <code>,m</code></h3>
|
||||
<div class="outline-text-3" id="text-org27c33e4">
|
||||
@ -3369,8 +3466,9 @@ if no region is selected, it runs all the code blocks and goes to the next block
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">tdh-matlab-execute-selected</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">region-beginning</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">region-end</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">progn</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">tdh-org-babel-execute-matlab-background</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-babel-next-src-block</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">tdh-ctrl-ret</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-babel-next-src-block</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">org-babel-next-src-block</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
@ -3613,7 +3711,7 @@ Nice Functions:
|
||||
<span class="org-builtin">:custom-face</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>org-roam-link <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-rainbow-delimiters-depth-1">(</span>t <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-builtin">:inherit</span> org-link <span class="org-builtin">:foreground</span> <span class="org-string">"#cc241d"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-builtin">:config</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-roam-directory</span> <span class="org-string">"~/Cloud/brain/"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-roam-directory</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">file-truename</span> <span class="org-string">"~/Cloud/brain/"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-roam-completion-system</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">helm</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-roam-tag-sources</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span>prop last-directory<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-roam-capture-templates</span>
|
||||
@ -3664,20 +3762,26 @@ Automatic export of backlinks
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">insert</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">format</span> <span class="org-string">"- [[file:%s][%s]]\n"</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">file-relative-name</span> link <span class="org-variable-name">org-roam-directory</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span>org-roam--get-title-or-slug link<span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">org-export-before-processing-hook</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">tdh-org-export-preprocessor</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-org-roam-export-all</span> <span class="org-rainbow-delimiters-depth-3">()</span>
|
||||
<span class="org-doc">"Re-exports all Org-roam files to Hugo markdown."</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">dolist</span> <span class="org-rainbow-delimiters-depth-1">(</span>f <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-roam--list-all-files</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">with-current-buffer</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">find-file</span> f<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">when</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">s-contains?</span> <span class="org-string">"SETUPFILE"</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">buffer-string</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">org-hugo-export-wim-to-md</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Re-Export all roam files.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-org-roam-export-all</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-doc">"Re-exports all Org-roam files to Hugo markdown."</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">dolist</span> <span class="org-rainbow-delimiters-depth-3">(</span>f <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-roam--list-all-files</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">with-current-buffer</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">find-file</span> f<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">when</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">s-contains?</span> <span class="org-string">"SETUPFILE"</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">buffer-string</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-hugo-export-wim-to-md</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Create Org-Roam file from heading (<a href="https://ag91.github.io/blog/2020/11/12/write-org-roam-notes-via-elisp/">link</a>)
|
||||
</p>
|
||||
@ -3893,7 +3997,7 @@ Provides nice functions such as:
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">use-package!</span> org-roam-bibtex
|
||||
<span class="org-builtin">:hook</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-variable-name">org-roam-mode</span> . org-roam-bibtex-mode<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-builtin">:hook</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-variable-name">org-roam-mode</span> . <span class="org-variable-name">org-roam-bibtex-mode</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-builtin">:config</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> orb-preformat-keywords <span class="org-highlight-quoted-quote">`</span><span class="org-rainbow-delimiters-depth-3">(</span><span class="org-string">"=key="</span> <span class="org-string">"title"</span> <span class="org-string">"author"</span> <span class="org-string">"year"</span> <span class="org-string">"author-abbrev"</span> <span class="org-string">"=type="</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
@ -3949,6 +4053,18 @@ Provides nice functions such as:
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb692dae" class="outline-3">
|
||||
<h3 id="orgb692dae">Bibtex-Mode</h3>
|
||||
<div class="outline-text-3" id="text-orgb692dae">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> bibtex
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">bibtex-mode-map</span>
|
||||
<span class="org-builtin">:n</span> <span class="org-string">"C-c c"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">org-ref-clean-bibtex-entry</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5722bd7" class="outline-2">
|
||||
@ -3960,9 +4076,9 @@ Provides nice functions such as:
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org95c7ff3" class="outline-3">
|
||||
<h3 id="org95c7ff3">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-org95c7ff3">
|
||||
<div id="outline-container-org3d22b8a" class="outline-3">
|
||||
<h3 id="org3d22b8a">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-org3d22b8a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> auctex
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">+latex-viewers</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span>zathura pdf-tools<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -4233,9 +4349,9 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5977a4c" class="outline-3">
|
||||
<h3 id="org5977a4c">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-org5977a4c">
|
||||
<div id="outline-container-org1b07702" class="outline-3">
|
||||
<h3 id="org1b07702">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-org1b07702">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">use-package!</span> mu4e
|
||||
<span class="org-builtin">:config</span>
|
||||
@ -4562,12 +4678,24 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Connector between Org-roam, BibTeX-completion, and Org-ref</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">package!</span> org-roam-bibtex<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Org-mode modules for citations, cross-references, bibliographies</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">package!</span> org-ref<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Org file tangling upon save</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">(package! org-auto-tangle)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Alert notifications for org-agenda</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">package!</span> org-wild-notifier<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -4597,6 +4725,7 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Org-mode query language</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">package!</span> org-ql<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">package!</span> helm-org-ql<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -4617,12 +4746,18 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">package!</span> evil-escape <span class="org-builtin">:disable</span> t<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-comment-delimiter">;; </span><span class="org-comment">Nice gantt charts</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">package!</span> ob-mermaid<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:32</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:40 -->
|
||||
<!-- 2021-01-11 lun. 14:50 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Doom Emacs Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -217,7 +217,7 @@ if exist(<span class="org-string">'opts_param'</span>,<span class="org-string">'
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :LaTeX Environment</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
\begin{${<span class="org-highlight-numbers-number">1</span>:equation}}
|
||||
$0
|
||||
$0
|
||||
\end{$1}
|
||||
</pre>
|
||||
</div>
|
||||
@ -572,9 +572,9 @@ $0
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Tikz figure</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src latex :file ${1:figure_name}.pdf :post pdf2svg(file=*this*, ext="png") :exports both</span>
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -594,9 +594,9 @@ $0
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+HEADER: :results raw replace :buffer no :eval no-export :exports both :mkdirp yes</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+HEADER: :output-dir ${2:figs}</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src latex :file $1.pdf :post pdf2svg(file=*this*, ext="png") :exports both</span>
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+NAME: fig:$1</span>
|
||||
@ -616,9 +616,9 @@ $0
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
* ${<span class="org-highlight-numbers-number">1</span>:Title/Description of the figure}
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src latex :file ${2:figure_name}.pdf :tangle figs/$2.tex :exports ${3:both}</span>
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:$2</span>
|
||||
@ -774,18 +774,18 @@ $0
|
||||
This Matlab function is accessible [[file:src/$2.m][here]].
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab</span>
|
||||
<span class="org-variable-name">function </span>[${<span class="org-highlight-numbers-number">4</span>:in_data}] = $2(${<span class="org-highlight-numbers-number">3</span>:in_data})
|
||||
% $2 - $0
|
||||
%
|
||||
<span class="org-variable-name">% Syntax: </span>[<span class="org-constant">$4</span>] = $2($3)
|
||||
%
|
||||
% Inputs:
|
||||
% - $3 -
|
||||
%
|
||||
% Outputs:
|
||||
% - $4 -
|
||||
<span class="org-variable-name">function </span>[${<span class="org-highlight-numbers-number">4</span>:in_data}] = $2(${<span class="org-highlight-numbers-number">3</span>:in_data})
|
||||
% $2 - $0
|
||||
%
|
||||
<span class="org-variable-name">% Syntax: </span>[<span class="org-constant">$4</span>] = $2($3)
|
||||
%
|
||||
% Inputs:
|
||||
% - $3 -
|
||||
%
|
||||
% Outputs:
|
||||
% - $4 -
|
||||
|
||||
end
|
||||
end
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -808,17 +808,17 @@ This Matlab function is accessible [[file:src/$2.m][here]].
|
||||
|
||||
** ZIP file containing the data and matlab files :ignore:
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src bash :exports none :results none</span>
|
||||
if [ matlab/$2.m -nt data/$2.zip ]; then
|
||||
cp matlab/$2.m $2.m;
|
||||
zip data/$2 \
|
||||
mat/data.mat \
|
||||
$2.m
|
||||
rm $2.m;
|
||||
fi
|
||||
if [ matlab/$2.m -nt data/$2.zip ]; then
|
||||
cp matlab/$2.m $2.m;
|
||||
zip data/$2 \
|
||||
mat/data.mat \
|
||||
$2.m
|
||||
rm $2.m;
|
||||
fi
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_note</span>
|
||||
All the files (data and Matlab scripts) are accessible [[file:data/$2.zip][here]].
|
||||
All the files (data and Matlab scripts) are accessible [[file:data/$2.zip][here]].
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_note</span>
|
||||
|
||||
$0
|
||||
@ -836,11 +836,11 @@ $0
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
** Matlab Init :noexport:ignore:
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name)</span>
|
||||
<<matlab-dir>>
|
||||
<<matlab-dir>>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab :exports none :results silent :noweb yes</span>
|
||||
<<matlab-init>>
|
||||
<<matlab-init>>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
|
||||
$0
|
||||
@ -857,7 +857,7 @@ $0
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Table</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab :exports results :results value table replace :tangle no :post addhdr(*this*)</span>
|
||||
data2orgtable(${<span class="org-highlight-numbers-number">1</span>:data}, {${<span class="org-highlight-numbers-number">2</span>:<span class="org-string">'rowlabel'</span>}}, {${<span class="org-highlight-numbers-number">3</span>:<span class="org-string">'collabel'</span>}}, <span class="org-string">' %.1f '</span>);
|
||||
data2orgtable(${<span class="org-highlight-numbers-number">1</span>:data}, {${<span class="org-highlight-numbers-number">2</span>:<span class="org-string">'rowlabel'</span>}}, {${<span class="org-highlight-numbers-number">3</span>:<span class="org-string">'collabel'</span>}}, <span class="org-string">' %.1f '</span>);
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
$0
|
||||
</pre>
|
||||
@ -873,7 +873,7 @@ $0
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Value</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab :results value replace :exports results :tangle no</span>
|
||||
sprintf(<span class="org-string">'x = %.2g'</span>, x);
|
||||
sprintf(<span class="org-string">'x = %.2g'</span>, x);
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
$0
|
||||
</pre>
|
||||
@ -895,7 +895,7 @@ $0
|
||||
:END:
|
||||
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src bash :tangle ~/.local/bin/$1</span>
|
||||
$0
|
||||
$0
|
||||
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -905,7 +905,7 @@ $0
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:40</p>
|
||||
<p class="date">Created: 2021-01-11 lun. 14:50</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
BIN
docs/figs/mermaid.png
Normal file
BIN
docs/figs/mermaid.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>I3 Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -250,6 +250,7 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
|
||||
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"khal"</span>] floating enable, resize set <span class="org-highlight-numbers-number">600</span> <span class="org-highlight-numbers-number">600</span>, move position center
|
||||
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"ncmpcpp"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">400</span>, move position center
|
||||
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"nmtui"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position center
|
||||
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"linkding"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position center
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -291,7 +292,7 @@ exec --no-startup-id polybar top >>/tmp/polybar.log 2>&1 &
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
191
docs/mail.html
191
docs/mail.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Mail Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -25,8 +25,8 @@
|
||||
<li><a href="#mbsync"><code>mbsync</code> - Synchronize Mailboxes</a>
|
||||
<ul>
|
||||
<li><a href="#orgfe8c5af">Global Defaults</a></li>
|
||||
<li><a href="#org285559b">Gmail Account</a></li>
|
||||
<li><a href="#org4a88ed5">ESRF Account</a></li>
|
||||
<li><a href="#orgb928086">Gmail Account</a></li>
|
||||
<li><a href="#org818eb8b">ESRF Account</a></li>
|
||||
<li><a href="#org62106bc">ULG Student Account</a></li>
|
||||
<li><a href="#org0b87d58">ULG Personal Account</a></li>
|
||||
</ul>
|
||||
@ -34,8 +34,8 @@
|
||||
<li><a href="#msmtp"><code>msmtp</code> - Send Mails</a>
|
||||
<ul>
|
||||
<li><a href="#org4a1b391">Defaults</a></li>
|
||||
<li><a href="#orgb928086">Gmail Account</a></li>
|
||||
<li><a href="#org818eb8b">ESRF Account</a></li>
|
||||
<li><a href="#org6d923d6">Gmail Account</a></li>
|
||||
<li><a href="#org938fdb8">ESRF Account</a></li>
|
||||
<li><a href="#orga821cde">ULG Account</a></li>
|
||||
<li><a href="#org9bced56">ULIEGE Account</a></li>
|
||||
<li><a href="#org8274d8c">Default Account</a></li>
|
||||
@ -48,11 +48,11 @@
|
||||
<ul>
|
||||
<li><a href="#orgabf02bf">Unding all the key bindings</a></li>
|
||||
<li><a href="#orgab6327c">Quit Neomutt</a></li>
|
||||
<li><a href="#org39a5bd8">Generic</a></li>
|
||||
<li><a href="#orgbcac58d">Generic</a></li>
|
||||
<li><a href="#orgc3a79b4">Index and Pager</a></li>
|
||||
<li><a href="#orge2cd847">Limit</a></li>
|
||||
<li><a href="#orgdaa2ab4">Search</a></li>
|
||||
<li><a href="#org157cd54">Attachments</a></li>
|
||||
<li><a href="#orgdd569c6">Attachments</a></li>
|
||||
<li><a href="#orga27e33b">Compose</a>
|
||||
<ul>
|
||||
<li><a href="#orgf944cb5">Attach with Ranger Script</a></li>
|
||||
@ -60,9 +60,8 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1ff0684">Browser</a></li>
|
||||
<li><a href="#orgbcac58d">Generic</a></li>
|
||||
<li><a href="#org5aa33de">Copy and move mails</a></li>
|
||||
<li><a href="#org4faa6c7">Sidebar</a></li>
|
||||
<li><a href="#org66ef145">Generic</a></li>
|
||||
<li><a href="#org06169f7">Sidebar</a></li>
|
||||
<li><a href="#orgd383cd7">Reload Configuration</a></li>
|
||||
<li><a href="#org5fccb4d">urlview - Open URL in emails</a></li>
|
||||
<li><a href="#orgbe837d6">Searching using Mu</a></li>
|
||||
@ -77,9 +76,9 @@
|
||||
<ul>
|
||||
<li><a href="#orgcceb03a">Basic colors</a></li>
|
||||
<li><a href="#orgfd072f9">Index</a></li>
|
||||
<li><a href="#org14eab89">Sidebar</a></li>
|
||||
<li><a href="#org2ce62d6">Sidebar</a></li>
|
||||
<li><a href="#org35e03db">Message headers</a></li>
|
||||
<li><a href="#orgda814c8">Attachments</a></li>
|
||||
<li><a href="#org61d2492">Attachments</a></li>
|
||||
<li><a href="#orgf06407f">Body</a></li>
|
||||
<li><a href="#org28ee304">PGP</a></li>
|
||||
<li><a href="#org1894a8b">Urls</a></li>
|
||||
@ -93,26 +92,26 @@
|
||||
<ul>
|
||||
<li><a href="#org828ef22">Gmail</a>
|
||||
<ul>
|
||||
<li><a href="#orge241344">Configuration</a></li>
|
||||
<li><a href="#org57cee98">Signature</a></li>
|
||||
<li><a href="#org39ab42b">Configuration</a></li>
|
||||
<li><a href="#org1a1a20b">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org75c25aa">ESRF</a>
|
||||
<ul>
|
||||
<li><a href="#org4eb4255">Configuration</a></li>
|
||||
<li><a href="#org1a53d5f">Signature</a></li>
|
||||
<li><a href="#org15a760b">Configuration</a></li>
|
||||
<li><a href="#orgc7721df">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8c506c3">ULG</a>
|
||||
<ul>
|
||||
<li><a href="#orgf3396bc">Configuration</a></li>
|
||||
<li><a href="#org06a4456">Signature</a></li>
|
||||
<li><a href="#org9dbff79">Configuration</a></li>
|
||||
<li><a href="#orgba5f72d">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org72df244">ULIEGE</a>
|
||||
<ul>
|
||||
<li><a href="#org39ab42b">Configuration</a></li>
|
||||
<li><a href="#org1a1a20b">Signature</a></li>
|
||||
<li><a href="#org27216c2">Configuration</a></li>
|
||||
<li><a href="#org655b864">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -128,13 +127,13 @@
|
||||
<li><a href="#orgda776cc">Headers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org06169f7">Sidebar</a>
|
||||
<li><a href="#orgcd09540">Sidebar</a>
|
||||
<ul>
|
||||
<li><a href="#org763534f">General Config</a></li>
|
||||
<li><a href="#org6ca1b3c">Mailboxes to show in the sidebar.</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgdd569c6">Attachments</a>
|
||||
<li><a href="#org3f46ed0">Attachments</a>
|
||||
<ul>
|
||||
<li><a href="#orgc93e665">Attachment View Options</a></li>
|
||||
<li><a href="#orge340736">Open Attachment</a></li>
|
||||
@ -187,9 +186,9 @@ Expunge Both
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org285559b" class="outline-3">
|
||||
<h3 id="org285559b">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-org285559b">
|
||||
<div id="outline-container-orgb928086" class="outline-3">
|
||||
<h3 id="orgb928086">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-orgb928086">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">IMAPAccount gmail
|
||||
Host imap.gmail.com
|
||||
@ -264,9 +263,9 @@ Sync Pull
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4a88ed5" class="outline-3">
|
||||
<h3 id="org4a88ed5">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org4a88ed5">
|
||||
<div id="outline-container-org818eb8b" class="outline-3">
|
||||
<h3 id="org818eb8b">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org818eb8b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">IMAPAccount esrf
|
||||
Host imaps.esrf.fr
|
||||
@ -481,9 +480,9 @@ tls_certcheck off
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb928086" class="outline-3">
|
||||
<h3 id="orgb928086">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-orgb928086">
|
||||
<div id="outline-container-org6d923d6" class="outline-3">
|
||||
<h3 id="org6d923d6">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-org6d923d6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">account gmail
|
||||
host smtp.gmail.com
|
||||
@ -497,9 +496,9 @@ passwordeval <span class="org-string">"pass email/dehaeze.thomas@gmail.com"</spa
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org818eb8b" class="outline-3">
|
||||
<h3 id="org818eb8b">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org818eb8b">
|
||||
<div id="outline-container-org938fdb8" class="outline-3">
|
||||
<h3 id="org938fdb8">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org938fdb8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">account esrf
|
||||
host smtps.esrf.fr
|
||||
@ -882,9 +881,9 @@ macro index q <span class="org-string">"<shell-escape>if [ $TMUX ]; then t
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org39a5bd8" class="outline-4">
|
||||
<h4 id="org39a5bd8">Generic</h4>
|
||||
<div class="outline-text-4" id="text-org39a5bd8">
|
||||
<div id="outline-container-orgbcac58d" class="outline-4">
|
||||
<h4 id="orgbcac58d">Generic</h4>
|
||||
<div class="outline-text-4" id="text-orgbcac58d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind generic Q exit
|
||||
|
||||
@ -956,12 +955,11 @@ macro index \Cr \
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind index za collapse-thread
|
||||
bind index zA collapse-all <span class="org-comment-delimiter"># </span><span class="org-comment">Missing :folddisable/foldenable</span>
|
||||
<pre class="src src-conf">bind index z collapse-thread
|
||||
bind index Z collapse-all
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
|
||||
<p>
|
||||
Write/Reply/Forward mail
|
||||
</p>
|
||||
@ -1022,8 +1020,18 @@ Labels
|
||||
bind index,pager Y modify-labels
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Copy and move mails
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">macro index C <span class="org-string">"<copy-message>?<toggle-mailboxes>"</span> <span class="org-string">"copy a message to a mailbox"</span>
|
||||
macro index M <span class="org-string">"<save-message>?<toggle-mailboxes>"</span> <span class="org-string">"move a message to a mailbox"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-orge2cd847" class="outline-4">
|
||||
<h4 id="orge2cd847">Limit</h4>
|
||||
@ -1049,9 +1057,9 @@ bind index,pager N search-opposite
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org157cd54" class="outline-4">
|
||||
<h4 id="org157cd54">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-org157cd54">
|
||||
<div id="outline-container-orgdd569c6" class="outline-4">
|
||||
<h4 id="orgdd569c6">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-orgdd569c6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind attach l view-attach
|
||||
|
||||
@ -1149,9 +1157,9 @@ bind browser q exit
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbcac58d" class="outline-4">
|
||||
<h4 id="orgbcac58d">Generic</h4>
|
||||
<div class="outline-text-4" id="text-orgbcac58d">
|
||||
<div id="outline-container-org66ef145" class="outline-4">
|
||||
<h4 id="org66ef145">Generic</h4>
|
||||
<div class="outline-text-4" id="text-org66ef145">
|
||||
<p>
|
||||
Enter Command
|
||||
</p>
|
||||
@ -1162,20 +1170,9 @@ Enter Command
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5aa33de" class="outline-4">
|
||||
<h4 id="org5aa33de">Copy and move mails</h4>
|
||||
<div class="outline-text-4" id="text-org5aa33de">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">macro index C <span class="org-string">"<copy-message>?<toggle-mailboxes>"</span> <span class="org-string">"copy a message to a mailbox"</span>
|
||||
macro index M <span class="org-string">"<save-message>?<toggle-mailboxes>"</span> <span class="org-string">"move a message to a mailbox"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4faa6c7" class="outline-4">
|
||||
<h4 id="org4faa6c7">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org4faa6c7">
|
||||
<div id="outline-container-org06169f7" class="outline-4">
|
||||
<h4 id="org06169f7">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org06169f7">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind index,pager \Cp sidebar-prev
|
||||
bind index,pager \Cn sidebar-next
|
||||
@ -1338,9 +1335,9 @@ color index brightcolor000 color001 <span class="org-string">"~v~(~D)"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org14eab89" class="outline-4">
|
||||
<h4 id="org14eab89">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org14eab89">
|
||||
<div id="outline-container-org2ce62d6" class="outline-4">
|
||||
<h4 id="org2ce62d6">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org2ce62d6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"> color sidebar_indicator color000 color021 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is open</span>
|
||||
color sidebar_highlight color000 color003 <span class="org-comment-delimiter"># </span><span class="org-comment">Mailbox is highlighted</span>
|
||||
@ -1363,9 +1360,9 @@ color header brightcolor004 color000 <span class="org-string">"^(Subject)"</
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgda814c8" class="outline-4">
|
||||
<h4 id="orgda814c8">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-orgda814c8">
|
||||
<div id="outline-container-org61d2492" class="outline-4">
|
||||
<h4 id="org61d2492">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-org61d2492">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color if the attachment is autoviewed</span>
|
||||
color attach_headers brightgreen default <span class="org-string">"Autoview"</span>
|
||||
@ -1511,9 +1508,9 @@ macro index,pager gm <span class="org-string">"<change-folder>+gmail/Inbox
|
||||
<h4 id="org828ef22">Gmail</h4>
|
||||
<div class="outline-text-4" id="text-org828ef22">
|
||||
</div>
|
||||
<div id="outline-container-orge241344" class="outline-5">
|
||||
<h5 id="orge241344">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-orge241344">
|
||||
<div id="outline-container-org39ab42b" class="outline-5">
|
||||
<h5 id="org39ab42b">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org39ab42b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"dehaeze.thomas@gmail.com"</span>
|
||||
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"~/.config/neomutt/bin/send_mail.sh gmail"</span>
|
||||
@ -1537,9 +1534,9 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org57cee98" class="outline-5">
|
||||
<h5 id="org57cee98">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org57cee98">
|
||||
<div id="outline-container-org1a1a20b" class="outline-5">
|
||||
<h5 id="org1a1a20b">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org1a1a20b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
@ -1559,9 +1556,9 @@ This empty code block is used to add a new line after signature
|
||||
<h4 id="org75c25aa">ESRF</h4>
|
||||
<div class="outline-text-4" id="text-org75c25aa">
|
||||
</div>
|
||||
<div id="outline-container-org4eb4255" class="outline-5">
|
||||
<h5 id="org4eb4255">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org4eb4255">
|
||||
<div id="outline-container-org15a760b" class="outline-5">
|
||||
<h5 id="org15a760b">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org15a760b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@esrf.fr"</span>
|
||||
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"~/.config/neomutt/bin/send_mail.sh esrf"</span>
|
||||
@ -1585,9 +1582,9 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1a53d5f" class="outline-5">
|
||||
<h5 id="org1a53d5f">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org1a53d5f">
|
||||
<div id="outline-container-orgc7721df" class="outline-5">
|
||||
<h5 id="orgc7721df">Signature</h5>
|
||||
<div class="outline-text-5" id="text-orgc7721df">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
@ -1607,9 +1604,9 @@ This empty code block is used to add a new line after signature
|
||||
<h4 id="org8c506c3">ULG</h4>
|
||||
<div class="outline-text-4" id="text-org8c506c3">
|
||||
</div>
|
||||
<div id="outline-container-orgf3396bc" class="outline-5">
|
||||
<h5 id="orgf3396bc">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-orgf3396bc">
|
||||
<div id="outline-container-org9dbff79" class="outline-5">
|
||||
<h5 id="org9dbff79">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org9dbff79">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"thomas.dehaeze@doct.uliege.be"</span>
|
||||
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"~/.config/neomutt/bin/send_mail.sh ulg"</span>
|
||||
@ -1633,9 +1630,9 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org06a4456" class="outline-5">
|
||||
<h5 id="org06a4456">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org06a4456">
|
||||
<div id="outline-container-orgba5f72d" class="outline-5">
|
||||
<h5 id="orgba5f72d">Signature</h5>
|
||||
<div class="outline-text-5" id="text-orgba5f72d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
@ -1655,9 +1652,9 @@ This empty code block is used to add a new line after signature
|
||||
<h4 id="org72df244">ULIEGE</h4>
|
||||
<div class="outline-text-4" id="text-org72df244">
|
||||
</div>
|
||||
<div id="outline-container-org39ab42b" class="outline-5">
|
||||
<h5 id="org39ab42b">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org39ab42b">
|
||||
<div id="outline-container-org27216c2" class="outline-5">
|
||||
<h5 id="org27216c2">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org27216c2">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name">set from</span> = <span class="org-string">"tdehaeze@uliege.be"</span>
|
||||
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"~/.config/neomutt/bin/send_mail.sh uliege"</span>
|
||||
@ -1681,9 +1678,9 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1a1a20b" class="outline-5">
|
||||
<h5 id="org1a1a20b">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org1a1a20b">
|
||||
<div id="outline-container-org655b864" class="outline-5">
|
||||
<h5 id="org655b864">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org655b864">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
@ -1825,9 +1822,9 @@ hdr_order from: to: cc: date: subject: <span class="org-comment-delimiter"># </
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org06169f7" class="outline-3">
|
||||
<h3 id="org06169f7">Sidebar</h3>
|
||||
<div class="outline-text-3" id="text-org06169f7">
|
||||
<div id="outline-container-orgcd09540" class="outline-3">
|
||||
<h3 id="orgcd09540">Sidebar</h3>
|
||||
<div class="outline-text-3" id="text-orgcd09540">
|
||||
</div>
|
||||
<div id="outline-container-org763534f" class="outline-4">
|
||||
<h4 id="org763534f">General Config</h4>
|
||||
@ -1934,9 +1931,9 @@ named-mailboxes <span class="org-string">"  Trash"</span> =uliege/Trash
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd569c6" class="outline-3">
|
||||
<h3 id="orgdd569c6">Attachments</h3>
|
||||
<div class="outline-text-3" id="text-orgdd569c6">
|
||||
<div id="outline-container-org3f46ed0" class="outline-3">
|
||||
<h3 id="org3f46ed0">Attachments</h3>
|
||||
<div class="outline-text-3" id="text-org3f46ed0">
|
||||
</div>
|
||||
<div id="outline-container-orgc93e665" class="outline-4">
|
||||
<h4 id="orgc93e665">Attachment View Options</h4>
|
||||
@ -2150,7 +2147,7 @@ text/rtf; libreoffice --nologo --writer <span class="org-string">'%s'</span>; co
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
285
docs/nas.html
285
docs/nas.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-11 lun. 14:50 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Home Server</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -48,62 +48,68 @@
|
||||
<li><a href="#orgab9cc12">Update System/Packages</a></li>
|
||||
<li><a href="#orgbd671d1">Docker Commands</a></li>
|
||||
<li><a href="#orgc233df6">Add User and Password for Basic Authentication</a></li>
|
||||
<li><a href="#orge8a6010">Snapraid</a></li>
|
||||
<li><a href="#org33e06c1">Snapraid</a></li>
|
||||
<li><a href="#orged978b5">Restore Online backup with <code>restic</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga8d1885">Docker-Compose</a>
|
||||
<ul>
|
||||
<li><a href="#orgff78ad6">Networks</a></li>
|
||||
<li><a href="#org0df1fca">Traefik</a></li>
|
||||
<li><a href="#orgbf7fb7b">Homer</a>
|
||||
<li><a href="#org9442cd9"><code>traefik</code> - Application proxy</a></li>
|
||||
<li><a href="#org682fd4a"><code>homer</code> - Home page</a>
|
||||
<ul>
|
||||
<li><a href="#org66a172e"><code>config.yml</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgcd8f174">Restic</a>
|
||||
<li><a href="#org7d77805"><code>restic</code> - Automatic online backups</a>
|
||||
<ul>
|
||||
<li><a href="#orgb2219b0"><code>rclone.conf</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org0fd5b56">Snapraid</a>
|
||||
<li><a href="#orgba8c1aa"><code>snapraid</code> - Manage local backup with parity disk</a>
|
||||
<ul>
|
||||
<li><a href="#org243fb45"><code>snapraid.conf</code></a></li>
|
||||
<li><a href="#orgf79de7e"><code>snapraid-runner.conf</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org71bbad9">Portainer</a></li>
|
||||
<li><a href="#org2690f5c">Wireguard</a></li>
|
||||
<li><a href="#orgfce2f91">Gitea</a></li>
|
||||
<li><a href="#org5f91f36">Caddy - Research Pages</a>
|
||||
<li><a href="#org1646b45"><code>portainer</code> - Manage docker</a></li>
|
||||
<li><a href="#org42336f6"><code>wireguard</code> - VPN</a></li>
|
||||
<li><a href="#org3bffa6e"><code>gitea</code> - Git server</a></li>
|
||||
<li><a href="#org5079d4d"><code>caddy</code> - Research Pages</a>
|
||||
<ul>
|
||||
<li><a href="#org0b6782a"><code>Caddyfile</code></a></li>
|
||||
<li><a href="#orgefebb52"><code>Caddyfile</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org2a95802">Caddy - Dotfiles</a>
|
||||
<li><a href="#org561b908"><code>caddy</code> - Dotfiles</a>
|
||||
<ul>
|
||||
<li><a href="#orga8fcffa"><code>Caddyfile</code></a></li>
|
||||
<li><a href="#orgcb02743"><code>Caddyfile</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orga6fbf52">Hugo</a></li>
|
||||
<li><a href="#org52d5b6f">Syncthing</a></li>
|
||||
<li><a href="#org18acd57">Miniflux</a></li>
|
||||
<li><a href="#orgc641172">Home Assistant</a></li>
|
||||
<li><a href="#org658129f">Jellyfin</a></li>
|
||||
<li><a href="#orgdbb2dbc">Filebrowser</a>
|
||||
<li><a href="#org361b49e"><code>hugo</code> - Wiki + Blog</a></li>
|
||||
<li><a href="#orgeea56a9"><code>syncthing</code> - File Synchronization</a></li>
|
||||
<li><a href="#org061c36c"><code>miniflux</code> - RSS reader</a></li>
|
||||
<li><a href="#org51bdaa4"><code>homeassistant</code> - Home Automation</a></li>
|
||||
<li><a href="#org675a101"><code>jellyfin</code> - Media server</a></li>
|
||||
<li><a href="#orga8dc1e3"><code>filebrowser</code> - Web file browser</a>
|
||||
<ul>
|
||||
<li><a href="#org191aab8"><code>.filebrowser.json</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org625d5ca">Scrutiny</a></li>
|
||||
<li><a href="#org27d8ca3">Guacamole</a></li>
|
||||
<li><a href="#orgff0412d">Transmission</a></li>
|
||||
<li><a href="#orge9d3c90">Aria2 - Daemon</a>
|
||||
<li><a href="#org3a5502c"><code>scrutiny</code> - Hard drive monitoring</a></li>
|
||||
<li><a href="#org105492e"><code>guacamole</code> - Remote connection</a></li>
|
||||
<li><a href="#org12e136c"><code>transmission</code> - Torrent server</a></li>
|
||||
<li><a href="#orgceb876c"><code>aria2</code> - Download daemon</a>
|
||||
<ul>
|
||||
<li><a href="#orgaafd6da"><code>aria2.conf</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgffad5f9">Deemix</a></li>
|
||||
<li><a href="#org759769e"><code>aria2-ui</code> - Download web UI</a></li>
|
||||
<li><a href="#orgdb3057e"><code>deemix</code> - Music Download</a>
|
||||
<ul>
|
||||
<li><a href="#orgc2325d9"><code>.arl</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org98dce20"><code>linkding</code> - Bookmark manager</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgbb869cd"><code>.env</code> - Variable used for Docker Compose</a></li>
|
||||
@ -528,9 +534,9 @@ This will delete all unused images, volumes and networks.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge8a6010" class="outline-3">
|
||||
<h3 id="orge8a6010">Snapraid</h3>
|
||||
<div class="outline-text-3" id="text-orge8a6010">
|
||||
<div id="outline-container-org33e06c1" class="outline-3">
|
||||
<h3 id="org33e06c1">Snapraid</h3>
|
||||
<div class="outline-text-3" id="text-org33e06c1">
|
||||
<p>
|
||||
To see all files “backed up” by snapraid, use:
|
||||
</p>
|
||||
@ -651,9 +657,9 @@ You can use <code>latest</code> instead of the ID.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0df1fca" class="outline-3">
|
||||
<h3 id="org0df1fca">Traefik</h3>
|
||||
<div class="outline-text-3" id="text-org0df1fca">
|
||||
<div id="outline-container-org9442cd9" class="outline-3">
|
||||
<h3 id="org9442cd9"><code>traefik</code> - Application proxy</h3>
|
||||
<div class="outline-text-3" id="text-org9442cd9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">services</span>:
|
||||
</pre>
|
||||
@ -738,9 +744,9 @@ You can use <code>latest</code> instead of the ID.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgbf7fb7b" class="outline-3">
|
||||
<h3 id="orgbf7fb7b">Homer</h3>
|
||||
<div class="outline-text-3" id="text-orgbf7fb7b">
|
||||
<div id="outline-container-org682fd4a" class="outline-3">
|
||||
<h3 id="org682fd4a"><code>homer</code> - Home page</h3>
|
||||
<div class="outline-text-3" id="text-org682fd4a">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">homer</span>:
|
||||
<span class="org-variable-name">container_name</span>: homer
|
||||
@ -795,6 +801,10 @@ You can use <code>latest</code> instead of the ID.
|
||||
<span class="org-variable-name">logo</span>: <span class="org-string">"/assets/tools/orgmode.png"</span>
|
||||
<span class="org-variable-name">subtitle</span>: <span class="org-string">"Research Pages"</span>
|
||||
<span class="org-variable-name">url</span>: <span class="org-string">"https://research.tdehaeze.xyz"</span>
|
||||
- <span class="org-variable-name">name</span>: <span class="org-string">"Dotfiles"</span>
|
||||
<span class="org-variable-name">logo</span>: <span class="org-string">"/assets/tools/dotfiles.png"</span>
|
||||
<span class="org-variable-name">subtitle</span>: <span class="org-string">"My Literate Dotfiles"</span>
|
||||
<span class="org-variable-name">url</span>: <span class="org-string">"https://dotfiles.tdehaeze.xyz"</span>
|
||||
- <span class="org-variable-name">name</span>: <span class="org-string">"Utilities"</span>
|
||||
<span class="org-variable-name">icon</span>: <span class="org-string">"fas fa-rss"</span>
|
||||
<span class="org-variable-name">items</span>:
|
||||
@ -844,10 +854,10 @@ You can use <code>latest</code> instead of the ID.
|
||||
<span class="org-variable-name">subtitle</span>: <span class="org-string">"Download Music"</span>
|
||||
<span class="org-variable-name">logo</span>: <span class="org-string">"/assets/tools/deezer.png"</span>
|
||||
<span class="org-variable-name">url</span>: <span class="org-string">"https://deemix.tdehaeze.xyz"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">- name: "Aria2"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">logo: "/assets/tools/aria2.png"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">subtitle: "Direct Downloads"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">url: "https://dl.tdehaeze.xyz"</span>
|
||||
- <span class="org-variable-name">name</span>: <span class="org-string">"Aria2"</span>
|
||||
<span class="org-variable-name">logo</span>: <span class="org-string">"/assets/tools/aria2.png"</span>
|
||||
<span class="org-variable-name">subtitle</span>: <span class="org-string">"Direct Downloads"</span>
|
||||
<span class="org-variable-name">url</span>: <span class="org-string">"http://dl.tdehaeze.xyz"</span>
|
||||
- <span class="org-variable-name">name</span>: <span class="org-string">"Media"</span>
|
||||
<span class="org-variable-name">icon</span>: <span class="org-string">"fas fa-film"</span>
|
||||
<span class="org-variable-name">items</span>:
|
||||
@ -903,9 +913,9 @@ You can use <code>latest</code> instead of the ID.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcd8f174" class="outline-3">
|
||||
<h3 id="orgcd8f174">Restic</h3>
|
||||
<div class="outline-text-3" id="text-orgcd8f174">
|
||||
<div id="outline-container-org7d77805" class="outline-3">
|
||||
<h3 id="org7d77805"><code>restic</code> - Automatic online backups</h3>
|
||||
<div class="outline-text-3" id="text-org7d77805">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">restic</span>:
|
||||
<span class="org-variable-name">container_name</span>: restic
|
||||
@ -944,9 +954,9 @@ You can use <code>latest</code> instead of the ID.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0fd5b56" class="outline-3">
|
||||
<h3 id="org0fd5b56">Snapraid</h3>
|
||||
<div class="outline-text-3" id="text-org0fd5b56">
|
||||
<div id="outline-container-orgba8c1aa" class="outline-3">
|
||||
<h3 id="orgba8c1aa"><code>snapraid</code> - Manage local backup with parity disk</h3>
|
||||
<div class="outline-text-3" id="text-orgba8c1aa">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">snapraid</span>:
|
||||
<span class="org-variable-name">container_name</span>: snapraid
|
||||
@ -1074,9 +1084,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
|
||||
|
||||
<div id="outline-container-org71bbad9" class="outline-3">
|
||||
<h3 id="org71bbad9">Portainer</h3>
|
||||
<div class="outline-text-3" id="text-org71bbad9">
|
||||
<div id="outline-container-org1646b45" class="outline-3">
|
||||
<h3 id="org1646b45"><code>portainer</code> - Manage docker</h3>
|
||||
<div class="outline-text-3" id="text-org1646b45">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">portainer</span>:
|
||||
<span class="org-variable-name">container_name</span>: portainer
|
||||
@ -1106,9 +1116,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2690f5c" class="outline-3">
|
||||
<h3 id="org2690f5c">Wireguard</h3>
|
||||
<div class="outline-text-3" id="text-org2690f5c">
|
||||
<div id="outline-container-org42336f6" class="outline-3">
|
||||
<h3 id="org42336f6"><code>wireguard</code> - VPN</h3>
|
||||
<div class="outline-text-3" id="text-org42336f6">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">wireguard</span>:
|
||||
<span class="org-variable-name">container_name</span>: wireguard
|
||||
@ -1137,13 +1147,13 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgfce2f91" class="outline-3">
|
||||
<h3 id="orgfce2f91">Gitea</h3>
|
||||
<div class="outline-text-3" id="text-orgfce2f91">
|
||||
<div id="outline-container-org3bffa6e" class="outline-3">
|
||||
<h3 id="org3bffa6e"><code>gitea</code> - Git server</h3>
|
||||
<div class="outline-text-3" id="text-org3bffa6e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">gitea</span>:
|
||||
<span class="org-variable-name">container_name</span>: git
|
||||
<span class="org-variable-name">image</span>: gitea/gitea:1.12.4
|
||||
<span class="org-variable-name">image</span>: gitea/gitea:1.13.2
|
||||
<span class="org-variable-name">depends_on</span>:
|
||||
- gitea_db
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
@ -1190,9 +1200,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5f91f36" class="outline-3">
|
||||
<h3 id="org5f91f36">Caddy - Research Pages</h3>
|
||||
<div class="outline-text-3" id="text-org5f91f36">
|
||||
<div id="outline-container-org5079d4d" class="outline-3">
|
||||
<h3 id="org5079d4d"><code>caddy</code> - Research Pages</h3>
|
||||
<div class="outline-text-3" id="text-org5079d4d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">caddy</span>:
|
||||
<span class="org-variable-name">container_name</span>: caddy
|
||||
@ -1220,9 +1230,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org0b6782a" class="outline-4">
|
||||
<h4 id="org0b6782a"><code>Caddyfile</code></h4>
|
||||
<div class="outline-text-4" id="text-org0b6782a">
|
||||
<div id="outline-container-orgefebb52" class="outline-4">
|
||||
<h4 id="orgefebb52"><code>Caddyfile</code></h4>
|
||||
<div class="outline-text-4" id="text-orgefebb52">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">0.0.0.0:<span class="org-highlight-numbers-number">2015</span> {
|
||||
root /srv/www/
|
||||
@ -1241,9 +1251,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2a95802" class="outline-3">
|
||||
<h3 id="org2a95802">Caddy - Dotfiles</h3>
|
||||
<div class="outline-text-3" id="text-org2a95802">
|
||||
<div id="outline-container-org561b908" class="outline-3">
|
||||
<h3 id="org561b908"><code>caddy</code> - Dotfiles</h3>
|
||||
<div class="outline-text-3" id="text-org561b908">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">dotfiles</span>:
|
||||
<span class="org-variable-name">container_name</span>: dotfiles
|
||||
@ -1270,9 +1280,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga8fcffa" class="outline-4">
|
||||
<h4 id="orga8fcffa"><code>Caddyfile</code></h4>
|
||||
<div class="outline-text-4" id="text-orga8fcffa">
|
||||
<div id="outline-container-orgcb02743" class="outline-4">
|
||||
<h4 id="orgcb02743"><code>Caddyfile</code></h4>
|
||||
<div class="outline-text-4" id="text-orgcb02743">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">0.0.0.0:<span class="org-highlight-numbers-number">2015</span> {
|
||||
root /srv/www/docs/
|
||||
@ -1290,13 +1300,13 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga6fbf52" class="outline-3">
|
||||
<h3 id="orga6fbf52">Hugo</h3>
|
||||
<div class="outline-text-3" id="text-orga6fbf52">
|
||||
<div id="outline-container-org361b49e" class="outline-3">
|
||||
<h3 id="org361b49e"><code>hugo</code> - Wiki + Blog</h3>
|
||||
<div class="outline-text-3" id="text-org361b49e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">hugo</span>:
|
||||
<span class="org-variable-name">container_name</span>: hugo
|
||||
<span class="org-variable-name">image</span>: muninn/hugo-caddy
|
||||
<span class="org-variable-name">image</span>: tdehaeze/hugo-caddy
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
<span class="org-variable-name">networks</span>:
|
||||
- t2_proxy
|
||||
@ -1314,9 +1324,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org52d5b6f" class="outline-3">
|
||||
<h3 id="org52d5b6f">Syncthing</h3>
|
||||
<div class="outline-text-3" id="text-org52d5b6f">
|
||||
<div id="outline-container-orgeea56a9" class="outline-3">
|
||||
<h3 id="orgeea56a9"><code>syncthing</code> - File Synchronization</h3>
|
||||
<div class="outline-text-3" id="text-orgeea56a9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">syncthing</span>:
|
||||
<span class="org-variable-name">container_name</span>: syncthing
|
||||
@ -1353,13 +1363,13 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org18acd57" class="outline-3">
|
||||
<h3 id="org18acd57">Miniflux</h3>
|
||||
<div class="outline-text-3" id="text-org18acd57">
|
||||
<div id="outline-container-org061c36c" class="outline-3">
|
||||
<h3 id="org061c36c"><code>miniflux</code> - RSS reader</h3>
|
||||
<div class="outline-text-3" id="text-org061c36c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">miniflux</span>:
|
||||
<span class="org-variable-name">container_name</span>: miniflux
|
||||
<span class="org-variable-name">image</span>: miniflux/miniflux:latest
|
||||
<span class="org-variable-name">image</span>: miniflux/miniflux
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
<span class="org-variable-name">networks</span>:
|
||||
- t2_proxy
|
||||
@ -1398,9 +1408,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc641172" class="outline-3">
|
||||
<h3 id="orgc641172">Home Assistant</h3>
|
||||
<div class="outline-text-3" id="text-orgc641172">
|
||||
<div id="outline-container-org51bdaa4" class="outline-3">
|
||||
<h3 id="org51bdaa4"><code>homeassistant</code> - Home Automation</h3>
|
||||
<div class="outline-text-3" id="text-org51bdaa4">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">homeassistant</span>:
|
||||
<span class="org-variable-name">container_name</span>: homeassistant
|
||||
@ -1440,9 +1450,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org658129f" class="outline-3">
|
||||
<h3 id="org658129f">Jellyfin</h3>
|
||||
<div class="outline-text-3" id="text-org658129f">
|
||||
<div id="outline-container-org675a101" class="outline-3">
|
||||
<h3 id="org675a101"><code>jellyfin</code> - Media server</h3>
|
||||
<div class="outline-text-3" id="text-org675a101">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">jellyfin</span>:
|
||||
<span class="org-variable-name">container_name</span>: jellyfin
|
||||
@ -1473,9 +1483,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdbb2dbc" class="outline-3">
|
||||
<h3 id="orgdbb2dbc">Filebrowser</h3>
|
||||
<div class="outline-text-3" id="text-orgdbb2dbc">
|
||||
<div id="outline-container-orga8dc1e3" class="outline-3">
|
||||
<h3 id="orga8dc1e3"><code>filebrowser</code> - Web file browser</h3>
|
||||
<div class="outline-text-3" id="text-orga8dc1e3">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">filebrowser</span>:
|
||||
<span class="org-variable-name">container_name</span>: filebrowser
|
||||
@ -1521,9 +1531,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org625d5ca" class="outline-3">
|
||||
<h3 id="org625d5ca">Scrutiny</h3>
|
||||
<div class="outline-text-3" id="text-org625d5ca">
|
||||
<div id="outline-container-org3a5502c" class="outline-3">
|
||||
<h3 id="org3a5502c"><code>scrutiny</code> - Hard drive monitoring</h3>
|
||||
<div class="outline-text-3" id="text-org3a5502c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">scrutiny</span>:
|
||||
<span class="org-variable-name">container_name</span>: scrutiny
|
||||
@ -1557,9 +1567,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org27d8ca3" class="outline-3">
|
||||
<h3 id="org27d8ca3">Guacamole</h3>
|
||||
<div class="outline-text-3" id="text-org27d8ca3">
|
||||
<div id="outline-container-org105492e" class="outline-3">
|
||||
<h3 id="org105492e"><code>guacamole</code> - Remote connection</h3>
|
||||
<div class="outline-text-3" id="text-org105492e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">guacamole</span>:
|
||||
<span class="org-variable-name">image</span>: oznu/guacamole
|
||||
@ -1586,13 +1596,13 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgff0412d" class="outline-3">
|
||||
<h3 id="orgff0412d">Transmission</h3>
|
||||
<div class="outline-text-3" id="text-orgff0412d">
|
||||
<div id="outline-container-org12e136c" class="outline-3">
|
||||
<h3 id="org12e136c"><code>transmission</code> - Torrent server</h3>
|
||||
<div class="outline-text-3" id="text-org12e136c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">transmission-openvpn</span>:
|
||||
<span class="org-variable-name">container_name</span>: transmission
|
||||
<span class="org-variable-name">image</span>: haugene/transmission-openvpn:2.13
|
||||
<span class="org-variable-name">image</span>: haugene/transmission-openvpn
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
<span class="org-variable-name">networks</span>:
|
||||
- t2_proxy
|
||||
@ -1633,9 +1643,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge9d3c90" class="outline-3">
|
||||
<h3 id="orge9d3c90">Aria2 - Daemon</h3>
|
||||
<div class="outline-text-3" id="text-orge9d3c90">
|
||||
<div id="outline-container-orgceb876c" class="outline-3">
|
||||
<h3 id="orgceb876c"><code>aria2</code> - Download daemon</h3>
|
||||
<div class="outline-text-3" id="text-orgceb876c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">aria2</span>:
|
||||
<span class="org-variable-name">container_name</span>: aria2
|
||||
@ -1687,18 +1697,45 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgffad5f9" class="outline-3">
|
||||
<h3 id="orgffad5f9">Deemix</h3>
|
||||
<div class="outline-text-3" id="text-orgffad5f9">
|
||||
<div id="outline-container-org759769e" class="outline-3">
|
||||
<h3 id="org759769e"><code>aria2-ui</code> - Download web UI</h3>
|
||||
<div class="outline-text-3" id="text-org759769e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">aria2-ui</span>:
|
||||
<span class="org-variable-name">container_name</span>: aria2-ui
|
||||
<span class="org-variable-name">image</span>: p3terx/ariang
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
<span class="org-variable-name">networks</span>:
|
||||
- t2_proxy
|
||||
<span class="org-variable-name">environment</span>:
|
||||
- PUID=$PUID
|
||||
- PGID=$PGID
|
||||
<span class="org-variable-name">ports</span>:
|
||||
- 6880:6880
|
||||
<span class="org-variable-name">labels</span>:
|
||||
- <span class="org-string">"traefik.enable=true"</span>
|
||||
- <span class="org-string">"traefik.http.routers.aria2-rtr.entrypoints=http"</span>
|
||||
- <span class="org-string">"traefik.http.routers.aria2-rtr.rule=Host(`dl.$DOMAINNAME`)"</span>
|
||||
- <span class="org-string">"traefik.http.routers.aria2-rtr.tls=false"</span>
|
||||
- <span class="org-string">"traefik.http.routers.aria2-rtr.service=aria2-svc"</span>
|
||||
- <span class="org-string">"traefik.http.services.aria2-svc.loadbalancer.server.port=6880"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdb3057e" class="outline-3">
|
||||
<h3 id="orgdb3057e"><code>deemix</code> - Music Download</h3>
|
||||
<div class="outline-text-3" id="text-orgdb3057e">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">deemix</span>:
|
||||
<span class="org-variable-name">image</span>: registry.gitlab.com/bockiii/deemix-docker
|
||||
<span class="org-variable-name">container_name</span>: deemix
|
||||
<span class="org-variable-name">image</span>: registry.gitlab.com/bockiii/deemix-docker
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
<span class="org-variable-name">networks</span>:
|
||||
- t2_proxy
|
||||
<span class="org-variable-name">volumes</span>:
|
||||
- /srv/storage/Downloads:/downloads
|
||||
- /srv/storage/Music:/downloads
|
||||
- $CONFIGDIR/deemix:/config
|
||||
<span class="org-variable-name">environment</span>:
|
||||
- TZ=$TZ
|
||||
@ -1711,11 +1748,49 @@ exclude .AppleDB
|
||||
- <span class="org-string">"traefik.http.routers.deemix-rtr.rule=Host(`deemix.$DOMAINNAME`)"</span>
|
||||
- <span class="org-string">"traefik.http.routers.deemix-rtr.tls=true"</span>
|
||||
- <span class="org-string">"traefik.http.routers.deemix-rtr.service=deemix-svc"</span>
|
||||
- <span class="org-string">"traefik.http.routers.deemix-rtr.middlewares=traefik-auth"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">- "traefik.http.routers.deemix-rtr.middlewares=traefik-auth"</span>
|
||||
- <span class="org-string">"traefik.http.services.deemix-svc.loadbalancer.server.port=6595"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc2325d9" class="outline-4">
|
||||
<h4 id="orgc2325d9"><code>.arl</code></h4>
|
||||
<div class="outline-text-4" id="text-orgc2325d9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"><span class="org-variable-name"><<get-password(passname</span>=<span class="org-string">"nas/deemix_arl"</span>)>>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org98dce20" class="outline-3">
|
||||
<h3 id="org98dce20"><code>linkding</code> - Bookmark manager</h3>
|
||||
<div class="outline-text-3" id="text-org98dce20">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">linkding</span>:
|
||||
<span class="org-variable-name">container_name</span>: linkding
|
||||
<span class="org-variable-name">image</span>: sissbruecker/linkding:latest
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
<span class="org-variable-name">networks</span>:
|
||||
- t2_proxy
|
||||
<span class="org-variable-name">volumes</span>:
|
||||
- $CONFIGDIR/linkding:/etc/linkding/data
|
||||
<span class="org-variable-name">environment</span>:
|
||||
- TZ=$TZ
|
||||
- PUID=$PUID
|
||||
- PGID=$PGID
|
||||
<span class="org-variable-name">labels</span>:
|
||||
- <span class="org-string">"traefik.enable=true"</span>
|
||||
- <span class="org-string">"traefik.http.routers.linkding-rtr.entrypoints=https"</span>
|
||||
- <span class="org-string">"traefik.http.routers.linkding-rtr.rule=Host(`bm.$DOMAINNAME`)"</span>
|
||||
- <span class="org-string">"traefik.http.routers.linkding-rtr.tls=true"</span>
|
||||
- <span class="org-string">"traefik.http.routers.linkding-rtr.service=linkding-svc"</span>
|
||||
- <span class="org-string">"traefik.http.services.linkding-svc.loadbalancer.server.port=9090"</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1808,7 +1883,7 @@ Type <code>crontab -e</code> and add this line:
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-11 lun. 14:50</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:40 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Qutebrowser Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -23,10 +23,12 @@
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgbf1db67">Import</a></li>
|
||||
<li><a href="#org5c509d0">Auto Config</a></li>
|
||||
<li><a href="#org5c0c4c4">General config</a></li>
|
||||
<li><a href="#org0471984">Content</a></li>
|
||||
<li><a href="#org9d328f1">Editor</a></li>
|
||||
<li><a href="#org2f9fab8">Downloads</a></li>
|
||||
<li><a href="#orga8ea7ad">File Select</a></li>
|
||||
<li><a href="#org8e4c9d3">Colors</a></li>
|
||||
<li><a href="#org945a9d5">Fonts</a></li>
|
||||
<li><a href="#org9d6e7d9">Input</a></li>
|
||||
@ -70,6 +72,19 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c509d0" class="outline-2">
|
||||
<h2 id="org5c509d0">Auto Config</h2>
|
||||
<div class="outline-text-2" id="text-org5c509d0">
|
||||
<p>
|
||||
Do not load config set with <code>:set</code> command in qutebrowser.
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python">config.load_autoconfig(<span class="org-constant">True</span>)
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5c0c4c4" class="outline-2">
|
||||
<h2 id="org5c0c4c4">General config</h2>
|
||||
<div class="outline-text-2" id="text-org5c0c4c4">
|
||||
@ -94,6 +109,7 @@
|
||||
<span class="org-variable-name">c.content.javascript.can_access_clipboard</span> = <span class="org-constant">True</span>
|
||||
<span class="org-variable-name">c.content.pdfjs</span> = <span class="org-constant">False</span>
|
||||
<span class="org-variable-name">c.content.proxy</span> = <span class="org-string">'system'</span>
|
||||
<span class="org-variable-name">c.content.blocking.method</span> = <span class="org-string">'both'</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -124,6 +140,18 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orga8ea7ad" class="outline-2">
|
||||
<h2 id="orga8ea7ad">File Select</h2>
|
||||
<div class="outline-text-2" id="text-orga8ea7ad">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python"><span class="org-variable-name">c.fileselect.handler</span> = <span class="org-string">"default"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">c.fileselect.single_file.command = ['termine', '-e', 'ranger', '--choosefile', '{}']</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">c.fileselect.multiple_files.command = ['termite', '-e', 'ranger', '--choosefiles', '{}']</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org8e4c9d3" class="outline-2">
|
||||
<h2 id="org8e4c9d3">Colors</h2>
|
||||
<div class="outline-text-2" id="text-org8e4c9d3">
|
||||
@ -508,7 +536,7 @@ Annotate with Hypothesis
|
||||
See Amazon price history using CamelCamelCamel
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python">config.bind(<span class="org-string">',A'</span>, <span class="org-string">":open -t https://fr.camelcamelcamel.com/search?sq={url}"</span>)
|
||||
<pre class="src src-python">config.bind(<span class="org-string">',A'</span>, <span class="org-string">"open -t https://fr.camelcamelcamel.com/search?sq={url}"</span>)
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -519,6 +547,11 @@ Org Roam Entry for the current page
|
||||
<pre class="src src-python">config.bind(<span class="org-string">',R'</span>, <span class="org-string">"open javascript:void(location.href='org-protocol://roam-ref?template=r&ref='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title))"</span>)
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-python">config.bind(<span class="org-string">',Z'</span>, <span class="org-string">"open -w https://bm.tdehaeze.xyz/bookmarks/new?url={url}&auto_close"</span>)
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -877,7 +910,7 @@ buku --add <span class="org-string">"</span><span class="org-string"><span class
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:40</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:33 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Ranger</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -38,7 +38,7 @@
|
||||
</li>
|
||||
<li><a href="#orgd57ea4e">Define keys for the browser</a>
|
||||
<ul>
|
||||
<li><a href="#org49c5be5">Basic</a></li>
|
||||
<li><a href="#org527bd08">Basic</a></li>
|
||||
<li><a href="#org1c6f91a">Open Shell in current directory</a></li>
|
||||
<li><a href="#orgdf72b75">Open With</a></li>
|
||||
<li><a href="#org8e148cf">Filter</a></li>
|
||||
@ -62,7 +62,7 @@
|
||||
</li>
|
||||
<li><a href="#org7e7a4ec">Define keys for the console</a>
|
||||
<ul>
|
||||
<li><a href="#org527bd08">Basic</a></li>
|
||||
<li><a href="#orgf964ebf">Basic</a></li>
|
||||
<li><a href="#orga9f3972">Move around</a></li>
|
||||
<li><a href="#org6265874">Line Editing</a></li>
|
||||
</ul>
|
||||
@ -312,8 +312,7 @@ Delete first page of pdf
|
||||
Convert images/pdf/…
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map ,cp shell pdf2png %f
|
||||
map ,cc shell convert-file %f
|
||||
<pre class="src src-conf">map ,c shell convert-file %f
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -452,9 +451,9 @@ Backup to NAS
|
||||
<h3 id="orgd57ea4e">Define keys for the browser</h3>
|
||||
<div class="outline-text-3" id="text-orgd57ea4e">
|
||||
</div>
|
||||
<div id="outline-container-org49c5be5" class="outline-4">
|
||||
<h4 id="org49c5be5">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org49c5be5">
|
||||
<div id="outline-container-org527bd08" class="outline-4">
|
||||
<h4 id="org527bd08">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org527bd08">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map Q quit!
|
||||
map q eval fm.execute_console(<span class="org-string">"shell tmux detach"</span>) if <span class="org-string">'TMUX'</span> in os.environ.keys() else fm.execute_console(<span class="org-string">"quit"</span>)
|
||||
@ -767,9 +766,9 @@ map <span class="org-string">'<any> enter_bookmark %any</span>
|
||||
<h3 id="org7e7a4ec">Define keys for the console</h3>
|
||||
<div class="outline-text-3" id="text-org7e7a4ec">
|
||||
</div>
|
||||
<div id="outline-container-org527bd08" class="outline-4">
|
||||
<h4 id="org527bd08">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org527bd08">
|
||||
<div id="outline-container-orgf964ebf" class="outline-4">
|
||||
<h4 id="orgf964ebf">Basic</h4>
|
||||
<div class="outline-text-4" id="text-orgf964ebf">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">cmap <tab> eval fm.ui.console.tab()
|
||||
cmap <s-tab> eval fm.ui.console.tab(-1)
|
||||
@ -956,10 +955,9 @@ ext <span class="org-highlight-numbers-number">1</span>
|
||||
|
||||
|
||||
<span class="org-variable-name">ext docx?, has wps, X, flag f</span> = wps <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext docx?, has onlyoffice, X, flag f</span> = onlyoffice <span class="org-string">"$@"</span>
|
||||
|
||||
<span class="org-variable-name">ext docx?, has catdoc, terminal</span> = catdoc -- <span class="org-string">"$@"</span> | <span class="org-string">"$PAGER"</span>
|
||||
|
||||
<span class="org-variable-name">ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has wpp, X, flag f</span> = wpp <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has wpp, X, flag f</span> = wpp <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f</span> = gnumeric -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f</span> = kspread -- <span class="org-string">"$@"</span>
|
||||
<span class="org-variable-name">ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f</span> = libreoffice <span class="org-string">"$@"</span>
|
||||
@ -1085,7 +1083,7 @@ label wallpaper, number <span class="org-highlight-numbers-number">14</span>, mi
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:33</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<!-- 2021-02-10 mer. 17:57 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Zathura</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -155,7 +155,7 @@ pdftk $<span class="org-highlight-numbers-number">1</span> <span class="org-type
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
<p class="date">Created: 2021-02-10 mer. 17:57</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
135
doom.org
135
doom.org
@ -11,6 +11,7 @@
|
||||
#+html_head: <link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
#+html_head: <script type="text/javascript" src="./dist/script.js"></script>
|
||||
#+property: header-args:emacs-lisp :tangle ~/.config/doom/config.el :results none :padline no
|
||||
#+auto_tangle: t
|
||||
|
||||
* Installation
|
||||
#+begin_src bash :tangle no
|
||||
@ -297,6 +298,27 @@ This works also with =C-x C-q=
|
||||
)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(defun tdh-screenshot-page ()
|
||||
"Open current page as an SVG file with Inkscape"
|
||||
(interactive)
|
||||
(if (string-match "_" (file-name-base buffer-file-name))
|
||||
(setq filename (read-string "Enter file name:" (car (split-string (file-name-base buffer-file-name) "_"))))
|
||||
(setq filename (read-string "Enter file name:")))
|
||||
(setq filepath (concat "/tmp/" filename ".svg"))
|
||||
(shell-command (concat "pdftk " buffer-file-name " cat " (number-to-string (pdf-view-current-page)) " output /tmp/pdf_page.pdf"))
|
||||
(shell-command (concat "pdf2svg /tmp/pdf_page.pdf " filepath))
|
||||
(start-process "" nil "inkscape" filepath))
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(after! pdf-tools
|
||||
(map! :map pdf-view-mode-map
|
||||
(:desc "Screenshot"
|
||||
:ni "C-c s" 'tdh-screenshot-page)
|
||||
))
|
||||
#+end_src
|
||||
|
||||
** Yassnippets
|
||||
#+begin_src emacs-lisp
|
||||
(push "~/.config/doom/snippets" yas-snippet-dirs)
|
||||
@ -612,6 +634,17 @@ Org Agenda Custom Views
|
||||
)
|
||||
#+end_src
|
||||
|
||||
** Org Agenda HTML
|
||||
This function can be used to export the week calendar to html.
|
||||
This html page can be used as a starting page for the browser.
|
||||
This idea comes from [[https://blog.lambda.cx/posts/org-agenda-new-tab/][here]].
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(defun tdh-org-agenda-to-html ()
|
||||
(interactive)
|
||||
(org-agenda-list)
|
||||
(org-agenda-write "/ssh:thomas@grenoble:~/docker/config/calendar/www/index.html"))
|
||||
#+end_src
|
||||
|
||||
** Org Fancy Priority
|
||||
#+begin_src emacs-lisp
|
||||
(use-package! org-fancy-priorities ; priority icons
|
||||
@ -661,7 +694,7 @@ dunstify --replace=85401 "Event in $TIME minutes" "$MSG"
|
||||
("C" . "comment")
|
||||
("mm" . "src matlab")
|
||||
("mf" . "src matlab :exports none")
|
||||
("mv" . "src matlab :results value replace :exports none :tangle no")
|
||||
("mv" . "src matlab :results value replace :exports results :tangle no")
|
||||
("l" . "src emacs-lisp")
|
||||
("q" . "quote")
|
||||
("s" . "src")
|
||||
@ -1049,13 +1082,13 @@ by spaces.
|
||||
:latex-compiler ("latex -interaction nonstopmode -output-directory %o %f")
|
||||
:image-converter ("dvipng -D %D -T tight -o %O %f"))
|
||||
(dvisvgm
|
||||
:programs ("pdflatex" "dvisvgm")
|
||||
:description "dvi > svg"
|
||||
:message "you need to install the programs: latex and dvisvgm."
|
||||
:image-input-type "dvi"
|
||||
:programs ("xetex" "dvisvgm")
|
||||
:description "xdv > svg"
|
||||
:message "you need to install the programs: xetex and dvisvgm."
|
||||
:image-input-type "xdv"
|
||||
:image-output-type "svg"
|
||||
:image-size-adjust (0.6 . 0.6)
|
||||
:latex-compiler ("latex -interaction nonstopmode -output-directory %o %f")
|
||||
:latex-compiler ("xelatex -no-pdf -output-directory %o %f")
|
||||
:image-converter ("dvisvgm %f -n -b min -c %S -o %O"))
|
||||
))
|
||||
|
||||
@ -1378,6 +1411,14 @@ https://kitchingroup.cheme.cmu.edu/blog/2016/11/07/Better-equation-numbering-in-
|
||||
)
|
||||
#+end_src
|
||||
|
||||
** Org Auto Tangle
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package! org-auto-tangle
|
||||
:after org
|
||||
:hook (org-mode . org-auto-tangle-mode)
|
||||
)
|
||||
#+end_src
|
||||
|
||||
** LaTeX macro both for LaTeX and HTML export
|
||||
https://www.reddit.com/r/orgmode/comments/7u2n0h/tip_for_defining_latex_macros_for_use_in_both/
|
||||
|
||||
@ -1558,7 +1599,7 @@ The file is taken from a start directory set by `tdh-image-dir' and moved to the
|
||||
** Render Tables
|
||||
https://www.reddit.com/r/emacs/comments/d3a8or/pretty_org_tables_in_the_buffer_chapter_2_it/
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(after! org
|
||||
(defun tdh-render-org-table-at-point ()
|
||||
(interactive)
|
||||
@ -2146,6 +2187,35 @@ Better format the output results for Matlab ([[https://www.reddit.com/r/emacs/co
|
||||
)
|
||||
#+end_src
|
||||
|
||||
** Mermaid
|
||||
#+begin_src bash :tangle no
|
||||
yay -S mermaid-cli
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package! ob-mermaid
|
||||
:after org
|
||||
:config
|
||||
(setq ob-mermaid-cli-path "/usr/bin/mmdc")
|
||||
)
|
||||
#+end_src
|
||||
|
||||
#+begin_src mermaid :file figs/mermaid.png :theme default :background-color transparent :tangle no :exports both
|
||||
gantt
|
||||
dateFormat YYYY-MM-DD
|
||||
title Adding GANTT diagram to mermaid
|
||||
excludes weekdays 2014-01-10
|
||||
|
||||
section A section
|
||||
Completed task :done, des1, 2014-01-06,2014-01-08
|
||||
Active task :active, des2, 2014-01-09, 3d
|
||||
Future task : des3, after des2, 5d
|
||||
Future task2 : des4, after des3, 5d
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
[[file:figs/mermaid.png]]
|
||||
|
||||
** Some functions for using Matlab with Org Babel =,m=
|
||||
=whos= matlab function
|
||||
#+begin_src emacs-lisp
|
||||
@ -2336,8 +2406,9 @@ This function:
|
||||
(tdh-matlab-execute-selected (region-beginning) (region-end))
|
||||
(progn (tdh-org-babel-execute-matlab-background)
|
||||
(org-babel-next-src-block)))
|
||||
(tdh-ctrl-ret))
|
||||
(org-babel-next-src-block))
|
||||
)
|
||||
(org-babel-next-src-block)
|
||||
)
|
||||
)
|
||||
#+end_src
|
||||
@ -2532,7 +2603,7 @@ Nice Functions:
|
||||
:custom-face
|
||||
(org-roam-link ((t (:inherit org-link :foreground "#cc241d"))))
|
||||
:config
|
||||
(setq org-roam-directory "~/Cloud/brain/")
|
||||
(setq org-roam-directory (file-truename "~/Cloud/brain/"))
|
||||
(setq org-roam-completion-system 'helm)
|
||||
(setq org-roam-tag-sources '(prop last-directory))
|
||||
(setq org-roam-capture-templates
|
||||
@ -2580,19 +2651,22 @@ Automatic export of backlinks
|
||||
(insert (format "- [[file:%s][%s]]\n"
|
||||
(file-relative-name link org-roam-directory)
|
||||
(org-roam--get-title-or-slug link))))))
|
||||
|
||||
(add-hook 'org-export-before-processing-hook #'tdh-org-export-preprocessor)
|
||||
|
||||
|
||||
(defun tdh-org-roam-export-all ()
|
||||
"Re-exports all Org-roam files to Hugo markdown."
|
||||
(interactive)
|
||||
(dolist (f (org-roam--list-all-files))
|
||||
(with-current-buffer (find-file f)
|
||||
(when (s-contains? "SETUPFILE" (buffer-string))
|
||||
(org-hugo-export-wim-to-md)))))
|
||||
)
|
||||
#+end_src
|
||||
|
||||
Re-Export all roam files.
|
||||
#+begin_src emacs-lisp
|
||||
(defun tdh-org-roam-export-all ()
|
||||
"Re-exports all Org-roam files to Hugo markdown."
|
||||
(interactive)
|
||||
(dolist (f (org-roam--list-all-files))
|
||||
(with-current-buffer (find-file f)
|
||||
(when (s-contains? "SETUPFILE" (buffer-string))
|
||||
(org-hugo-export-wim-to-md)))))
|
||||
#+end_src
|
||||
|
||||
Create Org-Roam file from heading ([[https://ag91.github.io/blog/2020/11/12/write-org-roam-notes-via-elisp/][link]])
|
||||
#+begin_src emacs-lisp
|
||||
(defun tdh/make-roam-filepath (title)
|
||||
@ -2824,6 +2898,13 @@ Provides nice functions such as:
|
||||
(setq citeproc-org-html-backends '(html)))
|
||||
#+end_src
|
||||
|
||||
** Bibtex-Mode
|
||||
#+begin_src emacs-lisp
|
||||
(after! bibtex
|
||||
(map! :map bibtex-mode-map
|
||||
:n "C-c c" 'org-ref-clean-bibtex-entry))
|
||||
#+end_src
|
||||
|
||||
* LaTeX
|
||||
- https://tex.stackexchange.com/questions/52179/what-is-your-favorite-emacs-and-or-auctex-command-trick
|
||||
- https://tex.stackexchange.com/questions/20843/useful-shortcuts-or-key-bindings-or-predefined-commands-for-emacsauctex
|
||||
@ -3233,7 +3314,7 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
|
||||
* Doom =packages.el=
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/doom/packages.el
|
||||
:header-args:emacs-lisp: :tangle ~/.config/doom/packages.el
|
||||
:END:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
@ -3274,11 +3355,21 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
(package! citeproc-org)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; Connector between Org-roam, BibTeX-completion, and Org-ref
|
||||
(package! org-roam-bibtex)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; Org-mode modules for citations, cross-references, bibliographies
|
||||
(package! org-ref)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; Org file tangling upon save
|
||||
;; (package! org-auto-tangle)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; Alert notifications for org-agenda
|
||||
(package! org-wild-notifier)
|
||||
@ -3304,6 +3395,7 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
#+begin_src emacs-lisp
|
||||
;; Org-mode query language
|
||||
(package! org-ql)
|
||||
(package! helm-org-ql)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
@ -3320,3 +3412,8 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
;; Don't use this default package in Doom
|
||||
(package! evil-escape :disable t)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; Nice gantt charts
|
||||
(package! ob-mermaid)
|
||||
#+end_src
|
||||
|
@ -92,7 +92,7 @@ $0
|
||||
#name :LaTeX Environment
|
||||
# --
|
||||
\begin{${1:equation}}
|
||||
$0
|
||||
$0
|
||||
\end{$1}
|
||||
#+end_src
|
||||
|
||||
@ -342,9 +342,9 @@ $0
|
||||
#name :Tikz figure
|
||||
# --
|
||||
,#+begin_src latex :file ${1:figure_name}.pdf :post pdf2svg(file=*this*, ext="png") :exports both
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
,#+end_src
|
||||
#+end_src
|
||||
|
||||
@ -359,9 +359,9 @@ $0
|
||||
#+HEADER: :results raw replace :buffer no :eval no-export :exports both :mkdirp yes
|
||||
#+HEADER: :output-dir ${2:figs}
|
||||
,#+begin_src latex :file $1.pdf :post pdf2svg(file=*this*, ext="png") :exports both
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
,#+end_src
|
||||
|
||||
#+NAME: fig:$1
|
||||
@ -376,9 +376,9 @@ $0
|
||||
# --
|
||||
,* ${1:Title/Description of the figure}
|
||||
,#+begin_src latex :file ${2:figure_name}.pdf :tangle figs/$2.tex :exports ${3:both}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
,#+end_src
|
||||
|
||||
#+name: fig:$2
|
||||
@ -496,18 +496,18 @@ $0
|
||||
This Matlab function is accessible [[file:src/$2.m][here]].
|
||||
|
||||
,#+begin_src matlab
|
||||
function [${4:in_data}] = $2(${3:in_data})
|
||||
% $2 - $0
|
||||
%
|
||||
% Syntax: [$4] = $2($3)
|
||||
%
|
||||
% Inputs:
|
||||
% - $3 -
|
||||
%
|
||||
% Outputs:
|
||||
% - $4 -
|
||||
function [${4:in_data}] = $2(${3:in_data})
|
||||
% $2 - $0
|
||||
%
|
||||
% Syntax: [$4] = $2($3)
|
||||
%
|
||||
% Inputs:
|
||||
% - $3 -
|
||||
%
|
||||
% Outputs:
|
||||
% - $4 -
|
||||
|
||||
end
|
||||
end
|
||||
,#+end_src
|
||||
#+end_src
|
||||
|
||||
@ -525,17 +525,17 @@ This Matlab function is accessible [[file:src/$2.m][here]].
|
||||
|
||||
,** ZIP file containing the data and matlab files :ignore:
|
||||
,#+begin_src bash :exports none :results none
|
||||
if [ matlab/$2.m -nt data/$2.zip ]; then
|
||||
cp matlab/$2.m $2.m;
|
||||
zip data/$2 \
|
||||
mat/data.mat \
|
||||
$2.m
|
||||
rm $2.m;
|
||||
fi
|
||||
if [ matlab/$2.m -nt data/$2.zip ]; then
|
||||
cp matlab/$2.m $2.m;
|
||||
zip data/$2 \
|
||||
mat/data.mat \
|
||||
$2.m
|
||||
rm $2.m;
|
||||
fi
|
||||
,#+end_src
|
||||
|
||||
,#+begin_note
|
||||
All the files (data and Matlab scripts) are accessible [[file:data/$2.zip][here]].
|
||||
All the files (data and Matlab scripts) are accessible [[file:data/$2.zip][here]].
|
||||
,#+end_note
|
||||
|
||||
$0
|
||||
@ -548,11 +548,11 @@ $0
|
||||
# --
|
||||
,** Matlab Init :noexport:ignore:
|
||||
,#+begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name)
|
||||
<<matlab-dir>>
|
||||
<<matlab-dir>>
|
||||
,#+end_src
|
||||
|
||||
,#+begin_src matlab :exports none :results silent :noweb yes
|
||||
<<matlab-init>>
|
||||
<<matlab-init>>
|
||||
,#+end_src
|
||||
|
||||
$0
|
||||
@ -564,7 +564,7 @@ $0
|
||||
#name :Matlab-Table
|
||||
# --
|
||||
,#+begin_src matlab :exports results :results value table replace :tangle no :post addhdr(*this*)
|
||||
data2orgtable(${1:data}, {${2:'rowlabel'}}, {${3:'collabel'}}, ' %.1f ');
|
||||
data2orgtable(${1:data}, {${2:'rowlabel'}}, {${3:'collabel'}}, ' %.1f ');
|
||||
,#+end_src
|
||||
$0
|
||||
#+end_src
|
||||
@ -575,7 +575,7 @@ $0
|
||||
#name :Matlab-Value
|
||||
# --
|
||||
,#+begin_src matlab :results value replace :exports results :tangle no
|
||||
sprintf('x = %.2g', x);
|
||||
sprintf('x = %.2g', x);
|
||||
,#+end_src
|
||||
$0
|
||||
#+end_src
|
||||
@ -591,6 +591,6 @@ $0
|
||||
:END:
|
||||
|
||||
,#+begin_src bash :tangle ~/.local/bin/$1
|
||||
$0
|
||||
$0
|
||||
,#+end_src
|
||||
#+end_src
|
||||
|
1
i3.org
1
i3.org
@ -134,6 +134,7 @@ for_window [class="Sxiv"] floating enable, resize set 800 600, move position cen
|
||||
for_window [title="khal"] floating enable, resize set 600 600, move position center
|
||||
for_window [title="ncmpcpp"] floating enable, resize set 800 400, move position center
|
||||
for_window [title="nmtui"] floating enable, resize set 800 600, move position center
|
||||
for_window [title="linkding"] floating enable, resize set 800 600, move position center
|
||||
#+end_src
|
||||
|
||||
* Scratchpad
|
||||
|
18
mail.org
18
mail.org
@ -696,11 +696,10 @@ macro index \Cr \
|
||||
#+END_SRC
|
||||
|
||||
#+begin_src conf
|
||||
bind index za collapse-thread
|
||||
bind index zA collapse-all # Missing :folddisable/foldenable
|
||||
bind index z collapse-thread
|
||||
bind index Z collapse-all
|
||||
#+end_src
|
||||
|
||||
|
||||
Write/Reply/Forward mail
|
||||
#+BEGIN_SRC conf
|
||||
bind index,pager p recall-message
|
||||
@ -743,6 +742,13 @@ bind index,pager y edit-label
|
||||
bind index,pager Y modify-labels
|
||||
#+END_SRC
|
||||
|
||||
Copy and move mails
|
||||
#+BEGIN_SRC conf
|
||||
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
|
||||
macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
|
||||
#+END_SRC
|
||||
|
||||
|
||||
*** Limit
|
||||
#+begin_src conf
|
||||
bind index L limit
|
||||
@ -832,12 +838,6 @@ Enter Command
|
||||
bind generic,index,pager : enter-command
|
||||
#+end_src
|
||||
|
||||
*** Copy and move mails
|
||||
#+BEGIN_SRC conf
|
||||
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
|
||||
macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
|
||||
#+END_SRC
|
||||
|
||||
*** Sidebar
|
||||
#+BEGIN_SRC conf
|
||||
bind index,pager \Cp sidebar-prev
|
||||
|
116
nas.org
116
nas.org
@ -286,7 +286,7 @@ networks:
|
||||
driver: bridge
|
||||
#+end_src
|
||||
|
||||
** Traefik
|
||||
** =traefik= - Application proxy
|
||||
#+begin_src yaml
|
||||
services:
|
||||
#+end_src
|
||||
@ -367,7 +367,7 @@ services:
|
||||
# - 'traefik.http.middlewares.authelia.forwardauth.authResponseHeaders=Remote-User, Remote-Groups'
|
||||
#+end_src
|
||||
|
||||
** Homer
|
||||
** =homer= - Home page
|
||||
#+begin_src yaml
|
||||
homer:
|
||||
container_name: homer
|
||||
@ -418,6 +418,10 @@ services:
|
||||
logo: "/assets/tools/orgmode.png"
|
||||
subtitle: "Research Pages"
|
||||
url: "https://research.tdehaeze.xyz"
|
||||
- name: "Dotfiles"
|
||||
logo: "/assets/tools/dotfiles.png"
|
||||
subtitle: "My Literate Dotfiles"
|
||||
url: "https://dotfiles.tdehaeze.xyz"
|
||||
- name: "Utilities"
|
||||
icon: "fas fa-rss"
|
||||
items:
|
||||
@ -467,10 +471,10 @@ services:
|
||||
subtitle: "Download Music"
|
||||
logo: "/assets/tools/deezer.png"
|
||||
url: "https://deemix.tdehaeze.xyz"
|
||||
# - name: "Aria2"
|
||||
# logo: "/assets/tools/aria2.png"
|
||||
# subtitle: "Direct Downloads"
|
||||
# url: "https://dl.tdehaeze.xyz"
|
||||
- name: "Aria2"
|
||||
logo: "/assets/tools/aria2.png"
|
||||
subtitle: "Direct Downloads"
|
||||
url: "http://dl.tdehaeze.xyz"
|
||||
- name: "Media"
|
||||
icon: "fas fa-film"
|
||||
items:
|
||||
@ -522,7 +526,7 @@ services:
|
||||
url: "http://192.168.1.56/"
|
||||
#+end_src
|
||||
|
||||
** Restic
|
||||
** =restic= - Automatic online backups
|
||||
#+begin_src yaml
|
||||
restic:
|
||||
container_name: restic
|
||||
@ -553,7 +557,7 @@ user = dehaeze.thomas@gmail.com
|
||||
pass = <<get-password(passname="nas/rclone_mega_pass")>>
|
||||
#+end_src
|
||||
|
||||
** Snapraid
|
||||
** =snapraid= - Manage local backup with parity disk
|
||||
#+begin_src yaml
|
||||
snapraid:
|
||||
container_name: snapraid
|
||||
@ -668,7 +672,7 @@ older-than = 10
|
||||
#+end_src
|
||||
|
||||
|
||||
** Portainer
|
||||
** =portainer= - Manage docker
|
||||
#+begin_src yaml
|
||||
portainer:
|
||||
container_name: portainer
|
||||
@ -695,7 +699,7 @@ older-than = 10
|
||||
- "traefik.http.services.portainer-svc.loadbalancer.server.port=9000"
|
||||
#+end_src
|
||||
|
||||
** Wireguard
|
||||
** =wireguard= - VPN
|
||||
#+begin_src yaml
|
||||
wireguard:
|
||||
container_name: wireguard
|
||||
@ -721,11 +725,11 @@ older-than = 10
|
||||
- 51820:51820/udp
|
||||
#+end_src
|
||||
|
||||
** Gitea
|
||||
** =gitea= - Git server
|
||||
#+begin_src yaml
|
||||
gitea:
|
||||
container_name: git
|
||||
image: gitea/gitea:1.12.4
|
||||
image: gitea/gitea:1.13.2
|
||||
depends_on:
|
||||
- gitea_db
|
||||
restart: unless-stopped
|
||||
@ -768,7 +772,7 @@ older-than = 10
|
||||
- $CONFIGDIR/mariadb:/var/lib/mysql
|
||||
#+end_src
|
||||
|
||||
** Caddy - Research Pages
|
||||
** =caddy= - Research Pages
|
||||
#+begin_src yaml
|
||||
caddy:
|
||||
container_name: caddy
|
||||
@ -809,7 +813,7 @@ older-than = 10
|
||||
}
|
||||
#+end_src
|
||||
|
||||
** Caddy - Dotfiles
|
||||
** =caddy= - Dotfiles
|
||||
#+begin_src yaml
|
||||
dotfiles:
|
||||
container_name: dotfiles
|
||||
@ -848,11 +852,11 @@ older-than = 10
|
||||
}
|
||||
#+end_src
|
||||
|
||||
** Hugo
|
||||
** =hugo= - Wiki + Blog
|
||||
#+begin_src yaml
|
||||
hugo:
|
||||
container_name: hugo
|
||||
image: muninn/hugo-caddy
|
||||
image: tdehaeze/hugo-caddy
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
@ -867,7 +871,7 @@ older-than = 10
|
||||
- "traefik.http.services.hugo-svc.loadbalancer.server.port=2015"
|
||||
#+end_src
|
||||
|
||||
** Syncthing
|
||||
** =syncthing= - File Synchronization
|
||||
#+begin_src yaml
|
||||
syncthing:
|
||||
container_name: syncthing
|
||||
@ -901,11 +905,11 @@ older-than = 10
|
||||
- "traefik.http.services.syncthing-svc.loadbalancer.server.port=8384"
|
||||
#+end_src
|
||||
|
||||
** Miniflux
|
||||
** =miniflux= - RSS reader
|
||||
#+begin_src yaml
|
||||
miniflux:
|
||||
container_name: miniflux
|
||||
image: miniflux/miniflux:latest
|
||||
image: miniflux/miniflux
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
@ -941,7 +945,7 @@ older-than = 10
|
||||
- $CONFIGDIR/miniflux_db:/var/lib/postgresql/data
|
||||
#+end_src
|
||||
|
||||
** Home Assistant
|
||||
** =homeassistant= - Home Automation
|
||||
#+begin_src yaml
|
||||
homeassistant:
|
||||
container_name: homeassistant
|
||||
@ -978,7 +982,7 @@ older-than = 10
|
||||
#- "traefik.http.services.homeassistant-svc.loadbalancer.server.port=8123"
|
||||
#+end_src
|
||||
|
||||
** Jellyfin
|
||||
** =jellyfin= - Media server
|
||||
#+begin_src yaml
|
||||
jellyfin:
|
||||
container_name: jellyfin
|
||||
@ -1006,7 +1010,7 @@ older-than = 10
|
||||
- "traefik.http.services.jellyfin-svc.loadbalancer.server.port=8096"
|
||||
#+end_src
|
||||
|
||||
** Filebrowser
|
||||
** =filebrowser= - Web file browser
|
||||
#+begin_src yaml
|
||||
filebrowser:
|
||||
container_name: filebrowser
|
||||
@ -1045,7 +1049,7 @@ older-than = 10
|
||||
}
|
||||
#+end_src
|
||||
|
||||
** Scrutiny
|
||||
** =scrutiny= - Hard drive monitoring
|
||||
#+begin_src yaml
|
||||
scrutiny:
|
||||
container_name: scrutiny
|
||||
@ -1076,7 +1080,7 @@ older-than = 10
|
||||
- 8089:8080
|
||||
#+end_src
|
||||
|
||||
** Guacamole
|
||||
** =guacamole= - Remote connection
|
||||
#+begin_src yaml
|
||||
guacamole:
|
||||
image: oznu/guacamole
|
||||
@ -1100,11 +1104,11 @@ older-than = 10
|
||||
- "traefik.http.services.guacamole-svc.loadbalancer.server.port=8080"
|
||||
#+end_src
|
||||
|
||||
** Transmission
|
||||
** =transmission= - Torrent server
|
||||
#+begin_src yaml
|
||||
transmission-openvpn:
|
||||
container_name: transmission
|
||||
image: haugene/transmission-openvpn:2.13
|
||||
image: haugene/transmission-openvpn
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
@ -1142,7 +1146,7 @@ older-than = 10
|
||||
- "traefik.http.services.transmission-svc.loadbalancer.server.port=9091"
|
||||
#+end_src
|
||||
|
||||
** Aria2 - Daemon
|
||||
** =aria2= - Download daemon
|
||||
#+begin_src yaml
|
||||
aria2:
|
||||
container_name: aria2
|
||||
@ -1186,16 +1190,38 @@ min-split-size=1M
|
||||
split=16
|
||||
#+end_src
|
||||
|
||||
** Deemix
|
||||
** =aria2-ui= - Download web UI
|
||||
#+begin_src yaml
|
||||
aria2-ui:
|
||||
container_name: aria2-ui
|
||||
image: p3terx/ariang
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
environment:
|
||||
- PUID=$PUID
|
||||
- PGID=$PGID
|
||||
ports:
|
||||
- 6880:6880
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.aria2-rtr.entrypoints=http"
|
||||
- "traefik.http.routers.aria2-rtr.rule=Host(`dl.$DOMAINNAME`)"
|
||||
- "traefik.http.routers.aria2-rtr.tls=false"
|
||||
- "traefik.http.routers.aria2-rtr.service=aria2-svc"
|
||||
- "traefik.http.services.aria2-svc.loadbalancer.server.port=6880"
|
||||
#+end_src
|
||||
|
||||
** =deemix= - Music Download
|
||||
#+begin_src yaml
|
||||
deemix:
|
||||
image: registry.gitlab.com/bockiii/deemix-docker
|
||||
container_name: deemix
|
||||
image: registry.gitlab.com/bockiii/deemix-docker
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
volumes:
|
||||
- /srv/storage/Downloads:/downloads
|
||||
- /srv/storage/Music:/downloads
|
||||
- $CONFIGDIR/deemix:/config
|
||||
environment:
|
||||
- TZ=$TZ
|
||||
@ -1208,10 +1234,38 @@ split=16
|
||||
- "traefik.http.routers.deemix-rtr.rule=Host(`deemix.$DOMAINNAME`)"
|
||||
- "traefik.http.routers.deemix-rtr.tls=true"
|
||||
- "traefik.http.routers.deemix-rtr.service=deemix-svc"
|
||||
- "traefik.http.routers.deemix-rtr.middlewares=traefik-auth"
|
||||
# - "traefik.http.routers.deemix-rtr.middlewares=traefik-auth"
|
||||
- "traefik.http.services.deemix-svc.loadbalancer.server.port=6595"
|
||||
#+end_src
|
||||
|
||||
*** =.arl=
|
||||
#+begin_src conf :tangle /ssh:thomas@grenoble:~/docker/config/deemix/.arl :noweb yes
|
||||
<<get-password(passname="nas/deemix_arl")>>
|
||||
#+end_src
|
||||
|
||||
** =linkding= - Bookmark manager
|
||||
#+begin_src yaml
|
||||
linkding:
|
||||
container_name: linkding
|
||||
image: sissbruecker/linkding:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
volumes:
|
||||
- $CONFIGDIR/linkding:/etc/linkding/data
|
||||
environment:
|
||||
- TZ=$TZ
|
||||
- PUID=$PUID
|
||||
- PGID=$PGID
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.linkding-rtr.entrypoints=https"
|
||||
- "traefik.http.routers.linkding-rtr.rule=Host(`bm.$DOMAINNAME`)"
|
||||
- "traefik.http.routers.linkding-rtr.tls=true"
|
||||
- "traefik.http.routers.linkding-rtr.service=linkding-svc"
|
||||
- "traefik.http.services.linkding-svc.loadbalancer.server.port=9090"
|
||||
#+end_src
|
||||
|
||||
* Docker-Compose OLD :noexport:
|
||||
** Transfer.sh
|
||||
#+begin_src yaml
|
||||
|
@ -12,6 +12,12 @@ from qutebrowser.config.config import ConfigContainer
|
||||
import sys, os
|
||||
#+end_src
|
||||
|
||||
* Auto Config
|
||||
Do not load config set with =:set= command in qutebrowser.
|
||||
#+begin_src python
|
||||
config.load_autoconfig(True)
|
||||
#+end_src
|
||||
|
||||
* General config
|
||||
#+begin_src python
|
||||
c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'}
|
||||
@ -29,6 +35,7 @@ c.content.javascript.alert = True
|
||||
c.content.javascript.can_access_clipboard = True
|
||||
c.content.pdfjs = False
|
||||
c.content.proxy = 'system'
|
||||
c.content.blocking.method = 'both'
|
||||
#+END_SRC
|
||||
|
||||
* Editor
|
||||
@ -46,6 +53,13 @@ c.downloads.position = 'bottom'
|
||||
c.downloads.remove_finished = 10000
|
||||
#+END_SRC
|
||||
|
||||
* File Select
|
||||
#+begin_src python
|
||||
c.fileselect.handler = "default"
|
||||
# c.fileselect.single_file.command = ['termine', '-e', 'ranger', '--choosefile', '{}']
|
||||
# c.fileselect.multiple_files.command = ['termite', '-e', 'ranger', '--choosefiles', '{}']
|
||||
#+end_src
|
||||
|
||||
* Colors
|
||||
#+begin_src python
|
||||
# c.colors.webpage.darkmode.enabled = True
|
||||
@ -312,7 +326,7 @@ config.bind(',a', "jseval javascript:(function(){window.hypothesisConfig=functio
|
||||
|
||||
See Amazon price history using CamelCamelCamel
|
||||
#+begin_src python
|
||||
config.bind(',A', ":open -t https://fr.camelcamelcamel.com/search?sq={url}")
|
||||
config.bind(',A', "open -t https://fr.camelcamelcamel.com/search?sq={url}")
|
||||
#+end_src
|
||||
|
||||
Org Roam Entry for the current page
|
||||
@ -320,6 +334,10 @@ Org Roam Entry for the current page
|
||||
config.bind(',R', "open javascript:void(location.href='org-protocol://roam-ref?template=r&ref='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title))")
|
||||
#+end_src
|
||||
|
||||
#+begin_src python
|
||||
config.bind(',Z', "open -w https://bm.tdehaeze.xyz/bookmarks/new?url={url}&auto_close")
|
||||
#+end_src
|
||||
|
||||
* Userscripts
|
||||
:PROPERTIES:
|
||||
:header-args:bash: :shebang "#!/usr/bin/env bash"
|
||||
|
@ -202,8 +202,7 @@ map ,d shell pdf-delete-first-page %f
|
||||
|
||||
Convert images/pdf/...
|
||||
#+BEGIN_SRC conf
|
||||
map ,cp shell pdf2png %f
|
||||
map ,cc shell convert-file %f
|
||||
map ,c shell convert-file %f
|
||||
#+END_SRC
|
||||
|
||||
Magit Status
|
||||
@ -684,10 +683,9 @@ ext epub, has mupdf, X, flag f = mupdf "$@"
|
||||
|
||||
|
||||
ext docx?, has wps, X, flag f = wps "$@"
|
||||
ext docx?, has onlyoffice, X, flag f = onlyoffice "$@"
|
||||
|
||||
ext docx?, has catdoc, terminal = catdoc -- "$@" | "$PAGER"
|
||||
|
||||
ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has wpp, X, flag f = wpp "$@"
|
||||
ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has wpp, X, flag f = wpp "$@"
|
||||
ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = gnumeric -- "$@"
|
||||
ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = kspread -- "$@"
|
||||
ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = libreoffice "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user