Compare commits
No commits in common. "3be5d506474bb0b83c9ff083932585a5ebfab84e" and "e467c5aab249b25761a8b41827e407fa30791d78" have entirely different histories.
3be5d50647
...
e467c5aab2
@ -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,6 +40,7 @@ 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]
|
||||
@ -56,6 +57,7 @@ StartupNotify=true
|
||||
* Weechat
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/weechat.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
@ -75,14 +77,15 @@ 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=R2020b
|
||||
Version=R2020a
|
||||
Type=Application
|
||||
Terminal=false
|
||||
MimeType=text/x-matlab
|
||||
Exec=/usr/local/MATLAB/R2020b/bin/matlab -desktop
|
||||
Exec=/usr/local/MATLAB/R2020a/bin/matlab -desktop -nosplash
|
||||
Name=MATLAB
|
||||
Icon=matlab
|
||||
Categories=Development;Math;Science
|
||||
@ -93,6 +96,7 @@ StartupNotify=true
|
||||
* Neovim
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.local/share/applications/nvim.desktop
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:END:
|
||||
#+begin_src conf
|
||||
[Desktop Entry]
|
||||
@ -112,6 +116,7 @@ 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]
|
||||
@ -123,6 +128,7 @@ 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]
|
||||
@ -137,6 +143,7 @@ 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]
|
||||
@ -152,23 +159,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
|
||||
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
|
||||
Exec=emacsclient -c %u
|
||||
Icon=emacs-icon
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Categories=Utility;TextEditor;
|
||||
MimeType=x-scheme-handler/org-protocol;
|
||||
NoDisplay=true
|
||||
#+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]
|
||||
@ -176,41 +183,3 @@ 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,25 +192,3 @@ 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,6 +870,17 @@ 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,10 +185,6 @@ 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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<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,8 +32,6 @@
|
||||
<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>
|
||||
@ -118,11 +116,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>=R2020b
|
||||
<span class="org-variable-name">Version</span>=R2020a
|
||||
<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/R2020b/bin/matlab -desktop
|
||||
<span class="org-variable-name">Exec</span>=/usr/local/MATLAB/R2020a/bin/matlab -desktop -nosplash
|
||||
<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
|
||||
@ -206,14 +204,12 @@
|
||||
<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">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">Exec</span>=emacsclient -c %u
|
||||
<span class="org-variable-name">Icon</span>=emacs-icon
|
||||
<span class="org-variable-name">Type</span>=Application
|
||||
<span class="org-variable-name">Terminal</span>=false
|
||||
<span class="org-variable-name">Categories</span>=Utility;TextEditor;
|
||||
<span class="org-variable-name">MimeType</span>=x-scheme-handler/org-protocol;
|
||||
<span class="org-variable-name">NoDisplay</span>=true
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -231,52 +227,10 @@
|
||||
</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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-08 ven. 01:33 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>My own specific binaries</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -32,8 +32,6 @@
|
||||
<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>
|
||||
@ -240,38 +238,10 @@ 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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:33</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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-08 ven. 01:40 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Binaries</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -42,6 +42,7 @@
|
||||
<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>
|
||||
@ -971,6 +972,20 @@ 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">
|
||||
@ -1313,7 +1328,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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:40</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-12 mar. 12:15 -->
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Configuration Files</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -221,10 +221,6 @@ 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>)>>
|
||||
@ -276,7 +272,7 @@ Colors
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-12 mar. 12:15</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
209
docs/doom.html
209
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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-08 ven. 01:32 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Doom Emacs Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -55,13 +55,12 @@
|
||||
<ul>
|
||||
<li><a href="#org9a192de">Org General Config</a></li>
|
||||
<li><a href="#org9c78e0f">Org Inline Images</a></li>
|
||||
<li><a href="#org64e43c9">Org Links</a></li>
|
||||
<li><a href="#orgb941771">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>
|
||||
@ -93,7 +92,6 @@
|
||||
<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>
|
||||
@ -102,7 +100,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="#orge34498a">Org Links</a>
|
||||
<li><a href="#orgf5ae68e">Org Links</a>
|
||||
<ul>
|
||||
<li><a href="#orgd172897">Youtube Links</a></li>
|
||||
</ul>
|
||||
@ -130,7 +128,6 @@
|
||||
<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>
|
||||
@ -153,12 +150,11 @@
|
||||
<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="#org3d22b8a">Basic Config</a></li>
|
||||
<li><a href="#org95c7ff3">Basic Config</a></li>
|
||||
<li><a href="#orge71a16b">Bibtex</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -176,7 +172,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="#org1b07702">Basic Config</a></li>
|
||||
<li><a href="#org5977a4c">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>
|
||||
@ -839,29 +835,6 @@ 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>
|
||||
|
||||
@ -974,9 +947,9 @@ Display the real size of images and not the one set with <code>attr_latex: :widt
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org64e43c9" class="outline-3">
|
||||
<h3 id="org64e43c9">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-org64e43c9">
|
||||
<div id="outline-container-orgb941771" class="outline-3">
|
||||
<h3 id="orgb941771">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-orgb941771">
|
||||
<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>
|
||||
@ -1254,24 +1227,6 @@ 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">
|
||||
@ -1340,7 +1295,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 results :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 none :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>
|
||||
@ -1787,13 +1742,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">"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">: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">: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">"xelatex -no-pdf -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">"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">"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>
|
||||
|
||||
@ -2176,19 +2131,6 @@ 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">
|
||||
@ -2421,7 +2363,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>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-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-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>
|
||||
|
||||
|
||||
@ -2455,7 +2397,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>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-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-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -2486,9 +2428,9 @@ Special Environments
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orge34498a" class="outline-3">
|
||||
<h3 id="orge34498a">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-orge34498a">
|
||||
<div id="outline-container-orgf5ae68e" class="outline-3">
|
||||
<h3 id="orgf5ae68e">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-orgf5ae68e">
|
||||
</div>
|
||||
<div id="outline-container-orgd172897" class="outline-4">
|
||||
<h4 id="orgd172897">Youtube Links</h4>
|
||||
@ -3184,45 +3126,6 @@ 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">
|
||||
@ -3466,9 +3369,8 @@ 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">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-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-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>
|
||||
@ -3711,7 +3613,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-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-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-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>
|
||||
@ -3762,23 +3664,17 @@ 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-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-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-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>
|
||||
<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>
|
||||
|
||||
@ -3997,7 +3893,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> . <span class="org-variable-name">org-roam-bibtex-mode</span><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> . org-roam-bibtex-mode<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>
|
||||
|
||||
@ -4053,18 +3949,6 @@ 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">
|
||||
@ -4076,9 +3960,9 @@ Provides nice functions such as:
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3d22b8a" class="outline-3">
|
||||
<h3 id="org3d22b8a">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-org3d22b8a">
|
||||
<div id="outline-container-org95c7ff3" class="outline-3">
|
||||
<h3 id="org95c7ff3">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-org95c7ff3">
|
||||
<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>
|
||||
@ -4349,9 +4233,9 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org1b07702" class="outline-3">
|
||||
<h3 id="org1b07702">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-org1b07702">
|
||||
<div id="outline-container-org5977a4c" class="outline-3">
|
||||
<h3 id="org5977a4c">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-org5977a4c">
|
||||
<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>
|
||||
@ -4678,24 +4562,12 @@ 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>
|
||||
@ -4725,7 +4597,6 @@ 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>
|
||||
|
||||
@ -4746,18 +4617,12 @@ 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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:32</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-11 lun. 14:50 -->
|
||||
<!-- 2021-01-08 ven. 01:40 -->
|
||||
<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}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\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}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\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}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\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 @@ end
|
||||
|
||||
** 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
|
||||
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
|
||||
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-11 lun. 14:50</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:40</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Binary file not shown.
Before 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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>I3 Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -250,7 +250,6 @@ 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>
|
||||
@ -292,7 +291,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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<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="#orgb928086">Gmail Account</a></li>
|
||||
<li><a href="#org818eb8b">ESRF Account</a></li>
|
||||
<li><a href="#org285559b">Gmail Account</a></li>
|
||||
<li><a href="#org4a88ed5">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="#org6d923d6">Gmail Account</a></li>
|
||||
<li><a href="#org938fdb8">ESRF Account</a></li>
|
||||
<li><a href="#orgb928086">Gmail Account</a></li>
|
||||
<li><a href="#org818eb8b">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="#orgbcac58d">Generic</a></li>
|
||||
<li><a href="#org39a5bd8">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="#orgdd569c6">Attachments</a></li>
|
||||
<li><a href="#org157cd54">Attachments</a></li>
|
||||
<li><a href="#orga27e33b">Compose</a>
|
||||
<ul>
|
||||
<li><a href="#orgf944cb5">Attach with Ranger Script</a></li>
|
||||
@ -60,8 +60,9 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org1ff0684">Browser</a></li>
|
||||
<li><a href="#org66ef145">Generic</a></li>
|
||||
<li><a href="#org06169f7">Sidebar</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="#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>
|
||||
@ -76,9 +77,9 @@
|
||||
<ul>
|
||||
<li><a href="#orgcceb03a">Basic colors</a></li>
|
||||
<li><a href="#orgfd072f9">Index</a></li>
|
||||
<li><a href="#org2ce62d6">Sidebar</a></li>
|
||||
<li><a href="#org14eab89">Sidebar</a></li>
|
||||
<li><a href="#org35e03db">Message headers</a></li>
|
||||
<li><a href="#org61d2492">Attachments</a></li>
|
||||
<li><a href="#orgda814c8">Attachments</a></li>
|
||||
<li><a href="#orgf06407f">Body</a></li>
|
||||
<li><a href="#org28ee304">PGP</a></li>
|
||||
<li><a href="#org1894a8b">Urls</a></li>
|
||||
@ -92,26 +93,26 @@
|
||||
<ul>
|
||||
<li><a href="#org828ef22">Gmail</a>
|
||||
<ul>
|
||||
<li><a href="#org39ab42b">Configuration</a></li>
|
||||
<li><a href="#org1a1a20b">Signature</a></li>
|
||||
<li><a href="#orge241344">Configuration</a></li>
|
||||
<li><a href="#org57cee98">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org75c25aa">ESRF</a>
|
||||
<ul>
|
||||
<li><a href="#org15a760b">Configuration</a></li>
|
||||
<li><a href="#orgc7721df">Signature</a></li>
|
||||
<li><a href="#org4eb4255">Configuration</a></li>
|
||||
<li><a href="#org1a53d5f">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org8c506c3">ULG</a>
|
||||
<ul>
|
||||
<li><a href="#org9dbff79">Configuration</a></li>
|
||||
<li><a href="#orgba5f72d">Signature</a></li>
|
||||
<li><a href="#orgf3396bc">Configuration</a></li>
|
||||
<li><a href="#org06a4456">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org72df244">ULIEGE</a>
|
||||
<ul>
|
||||
<li><a href="#org27216c2">Configuration</a></li>
|
||||
<li><a href="#org655b864">Signature</a></li>
|
||||
<li><a href="#org39ab42b">Configuration</a></li>
|
||||
<li><a href="#org1a1a20b">Signature</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -127,13 +128,13 @@
|
||||
<li><a href="#orgda776cc">Headers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgcd09540">Sidebar</a>
|
||||
<li><a href="#org06169f7">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="#org3f46ed0">Attachments</a>
|
||||
<li><a href="#orgdd569c6">Attachments</a>
|
||||
<ul>
|
||||
<li><a href="#orgc93e665">Attachment View Options</a></li>
|
||||
<li><a href="#orge340736">Open Attachment</a></li>
|
||||
@ -186,9 +187,9 @@ Expunge Both
|
||||
</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-org285559b" class="outline-3">
|
||||
<h3 id="org285559b">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-org285559b">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">IMAPAccount gmail
|
||||
Host imap.gmail.com
|
||||
@ -263,9 +264,9 @@ Sync Pull
|
||||
</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-org4a88ed5" class="outline-3">
|
||||
<h3 id="org4a88ed5">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org4a88ed5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">IMAPAccount esrf
|
||||
Host imaps.esrf.fr
|
||||
@ -480,9 +481,9 @@ tls_certcheck off
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org6d923d6" class="outline-3">
|
||||
<h3 id="org6d923d6">Gmail Account</h3>
|
||||
<div class="outline-text-3" id="text-org6d923d6">
|
||||
<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">account gmail
|
||||
host smtp.gmail.com
|
||||
@ -496,9 +497,9 @@ passwordeval <span class="org-string">"pass email/dehaeze.thomas@gmail.com"</spa
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org938fdb8" class="outline-3">
|
||||
<h3 id="org938fdb8">ESRF Account</h3>
|
||||
<div class="outline-text-3" id="text-org938fdb8">
|
||||
<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">account esrf
|
||||
host smtps.esrf.fr
|
||||
@ -881,9 +882,9 @@ macro index q <span class="org-string">"<shell-escape>if [ $TMUX ]; then t
|
||||
</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-org39a5bd8" class="outline-4">
|
||||
<h4 id="org39a5bd8">Generic</h4>
|
||||
<div class="outline-text-4" id="text-org39a5bd8">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind generic Q exit
|
||||
|
||||
@ -955,11 +956,12 @@ macro index \Cr \
|
||||
</div>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind index z collapse-thread
|
||||
bind index Z collapse-all
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
||||
<p>
|
||||
Write/Reply/Forward mail
|
||||
</p>
|
||||
@ -1020,18 +1022,8 @@ 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>
|
||||
@ -1057,9 +1049,9 @@ bind index,pager N search-opposite
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgdd569c6" class="outline-4">
|
||||
<h4 id="orgdd569c6">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-orgdd569c6">
|
||||
<div id="outline-container-org157cd54" class="outline-4">
|
||||
<h4 id="org157cd54">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-org157cd54">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">bind attach l view-attach
|
||||
|
||||
@ -1157,9 +1149,9 @@ bind browser q exit
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org66ef145" class="outline-4">
|
||||
<h4 id="org66ef145">Generic</h4>
|
||||
<div class="outline-text-4" id="text-org66ef145">
|
||||
<div id="outline-container-orgbcac58d" class="outline-4">
|
||||
<h4 id="orgbcac58d">Generic</h4>
|
||||
<div class="outline-text-4" id="text-orgbcac58d">
|
||||
<p>
|
||||
Enter Command
|
||||
</p>
|
||||
@ -1170,9 +1162,20 @@ Enter Command
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org06169f7" class="outline-4">
|
||||
<h4 id="org06169f7">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org06169f7">
|
||||
<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 class="org-src-container">
|
||||
<pre class="src src-conf">bind index,pager \Cp sidebar-prev
|
||||
bind index,pager \Cn sidebar-next
|
||||
@ -1335,9 +1338,9 @@ color index brightcolor000 color001 <span class="org-string">"~v~(~D)"</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org2ce62d6" class="outline-4">
|
||||
<h4 id="org2ce62d6">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org2ce62d6">
|
||||
<div id="outline-container-org14eab89" class="outline-4">
|
||||
<h4 id="org14eab89">Sidebar</h4>
|
||||
<div class="outline-text-4" id="text-org14eab89">
|
||||
<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>
|
||||
@ -1360,9 +1363,9 @@ color header brightcolor004 color000 <span class="org-string">"^(Subject)"</
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org61d2492" class="outline-4">
|
||||
<h4 id="org61d2492">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-org61d2492">
|
||||
<div id="outline-container-orgda814c8" class="outline-4">
|
||||
<h4 id="orgda814c8">Attachments</h4>
|
||||
<div class="outline-text-4" id="text-orgda814c8">
|
||||
<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>
|
||||
@ -1508,9 +1511,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-org39ab42b" class="outline-5">
|
||||
<h5 id="org39ab42b">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org39ab42b">
|
||||
<div id="outline-container-orge241344" class="outline-5">
|
||||
<h5 id="orge241344">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-orge241344">
|
||||
<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>
|
||||
@ -1534,9 +1537,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-org57cee98" class="outline-5">
|
||||
<h5 id="org57cee98">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org57cee98">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
@ -1556,9 +1559,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-org15a760b" class="outline-5">
|
||||
<h5 id="org15a760b">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org15a760b">
|
||||
<div id="outline-container-org4eb4255" class="outline-5">
|
||||
<h5 id="org4eb4255">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org4eb4255">
|
||||
<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>
|
||||
@ -1582,9 +1585,9 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgc7721df" class="outline-5">
|
||||
<h5 id="orgc7721df">Signature</h5>
|
||||
<div class="outline-text-5" id="text-orgc7721df">
|
||||
<div id="outline-container-org1a53d5f" class="outline-5">
|
||||
<h5 id="org1a53d5f">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org1a53d5f">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
@ -1604,9 +1607,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-org9dbff79" class="outline-5">
|
||||
<h5 id="org9dbff79">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org9dbff79">
|
||||
<div id="outline-container-orgf3396bc" class="outline-5">
|
||||
<h5 id="orgf3396bc">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-orgf3396bc">
|
||||
<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>
|
||||
@ -1630,9 +1633,9 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgba5f72d" class="outline-5">
|
||||
<h5 id="orgba5f72d">Signature</h5>
|
||||
<div class="outline-text-5" id="text-orgba5f72d">
|
||||
<div id="outline-container-org06a4456" class="outline-5">
|
||||
<h5 id="org06a4456">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org06a4456">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">Thomas Dehaeze
|
||||
</pre>
|
||||
@ -1652,9 +1655,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-org27216c2" class="outline-5">
|
||||
<h5 id="org27216c2">Configuration</h5>
|
||||
<div class="outline-text-5" id="text-org27216c2">
|
||||
<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">"tdehaeze@uliege.be"</span>
|
||||
<span class="org-variable-name">set sendmail</span> = <span class="org-string">"~/.config/neomutt/bin/send_mail.sh uliege"</span>
|
||||
@ -1678,9 +1681,9 @@ macro index,pager D \
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org655b864" class="outline-5">
|
||||
<h5 id="org655b864">Signature</h5>
|
||||
<div class="outline-text-5" id="text-org655b864">
|
||||
<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>
|
||||
@ -1822,9 +1825,9 @@ hdr_order from: to: cc: date: subject: <span class="org-comment-delimiter"># </
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcd09540" class="outline-3">
|
||||
<h3 id="orgcd09540">Sidebar</h3>
|
||||
<div class="outline-text-3" id="text-orgcd09540">
|
||||
<div id="outline-container-org06169f7" class="outline-3">
|
||||
<h3 id="org06169f7">Sidebar</h3>
|
||||
<div class="outline-text-3" id="text-org06169f7">
|
||||
</div>
|
||||
<div id="outline-container-org763534f" class="outline-4">
|
||||
<h4 id="org763534f">General Config</h4>
|
||||
@ -1931,9 +1934,9 @@ named-mailboxes <span class="org-string">"  Trash"</span> =uliege/Trash
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org3f46ed0" class="outline-3">
|
||||
<h3 id="org3f46ed0">Attachments</h3>
|
||||
<div class="outline-text-3" id="text-org3f46ed0">
|
||||
<div id="outline-container-orgdd569c6" class="outline-3">
|
||||
<h3 id="orgdd569c6">Attachments</h3>
|
||||
<div class="outline-text-3" id="text-orgdd569c6">
|
||||
</div>
|
||||
<div id="outline-container-orgc93e665" class="outline-4">
|
||||
<h4 id="orgc93e665">Attachment View Options</h4>
|
||||
@ -2147,7 +2150,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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-11 lun. 14:50 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Home Server</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -48,68 +48,62 @@
|
||||
<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="#org33e06c1">Snapraid</a></li>
|
||||
<li><a href="#orge8a6010">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="#org9442cd9"><code>traefik</code> - Application proxy</a></li>
|
||||
<li><a href="#org682fd4a"><code>homer</code> - Home page</a>
|
||||
<li><a href="#org0df1fca">Traefik</a></li>
|
||||
<li><a href="#orgbf7fb7b">Homer</a>
|
||||
<ul>
|
||||
<li><a href="#org66a172e"><code>config.yml</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org7d77805"><code>restic</code> - Automatic online backups</a>
|
||||
<li><a href="#orgcd8f174">Restic</a>
|
||||
<ul>
|
||||
<li><a href="#orgb2219b0"><code>rclone.conf</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgba8c1aa"><code>snapraid</code> - Manage local backup with parity disk</a>
|
||||
<li><a href="#org0fd5b56">Snapraid</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="#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>
|
||||
<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>
|
||||
<ul>
|
||||
<li><a href="#orgefebb52"><code>Caddyfile</code></a></li>
|
||||
<li><a href="#org0b6782a"><code>Caddyfile</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#org561b908"><code>caddy</code> - Dotfiles</a>
|
||||
<li><a href="#org2a95802">Caddy - Dotfiles</a>
|
||||
<ul>
|
||||
<li><a href="#orgcb02743"><code>Caddyfile</code></a></li>
|
||||
<li><a href="#orga8fcffa"><code>Caddyfile</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<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>
|
||||
<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>
|
||||
<ul>
|
||||
<li><a href="#org191aab8"><code>.filebrowser.json</code></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<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>
|
||||
<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>
|
||||
<ul>
|
||||
<li><a href="#orgaafd6da"><code>aria2.conf</code></a></li>
|
||||
</ul>
|
||||
</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>
|
||||
<li><a href="#orgffad5f9">Deemix</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgbb869cd"><code>.env</code> - Variable used for Docker Compose</a></li>
|
||||
@ -534,9 +528,9 @@ This will delete all unused images, volumes and networks.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org33e06c1" class="outline-3">
|
||||
<h3 id="org33e06c1">Snapraid</h3>
|
||||
<div class="outline-text-3" id="text-org33e06c1">
|
||||
<div id="outline-container-orge8a6010" class="outline-3">
|
||||
<h3 id="orge8a6010">Snapraid</h3>
|
||||
<div class="outline-text-3" id="text-orge8a6010">
|
||||
<p>
|
||||
To see all files “backed up” by snapraid, use:
|
||||
</p>
|
||||
@ -657,9 +651,9 @@ You can use <code>latest</code> instead of the ID.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org0df1fca" class="outline-3">
|
||||
<h3 id="org0df1fca">Traefik</h3>
|
||||
<div class="outline-text-3" id="text-org0df1fca">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"><span class="org-variable-name">services</span>:
|
||||
</pre>
|
||||
@ -744,9 +738,9 @@ You can use <code>latest</code> instead of the ID.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orgbf7fb7b" class="outline-3">
|
||||
<h3 id="orgbf7fb7b">Homer</h3>
|
||||
<div class="outline-text-3" id="text-orgbf7fb7b">
|
||||
<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
|
||||
@ -801,10 +795,6 @@ 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>:
|
||||
@ -854,10 +844,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-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-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">"Media"</span>
|
||||
<span class="org-variable-name">icon</span>: <span class="org-string">"fas fa-film"</span>
|
||||
<span class="org-variable-name">items</span>:
|
||||
@ -913,9 +903,9 @@ You can use <code>latest</code> instead of the ID.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orgcd8f174" class="outline-3">
|
||||
<h3 id="orgcd8f174">Restic</h3>
|
||||
<div class="outline-text-3" id="text-orgcd8f174">
|
||||
<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
|
||||
@ -954,9 +944,9 @@ You can use <code>latest</code> instead of the ID.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org0fd5b56" class="outline-3">
|
||||
<h3 id="org0fd5b56">Snapraid</h3>
|
||||
<div class="outline-text-3" id="text-org0fd5b56">
|
||||
<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
|
||||
@ -1084,9 +1074,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
|
||||
|
||||
<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 id="outline-container-org71bbad9" class="outline-3">
|
||||
<h3 id="org71bbad9">Portainer</h3>
|
||||
<div class="outline-text-3" id="text-org71bbad9">
|
||||
<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
|
||||
@ -1116,9 +1106,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org2690f5c" class="outline-3">
|
||||
<h3 id="org2690f5c">Wireguard</h3>
|
||||
<div class="outline-text-3" id="text-org2690f5c">
|
||||
<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
|
||||
@ -1147,13 +1137,13 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orgfce2f91" class="outline-3">
|
||||
<h3 id="orgfce2f91">Gitea</h3>
|
||||
<div class="outline-text-3" id="text-orgfce2f91">
|
||||
<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.13.2
|
||||
<span class="org-variable-name">image</span>: gitea/gitea:1.12.4
|
||||
<span class="org-variable-name">depends_on</span>:
|
||||
- gitea_db
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
@ -1200,9 +1190,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org5f91f36" class="outline-3">
|
||||
<h3 id="org5f91f36">Caddy - Research Pages</h3>
|
||||
<div class="outline-text-3" id="text-org5f91f36">
|
||||
<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
|
||||
@ -1230,9 +1220,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgefebb52" class="outline-4">
|
||||
<h4 id="orgefebb52"><code>Caddyfile</code></h4>
|
||||
<div class="outline-text-4" id="text-orgefebb52">
|
||||
<div id="outline-container-org0b6782a" class="outline-4">
|
||||
<h4 id="org0b6782a"><code>Caddyfile</code></h4>
|
||||
<div class="outline-text-4" id="text-org0b6782a">
|
||||
<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/
|
||||
@ -1251,9 +1241,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org2a95802" class="outline-3">
|
||||
<h3 id="org2a95802">Caddy - Dotfiles</h3>
|
||||
<div class="outline-text-3" id="text-org2a95802">
|
||||
<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
|
||||
@ -1280,9 +1270,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgcb02743" class="outline-4">
|
||||
<h4 id="orgcb02743"><code>Caddyfile</code></h4>
|
||||
<div class="outline-text-4" id="text-orgcb02743">
|
||||
<div id="outline-container-orga8fcffa" class="outline-4">
|
||||
<h4 id="orga8fcffa"><code>Caddyfile</code></h4>
|
||||
<div class="outline-text-4" id="text-orga8fcffa">
|
||||
<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/
|
||||
@ -1300,13 +1290,13 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orga6fbf52" class="outline-3">
|
||||
<h3 id="orga6fbf52">Hugo</h3>
|
||||
<div class="outline-text-3" id="text-orga6fbf52">
|
||||
<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>: tdehaeze/hugo-caddy
|
||||
<span class="org-variable-name">image</span>: muninn/hugo-caddy
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
<span class="org-variable-name">networks</span>:
|
||||
- t2_proxy
|
||||
@ -1324,9 +1314,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org52d5b6f" class="outline-3">
|
||||
<h3 id="org52d5b6f">Syncthing</h3>
|
||||
<div class="outline-text-3" id="text-org52d5b6f">
|
||||
<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
|
||||
@ -1363,13 +1353,13 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org18acd57" class="outline-3">
|
||||
<h3 id="org18acd57">Miniflux</h3>
|
||||
<div class="outline-text-3" id="text-org18acd57">
|
||||
<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
|
||||
<span class="org-variable-name">image</span>: miniflux/miniflux:latest
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
<span class="org-variable-name">networks</span>:
|
||||
- t2_proxy
|
||||
@ -1408,9 +1398,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orgc641172" class="outline-3">
|
||||
<h3 id="orgc641172">Home Assistant</h3>
|
||||
<div class="outline-text-3" id="text-orgc641172">
|
||||
<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
|
||||
@ -1450,9 +1440,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org658129f" class="outline-3">
|
||||
<h3 id="org658129f">Jellyfin</h3>
|
||||
<div class="outline-text-3" id="text-org658129f">
|
||||
<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
|
||||
@ -1483,9 +1473,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orgdbb2dbc" class="outline-3">
|
||||
<h3 id="orgdbb2dbc">Filebrowser</h3>
|
||||
<div class="outline-text-3" id="text-orgdbb2dbc">
|
||||
<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
|
||||
@ -1531,9 +1521,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org625d5ca" class="outline-3">
|
||||
<h3 id="org625d5ca">Scrutiny</h3>
|
||||
<div class="outline-text-3" id="text-org625d5ca">
|
||||
<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
|
||||
@ -1567,9 +1557,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-org27d8ca3" class="outline-3">
|
||||
<h3 id="org27d8ca3">Guacamole</h3>
|
||||
<div class="outline-text-3" id="text-org27d8ca3">
|
||||
<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
|
||||
@ -1596,13 +1586,13 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orgff0412d" class="outline-3">
|
||||
<h3 id="orgff0412d">Transmission</h3>
|
||||
<div class="outline-text-3" id="text-orgff0412d">
|
||||
<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
|
||||
<span class="org-variable-name">image</span>: haugene/transmission-openvpn:2.13
|
||||
<span class="org-variable-name">restart</span>: unless-stopped
|
||||
<span class="org-variable-name">networks</span>:
|
||||
- t2_proxy
|
||||
@ -1643,9 +1633,9 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orge9d3c90" class="outline-3">
|
||||
<h3 id="orge9d3c90">Aria2 - Daemon</h3>
|
||||
<div class="outline-text-3" id="text-orge9d3c90">
|
||||
<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
|
||||
@ -1697,45 +1687,18 @@ exclude .AppleDB
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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 id="outline-container-orgffad5f9" class="outline-3">
|
||||
<h3 id="orgffad5f9">Deemix</h3>
|
||||
<div class="outline-text-3" id="text-orgffad5f9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-yaml"> <span class="org-variable-name">deemix</span>:
|
||||
<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">container_name</span>: deemix
|
||||
<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/Music:/downloads
|
||||
- /srv/storage/Downloads:/downloads
|
||||
- $CONFIGDIR/deemix:/config
|
||||
<span class="org-variable-name">environment</span>:
|
||||
- TZ=$TZ
|
||||
@ -1748,49 +1711,11 @@ 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-comment-delimiter"># </span><span class="org-comment">- "traefik.http.routers.deemix-rtr.middlewares=traefik-auth"</span>
|
||||
- <span class="org-string">"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>
|
||||
|
||||
@ -1883,7 +1808,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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-11 lun. 14:50</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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-08 ven. 01:40 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Qutebrowser Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -23,12 +23,10 @@
|
||||
<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>
|
||||
@ -72,19 +70,6 @@
|
||||
</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">
|
||||
@ -109,7 +94,6 @@ Do not load config set with <code>:set</code> command in qutebrowser.
|
||||
<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>
|
||||
@ -140,18 +124,6 @@ Do not load config set with <code>:set</code> command in qutebrowser.
|
||||
</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">
|
||||
@ -536,7 +508,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>
|
||||
|
||||
@ -547,11 +519,6 @@ 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>
|
||||
|
||||
@ -910,7 +877,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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:40</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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-08 ven. 01:33 -->
|
||||
<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="#org527bd08">Basic</a></li>
|
||||
<li><a href="#org49c5be5">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="#orgf964ebf">Basic</a></li>
|
||||
<li><a href="#org527bd08">Basic</a></li>
|
||||
<li><a href="#orga9f3972">Move around</a></li>
|
||||
<li><a href="#org6265874">Line Editing</a></li>
|
||||
</ul>
|
||||
@ -312,7 +312,8 @@ Delete first page of pdf
|
||||
Convert images/pdf/…
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">map ,c shell convert-file %f
|
||||
<pre class="src src-conf">map ,cp shell pdf2png %f
|
||||
map ,cc shell convert-file %f
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -451,9 +452,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-org527bd08" class="outline-4">
|
||||
<h4 id="org527bd08">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org527bd08">
|
||||
<div id="outline-container-org49c5be5" class="outline-4">
|
||||
<h4 id="org49c5be5">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org49c5be5">
|
||||
<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>)
|
||||
@ -766,9 +767,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-orgf964ebf" class="outline-4">
|
||||
<h4 id="orgf964ebf">Basic</h4>
|
||||
<div class="outline-text-4" id="text-orgf964ebf">
|
||||
<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">cmap <tab> eval fm.ui.console.tab()
|
||||
cmap <s-tab> eval fm.ui.console.tab(-1)
|
||||
@ -955,9 +956,10 @@ 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 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 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 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>
|
||||
@ -1083,7 +1085,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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:33</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-02-10 mer. 17:57 -->
|
||||
<!-- 2021-01-08 ven. 01:43 -->
|
||||
<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-02-10 mer. 17:57</p>
|
||||
<p class="date">Created: 2021-01-08 ven. 01:43</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
123
doom.org
123
doom.org
@ -11,7 +11,6 @@
|
||||
#+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
|
||||
@ -298,27 +297,6 @@ 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)
|
||||
@ -634,17 +612,6 @@ 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
|
||||
@ -694,7 +661,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 results :tangle no")
|
||||
("mv" . "src matlab :results value replace :exports none :tangle no")
|
||||
("l" . "src emacs-lisp")
|
||||
("q" . "quote")
|
||||
("s" . "src")
|
||||
@ -1082,13 +1049,13 @@ by spaces.
|
||||
:latex-compiler ("latex -interaction nonstopmode -output-directory %o %f")
|
||||
:image-converter ("dvipng -D %D -T tight -o %O %f"))
|
||||
(dvisvgm
|
||||
:programs ("xetex" "dvisvgm")
|
||||
:description "xdv > svg"
|
||||
:message "you need to install the programs: xetex and dvisvgm."
|
||||
:image-input-type "xdv"
|
||||
:programs ("pdflatex" "dvisvgm")
|
||||
:description "dvi > svg"
|
||||
:message "you need to install the programs: latex and dvisvgm."
|
||||
:image-input-type "dvi"
|
||||
:image-output-type "svg"
|
||||
:image-size-adjust (0.6 . 0.6)
|
||||
:latex-compiler ("xelatex -no-pdf -output-directory %o %f")
|
||||
:latex-compiler ("latex -interaction nonstopmode -output-directory %o %f")
|
||||
:image-converter ("dvisvgm %f -n -b min -c %S -o %O"))
|
||||
))
|
||||
|
||||
@ -1411,14 +1378,6 @@ 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/
|
||||
|
||||
@ -1599,7 +1558,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 :tangle no
|
||||
#+begin_src emacs-lisp
|
||||
(after! org
|
||||
(defun tdh-render-org-table-at-point ()
|
||||
(interactive)
|
||||
@ -2187,35 +2146,6 @@ 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
|
||||
@ -2406,9 +2336,8 @@ This function:
|
||||
(tdh-matlab-execute-selected (region-beginning) (region-end))
|
||||
(progn (tdh-org-babel-execute-matlab-background)
|
||||
(org-babel-next-src-block)))
|
||||
(org-babel-next-src-block))
|
||||
(tdh-ctrl-ret))
|
||||
)
|
||||
(org-babel-next-src-block)
|
||||
)
|
||||
)
|
||||
#+end_src
|
||||
@ -2603,7 +2532,7 @@ Nice Functions:
|
||||
:custom-face
|
||||
(org-roam-link ((t (:inherit org-link :foreground "#cc241d"))))
|
||||
:config
|
||||
(setq org-roam-directory (file-truename "~/Cloud/brain/"))
|
||||
(setq org-roam-directory "~/Cloud/brain/")
|
||||
(setq org-roam-completion-system 'helm)
|
||||
(setq org-roam-tag-sources '(prop last-directory))
|
||||
(setq org-roam-capture-templates
|
||||
@ -2651,20 +2580,17 @@ 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)
|
||||
)
|
||||
#+end_src
|
||||
|
||||
Re-Export all roam files.
|
||||
#+begin_src emacs-lisp
|
||||
(defun tdh-org-roam-export-all ()
|
||||
|
||||
(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]])
|
||||
@ -2898,13 +2824,6 @@ 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
|
||||
@ -3314,7 +3233,7 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
|
||||
* Doom =packages.el=
|
||||
:PROPERTIES:
|
||||
:header-args:emacs-lisp: :tangle ~/.config/doom/packages.el
|
||||
:header-args: :tangle ~/.config/doom/packages.el
|
||||
:END:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
@ -3355,21 +3274,11 @@ 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)
|
||||
@ -3395,7 +3304,6 @@ 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
|
||||
@ -3412,8 +3320,3 @@ 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}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\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}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\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}
|
||||
\begin{tikzpicture}
|
||||
$0
|
||||
\end{tikzpicture}
|
||||
\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 @@ end
|
||||
|
||||
,** 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
|
||||
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
|
||||
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,7 +134,6 @@ 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,10 +696,11 @@ macro index \Cr \
|
||||
#+END_SRC
|
||||
|
||||
#+begin_src conf
|
||||
bind index z collapse-thread
|
||||
bind index Z collapse-all
|
||||
bind index za collapse-thread
|
||||
bind index zA collapse-all # Missing :folddisable/foldenable
|
||||
#+end_src
|
||||
|
||||
|
||||
Write/Reply/Forward mail
|
||||
#+BEGIN_SRC conf
|
||||
bind index,pager p recall-message
|
||||
@ -742,13 +743,6 @@ 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
|
||||
@ -838,6 +832,12 @@ 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= - Application proxy
|
||||
** Traefik
|
||||
#+begin_src yaml
|
||||
services:
|
||||
#+end_src
|
||||
@ -367,7 +367,7 @@ services:
|
||||
# - 'traefik.http.middlewares.authelia.forwardauth.authResponseHeaders=Remote-User, Remote-Groups'
|
||||
#+end_src
|
||||
|
||||
** =homer= - Home page
|
||||
** Homer
|
||||
#+begin_src yaml
|
||||
homer:
|
||||
container_name: homer
|
||||
@ -418,10 +418,6 @@ 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:
|
||||
@ -471,10 +467,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: "http://dl.tdehaeze.xyz"
|
||||
# - name: "Aria2"
|
||||
# logo: "/assets/tools/aria2.png"
|
||||
# subtitle: "Direct Downloads"
|
||||
# url: "https://dl.tdehaeze.xyz"
|
||||
- name: "Media"
|
||||
icon: "fas fa-film"
|
||||
items:
|
||||
@ -526,7 +522,7 @@ services:
|
||||
url: "http://192.168.1.56/"
|
||||
#+end_src
|
||||
|
||||
** =restic= - Automatic online backups
|
||||
** Restic
|
||||
#+begin_src yaml
|
||||
restic:
|
||||
container_name: restic
|
||||
@ -557,7 +553,7 @@ user = dehaeze.thomas@gmail.com
|
||||
pass = <<get-password(passname="nas/rclone_mega_pass")>>
|
||||
#+end_src
|
||||
|
||||
** =snapraid= - Manage local backup with parity disk
|
||||
** Snapraid
|
||||
#+begin_src yaml
|
||||
snapraid:
|
||||
container_name: snapraid
|
||||
@ -672,7 +668,7 @@ older-than = 10
|
||||
#+end_src
|
||||
|
||||
|
||||
** =portainer= - Manage docker
|
||||
** Portainer
|
||||
#+begin_src yaml
|
||||
portainer:
|
||||
container_name: portainer
|
||||
@ -699,7 +695,7 @@ older-than = 10
|
||||
- "traefik.http.services.portainer-svc.loadbalancer.server.port=9000"
|
||||
#+end_src
|
||||
|
||||
** =wireguard= - VPN
|
||||
** Wireguard
|
||||
#+begin_src yaml
|
||||
wireguard:
|
||||
container_name: wireguard
|
||||
@ -725,11 +721,11 @@ older-than = 10
|
||||
- 51820:51820/udp
|
||||
#+end_src
|
||||
|
||||
** =gitea= - Git server
|
||||
** Gitea
|
||||
#+begin_src yaml
|
||||
gitea:
|
||||
container_name: git
|
||||
image: gitea/gitea:1.13.2
|
||||
image: gitea/gitea:1.12.4
|
||||
depends_on:
|
||||
- gitea_db
|
||||
restart: unless-stopped
|
||||
@ -772,7 +768,7 @@ older-than = 10
|
||||
- $CONFIGDIR/mariadb:/var/lib/mysql
|
||||
#+end_src
|
||||
|
||||
** =caddy= - Research Pages
|
||||
** Caddy - Research Pages
|
||||
#+begin_src yaml
|
||||
caddy:
|
||||
container_name: caddy
|
||||
@ -813,7 +809,7 @@ older-than = 10
|
||||
}
|
||||
#+end_src
|
||||
|
||||
** =caddy= - Dotfiles
|
||||
** Caddy - Dotfiles
|
||||
#+begin_src yaml
|
||||
dotfiles:
|
||||
container_name: dotfiles
|
||||
@ -852,11 +848,11 @@ older-than = 10
|
||||
}
|
||||
#+end_src
|
||||
|
||||
** =hugo= - Wiki + Blog
|
||||
** Hugo
|
||||
#+begin_src yaml
|
||||
hugo:
|
||||
container_name: hugo
|
||||
image: tdehaeze/hugo-caddy
|
||||
image: muninn/hugo-caddy
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
@ -871,7 +867,7 @@ older-than = 10
|
||||
- "traefik.http.services.hugo-svc.loadbalancer.server.port=2015"
|
||||
#+end_src
|
||||
|
||||
** =syncthing= - File Synchronization
|
||||
** Syncthing
|
||||
#+begin_src yaml
|
||||
syncthing:
|
||||
container_name: syncthing
|
||||
@ -905,11 +901,11 @@ older-than = 10
|
||||
- "traefik.http.services.syncthing-svc.loadbalancer.server.port=8384"
|
||||
#+end_src
|
||||
|
||||
** =miniflux= - RSS reader
|
||||
** Miniflux
|
||||
#+begin_src yaml
|
||||
miniflux:
|
||||
container_name: miniflux
|
||||
image: miniflux/miniflux
|
||||
image: miniflux/miniflux:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
@ -945,7 +941,7 @@ older-than = 10
|
||||
- $CONFIGDIR/miniflux_db:/var/lib/postgresql/data
|
||||
#+end_src
|
||||
|
||||
** =homeassistant= - Home Automation
|
||||
** Home Assistant
|
||||
#+begin_src yaml
|
||||
homeassistant:
|
||||
container_name: homeassistant
|
||||
@ -982,7 +978,7 @@ older-than = 10
|
||||
#- "traefik.http.services.homeassistant-svc.loadbalancer.server.port=8123"
|
||||
#+end_src
|
||||
|
||||
** =jellyfin= - Media server
|
||||
** Jellyfin
|
||||
#+begin_src yaml
|
||||
jellyfin:
|
||||
container_name: jellyfin
|
||||
@ -1010,7 +1006,7 @@ older-than = 10
|
||||
- "traefik.http.services.jellyfin-svc.loadbalancer.server.port=8096"
|
||||
#+end_src
|
||||
|
||||
** =filebrowser= - Web file browser
|
||||
** Filebrowser
|
||||
#+begin_src yaml
|
||||
filebrowser:
|
||||
container_name: filebrowser
|
||||
@ -1049,7 +1045,7 @@ older-than = 10
|
||||
}
|
||||
#+end_src
|
||||
|
||||
** =scrutiny= - Hard drive monitoring
|
||||
** Scrutiny
|
||||
#+begin_src yaml
|
||||
scrutiny:
|
||||
container_name: scrutiny
|
||||
@ -1080,7 +1076,7 @@ older-than = 10
|
||||
- 8089:8080
|
||||
#+end_src
|
||||
|
||||
** =guacamole= - Remote connection
|
||||
** Guacamole
|
||||
#+begin_src yaml
|
||||
guacamole:
|
||||
image: oznu/guacamole
|
||||
@ -1104,11 +1100,11 @@ older-than = 10
|
||||
- "traefik.http.services.guacamole-svc.loadbalancer.server.port=8080"
|
||||
#+end_src
|
||||
|
||||
** =transmission= - Torrent server
|
||||
** Transmission
|
||||
#+begin_src yaml
|
||||
transmission-openvpn:
|
||||
container_name: transmission
|
||||
image: haugene/transmission-openvpn
|
||||
image: haugene/transmission-openvpn:2.13
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
@ -1146,7 +1142,7 @@ older-than = 10
|
||||
- "traefik.http.services.transmission-svc.loadbalancer.server.port=9091"
|
||||
#+end_src
|
||||
|
||||
** =aria2= - Download daemon
|
||||
** Aria2 - Daemon
|
||||
#+begin_src yaml
|
||||
aria2:
|
||||
container_name: aria2
|
||||
@ -1190,38 +1186,16 @@ min-split-size=1M
|
||||
split=16
|
||||
#+end_src
|
||||
|
||||
** =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
|
||||
** Deemix
|
||||
#+begin_src yaml
|
||||
deemix:
|
||||
container_name: deemix
|
||||
image: registry.gitlab.com/bockiii/deemix-docker
|
||||
container_name: deemix
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- t2_proxy
|
||||
volumes:
|
||||
- /srv/storage/Music:/downloads
|
||||
- /srv/storage/Downloads:/downloads
|
||||
- $CONFIGDIR/deemix:/config
|
||||
environment:
|
||||
- TZ=$TZ
|
||||
@ -1234,38 +1208,10 @@ 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,12 +12,6 @@ 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'}
|
||||
@ -35,7 +29,6 @@ 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
|
||||
@ -53,13 +46,6 @@ 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
|
||||
@ -326,7 +312,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
|
||||
@ -334,10 +320,6 @@ 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,7 +202,8 @@ map ,d shell pdf-delete-first-page %f
|
||||
|
||||
Convert images/pdf/...
|
||||
#+BEGIN_SRC conf
|
||||
map ,c shell convert-file %f
|
||||
map ,cp shell pdf2png %f
|
||||
map ,cc shell convert-file %f
|
||||
#+END_SRC
|
||||
|
||||
Magit Status
|
||||
@ -683,9 +684,10 @@ 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 pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has wpp, X, flag f = wpp "$@"
|
||||
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 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