Update html pages

This commit is contained in:
Thomas Dehaeze 2020-11-03 16:27:09 +01:00
parent df6a78225a
commit 409883c535
25 changed files with 7468 additions and 8108 deletions

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:39 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Bash Configuration</title> <title>Bash Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -43,6 +43,7 @@
<li><a href="#orgd519f4b">One letter aliases</a></li> <li><a href="#orgd519f4b">One letter aliases</a></li>
<li><a href="#org564af34">Neovim</a></li> <li><a href="#org564af34">Neovim</a></li>
<li><a href="#org258d499">Magit</a></li> <li><a href="#org258d499">Magit</a></li>
<li><a href="#org88d74a4">Homelab Relative</a></li>
<li><a href="#org9b3882d">Vim-like</a></li> <li><a href="#org9b3882d">Vim-like</a></li>
<li><a href="#org62f7fe5">Print each PATH entry on a separate line</a></li> <li><a href="#org62f7fe5">Print each PATH entry on a separate line</a></li>
</ul> </ul>
@ -75,6 +76,7 @@
<li><a href="#org684e85f">Use Ripgrep for FZF</a></li> <li><a href="#org684e85f">Use Ripgrep for FZF</a></li>
<li><a href="#org545dc00">Goland</a></li> <li><a href="#org545dc00">Goland</a></li>
<li><a href="#org20b9dbe">Latex Path</a></li> <li><a href="#org20b9dbe">Latex Path</a></li>
<li><a href="#org8965bcd">Bitwarden Session</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org3b15f2e">Path</a></li> <li><a href="#org3b15f2e">Path</a></li>
@ -94,7 +96,7 @@
<h3 id="org6524e6a">What does that do?</h3> <h3 id="org6524e6a">What does that do?</h3>
<div class="outline-text-3" id="text-org6524e6a"> <div class="outline-text-3" id="text-org6524e6a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">[[ $- != *i* ]] &amp;&amp; return <pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-variable-name">-</span> != *i* <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-keyword">return</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -104,7 +106,7 @@
<h3 id="orgade44ee">Bash Completion</h3> <h3 id="orgade44ee">Bash Completion</h3>
<div class="outline-text-3" id="text-orgade44ee"> <div class="outline-text-3" id="text-orgade44ee">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">[ -r /usr/share/bash-completion/bash_completion ] &amp;&amp; . /usr/share/bash-completion/bash_completion <pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span> -r /usr/share/bash-completion/bash_completion <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> /usr/share/bash-completion/bash_completion
</pre> </pre>
</div> </div>
</div> </div>
@ -114,8 +116,8 @@
<h3 id="orgd9f988d">Ignore case for autocompletion</h3> <h3 id="orgd9f988d">Ignore case for autocompletion</h3>
<div class="outline-text-3" id="text-orgd9f988d"> <div class="outline-text-3" id="text-orgd9f988d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">bind "set completion-ignore-case on" <pre class="src src-bash"><span class="org-builtin">bind</span> <span class="org-string">"set completion-ignore-case on"</span>
bind "set show-all-if-ambiguous on" <span class="org-builtin">bind</span> <span class="org-string">"set show-all-if-ambiguous on"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -125,9 +127,9 @@ bind "set show-all-if-ambiguous on"
<h3 id="org41663f0">Use Color</h3> <h3 id="org41663f0">Use Color</h3>
<div class="outline-text-3" id="text-org41663f0"> <div class="outline-text-3" id="text-org41663f0">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">use_color=true <pre class="src src-bash"><span class="org-variable-name">use_color</span>=true
alias ls='ls -hN --color=auto --group-directories-first' <span class="org-builtin">alias</span> <span class="org-type">ls</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">ls</span></span><span class="org-string"> -hN --color=auto --group-directories-first'</span>
alias grep='grep --colour=auto' <span class="org-builtin">alias</span> <span class="org-type">grep</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">grep</span></span><span class="org-string"> --colour=auto'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -141,38 +143,38 @@ dircolors &#x2013;print-database uses its own built-in database instead of using
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM <pre class="src src-bash"><span class="org-variable-name">safe_term</span>=$<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">TERM</span>//<span class="org-rainbow-delimiters-depth-2">[</span>^<span class="org-rainbow-delimiters-depth-3">[</span>:alnum:<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-comment-delimiter"># </span><span class="org-comment">sanitize TERM</span>
match_lhs="" <span class="org-variable-name">match_lhs</span>=<span class="org-string">""</span>
[[ -f ~/.dir_colors ]] &amp;&amp; match_lhs="${match_lhs}$(&lt;~/.dir_colors)" <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.dir_colors <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-variable-name">match_lhs</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{match_lhs}</span></span><span class="org-string"><span class="org-sh-quoted-exec">$(&lt;~/.dir_colors)</span></span><span class="org-string">"</span>
[[ -f /etc/DIR_COLORS ]] &amp;&amp; match_lhs="${match_lhs}$(&lt;/etc/DIR_COLORS)" <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f /etc/DIR_COLORS <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-variable-name">match_lhs</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{match_lhs}</span></span><span class="org-string"><span class="org-sh-quoted-exec">$(&lt;/etc/DIR_COLORS)</span></span><span class="org-string">"</span>
[[ -z ${match_lhs} ]] \ <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -z $<span class="org-rainbow-delimiters-depth-3">{</span><span class="org-variable-name">match_lhs</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-sh-escaped-newline">\</span>
&amp;&amp; type -P dircolors &gt;/dev/null \ &amp;&amp; <span class="org-builtin">type</span> -P dircolors &gt;/dev/null <span class="org-sh-escaped-newline">\</span>
&amp;&amp; match_lhs=$(dircolors --print-database) &amp;&amp; <span class="org-variable-name">match_lhs</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">dircolors</span> --print-database<span class="org-rainbow-delimiters-depth-1">)</span>
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] &amp;&amp; use_color=true <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-string">'\n'</span>$<span class="org-rainbow-delimiters-depth-3">{</span><span class="org-variable-name">match_lhs</span><span class="org-rainbow-delimiters-depth-3">}</span> == *$<span class="org-string">'\n'"TERM "</span>$<span class="org-rainbow-delimiters-depth-3">{</span><span class="org-variable-name">safe_term</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> &amp;&amp; <span class="org-variable-name">use_color</span>=true
if ${use_color} ; then <span class="org-keyword">if</span> $<span class="org-rainbow-delimiters-depth-1">{</span><span class="org-variable-name">use_color</span><span class="org-rainbow-delimiters-depth-1">}</span> ; <span class="org-keyword">then</span>
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489 <span class="org-comment-delimiter"># </span><span class="org-comment">Enable colors for ls, etc. Prefer ~/.dir_colors #64489</span>
if type -P dircolors &gt;/dev/null ; then <span class="org-keyword">if </span><span class="org-builtin">type</span> -P dircolors &gt;/dev/null ; <span class="org-keyword">then</span>
if [[ -f ~/.dir_colors ]] ; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.dir_colors <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> ; <span class="org-keyword">then</span>
eval $(dircolors -b ~/.dir_colors) <span class="org-builtin">eval</span> $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">dircolors</span> -b ~/.dir_colors<span class="org-rainbow-delimiters-depth-1">)</span>
elif [[ -f /etc/DIR_COLORS ]] ; then <span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f /etc/DIR_COLORS <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> ; <span class="org-keyword">then</span>
eval $(dircolors -b /etc/DIR_COLORS) <span class="org-builtin">eval</span> $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">dircolors</span> -b /etc/DIR_COLORS<span class="org-rainbow-delimiters-depth-1">)</span>
fi <span class="org-keyword">fi</span>
fi <span class="org-keyword">fi</span>
if [[ ${EUID} == 0 ]] ; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-rainbow-delimiters-depth-3">{</span><span class="org-variable-name">EUID</span><span class="org-rainbow-delimiters-depth-3">}</span> == <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> ; <span class="org-keyword">then</span>
PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] ' <span class="org-variable-name">PS1</span>=<span class="org-string">'\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '</span>
else <span class="org-keyword">else</span>
PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] ' <span class="org-variable-name">PS1</span>=<span class="org-string">'\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] '</span>
fi <span class="org-keyword">fi</span>
else <span class="org-keyword">else</span>
if [[ ${EUID} == 0 ]] ; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> $<span class="org-rainbow-delimiters-depth-3">{</span><span class="org-variable-name">EUID</span><span class="org-rainbow-delimiters-depth-3">}</span> == <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> ; <span class="org-keyword">then</span>
# show root@ when we don't have colors <span class="org-comment-delimiter"># </span><span class="org-comment">show root@ when we don't have colors</span>
PS1='\u@\h \W \$ ' <span class="org-variable-name">PS1</span>=<span class="org-string">'\u@\h \W \$ '</span>
else <span class="org-keyword">else</span>
PS1='\u@\h \w \$ ' <span class="org-variable-name">PS1</span>=<span class="org-string">'\u@\h \w \$ '</span>
fi <span class="org-keyword">fi</span>
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -182,22 +184,22 @@ fi
<h3 id="orgd137e06">Some config</h3> <h3 id="orgd137e06">Some config</h3>
<div class="outline-text-3" id="text-orgd137e06"> <div class="outline-text-3" id="text-orgd137e06">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">unset use_color safe_term match_lhs sh <pre class="src src-bash"><span class="org-builtin">unset</span> use_color safe_term match_lhs sh
xhost +local:root &gt; /dev/null 2&gt;&amp;1 xhost +local:root &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>
complete -cf sudo <span class="org-builtin">complete</span> -cf <span class="org-type">sudo</span>
# Line wrap on window resize <span class="org-comment-delimiter"># </span><span class="org-comment">Line wrap on window resize</span>
shopt -s checkwinsize <span class="org-builtin">shopt</span> -s checkwinsize
shopt -s expand_aliases <span class="org-builtin">shopt</span> -s expand_aliases
# Auto "cd" when entering just a path <span class="org-comment-delimiter"># </span><span class="org-comment">Auto "</span><span class="org-type"><span class="org-comment">cd</span></span><span class="org-comment">" when entering just a path</span>
shopt -s autocd <span class="org-builtin">shopt</span> -s autocd
# Enable history appending instead of overwriting <span class="org-comment-delimiter"># </span><span class="org-comment">Enable history appending instead of overwriting</span>
shopt -s histappend <span class="org-builtin">shopt</span> -s histappend
</pre> </pre>
</div> </div>
</div> </div>
@ -207,7 +209,7 @@ shopt -s histappend
<h3 id="org6e324a6">Prompt</h3> <h3 id="org6e324a6">Prompt</h3>
<div class="outline-text-3" id="text-org6e324a6"> <div class="outline-text-3" id="text-org6e324a6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">PS1</span>=<span class="org-string">"\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> bold)</span></span><span class="org-string">\]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\][\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 3)</span></span><span class="org-string">\]\u\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 2)</span></span><span class="org-string">\]@\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 4)</span></span><span class="org-string">\]\h \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 5)</span></span><span class="org-string">\]\W\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 1)</span></span><span class="org-string">\]]\[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> setaf 7)</span></span><span class="org-string">\]\\$ \[</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">tput</span><span class="org-string"><span class="org-sh-quoted-exec"> sgr0)</span></span><span class="org-string">\]"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -217,12 +219,12 @@ shopt -s histappend
<h3 id="orgaf06a47">SSH Agent</h3> <h3 id="orgaf06a47">SSH Agent</h3>
<div class="outline-text-3" id="text-orgaf06a47"> <div class="outline-text-3" id="text-orgaf06a47">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"># if ! pgrep -u "$USER" ssh-agent &gt; /dev/null; then <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">if ! </span><span class="org-type"><span class="org-comment">pgrep</span></span><span class="org-comment"> -u "$USER" ssh-agent &gt; /dev/null; then</span>
# ssh-agent &gt; "$XDG_RUNTIME_DIR/ssh-agent.env" <span class="org-comment-delimiter"># </span><span class="org-comment">ssh-agent &gt; "$XDG_RUNTIME_DIR/ssh-agent.env"</span>
# fi <span class="org-comment-delimiter"># </span><span class="org-comment">fi</span>
# if [[ ! "$SSH_AUTH_SOCK" ]]; then <span class="org-comment-delimiter"># </span><span class="org-comment">if [[ ! "$SSH_AUTH_SOCK" ]]; then</span>
# eval "$(&lt;"$XDG_RUNTIME_DIR/ssh-agent.env")" <span class="org-comment-delimiter"># </span><span class="org-comment">eval "$(&lt;"$XDG_RUNTIME_DIR/ssh-agent.env")"</span>
# fi <span class="org-comment-delimiter"># </span><span class="org-comment">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -232,8 +234,8 @@ shopt -s histappend
<h3 id="org586ae40">Rebind up and down arrow keys to search through bash history</h3> <h3 id="org586ae40">Rebind up and down arrow keys to search through bash history</h3>
<div class="outline-text-3" id="text-org586ae40"> <div class="outline-text-3" id="text-org586ae40">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">bind '"\e[A": history-search-backward' <pre class="src src-bash"><span class="org-builtin">bind</span> <span class="org-string">'"\e[A": history-search-backward'</span>
bind '"\e[B": history-search-forward' <span class="org-builtin">bind</span> <span class="org-string">'"\e[B": history-search-forward'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -247,11 +249,11 @@ bind '"\e[B": history-search-forward'
<h4 id="orgfc778e8">Better defaults for some commands</h4> <h4 id="orgfc778e8">Better defaults for some commands</h4>
<div class="outline-text-4" id="text-orgfc778e8"> <div class="outline-text-4" id="text-orgfc778e8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">alias cp="cp -i" # confirm before overwriting something <pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-type">cp</span>=<span class="org-string">"</span><span class="org-type"><span class="org-string">cp</span></span><span class="org-string"> -i"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">confirm before overwriting something</span>
alias df='df -h' # human-readable sizes <span class="org-builtin">alias</span> <span class="org-variable-name">df</span>=<span class="org-string">'df -h'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">human-readable sizes</span>
alias free='free -m' # show sizes in MB <span class="org-builtin">alias</span> <span class="org-variable-name">free</span>=<span class="org-string">'free -m'</span> <span class="org-comment-delimiter"># </span><span class="org-comment">show sizes in MB</span>
alias mutt="neomutt" <span class="org-builtin">alias</span> <span class="org-variable-name">mutt</span>=<span class="org-string">"neomutt"</span>
alias tmux='tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf' <span class="org-builtin">alias</span> <span class="org-variable-name">tmux</span>=<span class="org-string">'tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -261,15 +263,15 @@ alias tmux='tmux -f $XDG_CONFIG_HOME/tmux/tmux.conf'
<h4 id="orgd519f4b">One letter aliases</h4> <h4 id="orgd519f4b">One letter aliases</h4>
<div class="outline-text-4" id="text-orgd519f4b"> <div class="outline-text-4" id="text-orgd519f4b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">alias r="ranger" <pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">r</span>=<span class="org-string">"ranger"</span>
alias t="tmux" <span class="org-builtin">alias</span> <span class="org-variable-name">t</span>=<span class="org-string">"tmux"</span>
alias v="nvim" <span class="org-builtin">alias</span> <span class="org-variable-name">v</span>=<span class="org-string">"nvim"</span>
alias sv='sudo -E nvim' <span class="org-builtin">alias</span> <span class="org-variable-name">sv</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">sudo</span></span><span class="org-string"> -E nvim'</span>
alias g="git" <span class="org-builtin">alias</span> <span class="org-variable-name">g</span>=<span class="org-string">"</span><span class="org-type"><span class="org-string">git</span></span><span class="org-string">"</span>
alias m="neomutt" <span class="org-builtin">alias</span> <span class="org-variable-name">m</span>=<span class="org-string">"neomutt"</span>
alias y="yadm" <span class="org-builtin">alias</span> <span class="org-variable-name">y</span>=<span class="org-string">"yadm"</span>
alias o="xdg-open" <span class="org-builtin">alias</span> <span class="org-variable-name">o</span>=<span class="org-string">"xdg-open"</span>
alias x="sxiv -ft *" <span class="org-builtin">alias</span> <span class="org-variable-name">x</span>=<span class="org-string">"sxiv -ft *"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -279,7 +281,7 @@ alias x="sxiv -ft *"
<h4 id="org564af34">Neovim</h4> <h4 id="org564af34">Neovim</h4>
<div class="outline-text-4" id="text-org564af34"> <div class="outline-text-4" id="text-org564af34">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">command -v nvim &gt;/dev/null &amp;&amp; alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present. <pre class="src src-bash"><span class="org-builtin">command</span> -v nvim &gt;/dev/null &amp;&amp; <span class="org-builtin">alias</span> <span class="org-variable-name">vim</span>=<span class="org-string">"nvim"</span> <span class="org-variable-name">vimdiff</span>=<span class="org-string">"nvim -d"</span> <span class="org-comment-delimiter"># </span><span class="org-comment">Use neovim for vim if present.</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -289,8 +291,18 @@ alias x="sxiv -ft *"
<h4 id="org258d499">Magit</h4> <h4 id="org258d499">Magit</h4>
<div class="outline-text-4" id="text-org258d499"> <div class="outline-text-4" id="text-org258d499">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"># alias magit="emacsclient -create-frame --alternate-editor=\"\" --eval '(magit-status)'" <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">alias magit="emacsclient -create-frame --alternate-editor=\"\" --eval '(magit-status)'"</span>
alias magit="nvim -c MagitOnly" <span class="org-builtin">alias</span> <span class="org-variable-name">magit</span>=<span class="org-string">"nvim -c MagitOnly"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org88d74a4" class="outline-4">
<h4 id="org88d74a4">Homelab Relative</h4>
<div class="outline-text-4" id="text-org88d74a4">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">dlab</span>=<span class="org-string">"aria2p --port 6800 --host http://dl.tdehaeze.xyz --secret </span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">pass</span><span class="org-string"><span class="org-sh-quoted-exec"> dl.tdehaeze.xyz/tdehaeze | sed -n 1p)</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -300,8 +312,8 @@ alias magit="nvim -c MagitOnly"
<h4 id="org9b3882d">Vim-like</h4> <h4 id="org9b3882d">Vim-like</h4>
<div class="outline-text-4" id="text-org9b3882d"> <div class="outline-text-4" id="text-org9b3882d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">alias :q=exit <pre class="src src-bash"><span class="org-builtin">alias</span> :<span class="org-variable-name">q</span>=exit
alias :e=nvim <span class="org-builtin">alias</span> :<span class="org-variable-name">e</span>=nvim
</pre> </pre>
</div> </div>
</div> </div>
@ -311,7 +323,7 @@ alias :e=nvim
<h4 id="org62f7fe5">Print each PATH entry on a separate line</h4> <h4 id="org62f7fe5">Print each PATH entry on a separate line</h4>
<div class="outline-text-4" id="text-org62f7fe5"> <div class="outline-text-4" id="text-org62f7fe5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">alias path='echo -e ${PATH//:/\\n}' <pre class="src src-bash"><span class="org-builtin">alias</span> <span class="org-variable-name">path</span>=<span class="org-string">'</span><span class="org-type"><span class="org-string">echo</span></span><span class="org-string"> -e ${PATH//:/\\n}'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -326,32 +338,32 @@ alias :e=nvim
<h4 id="orgfc4520c">Display colors</h4> <h4 id="orgfc4520c">Display colors</h4>
<div class="outline-text-4" id="text-orgfc4520c"> <div class="outline-text-4" id="text-orgfc4520c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">colors() { <pre class="src src-bash"><span class="org-function-name">colors</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
local fgc bgc vals seq0 <span class="org-builtin">local</span> fgc bgc vals seq0
printf "Color escapes are %s\n" '\e[${value};...;${value}m' <span class="org-builtin">printf</span> <span class="org-string">"Color escapes are %s\n"</span> <span class="org-string">'\e[${value};...;${value}m'</span>
printf "Values 30..37 are \e[33mforeground colors\e[m\n" <span class="org-builtin">printf</span> <span class="org-string">"Values 30..37 are \e[33mforeground colors\e[m\n"</span>
printf "Values 40..47 are \e[43mbackground colors\e[m\n" <span class="org-builtin">printf</span> <span class="org-string">"Values 40..47 are \e[43mbackground colors\e[m\n"</span>
printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n" <span class="org-builtin">printf</span> <span class="org-string">"Value 1 gives a \e[1mbold-faced look\e[m\n\n"</span>
# foreground colors <span class="org-comment-delimiter"># </span><span class="org-comment">foreground colors</span>
for fgc in {30..37}; do <span class="org-keyword">for</span> fgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>30..37<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span>
# background colors <span class="org-comment-delimiter"># </span><span class="org-comment">background colors</span>
for bgc in {40..47}; do <span class="org-keyword">for</span> bgc<span class="org-keyword"> in</span> <span class="org-rainbow-delimiters-depth-2">{</span>40..47<span class="org-rainbow-delimiters-depth-2">}</span>; <span class="org-keyword">do</span>
fgc=${fgc#37} # white <span class="org-variable-name">fgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">fgc</span>#37<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">white</span>
bgc=${bgc#40} # black <span class="org-variable-name">bgc</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">bgc</span>#40<span class="org-rainbow-delimiters-depth-2">}</span> <span class="org-comment-delimiter"># </span><span class="org-comment">black</span>
vals="${fgc:+$fgc;}${bgc}" <span class="org-variable-name">vals</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{fgc:+$fgc;}</span></span><span class="org-string">${bgc}"</span>
vals=${vals%%;} <span class="org-variable-name">vals</span>=$<span class="org-rainbow-delimiters-depth-2">{</span><span class="org-variable-name">vals</span>%%;<span class="org-rainbow-delimiters-depth-2">}</span>
seq0="${vals:+\e[${vals}m}" <span class="org-variable-name">seq0</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{vals:+\e[${vals}</span></span><span class="org-string">m}"</span>
printf " %-9s" "${seq0:-(default)}" <span class="org-builtin">printf</span> <span class="org-string">" %-9s"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{seq0:-(default)}</span></span><span class="org-string">"</span>
printf " ${seq0}TEXT\e[m" <span class="org-builtin">printf</span> <span class="org-string">" </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{seq0}</span></span><span class="org-string">TEXT\e[m"</span>
printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m" <span class="org-builtin">printf</span> <span class="org-string">" \e[</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{vals:+${vals+$vals;}</span></span><span class="org-string">}1mBOLD\e[m"</span>
done <span class="org-keyword">done</span>
echo; echo <span class="org-type">echo</span>; <span class="org-type">echo</span>
done <span class="org-keyword">done</span>
} <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -368,9 +380,9 @@ small enough for one screen.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">function tre() { <pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">tre</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
tree -aC -I '.git|node_modules|bower_components' --dirsfirst "$@" | less -FRNX; tree -aC -I <span class="org-string">'.git|node_modules|bower_components'</span> --dirsfirst <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> | <span class="org-type">less</span> -FRNX;
} <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -380,9 +392,9 @@ small enough for one screen.
<h4 id="orgfe71409">Create a new directory and enter it</h4> <h4 id="orgfe71409">Create a new directory and enter it</h4>
<div class="outline-text-4" id="text-orgfe71409"> <div class="outline-text-4" id="text-orgfe71409">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">function mkd() { <pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">mkd</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
mkdir -p "$@" &amp;&amp; cd "$_"; <span class="org-type">mkdir</span> -p <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-type">cd</span> <span class="org-string">"$_"</span>;
} <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -392,18 +404,18 @@ small enough for one screen.
<h4 id="org4395b78">Filesize of directory</h4> <h4 id="org4395b78">Filesize of directory</h4>
<div class="outline-text-4" id="text-org4395b78"> <div class="outline-text-4" id="text-org4395b78">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">function fs() { <pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">fs</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
if du -b /dev/null &gt; /dev/null 2&gt;&amp;1; then <span class="org-keyword">if</span> du -b /dev/null &gt; /dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>; <span class="org-keyword">then</span>
local arg=-sbh; <span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sbh;
else <span class="org-keyword">else</span>
local arg=-sh; <span class="org-builtin">local</span> <span class="org-variable-name">arg</span>=-sh;
fi <span class="org-keyword">fi</span>
if [[ -n "$@" ]]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span><span class="org-rainbow-delimiters-depth-3">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></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-keyword">then</span>
du $arg -- "$@"; du $<span class="org-variable-name">arg</span> -- <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span>;
else <span class="org-keyword">else</span>
du $arg .[^.]* ./*; du $<span class="org-variable-name">arg</span> .<span class="org-rainbow-delimiters-depth-2">[</span>^.<span class="org-rainbow-delimiters-depth-2">]</span>* ./*;
fi; <span class="org-keyword">fi</span>;
} <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -413,9 +425,9 @@ small enough for one screen.
<h4 id="orgf1e7ce2">Redirect both standard output and standard error, as well as sending to background</h4> <h4 id="orgf1e7ce2">Redirect both standard output and standard error, as well as sending to background</h4>
<div class="outline-text-4" id="text-orgf1e7ce2"> <div class="outline-text-4" id="text-orgf1e7ce2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">function nullify() { <pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">nullify</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
"$@" &gt;/dev/null 2&gt;&amp;1 <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> &gt;/dev/null <span class="org-highlight-numbers-number">2</span>&gt;&amp;<span class="org-highlight-numbers-number">1</span>
} <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -428,21 +440,21 @@ small enough for one screen.
<a href="https://doronbehar.com/articles/using-kdeconnect-to-comfortably-send-sms-messages-from-the-shell/#kdeconnects-builtin-sms-interface">https://doronbehar.com/articles/using-kdeconnect-to-comfortably-send-sms-messages-from-the-shell/#kdeconnects-builtin-sms-interface</a> <a href="https://doronbehar.com/articles/using-kdeconnect-to-comfortably-send-sms-messages-from-the-shell/#kdeconnects-builtin-sms-interface">https://doronbehar.com/articles/using-kdeconnect-to-comfortably-send-sms-messages-from-the-shell/#kdeconnects-builtin-sms-interface</a>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">sms(){ <pre class="src src-bash"><span class="org-function-name">sms</span><span class="org-rainbow-delimiters-depth-1">(){</span>
local args="$@" <span class="org-builtin">local</span> <span class="org-variable-name">args</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span>
# local phone_number name phone_type <span class="org-comment-delimiter"># </span><span class="org-comment">local phone_number name phone_type</span>
# khard phone --parsable | sort -u | fzf | IFS=$'\t' read -r phone_number name phone_type <span class="org-comment-delimiter"># </span><span class="org-comment">khard phone --parsable | sort -u | fzf | IFS=$'\t' read -r phone_number name phone_type</span>
local phone_number=$(khard phone --parsable | sort -u | fzf | cut -f1 -d$'\t') <span class="org-builtin">local</span> <span class="org-variable-name">phone_number</span>=$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">khard</span> phone --parsable | sort -u | fzf | cut -f1 -d$<span class="org-string">'\t'</span><span class="org-rainbow-delimiters-depth-2">)</span>
if [[ -z "${phone_number}" ]]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span><span class="org-rainbow-delimiters-depth-3">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{phone_number}</span></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-keyword">then</span>
echo No recipient was chosen &gt;&amp;2 <span class="org-type">echo</span> No recipient was chosen &gt;&amp;<span class="org-highlight-numbers-number">2</span>
return <span class="org-keyword">return</span>
else <span class="org-keyword">else</span>
# echo "${name}"$'\t'"${phone_number}"$'\t'"${phone_type}" &gt; ${_KDECONNECT_SMS_LAST_RECIPIENT} <span class="org-comment-delimiter"># </span><span class="org-type"><span class="org-comment">echo</span></span><span class="org-comment"> "${name}"$'\t'"${phone_number}"$'\t'"${phone_type}" &gt; ${_KDECONNECT_SMS_LAST_RECIPIENT}</span>
kdeconnect-cli --send-sms "${args}" --destination "${phone_number}" --device 4de3b5de2264a17c kdeconnect-cli --send-sms <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{args}</span></span><span class="org-string">"</span> --destination <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{phone_number}</span></span><span class="org-string">"</span> --device 4de3b5de2264a17c
# kdeconnect-cli --device ${_KDECONNECT_DEFAULT_DEVICE} --send-sms "${args}" --destination "${phone_number}" &amp;&amp; \ <span class="org-comment-delimiter"># </span><span class="org-comment">kdeconnect-cli --device ${_KDECONNECT_DEFAULT_DEVICE} --send-sms "${args}" --destination "${phone_number}" &amp;&amp; \</span>
# echo sent sms message to ${name} | fribidi <span class="org-comment-delimiter"># </span><span class="org-type"><span class="org-comment">echo</span></span><span class="org-comment"> sent sms message to ${name} | fribidi</span>
fi <span class="org-keyword">fi</span>
} <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
@ -457,9 +469,9 @@ Undocumented feature which sets the size to &ldquo;unlimited&rdquo;. <a href="ht
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export HISTFILESIZE= <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">HISTFILESIZE</span>=
export HISTSIZE= <span class="org-builtin">export</span> <span class="org-variable-name">HISTSIZE</span>=
export HISTTIMEFORMAT="[%F %T] " <span class="org-builtin">export</span> <span class="org-variable-name">HISTTIMEFORMAT</span>=<span class="org-string">"[%F %T] "</span>
</pre> </pre>
</div> </div>
@ -468,7 +480,7 @@ Change the file location because certain bash sessions truncate <code>.bash_hist
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export HISTFILE=~/.bash_eternal_history <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">HISTFILE</span>=~/.bash_eternal_history
</pre> </pre>
</div> </div>
@ -477,7 +489,7 @@ Force prompt to write history after every command. <a href="http://superuser.com
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">PROMPT_COMMAND="history -a; $PROMPT_COMMAND" <pre class="src src-bash"><span class="org-variable-name">PROMPT_COMMAND</span>=<span class="org-string">"history -a; </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PROMPT_COMMAND</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -488,8 +500,8 @@ Force prompt to write history after every command. <a href="http://superuser.com
<h2 id="org6a5ac47">Bash Profile</h2> <h2 id="org6a5ac47">Bash Profile</h2>
<div class="outline-text-2" id="text-org6a5ac47"> <div class="outline-text-2" id="text-org6a5ac47">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">[[ -f ~/.profile ]] &amp;&amp; . ~/.profile <pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.profile <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.profile
[[ -f ~/.bashrc ]] &amp;&amp; . ~/.bashrc <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f ~/.bashrc <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.bashrc
</pre> </pre>
</div> </div>
</div> </div>
@ -504,8 +516,8 @@ Force prompt to write history after every command. <a href="http://superuser.com
<h3 id="orgfbbfbf9">QT And GTK Themes</h3> <h3 id="orgfbbfbf9">QT And GTK Themes</h3>
<div class="outline-text-3" id="text-orgfbbfbf9"> <div class="outline-text-3" id="text-orgfbbfbf9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export QT_QPA_PLATFORMTHEME="qt5ct" <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">QT_QPA_PLATFORMTHEME</span>=<span class="org-string">"qt5ct"</span>
export GTK2_RC_FILES="$HOME/.gtkrc-2.0" <span class="org-builtin">export</span> <span class="org-variable-name">GTK2_RC_FILES</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.gtkrc-2.0"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -515,7 +527,7 @@ export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
<h3 id="orgbe2ffab">Gui program to ask for sudo password</h3> <h3 id="orgbe2ffab">Gui program to ask for sudo password</h3>
<div class="outline-text-3" id="text-orgbe2ffab"> <div class="outline-text-3" id="text-orgbe2ffab">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export SUDO_ASKPASS=~/.local/bin/askpass-rofi <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">SUDO_ASKPASS</span>=~/.local/bin/askpass-rofi
</pre> </pre>
</div> </div>
</div> </div>
@ -525,10 +537,10 @@ export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
<h3 id="orga5ea80f">Gnome Keyring Daemon</h3> <h3 id="orga5ea80f">Gnome Keyring Daemon</h3>
<div class="outline-text-3" id="text-orga5ea80f"> <div class="outline-text-3" id="text-orga5ea80f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">if [ -n "$DESKTOP_SESSION" ];then <pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">DESKTOP_SESSION</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>;<span class="org-keyword">then</span>
eval $(gnome-keyring-daemon --start) <span class="org-builtin">eval</span> $<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">gnome-keyring-daemon</span> --start<span class="org-rainbow-delimiters-depth-1">)</span>
export SSH_AUTH_SOCK <span class="org-builtin">export</span> SSH_AUTH_SOCK
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -538,11 +550,11 @@ fi
<h3 id="org3e2966e">Default</h3> <h3 id="org3e2966e">Default</h3>
<div class="outline-text-3" id="text-org3e2966e"> <div class="outline-text-3" id="text-org3e2966e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export EDITOR="nvim" <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">EDITOR</span>=<span class="org-string">"nvim"</span>
export TERMINAL="termite" <span class="org-builtin">export</span> <span class="org-variable-name">TERMINAL</span>=<span class="org-string">"termite"</span>
export BROWSER="qutebrowser" <span class="org-builtin">export</span> <span class="org-variable-name">BROWSER</span>=<span class="org-string">"qutebrowser"</span>
export READER="zathura" <span class="org-builtin">export</span> <span class="org-variable-name">READER</span>=<span class="org-string">"zathura"</span>
export FILE="ranger" <span class="org-builtin">export</span> <span class="org-variable-name">FILE</span>=<span class="org-string">"ranger"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -559,7 +571,7 @@ export FILE="ranger"
This is important for termite to work when sshing in remote machines. This is important for termite to work when sshing in remote machines.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export TERM=xterm-color <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">TERM</span>=xterm-color
</pre> </pre>
</div> </div>
</div> </div>
@ -569,7 +581,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org1a74001">XDG Default</h4> <h4 id="org1a74001">XDG Default</h4>
<div class="outline-text-4" id="text-org1a74001"> <div class="outline-text-4" id="text-org1a74001">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export XDG_CONFIG_HOME="$HOME/.config" <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">XDG_CONFIG_HOME</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">HOME</span></span><span class="org-string">/.config"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -579,7 +591,7 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org117a776">Better yaourt colors</h4> <h4 id="org117a776">Better yaourt colors</h4>
<div class="outline-text-4" id="text-org117a776"> <div class="outline-text-4" id="text-org117a776">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export YAOURT_COLORS="nb=1:pkg=1:ver=1;32:lver=1;45:installed=1;42:grp=1;34:od=1;41;5:votes=1;44:dsc=0:other=1;35" <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">YAOURT_COLORS</span>=<span class="org-string">"nb=1:pkg=1:ver=1;32:lver=1;45:installed=1;42:grp=1;34:od=1;41;5:votes=1;44:dsc=0:other=1;35"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -589,8 +601,8 @@ This is important for termite to work when sshing in remote machines.
<h4 id="org684e85f">Use Ripgrep for FZF</h4> <h4 id="org684e85f">Use Ripgrep for FZF</h4>
<div class="outline-text-4" id="text-org684e85f"> <div class="outline-text-4" id="text-org684e85f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"' <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">FZF_DEFAULT_COMMAND</span>=<span class="org-string">'rg --files --no-ignore --hidden --follow --glob "!.git/*"'</span>
export FZF_DEFAULT_OPTS='--layout=reverse --height=20' <span class="org-builtin">export</span> <span class="org-variable-name">FZF_DEFAULT_OPTS</span>=<span class="org-string">'--layout=reverse --height=20'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -600,7 +612,7 @@ export FZF_DEFAULT_OPTS='--layout=reverse --height=20'
<h4 id="org545dc00">Goland</h4> <h4 id="org545dc00">Goland</h4>
<div class="outline-text-4" id="text-org545dc00"> <div class="outline-text-4" id="text-org545dc00">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export GOPATH=$HOME/go <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">GOPATH</span>=$<span class="org-variable-name">HOME</span>/go
</pre> </pre>
</div> </div>
</div> </div>
@ -610,7 +622,17 @@ export FZF_DEFAULT_OPTS='--layout=reverse --height=20'
<h4 id="org20b9dbe">Latex Path</h4> <h4 id="org20b9dbe">Latex Path</h4>
<div class="outline-text-4" id="text-org20b9dbe"> <div class="outline-text-4" id="text-org20b9dbe">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export TEXMFHOME=$HOME/.local/share/texmf <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">TEXMFHOME</span>=$<span class="org-variable-name">HOME</span>/.local/share/texmf
</pre>
</div>
</div>
</div>
<div id="outline-container-org8965bcd" class="outline-4">
<h4 id="org8965bcd">Bitwarden Session</h4>
<div class="outline-text-4" id="text-org8965bcd">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">BW_SESSION</span>=<span class="org-string">"HH0yycfocRSuGtq/iW1e6v13PQ1sShMXbMhdb/En94S6OcIXFnJlLEyU+dySsmf2YShY4CImoB5FrxgdPsY9Qw=="</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -621,12 +643,12 @@ export FZF_DEFAULT_OPTS='--layout=reverse --height=20'
<h3 id="org3b15f2e">Path</h3> <h3 id="org3b15f2e">Path</h3>
<div class="outline-text-3" id="text-org3b15f2e"> <div class="outline-text-3" id="text-org3b15f2e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">PATH=$HOME/appimages:$PATH <pre class="src src-bash"><span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/appimages:$<span class="org-variable-name">PATH</span>
PATH=$HOME/.gem/ruby/2.5.0/bin:$PATH <span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/.gem/ruby/2.5.0/bin:$<span class="org-variable-name">PATH</span>
PATH=$GOPATH:$GOPATH/bin:$PATH <span class="org-variable-name">PATH</span>=$<span class="org-variable-name">GOPATH</span>:$<span class="org-variable-name">GOPATH</span>/bin:$<span class="org-variable-name">PATH</span>
PATH=~/.local/bin:$PATH <span class="org-variable-name">PATH</span>=~/.local/bin:$<span class="org-variable-name">PATH</span>
PATH=~/.emacs.d/bin:$PATH <span class="org-variable-name">PATH</span>=~/.emacs.d/bin:$<span class="org-variable-name">PATH</span>
export PATH <span class="org-builtin">export</span> PATH
</pre> </pre>
</div> </div>
</div> </div>
@ -640,10 +662,10 @@ export PATH
Completion: Completion:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"># Single tab for autocompletion <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Single tab for autocompletion</span>
set show-all-if-ambiguous on set show-all-if-ambiguous on
# Ignore case for completion <span class="org-comment-delimiter"># </span><span class="org-comment">Ignore case for completion</span>
set completion-ignore-case on set completion-ignore-case on
</pre> </pre>
</div> </div>
@ -652,15 +674,15 @@ set completion-ignore-case on
vi mode: vi mode:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"># VI mode (works in bash and zsh) <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">VI mode (works in bash and zsh)</span>
set editing-mode vi set editing-mode vi
# Show which mode (normal or insert) <span class="org-comment-delimiter"># </span><span class="org-comment">Show which mode (normal or insert)</span>
set show-mode-in-prompt on set show-mode-in-prompt on
# Show the mode by changing the cursor <span class="org-comment-delimiter"># </span><span class="org-comment">Show the mode by changing the cursor</span>
set vi-ins-mode-string \1\e[6 q\2 set vi-ins-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">6</span> q\<span class="org-highlight-numbers-number">2</span>
set vi-cmd-mode-string \1\e[2 q\2 set vi-cmd-mode-string \<span class="org-highlight-numbers-number">1</span>\e[<span class="org-highlight-numbers-number">2</span> q\<span class="org-highlight-numbers-number">2</span>
</pre> </pre>
</div> </div>
@ -669,18 +691,18 @@ Key-bindings for vi-mode:
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">set keymap vi-command <pre class="src src-conf">set keymap vi-command
# these are for vi-command mode <span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-command mode</span>
Control-l: clear-screen Control-l: clear-screen
Control-a: beginning-of-line Control-a: beginning-of-line
Control-e: end-of-line Control-e: end-of-line
Control-w: "\C-aisudo \C-e" Control-w: <span class="org-string">"\C-aisudo \C-e"</span>
set keymap vi-insert set keymap vi-insert
# these are for vi-insert mode <span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-insert mode</span>
Control-l: clear-screen Control-l: clear-screen
Control-a: beginning-of-line Control-a: beginning-of-line
Control-e: end-of-line Control-e: end-of-line
Control-w: "\C-asudo \C-e" Control-w: <span class="org-string">"\C-asudo \C-e"</span>
</pre> </pre>
</div> </div>
@ -688,15 +710,15 @@ Control-w: "\C-asudo \C-e"
Colorized completion Colorized completion
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"># Color files by types <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color files by types</span>
set colored-stats On set colored-stats On
# Append char to indicate type <span class="org-comment-delimiter"># </span><span class="org-comment">Append char to indicate type</span>
set visible-stats On set visible-stats On
# Mark symlinked directories <span class="org-comment-delimiter"># </span><span class="org-comment">Mark symlinked directories</span>
set mark-symlinked-directories On set mark-symlinked-directories On
# Color the common prefix <span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix</span>
set colored-completion-prefix On set colored-completion-prefix On
# Color the common prefix in menu-complete <span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix in menu-complete</span>
set menu-complete-display-prefix On set menu-complete-display-prefix On
</pre> </pre>
</div> </div>
@ -713,7 +735,7 @@ Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:39 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>My own specific binaries</title> <title>My own specific binaries</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -31,6 +31,10 @@
<li><a href="#org23d98e4"><code>tmp14</code> - Mount/Umount tmp_14_days folder</a></li> <li><a href="#org23d98e4"><code>tmp14</code> - Mount/Umount tmp_14_days folder</a></li>
<li><a href="#org86657ca"><code>nas</code> - Interact with the NAS</a></li> <li><a href="#org86657ca"><code>nas</code> - Interact with the NAS</a></li>
<li><a href="#org626d308"><code>torrent-add</code> - Download Torrent</a></li> <li><a href="#org626d308"><code>torrent-add</code> - Download Torrent</a></li>
<li><a href="#org35e44f2"><code>note-extract-fig</code> - Extract Figure from note file</a></li>
<li><a href="#org5c51513"><code>share</code> - Share file with self-hosted <code>transfer.sh</code></a></li>
<li><a href="#org8406a5d"><code>screen-select</code> - Xrandr pre-defined scripts</a></li>
<li><a href="#orge197761"><code>color-picker</code> - Pick color and copy to clipboard</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@ -39,25 +43,28 @@
<h2 id="org6b54cb5"><code>remote-desktop</code> - Remote Desktop Connect</h2> <h2 id="org6b54cb5"><code>remote-desktop</code> - Remote Desktop Connect</h2>
<div class="outline-text-2" id="text-org6b54cb5"> <div class="outline-text-2" id="text-org6b54cb5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">computer=$(echo -e 'RNICE\nPCMEL1\nPCNASS1\nPCMEG01' | dmenu -p 'Computer:' -l 20); <pre class="src src-bash"><span class="org-variable-name">computer</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'RNICE\nPCMEL1\nPCNASS1\nPCMEG01'</span> | dmenu -p <span class="org-string">'Computer:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
case $computer in dunstify --replace=<span class="org-highlight-numbers-number">89891</span> <span class="org-string">'Rdesktop'</span> <span class="org-string">"Connection to </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{computer}</span></span><span class="org-string">..."</span>
<span class="org-keyword">case</span> $<span class="org-variable-name">computer</span><span class="org-keyword"> in</span>
PCMEL1) PCMEL1)
rdesktop -a 16 -P -z -x m -r sound:off -g "80%" -u "ESRF\OPPEL" -p $(pass esrf/PCMEL1/OPPEL | sed -n 1p) pcmel1 xfreerdp /u:dehaeze /d:ESRF /clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> ssl.esrf.fr/dehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:PCMEL1.esrf.fr;
;; ;;
PCMEG01) PCMEG01)
rdesktop -a 16 -P -z -x m -r sound:off -g "80%" -u "ESRF\DEHAEZE" -p $(pass ssl.esrf.fr/dehaeze | sed -n 1p) pcmeg01 xfreerdp /u:dehaeze /d:ESRF /clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> ssl.esrf.fr/dehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:PCMEG01.esrf.fr;
;; ;;
PCNASS1) PCNASS1)
rdesktop -a 16 -P -z -x m -r sound:off -g "80%" -u "ESRF\DEHAEZE" -p $(pass ssl.esrf.fr/dehaeze | sed -n 1p) pcnass1 xfreerdp /u:dehaeze /d:ESRF /clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> ssl.esrf.fr/dehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:PCNASS1.esrf.fr;
;; ;;
RNICE) RNICE)
echo "Not yet implemented" xfreerdp /u:dehaeze /d:ESRF /clipboard /bpp:8 /bpp:16 /compression -themes -wallpaper /async-update /async-input -glyph-cache /audio-mode:1 /dynamic-resolution /auto-reconnect /p:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> ssl.esrf.fr/dehaeze | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> /v:rnice.esrf.fr;
;; ;;
*) *)
echo "Not existing" <span class="org-type">echo</span> <span class="org-string">"Not existing"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify --replace=<span class="org-highlight-numbers-number">89891</span> --urgency=critical <span class="org-string">'Rdesktop'</span> <span class="org-string">"No config for </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">computer</span></span><span class="org-string">"</span>;
;; ;;
esac <span class="org-keyword">esac</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -67,17 +74,18 @@ esac
<h2 id="org510bdb5"><code>print-rnice</code> - Print on Rnice</h2> <h2 id="org510bdb5"><code>print-rnice</code> - Print on Rnice</h2>
<div class="outline-text-2" id="text-org510bdb5"> <div class="outline-text-2" id="text-org510bdb5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">nbpage=$(echo -e '1\n2\n4' | dmenu -p 'Number of pages per sheet' -l 20); <pre class="src src-bash"><span class="org-variable-name">nbpage</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'1\n2\n4'</span> | dmenu -p <span class="org-string">'Number of pages per sheet'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
sides=$(echo -e 'one-sided\ntwo-sided-long-edge\ntwo-sided-short-edge' | dmenu -p 'Two Sided:' -l 20); <span class="org-variable-name">sides</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'one-sided\ntwo-sided-long-edge\ntwo-sided-short-edge'</span> | dmenu -p <span class="org-string">'Two Sided:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
<span class="org-variable-name">media</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">'A4\nA3'</span> | dmenu -p <span class="org-string">'Size:'</span> -l <span class="org-highlight-numbers-number">20</span><span class="org-rainbow-delimiters-depth-1">)</span>;
# First copy the file to Rnice <span class="org-comment-delimiter"># </span><span class="org-comment">First copy the file to Rnice</span>
if sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" scp $1 dehaeze@rnice:~/Downloads/; then <span class="org-keyword">if</span> sshpass -p <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">pass</span><span class="org-string"><span class="org-sh-quoted-exec"> ssl.esrf.fr/dehaeze | sed -n 1p)</span></span><span class="org-string">"</span> scp $<span class="org-highlight-numbers-number">1</span> dehaeze@rnice:~/Downloads/; <span class="org-keyword">then</span>
# Then print on Rnice <span class="org-comment-delimiter"># </span><span class="org-comment">Then print on Rnice</span>
sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" ssh dehaeze@rnice "lpr -o media=A4 -o sides=$sides -o number-up=$nbpage -P ctb110c1u ~/Downloads/$1"; sshpass -p <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">pass</span><span class="org-string"><span class="org-sh-quoted-exec"> ssl.esrf.fr/dehaeze | sed -n 1p)</span></span><span class="org-string">"</span> ssh dehaeze@rnice <span class="org-string">"lpr -o media=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">media</span></span><span class="org-string"> -o sides=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">sides</span></span><span class="org-string"> -o number-up=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">nbpage</span></span><span class="org-string"> -P ctb110c1u ~/Downloads/</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>;
# Finally, delete the file <span class="org-comment-delimiter"># </span><span class="org-comment">Finally, delete the file</span>
else <span class="org-keyword">else</span>
echo "Command Failed" <span class="org-type">echo</span> <span class="org-string">"Command Failed"</span>
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -87,19 +95,19 @@ fi
<h2 id="org23d98e4"><code>tmp14</code> - Mount/Umount tmp_14_days folder</h2> <h2 id="org23d98e4"><code>tmp14</code> - Mount/Umount tmp_14_days folder</h2>
<div class="outline-text-2" id="text-org23d98e4"> <div class="outline-text-2" id="text-org23d98e4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">if [ $1 == "mount" ]; then <pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"mount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
if sshfs -o allow_other,default_permissions -p 5022 dehaeze@firewall.esrf.fr:/tmp_14_days/ ~/mnt/ESRF; then <span class="org-keyword">if</span> sshfs -o allow_other,default_permissions -p <span class="org-highlight-numbers-number">5022</span> dehaeze@firewall.esrf.fr:/tmp_14_days/ ~/mnt/ESRF; <span class="org-keyword">then</span>
dunstify --replace=58249 'ESRF TMP ' 'Successfully mounted' dunstify --replace=<span class="org-highlight-numbers-number">58249</span> <span class="org-string">'ESRF TMP &#62003;'</span> <span class="org-string">'Successfully mounted'</span>
else <span class="org-keyword">else</span>
dunstify --replace=58249 --urgency=critical 'ESRF TMP ' 'Error while mounted' dunstify --replace=<span class="org-highlight-numbers-number">58249</span> --urgency=critical <span class="org-string">'ESRF TMP &#62003;'</span> <span class="org-string">'Error while mounted'</span>
fi <span class="org-keyword">fi</span>
elif [ $1 == "umount" ]; then <span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"umount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
if umount /home/thomas/mnt/ESRF/; then <span class="org-keyword">if</span> umount /home/thomas/mnt/ESRF/; <span class="org-keyword">then</span>
dunstify --replace=58249 'ESRF TMP ' 'Successfully unmounted' dunstify --replace=<span class="org-highlight-numbers-number">58249</span> <span class="org-string">'ESRF TMP &#62003;'</span> <span class="org-string">'Successfully unmounted'</span>
else <span class="org-keyword">else</span>
dunstify --replace=58249 --urgency=critical 'ESRF TMP ' 'Error while unmounted' dunstify --replace=<span class="org-highlight-numbers-number">58249</span> --urgency=critical <span class="org-string">'ESRF TMP &#62003;'</span> <span class="org-string">'Error while unmounted'</span>
fi <span class="org-keyword">fi</span>
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -118,19 +126,19 @@ As an alternative, <code>sshfs</code> can be used:
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">if [ $1 == "mount" ]; then <pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"mount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
if mount /home/thomas/mnt/NAS/; then <span class="org-keyword">if</span> mount /home/thomas/mnt/NAS/; <span class="org-keyword">then</span>
dunstify --replace=58249 'NAS ' 'Successfully mounted' dunstify --replace=<span class="org-highlight-numbers-number">58249</span> <span class="org-string">'NAS &#62003;'</span> <span class="org-string">'Successfully mounted'</span>
else <span class="org-keyword">else</span>
dunstify --replace=58249 --urgency=critical 'NAS ' 'Error while mounted' dunstify --replace=<span class="org-highlight-numbers-number">58249</span> --urgency=critical <span class="org-string">'NAS &#62003;'</span> <span class="org-string">'Error while mounted'</span>
fi <span class="org-keyword">fi</span>
elif [ $1 == "umount" ]; then <span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-highlight-numbers-number">1</span> == <span class="org-string">"umount"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
if umount /home/thomas/mnt/NAS/; then <span class="org-keyword">if</span> umount /home/thomas/mnt/NAS/; <span class="org-keyword">then</span>
dunstify --replace=58249 'NAS ' 'Successfully unmounted' dunstify --replace=<span class="org-highlight-numbers-number">58249</span> <span class="org-string">'NAS &#62003;'</span> <span class="org-string">'Successfully unmounted'</span>
else <span class="org-keyword">else</span>
dunstify --replace=58249 --urgency=critical 'NAS ' 'Error while unmounted' dunstify --replace=<span class="org-highlight-numbers-number">58249</span> --urgency=critical <span class="org-string">'NAS &#62003;'</span> <span class="org-string">'Error while unmounted'</span>
fi <span class="org-keyword">fi</span>
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -140,18 +148,94 @@ fi
<h2 id="org626d308"><code>torrent-add</code> - Download Torrent</h2> <h2 id="org626d308"><code>torrent-add</code> - Download Torrent</h2>
<div class="outline-text-2" id="text-org626d308"> <div class="outline-text-2" id="text-org626d308">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">transmission-remote ***REMOVED***:9091 --auth tdehaeze:$(pass nas/transmission | sed -n 1p) -a $1 &amp;&amp; \ <pre class="src src-bash">transmission-remote ***REMOVED***:9091 --auth tdehaeze:$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">pass</span> nas/transmission | sed -n 1p<span class="org-rainbow-delimiters-depth-1">)</span> -a $<span class="org-highlight-numbers-number">1</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify 'Torrent' 'Successfully added' || \ dunstify <span class="org-string">'Torrent'</span> <span class="org-string">'Successfully added'</span> || <span class="org-sh-escaped-newline">\</span>
dunstify 'Torrent' 'Error' dunstify <span class="org-string">'Torrent'</span> <span class="org-string">'Error'</span>
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org35e44f2" class="outline-2">
<h2 id="org35e44f2"><code>note-extract-fig</code> - Extract Figure from note file</h2>
<div class="outline-text-2" id="text-org35e44f2">
<p>
Script used to convert a figure drawn on my Boox note2 to a png file that can then be imported into a document.
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">First check that the first argument is a pdf file</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -f $<span class="org-highlight-numbers-number">1</span> &amp;&amp; $<span class="org-highlight-numbers-number">1</span> == *.pdf <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-variable-name">pngfile</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> $<span class="org-highlight-numbers-number">1</span> | cut -f <span class="org-highlight-numbers-number">1</span> -d <span class="org-string">'.'</span> | sed <span class="org-string">'s/$/.png/'</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Convert to png and crop png</span>
pdf2png $<span class="org-highlight-numbers-number">1</span> &amp;&amp; convert -trim <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">pngfile</span></span><span class="org-string">"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">pngfile</span></span><span class="org-string">"</span>
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org5c51513" class="outline-2">
<h2 id="org5c51513"><code>share</code> - Share file with self-hosted <code>transfer.sh</code></h2>
<div class="outline-text-2" id="text-org5c51513">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> $<span class="org-variable-name">TMUX</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
tmux split -v -l <span class="org-highlight-numbers-number">1</span> <span class="org-string">"</span><span class="org-type"><span class="org-string">curl</span></span><span class="org-string"> --progress-bar -F\"file=@</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">\" https://file.tdehaeze.xyz/ | xsel -ib &amp;&amp; dunstify 'Upload' 'Successful' || dunstify --urgency=critical 'Upload' 'Failed';"</span> &amp;&amp; tmux select-pane -U
<span class="org-keyword">else</span>
<span class="org-type">curl</span> --progress-bar -F<span class="org-string">"file=@</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> https://file.tdehaeze.xyz/ | xsel -ib &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">'Upload'</span> <span class="org-string">'Successful'</span> || <span class="org-sh-escaped-newline">\</span>
dunstify --urgency=critical <span class="org-string">'Upload'</span> <span class="org-string">'Failed'</span>
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org8406a5d" class="outline-2">
<h2 id="org8406a5d"><code>screen-select</code> - Xrandr pre-defined scripts</h2>
<div class="outline-text-2" id="text-org8406a5d">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">option</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"Work\nXPS\nHome"</span> | rofi -i -dmenu<span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-keyword">case</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">option</span></span><span class="org-string">"</span><span class="org-keyword"> in</span>
<span class="org-string">"Work"</span>)
xrandr --output eDP1 --off --output DP1 --off --output DP1-1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP1-2 --off --output DP2 --off --output VIRTUAL1 --off
;;
<span class="org-string">"XPS"</span>)
xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output DP1-1 --off --output DP1-2 --off --output DP2 --off --output VIRTUAL1 --off
;;
<span class="org-string">"Home"</span>)
xrandr --output eDP1 --off --output DP1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP2 --off --output VIRTUAL1 --off
;;
*)
<span class="org-type">echo</span> <span class="org-string">"== ! missing or invalid argument ! =="</span>
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">2</span>
<span class="org-keyword">esac</span>
setbg <span class="org-comment-delimiter"># </span><span class="org-comment">Fix background if screen size/arangement has changed.</span>
$<span class="org-variable-name">HOME</span>/.config/polybar/scripts/launch.sh <span class="org-comment-delimiter"># </span><span class="org-comment">restart polybar</span>
<span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">0</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orge197761" class="outline-2">
<h2 id="orge197761"><code>color-picker</code> - Pick color and copy to clipboard</h2>
<div class="outline-text-2" id="text-orge197761">
<div class="org-src-container">
<pre class="src src-bash">xcolor | xsel -b
</pre>
</div>
</div>
</div>
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -1,251 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:19 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Bukurun (Bookmark Manager)</title> <title>Bukurun (Bookmark Manager)</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/> <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/> <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script> <script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head> </head>
<body> <body>
<div id="org-div-home-and-up"> <div id="org-div-home-and-up">
@ -254,7 +22,6 @@ for the JavaScript code in this tag.
<a accesskey="H" href="./index.html"> HOME </a> <a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content"> </div><div id="content">
<h1 class="title">Bukurun (Bookmark Manager)</h1> <h1 class="title">Bukurun (Bookmark Manager)</h1>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-type">_rofi ()</span> { <pre class="src src-conf"><span class="org-type">_rofi ()</span> {
rofi -dmenu -i -no-levenshtein-sort -width <span class="org-highlight-numbers-number">1000</span> <span class="org-string">"$@"</span> rofi -dmenu -i -no-levenshtein-sort -width <span class="org-highlight-numbers-number">1000</span> <span class="org-string">"$@"</span>
@ -293,7 +60,7 @@ Colors
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:19</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,251 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-12 dim. 17:28 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Picom (Compositor)</title> <title>Picom (Compositor)</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/> <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/> <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script> <script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head> </head>
<body> <body>
<div id="org-div-home-and-up"> <div id="org-div-home-and-up">
@ -275,21 +43,14 @@ for the JavaScript code in this tag.
<span class="org-variable-name">shadow-radius</span> = <span class="org-highlight-numbers-number">12</span>; <span class="org-variable-name">shadow-radius</span> = <span class="org-highlight-numbers-number">12</span>;
<span class="org-variable-name">shadow-offset-x</span> = -12; <span class="org-variable-name">shadow-offset-x</span> = -12;
<span class="org-variable-name">shadow-offset-y</span> = -12; <span class="org-variable-name">shadow-offset-y</span> = -12;
<span class="org-variable-name">shadow-opacity</span> = <span class="org-highlight-numbers-number">0.95</span>;
<span class="org-variable-name">shadow-exclude</span> = [ <span class="org-variable-name">shadow-exclude</span> = [
<span class="org-string">"name = 'Notification'"</span>, <span class="org-string">"name = 'Notification'"</span>,
<span class="org-string">"window_type = 'dock'"</span>, <span class="org-string">"window_type = 'dock'"</span>,
<span class="org-string">"window_type = 'dnd'"</span>, <span class="org-string">"window_type = 'dnd'"</span>,
<span class="org-string">"class_g = 'VirtualBox'"</span>, <span class="org-string">"class_g = 'VirtualBox'"</span>,
<span class="org-string">"class_g ?= 'Notify-osd'"</span>, <span class="org-string">"class_g ?= 'Notify-osd'"</span>,
<span class="org-string">"class_g = 'Tilda'"</span>, <span class="org-string">"name = 'cpt_frame_window'"</span>, <span class="org-comment-delimiter"># </span><span class="org-comment">For zoom problem when sharing screen</span>
<span class="org-string">"class_g = 'Firefox'"</span>, <span class="org-string">"class_g = 'stalonetray'"</span>
<span class="org-string">"class_g = 'Opera'"</span>,
<span class="org-string">"class_g = 'CoverGloobus'"</span>,
<span class="org-string">"class_g = 'Cairo-clock'"</span>,
<span class="org-string">"class_g = 'dzen'"</span>,
<span class="org-string">"class_g = 'stalonetray'"</span>,
<span class="org-string">"_GTK_FRAME_EXTENTS@:c"</span>
]; ];
</pre> </pre>
</div> </div>
@ -300,31 +61,9 @@ for the JavaScript code in this tag.
<h2 id="org79d6699">Opacity</h2> <h2 id="org79d6699">Opacity</h2>
<div class="outline-text-2" id="text-org79d6699"> <div class="outline-text-2" id="text-org79d6699">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">menu-opacity = 0.92;</span> <pre class="src src-conf"><span class="org-variable-name">inactive-opacity</span> = <span class="org-highlight-numbers-number">1.0</span>;
<span class="org-comment-delimiter"># </span><span class="org-comment">inactive-opacity = 0.92;</span> <span class="org-variable-name">frame-opacity</span> = <span class="org-highlight-numbers-number">1.0</span>;
<span class="org-comment-delimiter"># </span><span class="org-comment">active-opacity = 0.92;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">frame-opacity = 0.9;</span>
<span class="org-variable-name">inactive-opacity-override</span> = false; <span class="org-variable-name">inactive-opacity-override</span> = false;
<span class="org-comment-delimiter"># </span><span class="org-comment">inactive-dim = 0.2;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">inactive-dim-fixed = true;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">blur-background = true;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">blur-background-frame = true;</span>
<span class="org-variable-name">blur-kern</span> = <span class="org-string">"3x3box"</span>;
<span class="org-comment-delimiter"># </span><span class="org-comment">blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">blur-background-fixed = true;</span>
<span class="org-variable-name">blur-background-exclude</span> = [
<span class="org-string">"window_type = 'dock'"</span>,
<span class="org-string">"window_type = 'desktop'"</span>,
<span class="org-string">"class_g = 'CoverGloobus'"</span>,
<span class="org-string">"class_g = 'Opera'"</span>,
<span class="org-string">"_GTK_FRAME_EXTENTS@:c"</span>
];
<span class="org-comment-delimiter">#</span><span class="org-comment">opacity-rule = [ "80:class_g = 'XTerm'" ];</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">opacity-rule = [ "80:class_g = 'UXTerm'" ];</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">opacity-rule = [ "80:class_g = 'i3bar'" ];</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">opacity-rule = [ "90:class_g = 'dzen'" ];</span>
<span class="org-variable-name">opacity-rule</span> = [ <span class="org-string">"40:class_g = 'Bspwm' &amp;&amp; class_i = 'presel_feedback'"</span> ];
</pre> </pre>
</div> </div>
</div> </div>
@ -335,13 +74,8 @@ for the JavaScript code in this tag.
<div class="outline-text-2" id="text-org61a6af4"> <div class="outline-text-2" id="text-org61a6af4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">fading</span> = false; <pre class="src src-conf"><span class="org-variable-name">fading</span> = false;
<span class="org-variable-name">fade-delta</span> = <span class="org-highlight-numbers-number">10.0</span>;
<span class="org-variable-name">fade-in-step</span> = <span class="org-highlight-numbers-number">0.03</span>; <span class="org-variable-name">fade-in-step</span> = <span class="org-highlight-numbers-number">0.03</span>;
<span class="org-variable-name">fade-out-step</span> = <span class="org-highlight-numbers-number">0.03</span>; <span class="org-variable-name">fade-out-step</span> = <span class="org-highlight-numbers-number">0.03</span>;
<span class="org-comment-delimiter"># </span><span class="org-comment">no-fading-openclose = true;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">no-fading-destroyed-argb = true;</span>
<span class="org-variable-name">fade-exclude</span> = [
];
</pre> </pre>
</div> </div>
</div> </div>
@ -354,20 +88,9 @@ for the JavaScript code in this tag.
<pre class="src src-conf"><span class="org-variable-name">backend</span> = <span class="org-string">"xrender"</span>; <pre class="src src-conf"><span class="org-variable-name">backend</span> = <span class="org-string">"xrender"</span>;
<span class="org-variable-name">mark-wmwin-focused</span> = true; <span class="org-variable-name">mark-wmwin-focused</span> = true;
<span class="org-variable-name">mark-ovredir-focused</span> = true; <span class="org-variable-name">mark-ovredir-focused</span> = true;
<span class="org-comment-delimiter"># </span><span class="org-comment">use-ewmh-active-win = true;</span>
<span class="org-variable-name">detect-rounded-corners</span> = true; <span class="org-variable-name">detect-rounded-corners</span> = true;
<span class="org-variable-name">detect-client-opacity</span> = true; <span class="org-variable-name">detect-client-opacity</span> = true;
<span class="org-variable-name">refresh-rate</span> = <span class="org-highlight-numbers-number">0</span>; <span class="org-variable-name">refresh-rate</span> = <span class="org-highlight-numbers-number">0</span>;
<span class="org-variable-name">vsync</span> = false;
<span class="org-variable-name">dbe</span> = false;
<span class="org-comment-delimiter"># </span><span class="org-comment">sw-opti = true;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">unredir-if-possible = true;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">unredir-if-possible-delay = 5000;</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">unredir-if-possible-exclude = [ ];</span>
<span class="org-variable-name">detect-transient</span> = true;
<span class="org-variable-name">detect-client-leader</span> = true;
<span class="org-variable-name">invert-color-include</span> = [ ];
<span class="org-comment-delimiter"># </span><span class="org-comment">resize-damage = 1;</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -379,18 +102,9 @@ for the JavaScript code in this tag.
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">wintypes: <pre class="src src-conf">wintypes:
{ {
<span class="org-variable-name">tooltip</span> = { <span class="org-variable-name">tooltip</span> = { fade = true; shadow = true; focus = true; full-shadow = false; };
<span class="org-variable-name">fade</span> = true; <span class="org-variable-name">dock</span> = { shadow = false; }
<span class="org-variable-name">shadow</span> = true; <span class="org-variable-name">dnd</span> = { shadow = false; }
<span class="org-variable-name">opacity</span> = <span class="org-highlight-numbers-number">0.75</span>;
<span class="org-variable-name">focus</span> = true;
};
<span class="org-variable-name">fullscreen</span> = {
<span class="org-variable-name">fade</span> = true;
<span class="org-variable-name">shadow</span> = false;
<span class="org-variable-name">opacity</span> = <span class="org-highlight-numbers-number">1</span>;
<span class="org-variable-name">focus</span> = true;
};
}; };
</pre> </pre>
</div> </div>
@ -399,7 +113,7 @@ for the JavaScript code in this tag.
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-12 dim. 17:28</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:40 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Configuration Files</title> <title>Configuration Files</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -32,7 +32,6 @@
<li><a href="#orgb73fd39">Redshift</a></li> <li><a href="#orgb73fd39">Redshift</a></li>
<li><a href="#org2836d2e">dmenu</a></li> <li><a href="#org2836d2e">dmenu</a></li>
<li><a href="#org4f16229">Locale</a></li> <li><a href="#org4f16229">Locale</a></li>
<li><a href="#org3de708f">Pass Git Helper</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@ -45,31 +44,31 @@
Host grenoble Host grenoble
hostname ***REMOVED*** hostname ***REMOVED***
Port 10022 Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze user tdehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host wingaudio Host wingaudio
hostname 207.154.251.241 hostname 207.154.251.241
Port 22 Port <span class="org-highlight-numbers-number">22</span>
user tdehaeze user tdehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host octoprint Host octoprint
hostname 192.168.1.56 hostname 192.168.1.56
Port 22 Port <span class="org-highlight-numbers-number">22</span>
user pi user pi
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host hassio Host hassio
hostname 192.168.1.101 hostname 192.168.1.101
Port 10022 Port <span class="org-highlight-numbers-number">10022</span>
user root user root
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
Host nas Host nas
hostname 192.168.1.50 hostname 192.168.1.50
Port 10022 Port <span class="org-highlight-numbers-number">10022</span>
user tdehaeze user tdehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
</pre> </pre>
@ -81,8 +80,8 @@ Host nas
<h2 id="org4d50f78">Font</h2> <h2 id="org4d50f78">Font</h2>
<div class="outline-text-2" id="text-org4d50f78"> <div class="outline-text-2" id="text-org4d50f78">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">&lt;?xml version='1.0'?&gt; <pre class="src src-conf"><span class="org-variable-name">&lt;?xml version</span>=<span class="org-string">'1.0'</span>?&gt;
&lt;!DOCTYPE fontconfig SYSTEM 'fonts.dtd'&gt; &lt;!DOCTYPE fontconfig SYSTEM <span class="org-string">'fonts.dtd'</span>&gt;
&lt;fontconfig&gt; &lt;fontconfig&gt;
&lt;alias&gt; &lt;alias&gt;
@ -112,8 +111,8 @@ Host nas
<h2 id="org5432d18">GnuPG</h2> <h2 id="org5432d18">GnuPG</h2>
<div class="outline-text-2" id="text-org5432d18"> <div class="outline-text-2" id="text-org5432d18">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">default-cache-ttl 60480000 <pre class="src src-conf">default-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
max-cache-ttl 60480000 max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -123,22 +122,22 @@ max-cache-ttl 60480000
<h2 id="orgb73fd39">Redshift</h2> <h2 id="orgb73fd39">Redshift</h2>
<div class="outline-text-2" id="text-orgb73fd39"> <div class="outline-text-2" id="text-orgb73fd39">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[redshift] <pre class="src src-conf">[<span class="org-type">redshift</span>]
temp-day=5700 <span class="org-variable-name">temp-day</span>=<span class="org-highlight-numbers-number">5700</span>
temp-night=3500 <span class="org-variable-name">temp-night</span>=<span class="org-highlight-numbers-number">3500</span>
transition=1 <span class="org-variable-name">transition</span>=<span class="org-highlight-numbers-number">1</span>
;brightness-day=0.7 <span class="org-variable-name">;brightness-day</span>=<span class="org-highlight-numbers-number">0.7</span>
;brightness-night=0.4 <span class="org-variable-name">;brightness-night</span>=<span class="org-highlight-numbers-number">0.4</span>
location-provider=manual <span class="org-variable-name">location-provider</span>=manual
adjustment-method=randr <span class="org-variable-name">adjustment-method</span>=randr
[manual] [<span class="org-type">manual</span>]
lat=45.1 <span class="org-variable-name">lat</span>=<span class="org-highlight-numbers-number">45.1</span>
lon=5.7 <span class="org-variable-name">lon</span>=<span class="org-highlight-numbers-number">5.7</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -148,26 +147,26 @@ lon=5.7
<h2 id="org2836d2e">dmenu</h2> <h2 id="org2836d2e">dmenu</h2>
<div class="outline-text-2" id="text-org2836d2e"> <div class="outline-text-2" id="text-org2836d2e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"># define the font for dmenu to be used <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">define the font for dmenu to be used</span>
DMENU_FN="Hack Nerd Font 12" <span class="org-variable-name">DMENU_FN</span>=<span class="org-string">"Hack Nerd Font 12"</span>
# background colour for unselected menu-items <span class="org-comment-delimiter"># </span><span class="org-comment">background colour for unselected menu-items</span>
DMENU_NB="#222D31" <span class="org-variable-name">DMENU_NB</span>=<span class="org-string">"#222D31"</span>
# textcolour for unselected menu-items <span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for unselected menu-items</span>
DMENU_NF="#F9FAF9" <span class="org-variable-name">DMENU_NF</span>=<span class="org-string">"#F9FAF9"</span>
# background colour for selected menu-items <span class="org-comment-delimiter"># </span><span class="org-comment">background colour for selected menu-items</span>
DMENU_SB="#16A085" <span class="org-variable-name">DMENU_SB</span>=<span class="org-string">"#16A085"</span>
# textcolour for selected menu-items <span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for selected menu-items</span>
DMENU_SF="#F9FAF9" <span class="org-variable-name">DMENU_SF</span>=<span class="org-string">"#F9FAF9"</span>
# command for the terminal application to be used: <span class="org-comment-delimiter"># </span><span class="org-comment">command for the terminal application to be used:</span>
TERMINAL_CMD="terminal -e" <span class="org-variable-name">TERMINAL_CMD</span>=<span class="org-string">"terminal -e"</span>
# export our variables <span class="org-comment-delimiter"># </span><span class="org-comment">export our variables</span>
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB" <span class="org-variable-name">DMENU_OPTIONS</span>=<span class="org-string">"-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -177,31 +176,20 @@ DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMEN
<h2 id="org4f16229">Locale</h2> <h2 id="org4f16229">Locale</h2>
<div class="outline-text-2" id="text-org4f16229"> <div class="outline-text-2" id="text-org4f16229">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">LANG=en_US.UTF-8 <pre class="src src-conf"><span class="org-variable-name">LANG</span>=en_US.UTF-8
LC_CTYPE="en_US.UTF-8" <span class="org-variable-name">LC_CTYPE</span>=<span class="org-string">"en_US.UTF-8"</span>
LC_NUMERIC=fr_FR.UTF-8 <span class="org-variable-name">LC_NUMERIC</span>=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8 <span class="org-variable-name">LC_TIME</span>=fr_FR.UTF-8
LC_COLLATE="en_US.UTF-8" <span class="org-variable-name">LC_COLLATE</span>=<span class="org-string">"en_US.UTF-8"</span>
LC_MONETARY=fr_FR.UTF-8 <span class="org-variable-name">LC_MONETARY</span>=fr_FR.UTF-8
LC_MESSAGES="en_US.UTF-8" <span class="org-variable-name">LC_MESSAGES</span>=<span class="org-string">"en_US.UTF-8"</span>
LC_PAPER=fr_FR.UTF-8 <span class="org-variable-name">LC_PAPER</span>=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8 <span class="org-variable-name">LC_NAME</span>=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8 <span class="org-variable-name">LC_ADDRESS</span>=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8 <span class="org-variable-name">LC_TELEPHONE</span>=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8 <span class="org-variable-name">LC_MEASUREMENT</span>=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8 <span class="org-variable-name">LC_IDENTIFICATION</span>=fr_FR.UTF-8
LC_ALL= <span class="org-variable-name">LC_ALL</span>=
</pre>
</div>
</div>
</div>
<div id="outline-container-org3de708f" class="outline-2">
<h2 id="org3de708f">Pass Git Helper</h2>
<div class="outline-text-2" id="text-org3de708f">
<div class="org-src-container">
<pre class="src src-conf">[github.com*]
target=github.com/tdehaeze
</pre> </pre>
</div> </div>
</div> </div>
@ -209,7 +197,7 @@ target=github.com/tdehaeze
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:39 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Doom Emacs Configuration</title> <title>Doom Emacs Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -57,6 +57,8 @@
<li><a href="#org110ed8f">Frac</a></li> <li><a href="#org110ed8f">Frac</a></li>
<li><a href="#orgd3f3c7d">Left</a></li> <li><a href="#orgd3f3c7d">Left</a></li>
<li><a href="#org7443b06">Minipage</a></li> <li><a href="#org7443b06">Minipage</a></li>
<li><a href="#org23a68e2">Minipage Figures</a></li>
<li><a href="#orgeef052f">Wrap Figure</a></li>
<li><a href="#orgeb4af43">Multicolumn</a></li> <li><a href="#orgeb4af43">Multicolumn</a></li>
<li><a href="#org88c6f73">Subfigure</a></li> <li><a href="#org88c6f73">Subfigure</a></li>
<li><a href="#orgc411771">Table</a></li> <li><a href="#orgc411771">Table</a></li>
@ -91,10 +93,10 @@
<h3 id="org8474362">Coordinate</h3> <h3 id="org8474362">Coordinate</h3>
<div class="outline-text-3" id="text-org8474362"> <div class="outline-text-3" id="text-org8474362">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :coordinate <span class="org-comment-delimiter">#</span><span class="org-comment">name :coordinate</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
\coordinate[${1:-&gt;}] (${2:name}) at (${3:pointcoordinate}); \coordinate[${<span class="org-highlight-numbers-number">1</span>:-&gt;}] (${<span class="org-highlight-numbers-number">2</span>:name}) at (${<span class="org-highlight-numbers-number">3</span>:pointcoordinate});
$0 $0
</pre> </pre>
</div> </div>
@ -105,10 +107,10 @@ $0
<h3 id="org59ecb26">Draw</h3> <h3 id="org59ecb26">Draw</h3>
<div class="outline-text-3" id="text-org59ecb26"> <div class="outline-text-3" id="text-org59ecb26">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :draw <span class="org-comment-delimiter">#</span><span class="org-comment">name :draw</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
\draw[${1:-&gt;}] (${2:point1}) -- (${3:point2}); \draw[${<span class="org-highlight-numbers-number">1</span>:-&gt;}] (${<span class="org-highlight-numbers-number">2</span>:point1}) -- (${<span class="org-highlight-numbers-number">3</span>:point2});
$0 $0
</pre> </pre>
</div> </div>
@ -119,10 +121,10 @@ $0
<h3 id="org7d9566f">Node</h3> <h3 id="org7d9566f">Node</h3>
<div class="outline-text-3" id="text-org7d9566f"> <div class="outline-text-3" id="text-org7d9566f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :node <span class="org-comment-delimiter">#</span><span class="org-comment">name :node</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
node[${1:below right}] (${2:name}) {${3:label}}; node[${<span class="org-highlight-numbers-number">1</span>:below right}] (${<span class="org-highlight-numbers-number">2</span>:name}) {${<span class="org-highlight-numbers-number">3</span>:label}};
$0 $0
</pre> </pre>
</div> </div>
@ -133,10 +135,10 @@ $0
<h3 id="org2bf4fa9">Path</h3> <h3 id="org2bf4fa9">Path</h3>
<div class="outline-text-3" id="text-org2bf4fa9"> <div class="outline-text-3" id="text-org2bf4fa9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :path <span class="org-comment-delimiter">#</span><span class="org-comment">name :path</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
\path[${1}] (${2:point1}) -- (${3:point2}); \path[${<span class="org-highlight-numbers-number">1</span>}] (${<span class="org-highlight-numbers-number">2</span>:point1}) -- (${<span class="org-highlight-numbers-number">3</span>:point2});
$0 $0
</pre> </pre>
</div> </div>
@ -152,9 +154,9 @@ $0
<h3 id="org57b4acd">Clear</h3> <h3 id="org57b4acd">Clear</h3>
<div class="outline-text-3" id="text-org57b4acd"> <div class="outline-text-3" id="text-org57b4acd">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :clear and close all <span class="org-comment-delimiter">#</span><span class="org-comment">name :clear and close all</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
clear; close all; clc; clear; close all; clc;
$0 $0
</pre> </pre>
@ -166,10 +168,10 @@ $0
<h3 id="org2e18b5b">Function</h3> <h3 id="org2e18b5b">Function</h3>
<div class="outline-text-3" id="text-org2e18b5b"> <div class="outline-text-3" id="text-org2e18b5b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :function <span class="org-comment-delimiter">#</span><span class="org-comment">name :function</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
function [${4:outputs}] = ${1:functionName}(${2:inputs}, ${3:opts_param}) <span class="org-variable-name">function </span>[${<span class="org-highlight-numbers-number">4</span>:outputs}] = ${<span class="org-highlight-numbers-number">1</span>:functionName}(${<span class="org-highlight-numbers-number">2</span>:inputs}, ${<span class="org-highlight-numbers-number">3</span>:opts_param})
% $1 - Description % $1 - Description
% %
% Syntax: $1($2, $3) % Syntax: $1($2, $3)
@ -183,21 +185,21 @@ function [${4:outputs}] = ${1:functionName}(${2:inputs}, ${3:opts_param})
% - $4 - % - $4 -
%% Default value for opts %% Default value for opts
opts = struct(... <span class="org-variable-name">opts</span> = struct(...
'${5:outputs}', ${6:default_value} ... <span class="org-string">'${5:outputs}'</span>, ${<span class="org-highlight-numbers-number">6</span>:default_value} ...
); );
if exist('opts_param','var') if exist(<span class="org-string">'opts_param'</span>,<span class="org-string">'var'</span>)
for opt = fieldnames($3)' <span class="org-variable-name">for opt</span> = fieldnames($3)<span class="org-string">'</span>
if sum(strcmp(fieldnames(opts), opt{1})) == 1 <span class="org-string"> if sum(strcmp(fieldnames(opts), opt{1})) == 1</span>
opts.(opt{1}) = $3.(opt{1}); <span class="org-string"> opts.(opt{1}) = $3.(opt{1});</span>
else <span class="org-string"> else</span>
warning(sprintf('%s is not a valid option.', opt{1})); <span class="org-string"> warning(sprintf('</span>%s is not a valid option.<span class="org-string">', opt{1}));</span>
end <span class="org-string"> end</span>
end <span class="org-string"> end</span>
end <span class="org-string">end</span>
$0 <span class="org-string">$0</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -212,10 +214,10 @@ $0
<h3 id="orge6f2295">Begin</h3> <h3 id="orge6f2295">Begin</h3>
<div class="outline-text-3" id="text-orge6f2295"> <div class="outline-text-3" id="text-orge6f2295">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :LaTeX Environment <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{${1:equation}} \begin{${<span class="org-highlight-numbers-number">1</span>:equation}}
$0 $0
\end{$1} \end{$1}
</pre> </pre>
@ -227,10 +229,10 @@ $0
<h3 id="orge3638b9">Caption</h3> <h3 id="orge3638b9">Caption</h3>
<div class="outline-text-3" id="text-orge3638b9"> <div class="outline-text-3" id="text-orge3638b9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Caption <span class="org-comment-delimiter">#</span><span class="org-comment">name :Caption</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+caption: $0 <span class="org-comment-delimiter">#</span><span class="org-comment">+caption: $0</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -240,15 +242,15 @@ $0
<h3 id="org5baebfd">Block</h3> <h3 id="org5baebfd">Block</h3>
<div class="outline-text-3" id="text-org5baebfd"> <div class="outline-text-3" id="text-org5baebfd">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Org-Mode Block <span class="org-comment-delimiter">#</span><span class="org-comment">name :Org-Mode Block</span>
#key: block <span class="org-comment-delimiter">#</span><span class="org-comment">key: block</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+begin_${1:$$(let ((type (yas-choose-value '("src" "example" "quote" "verse" "center" "latex" "html" "ascii")))) <span class="org-comment-delimiter">#</span><span class="org-comment">+begin_${1:$$(let ((type (yas-choose-value '("src" "example" "quote" "verse" "center" "latex" "html" "ascii"))))</span>
(if type (concat type (if (equal type "src") (if type (concat type (if (equal type <span class="org-string">"src"</span>)
(concat " " (yas-choose-value '("emacs-lisp" "latex" "python" "sh" "matlab")))))))} (concat <span class="org-string">" "</span> (yas-choose-value <span class="org-string">'("emacs-lisp" "latex" "python" "sh" "matlab")))))))}</span>
$0 <span class="org-string">$0</span>
#+end_${1:$(car (split-string yas-text))} <span class="org-string">#+end_${1:$(car (split-string yas-text))}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -258,13 +260,13 @@ $0
<h3 id="org5af680d">Custom Box</h3> <h3 id="org5af680d">Custom Box</h3>
<div class="outline-text-3" id="text-org5af680d"> <div class="outline-text-3" id="text-org5af680d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Custom Box <span class="org-comment-delimiter">#</span><span class="org-comment">name :Custom Box</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+attr_latex: :options [$1]{${2:blue}}{${3:ams nodisplayskip}} <span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :options [$1]{${2:blue}}{${3:ams nodisplayskip}}</span>
#+begin_cbox <span class="org-comment-delimiter">#</span><span class="org-comment">+begin_cbox</span>
$0 $0
#+end_cbox <span class="org-comment-delimiter">#</span><span class="org-comment">+end_cbox</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -274,11 +276,11 @@ $0
<h3 id="orgbc9e91e">Latex Class</h3> <h3 id="orgbc9e91e">Latex Class</h3>
<div class="outline-text-3" id="text-orgbc9e91e"> <div class="outline-text-3" id="text-orgbc9e91e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#name: latex-class <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">name: latex-class</span>
#key: lc <span class="org-comment-delimiter">#</span><span class="org-comment">key: lc</span>
#expand-env: ((classes (mapcar 'car org-latex-classes))) <span class="org-comment-delimiter">#</span><span class="org-comment">expand-env: ((classes (mapcar 'car org-latex-classes)))</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+latex_class: ${1:$$(yas-choose-value classes)} <span class="org-comment-delimiter">#</span><span class="org-comment">+latex_class: ${1:$$(yas-choose-value classes)}</span>
$0 $0
</pre> </pre>
</div> </div>
@ -289,10 +291,10 @@ $0
<h3 id="org44e3f97">Bibliography with completion</h3> <h3 id="org44e3f97">Bibliography with completion</h3>
<div class="outline-text-3" id="text-org44e3f97"> <div class="outline-text-3" id="text-org44e3f97">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#name: bibliography with completion <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">name: bibliography with completion</span>
#key: bib <span class="org-comment-delimiter">#</span><span class="org-comment">key: bib</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
bibliography:${1:$$(yas-choose-value (org-ref-find-bibliography))} bibliography:${<span class="org-highlight-numbers-number">1</span>:$$(yas-choose-value (org-ref-find-bibliography))}
</pre> </pre>
</div> </div>
</div> </div>
@ -302,11 +304,11 @@ bibliography:${1:$$(yas-choose-value (org-ref-find-bibliography))}
<h3 id="orgff33361">Cite</h3> <h3 id="orgff33361">Cite</h3>
<div class="outline-text-3" id="text-orgff33361"> <div class="outline-text-3" id="text-orgff33361">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#name: org-ref cite link <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">name: org-ref cite link</span>
#key: cite <span class="org-comment-delimiter">#</span><span class="org-comment">key: cite</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
cite:${1:$$(completing-read cite:${<span class="org-highlight-numbers-number">1</span>:$$(completing-read
"bibtex key: " <span class="org-string">"bibtex key: "</span>
(let ((bibtex-files (org-ref-find-bibliography)))(bibtex-global-key-alist)))} (let ((bibtex-files (org-ref-find-bibliography)))(bibtex-global-key-alist)))}
</pre> </pre>
</div> </div>
@ -317,10 +319,10 @@ cite:${1:$$(completing-read
<h3 id="org2596a7d">Ref</h3> <h3 id="org2596a7d">Ref</h3>
<div class="outline-text-3" id="text-org2596a7d"> <div class="outline-text-3" id="text-org2596a7d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#name: org-ref ref link with completion <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">name: org-ref ref link with completion</span>
#key: ref <span class="org-comment-delimiter">#</span><span class="org-comment">key: ref</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
ref:${1:$$(completing-read "label: " (org-ref-get-labels))} ref:${<span class="org-highlight-numbers-number">1</span>:$$(completing-read <span class="org-string">"label: "</span> (org-ref-get-labels))}
</pre> </pre>
</div> </div>
</div> </div>
@ -330,13 +332,13 @@ ref:${1:$$(completing-read "label: " (org-ref-get-labels))}
<h3 id="orgad4ea52">Beamer - CBOX</h3> <h3 id="orgad4ea52">Beamer - CBOX</h3>
<div class="outline-text-3" id="text-orgad4ea52"> <div class="outline-text-3" id="text-orgad4ea52">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Beamer Custom Box <span class="org-comment-delimiter">#</span><span class="org-comment">name :Beamer Custom Box</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
*** ${1:@@latex:@@} :B_cbox: *** ${<span class="org-highlight-numbers-number">1</span>:@@latex:@@} :B_cbox:
,:PROPERTIES: ,:PROPERTIES:
:BEAMER_env: cbox :BEAMER_env: cbox
:BEAMER_opt: {${2:blue}}{${3:ams nodisplayskip}} :BEAMER_opt: {${<span class="org-highlight-numbers-number">2</span>:blue}}{${<span class="org-highlight-numbers-number">3</span>:ams nodisplayskip}}
:END: :END:
$0 $0
@ -349,14 +351,14 @@ $0
<h3 id="orgeceea05">Code</h3> <h3 id="orgeceea05">Code</h3>
<div class="outline-text-3" id="text-orgeceea05"> <div class="outline-text-3" id="text-orgeceea05">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Code <span class="org-comment-delimiter">#</span><span class="org-comment">name :Code</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+caption: ${1:Listing Caption} <span class="org-comment-delimiter">#</span><span class="org-comment">+caption: ${1:Listing Caption}</span>
#+label: lst:${2:listing_name} <span class="org-comment-delimiter">#</span><span class="org-comment">+label: lst:${2:listing_name}</span>
#+begin_src ${3:listing_language} <span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src ${3:listing_language}</span>
$0 $0
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -366,10 +368,10 @@ $0
<h3 id="org07c50c9">Equation</h3> <h3 id="org07c50c9">Equation</h3>
<div class="outline-text-3" id="text-org07c50c9"> <div class="outline-text-3" id="text-org07c50c9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Equation <span class="org-comment-delimiter">#</span><span class="org-comment">name :Equation</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+name: eq:${1:equation_name} <span class="org-comment-delimiter">#</span><span class="org-comment">+name: eq:${1:equation_name}</span>
\begin{equation} \begin{equation}
$0 $0
\end{equation} \end{equation}
@ -382,12 +384,12 @@ $0
<h3 id="orgc8d9a5f">Figure</h3> <h3 id="orgc8d9a5f">Figure</h3>
<div class="outline-text-3" id="text-orgc8d9a5f"> <div class="outline-text-3" id="text-orgc8d9a5f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Figure <span class="org-comment-delimiter">#</span><span class="org-comment">name :Figure</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+name: fig:${1:figure_name} <span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:${1:figure_name}</span>
#+caption: ${2:Figure caption} <span class="org-comment-delimiter">#</span><span class="org-comment">+caption: ${2:Figure caption}</span>
[[file:${3:figs/}$1.${4:pdf}]] [[file:${<span class="org-highlight-numbers-number">3</span>:figs/}$1.${<span class="org-highlight-numbers-number">4</span>:pdf}]]
$0 $0
</pre> </pre>
</div> </div>
@ -398,9 +400,9 @@ $0
<h3 id="org110ed8f">Frac</h3> <h3 id="org110ed8f">Frac</h3>
<div class="outline-text-3" id="text-org110ed8f"> <div class="outline-text-3" id="text-org110ed8f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :LaTeX Fraction <span class="org-comment-delimiter">#</span><span class="org-comment">name :LaTeX Fraction</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
\frac{$1}{$2} $0 \frac{$1}{$2} $0
</pre> </pre>
</div> </div>
@ -411,9 +413,9 @@ $0
<h3 id="orgd3f3c7d">Left</h3> <h3 id="orgd3f3c7d">Left</h3>
<div class="outline-text-3" id="text-orgd3f3c7d"> <div class="outline-text-3" id="text-orgd3f3c7d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Left Right mathematical delimitations <span class="org-comment-delimiter">#</span><span class="org-comment">name :Left Right mathematical delimitations</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
\left$1 $0 \right$2 \left$1 $0 \right$2
</pre> </pre>
</div> </div>
@ -424,27 +426,73 @@ $0
<h3 id="org7443b06">Minipage</h3> <h3 id="org7443b06">Minipage</h3>
<div class="outline-text-3" id="text-org7443b06"> <div class="outline-text-3" id="text-org7443b06">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :minipage <span class="org-comment-delimiter">#</span><span class="org-comment">name :minipage</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+BEGIN_EXPORT latex <span class="org-comment-delimiter">#</span><span class="org-comment">+BEGIN_EXPORT latex</span>
\begin{figure}[htbp] \begin{figure}[htbp]
\centering \centering
\begin{minipage}[t]{0.49\linewidth} \begin{minipage}[t]{<span class="org-highlight-numbers-number">0.49</span>\linewidth}
#+END_EXPORT <span class="org-comment-delimiter">#</span><span class="org-comment">+END_EXPORT</span>
#+attr_latex: :float nil :width 0.95\linewidth <span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :float nil :width 0.95\linewidth</span>
$0 $0
#+BEGIN_EXPORT latex <span class="org-comment-delimiter">#</span><span class="org-comment">+BEGIN_EXPORT latex</span>
\end{minipage}% \end{minipage}%
\hfill% \hfill%
\begin{minipage}[t]{0.49\linewidth} \begin{minipage}[t]{<span class="org-highlight-numbers-number">0.49</span>\linewidth}
#+END_EXPORT <span class="org-comment-delimiter">#</span><span class="org-comment">+END_EXPORT</span>
#+attr_latex: :float nil :width 0.95\linewidth <span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :float nil :width 0.95\linewidth</span>
#+BEGIN_EXPORT latex <span class="org-comment-delimiter">#</span><span class="org-comment">+BEGIN_EXPORT latex</span>
\end{minipage} \end{minipage}
\end{figure} \end{figure}
#+END_EXPORT <span class="org-comment-delimiter">#</span><span class="org-comment">+END_EXPORT</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org23a68e2" class="outline-3">
<h3 id="org23a68e2">Minipage Figures</h3>
<div class="outline-text-3" id="text-org23a68e2">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Minipage with Figures</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :options [t]{${3:0.5\linewidth}}</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_minipage</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:$1</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+caption: ${2:Caption}</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: ${4::width \linewidth} :float nil</span>
[[file:figs/${<span class="org-highlight-numbers-number">1</span>:figure_name}.pdf]]
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_minipage</span>
\hfill
<span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :options [t]{${7:0.5\linewidth}}</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_minipage</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:$5</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+caption: ${6:Caption}</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: ${8::width \linewidth} :float nil</span>
[[file:figs/${<span class="org-highlight-numbers-number">5</span>:figure_name}.pdf]]
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_minipage</span>
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgeef052f" class="outline-3">
<h3 id="orgeef052f">Wrap Figure</h3>
<div class="outline-text-3" id="text-orgeef052f">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
<span class="org-comment-delimiter">#</span><span class="org-comment">name :Wrap Figure</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :options {${1:rl}}{${2:0.45\textwidth}}</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+begin_wrapfigure</span>
<span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :${3:width \linewidth}</span>
[[file:figs/${<span class="org-highlight-numbers-number">4</span>:figure_name.pdf}]]
<span class="org-comment-delimiter">#</span><span class="org-comment">+end_wrapfigure</span>
$0
</pre> </pre>
</div> </div>
</div> </div>
@ -454,10 +502,10 @@ $0
<h3 id="orgeb4af43">Multicolumn</h3> <h3 id="orgeb4af43">Multicolumn</h3>
<div class="outline-text-3" id="text-orgeb4af43"> <div class="outline-text-3" id="text-orgeb4af43">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Multcolumn <span class="org-comment-delimiter">#</span><span class="org-comment">name :Multcolumn</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+attr_latex: :float multicolumn <span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :float multicolumn</span>
$0 $0
</pre> </pre>
</div> </div>
@ -468,14 +516,14 @@ $0
<h3 id="org88c6f73">Subfigure</h3> <h3 id="org88c6f73">Subfigure</h3>
<div class="outline-text-3" id="text-org88c6f73"> <div class="outline-text-3" id="text-org88c6f73">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Subfigure <span class="org-comment-delimiter">#</span><span class="org-comment">name :Subfigure</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+name: fig:${1:figure_name} <span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:${1:figure_name}</span>
#+caption: ${2:figure caption} <span class="org-comment-delimiter">#</span><span class="org-comment">+caption: ${2:figure caption}</span>
#+attr_latex: :environment subfigure :width 0.49\linewidth :align c <span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :environment subfigure :width 0.49\linewidth :align c</span>
| file:${3:sub_fig_name}.${4:pdf} | file:${5:sub_fig_name}.${6:pdf} | | file:${<span class="org-highlight-numbers-number">3</span>:sub_fig_name}.${<span class="org-highlight-numbers-number">4</span>:pdf} | file:${<span class="org-highlight-numbers-number">5</span>:sub_fig_name}.${<span class="org-highlight-numbers-number">6</span>:pdf} |
| &lt;&lt;fig:$3&gt;&gt; ${7:sub figure caption} | &lt;&lt;fig:$5&gt;&gt; ${8:sub figure caption} | | &lt;&lt;fig:$3&gt;&gt; ${<span class="org-highlight-numbers-number">7</span>:sub figure caption} | &lt;&lt;fig:$5&gt;&gt; ${<span class="org-highlight-numbers-number">8</span>:sub figure caption} |
$0 $0
</pre> </pre>
</div> </div>
@ -486,13 +534,13 @@ $0
<h3 id="orgc411771">Table</h3> <h3 id="orgc411771">Table</h3>
<div class="outline-text-3" id="text-orgc411771"> <div class="outline-text-3" id="text-orgc411771">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Table <span class="org-comment-delimiter">#</span><span class="org-comment">name :Table</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+name: tab:${1:table_name} <span class="org-comment-delimiter">#</span><span class="org-comment">+name: tab:${1:table_name}</span>
#+caption: ${2:Table caption} <span class="org-comment-delimiter">#</span><span class="org-comment">+caption: ${2:Table caption}</span>
#+attr_latex: :environment tabularx :width ${3:\linewidth} :align ${4:lXX} <span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :environment tabularx :width ${3:\linewidth} :align ${4:lXX}</span>
#+attr_latex: :center t :booktabs t :float t <span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :center t :booktabs t :float t</span>
| $0 | | | | $0 | | |
|---+---+---| |---+---+---|
| | | | | | | |
@ -505,14 +553,14 @@ $0
<h3 id="org9f4cd61">Tikz</h3> <h3 id="org9f4cd61">Tikz</h3>
<div class="outline-text-3" id="text-org9f4cd61"> <div class="outline-text-3" id="text-org9f4cd61">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Tikz figure <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>
#+begin_src latex :file ${1:figure_name}.pdf :post pdf2svg(file=*this*, ext="png") :exports both <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 $0
\end{tikzpicture} \end{tikzpicture}
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -522,23 +570,23 @@ $0
<h3 id="org354eeb6">Tikzfig</h3> <h3 id="org354eeb6">Tikzfig</h3>
<div class="outline-text-3" id="text-org354eeb6"> <div class="outline-text-3" id="text-org354eeb6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Tikz Figure <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>
#+NAME: fig:${1:figure_name} <span class="org-comment-delimiter">#</span><span class="org-comment">+NAME: fig:${1:figure_name}</span>
#+HEADER: :headers '("\\\\usepackage{tikz}" "\\\\usepackage{import}" "\\\\import{$HOME/Cloud/thesis/LaTeX/}{config.tex}") <span class="org-comment-delimiter">#</span><span class="org-comment">+HEADER: :headers '("\\\\usepackage{tikz}" "\\\\usepackage{import}" "\\\\import{$HOME/Cloud/thesis/LaTeX/}{config.tex}")</span>
#+HEADER: :imagemagick t :fit yes :iminoptions -scale 100% -density 150 :imoutoptions -quality 100 <span class="org-comment-delimiter">#</span><span class="org-comment">+HEADER: :imagemagick t :fit yes :iminoptions -scale 100% -density 150 :imoutoptions -quality 100</span>
#+HEADER: :results raw replace :buffer no :eval no-export :exports both :mkdirp yes <span class="org-comment-delimiter">#</span><span class="org-comment">+HEADER: :results raw replace :buffer no :eval no-export :exports both :mkdirp yes</span>
#+HEADER: :output-dir ${2:figs} <span class="org-comment-delimiter">#</span><span class="org-comment">+HEADER: :output-dir ${2:figs}</span>
#+begin_src latex :file $1.pdf :post pdf2svg(file=*this*, ext="png") :exports both <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 $0
\end{tikzpicture} \end{tikzpicture}
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
#+NAME: fig:$1 <span class="org-comment-delimiter">#</span><span class="org-comment">+NAME: fig:$1</span>
#+CAPTION: ${3:Caption} <span class="org-comment-delimiter">#</span><span class="org-comment">+CAPTION: ${3:Caption}</span>
#+RESULTS: fig:$1 <span class="org-comment-delimiter">#</span><span class="org-comment">+RESULTS: fig:$1</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -548,20 +596,20 @@ $0
<h3 id="org82996fc">Tikzheader</h3> <h3 id="org82996fc">Tikzheader</h3>
<div class="outline-text-3" id="text-org82996fc"> <div class="outline-text-3" id="text-org82996fc">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Tikz Header <span class="org-comment-delimiter">#</span><span class="org-comment">name :Tikz Header</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
* ${1:Title/Description of the figure} * ${<span class="org-highlight-numbers-number">1</span>:Title/Description of the figure}
#+begin_src latex :file ${2:figure_name}.pdf :tangle figs/$2.tex :exports ${3:both} <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 $0
\end{tikzpicture} \end{tikzpicture}
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
#+name: fig:$2 <span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:$2</span>
#+caption: $1 ([[./figs/$2.png][png]], [[./figs/$2.pdf][pdf]], [[./figs/$2.tex][tex]]). <span class="org-comment-delimiter">#</span><span class="org-comment">+caption: $1 ([[./figs/$2.png][png]], [[./figs/$2.pdf][pdf]], [[./figs/$2.tex][tex]]).</span>
#+RESULTS: <span class="org-comment-delimiter">#</span><span class="org-comment">+RESULTS:</span>
[[file:./figs/$2.png]] [<span class="org-type">[file:./figs/$2.png]</span>]
</pre> </pre>
</div> </div>
</div> </div>
@ -571,13 +619,13 @@ $0
<h3 id="orge0d83c7">User-config</h3> <h3 id="orge0d83c7">User-config</h3>
<div class="outline-text-3" id="text-orge0d83c7"> <div class="outline-text-3" id="text-orge0d83c7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"># -*- mode: snippet -*- <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">-*- mode: snippet -*-</span>
# name: user-config <span class="org-comment-delimiter"># </span><span class="org-comment">name: user-config</span>
# key: uc <span class="org-comment-delimiter"># </span><span class="org-comment">key: uc</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+begin_src emacs-lisp :tangle user-config.el <span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src emacs-lisp :tangle user-config.el</span>
$1 $1
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -603,10 +651,10 @@ $1
<h3 id="orgfd7122c">Wrap</h3> <h3 id="orgfd7122c">Wrap</h3>
<div class="outline-text-3" id="text-orgfd7122c"> <div class="outline-text-3" id="text-orgfd7122c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Wrap <span class="org-comment-delimiter">#</span><span class="org-comment">name :Wrap</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+attr_latex: :float wrap <span class="org-comment-delimiter">#</span><span class="org-comment">+attr_latex: :float wrap</span>
$0 $0
</pre> </pre>
</div> </div>
@ -621,18 +669,18 @@ $0
<h4 id="org8ec12f3">Mconfig</h4> <h4 id="org8ec12f3">Mconfig</h4>
<div class="outline-text-4" id="text-org8ec12f3"> <div class="outline-text-4" id="text-org8ec12f3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Matlab-Configuration-Header <span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Configuration-Header</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+PROPERTY: header-args:matlab :session *MATLAB* <span class="org-comment-delimiter">#</span><span class="org-comment">+PROPERTY: header-args:matlab :session *MATLAB*</span>
#+PROPERTY: header-args:matlab+ :tangle ${1:filename}.m <span class="org-comment-delimiter">#</span><span class="org-comment">+PROPERTY: header-args:matlab+ :tangle ${1:filename}.m</span>
#+PROPERTY: header-args:matlab+ :comments org <span class="org-comment-delimiter">#</span><span class="org-comment">+PROPERTY: header-args:matlab+ :comments org</span>
#+PROPERTY: header-args:matlab+ :exports both <span class="org-comment-delimiter">#</span><span class="org-comment">+PROPERTY: header-args:matlab+ :exports both</span>
#+PROPERTY: header-args:matlab+ :results none <span class="org-comment-delimiter">#</span><span class="org-comment">+PROPERTY: header-args:matlab+ :results none</span>
#+PROPERTY: header-args:matlab+ :eval no-export <span class="org-comment-delimiter">#</span><span class="org-comment">+PROPERTY: header-args:matlab+ :eval no-export</span>
#+PROPERTY: header-args:matlab+ :noweb yes <span class="org-comment-delimiter">#</span><span class="org-comment">+PROPERTY: header-args:matlab+ :noweb yes</span>
#+PROPERTY: header-args:matlab+ :mkdirp yes <span class="org-comment-delimiter">#</span><span class="org-comment">+PROPERTY: header-args:matlab+ :mkdirp yes</span>
#+PROPERTY: header-args:matlab+ :output-dir ${2:figs} <span class="org-comment-delimiter">#</span><span class="org-comment">+PROPERTY: header-args:matlab+ :output-dir ${2:figs}</span>
$0 $0
</pre> </pre>
</div> </div>
@ -643,9 +691,9 @@ $0
<h4 id="orge7bcf86">Mdescription</h4> <h4 id="orge7bcf86">Mdescription</h4>
<div class="outline-text-4" id="text-orge7bcf86"> <div class="outline-text-4" id="text-orge7bcf86">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Measurement-Description <span class="org-comment-delimiter">#</span><span class="org-comment">name :Measurement-Description</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
* Measurement description * Measurement description
** Setup :ignore: ** Setup :ignore:
*Setup*: *Setup*:
@ -659,14 +707,14 @@ $0
Three measurements are done: Three measurements are done:
| Measurement File | Description | | Measurement File | Description |
|-------------------------+------------------------------| |-------------------------+------------------------------|
| =mat/data_${1:001}.mat= | $2 | <span class="org-variable-name">|</span> =mat/data_${<span class="org-highlight-numbers-number">1</span>:<span class="org-highlight-numbers-number">001</span>}.mat= | $2 |
Each of the measurement =mat= file contains one =data= array with 3 columns: <span class="org-variable-name">Each of the measurement</span> =mat= file contains one =data= array with <span class="org-highlight-numbers-number">3</span> columns:
| Column number | Description | | Column number | Description |
|---------------+-------------------| |---------------+-------------------|
| 1 | $3 | | <span class="org-highlight-numbers-number">1</span> | $3 |
| 2 | $4 | | <span class="org-highlight-numbers-number">2</span> | $4 |
| 3 | Time | | <span class="org-highlight-numbers-number">3</span> | Time |
$0 $0
</pre> </pre>
@ -678,17 +726,17 @@ $0
<h4 id="orgbc46c85">Mfigure</h4> <h4 id="orgbc46c85">Mfigure</h4>
<div class="outline-text-4" id="text-orgbc46c85"> <div class="outline-text-4" id="text-orgbc46c85">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Matlab-Figure <span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Figure</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
#+begin_src matlab :tangle no :exports results :results file replace <span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab :tangle no :exports results :results file replace</span>
exportFig('figs/${1:filename}.pdf', 'width', '${2:full}', 'height', '${3:full}'); exportFig(<span class="org-string">'figs/${1:filename}.pdf'</span>, <span class="org-string">'width'</span>, <span class="org-string">'${2:full}'</span>, <span class="org-string">'height'</span>, <span class="org-string">'${3:full}'</span>);
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
#+name: fig:$1 <span class="org-comment-delimiter">#</span><span class="org-comment">+name: fig:$1</span>
#+caption: $0 <span class="org-comment-delimiter">#</span><span class="org-comment">+caption: $0</span>
#+RESULTS: <span class="org-comment-delimiter">#</span><span class="org-comment">+RESULTS:</span>
[[file:figs/$1.png]] [<span class="org-type">[file:figs/$1.png]</span>]
</pre> </pre>
</div> </div>
</div> </div>
@ -698,23 +746,23 @@ $0
<h4 id="orgab32029">Mfunction</h4> <h4 id="orgab32029">Mfunction</h4>
<div class="outline-text-4" id="text-orgab32029"> <div class="outline-text-4" id="text-orgab32029">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Matlab-Function <span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Function</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
* ${1:Function Name} * ${<span class="org-highlight-numbers-number">1</span>:Function Name}
:PROPERTIES: :PROPERTIES:
:header-args:matlab+: :tangle src/${2:matlab_file_name}.m :header-args:matlab+: :tangle src/${<span class="org-highlight-numbers-number">2</span>:matlab_file_name}.m
:header-args:matlab+: :comments none :mkdirp yes :eval no :header-args:matlab+: :comments none :mkdirp yes :eval no
:END: :END:
&lt;&lt;sec:$2&gt;&gt; &lt;&lt;sec:$2&gt;&gt;
This Matlab function is accessible [[file:src/$2.m][here]]. This Matlab function is accessible [[file:src/$2.m][here]].
#+begin_src matlab <span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab</span>
function [${4:in_data}] = $2(${3:in_data}) <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 % $2 - $0
% %
% Syntax: [$4] = $2($3) <span class="org-variable-name">% Syntax: </span>[<span class="org-constant">$4</span>] = $2($3)
% %
% Inputs: % Inputs:
% - $3 - % - $3 -
@ -723,7 +771,7 @@ This Matlab function is accessible [[file:src/$2.m][here]].
% - $4 - % - $4 -
end end
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -733,18 +781,18 @@ This Matlab function is accessible [[file:src/$2.m][here]].
<h4 id="orgc44afd5">Mheader</h4> <h4 id="orgc44afd5">Mheader</h4>
<div class="outline-text-4" id="text-orgc44afd5"> <div class="outline-text-4" id="text-orgc44afd5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Matlab-Header <span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Header</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
* ${1:Heading Name} * ${<span class="org-highlight-numbers-number">1</span>:Heading Name}
:PROPERTIES: :PROPERTIES:
:header-args:matlab+: :tangle matlab/${2:matlab_file_name}.m :header-args:matlab+: :tangle matlab/${<span class="org-highlight-numbers-number">2</span>:matlab_file_name}.m
:header-args:matlab+: :comments org :mkdirp yes :header-args:matlab+: :comments org :mkdirp yes
:END: :END:
&lt;&lt;sec:$2&gt;&gt; &lt;&lt;sec:$2&gt;&gt;
** ZIP file containing the data and matlab files :ignore: ** ZIP file containing the data and matlab files :ignore:
#+begin_src bash :exports none :results none <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; cp matlab/$2.m $2.m;
zip data/$2 \ zip data/$2 \
@ -752,11 +800,11 @@ This Matlab function is accessible [[file:src/$2.m][here]].
$2.m $2.m
rm $2.m; rm $2.m;
fi fi
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
#+begin_note <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]].
#+end_note <span class="org-comment-delimiter">#</span><span class="org-comment">+end_note</span>
$0 $0
</pre> </pre>
@ -768,17 +816,17 @@ $0
<h4 id="orga9eb6ca">Minit</h4> <h4 id="orga9eb6ca">Minit</h4>
<div class="outline-text-4" id="text-orga9eb6ca"> <div class="outline-text-4" id="text-orga9eb6ca">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Matlab-Init <span class="org-comment-delimiter">#</span><span class="org-comment">name :Matlab-Init</span>
# -- <span class="org-comment-delimiter"># </span><span class="org-comment">--</span>
** Matlab Init :noexport:ignore: ** Matlab Init :noexport:ignore:
#+begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name) <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>
&lt;&lt;matlab-dir&gt;&gt; &lt;&lt;matlab-dir&gt;&gt;
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
#+begin_src matlab :exports none :results silent :noweb yes <span class="org-comment-delimiter">#</span><span class="org-comment">+begin_src matlab :exports none :results silent :noweb yes</span>
&lt;&lt;matlab-init&gt;&gt; &lt;&lt;matlab-init&gt;&gt;
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
$0 $0
</pre> </pre>
@ -790,12 +838,12 @@ $0
<h4 id="org3ccf909">Mtable</h4> <h4 id="org3ccf909">Mtable</h4>
<div class="outline-text-4" id="text-org3ccf909"> <div class="outline-text-4" id="text-org3ccf909">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt; <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">contributor : Thomas Dehaeze <a href="mailto:dehaeze.thomas%40gmail.com">&lt;dehaeze.thomas@gmail.com&gt;</a></span>
#name :Matlab-Table <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>
#+begin_src matlab :exports results :results value table replace :tangle no :post addhdr(*this*) <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(${1:data}, {${2:'rowlabel'}}, {${3:'collabel'}}, ' %.1f '); 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>);
#+end_src <span class="org-comment-delimiter">#</span><span class="org-comment">+end_src</span>
$0 $0
</pre> </pre>
</div> </div>
@ -806,7 +854,7 @@ $0
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,251 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:19 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Git Configuration</title> <title>Git Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/> <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/> <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script> <script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head> </head>
<body> <body>
<div id="org-div-home-and-up"> <div id="org-div-home-and-up">
@ -273,6 +41,7 @@ for the JavaScript code in this tag.
</ul> </ul>
</li> </li>
<li><a href="#org3e19276">Global Git Ignore</a></li> <li><a href="#org3e19276">Global Git Ignore</a></li>
<li><a href="#org62a061b">Pass Git Helper</a></li>
</ul> </ul>
</div> </div>
</div> </div>
@ -484,6 +253,9 @@ for the JavaScript code in this tag.
[credential <span class="org-string">"https://github.com"</span>] [credential <span class="org-string">"https://github.com"</span>]
<span class="org-variable-name">username</span> = tdehaeze <span class="org-variable-name">username</span> = tdehaeze
[credential <span class="org-string">"https://git.tdehaeze.xyz"</span>]
<span class="org-variable-name">username</span> = tdehaeze
</pre> </pre>
</div> </div>
</div> </div>
@ -524,10 +296,27 @@ Session.vim
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org62a061b" class="outline-2">
<h2 id="org62a061b">Pass Git Helper</h2>
<div class="outline-text-2" id="text-org62a061b">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">github.com*</span>]
<span class="org-variable-name">target</span>=github.com/tdehaeze
[<span class="org-type">git.tdehaeze.xyz*</span>]
<span class="org-variable-name">target</span>=git.tdehaeze.xyz/tdehaeze
[<span class="org-type">gitlab.esrf.fr*</span>]
<span class="org-variable-name">target</span>=gitlab.esrf.fr/dehaeze
</pre>
</div>
</div>
</div>
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:19</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,229 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-04-05 dim. 11:29 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SXIV Configuration</title> <title>SXIV Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/> <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/> <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script> <script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript">
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt GPL-v3-or-Later
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
// @license-end
</script>
</head> </head>
<body> <body>
<div id="org-div-home-and-up"> <div id="org-div-home-and-up">
@ -232,7 +22,6 @@
<a accesskey="H" href="./index.html"> HOME </a> <a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content"> </div><div id="content">
<h1 class="title">SXIV Configuration</h1> <h1 class="title">SXIV Configuration</h1>
<p> <p>
Press <code>C-x</code> to activate to key handler. Press <code>C-x</code> to activate to key handler.
</p> </p>
@ -254,7 +43,7 @@ done
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-04-05 dim. 11:29</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

134
docs/inkscape.html Normal file
View File

@ -0,0 +1,134 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Inkscape</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./index.html"> UP </a>
|
<a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content">
<h1 class="title">Inkscape</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org5e44ded">Save Selection to SVG extension</a>
<ul>
<li><a href="#org698faee"><code>ink</code> file</a></li>
<li><a href="#org9bd357b"><code>py</code> file</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org5e44ded" class="outline-2">
<h2 id="org5e44ded">Save Selection to SVG extension</h2>
<div class="outline-text-2" id="text-org5e44ded">
</div>
<div id="outline-container-org698faee" class="outline-3">
<h3 id="org698faee"><code>ink</code> file</h3>
<div class="outline-text-3" id="text-org698faee">
<div class="org-src-container">
<pre class="src src-xml"><span class="org-nxml-processing-instruction-delimiter">&lt;?</span><span class="org-nxml-processing-instruction-target">xml</span> <span class="org-nxml-processing-instruction-content">version="1.0" encoding="utf-8"</span><span class="org-nxml-processing-instruction-delimiter">?&gt;</span>
<span class="org-nxml-processing-instruction-delimiter">&lt;?</span><span class="org-nxml-processing-instruction-target">xml</span> <span class="org-nxml-processing-instruction-content">version="1.0" encoding="UTF-8"</span><span class="org-nxml-processing-instruction-delimiter">?&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">inkscape-extension</span> <span class="org-nxml-namespace-attribute-xmlns">xmlns</span>=<span class="org-string">"http://www.inkscape.org/namespace/inkscape/extension"</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-comment-delimiter">&lt;!-- </span><span class="org-comment">_name must have same name as .py file but capitalise it. Shows on Menu this way</span><span class="org-comment-delimiter">--&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">_name</span><span class="org-nxml-tag-delimiter">&gt;</span><span class="org-nxml-text">Save Selection</span><span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">_name</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-comment-delimiter">&lt;!-- </span><span class="org-comment">id should be unique. Associates entered values with this menu </span><span class="org-comment-delimiter">--&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">id</span><span class="org-nxml-tag-delimiter">&gt;</span><span class="org-nxml-text">org.inkscape.save_selection</span><span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">id</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-comment-delimiter">&lt;!-- </span><span class="org-comment">mention a dependency here and will check for existence (optional)</span><span class="org-comment-delimiter">--&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">dependency</span> <span class="org-nxml-attribute-local-name">type</span>=<span class="org-string">"executable"</span> <span class="org-nxml-attribute-local-name">location</span>=<span class="org-string">"inx"</span><span class="org-nxml-tag-delimiter">&gt;</span><span class="org-nxml-text">save_selection.py</span><span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">dependency</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-comment-delimiter">&lt;!-- </span><span class="org-comment">start notebook </span><span class="org-comment-delimiter">--&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">param</span> <span class="org-nxml-attribute-local-name">name</span>=<span class="org-string">"param"</span> <span class="org-nxml-attribute-local-name">type</span>=<span class="org-string">"float"</span> <span class="org-nxml-attribute-local-name">min</span>=<span class="org-string">"0.1"</span> <span class="org-nxml-attribute-local-name">max</span>=<span class="org-string">"1000.0"</span> <span class="org-nxml-attribute-local-name">precision</span>=<span class="org-string">"5"</span> <span class="org-nxml-attribute-local-name">_gui-text</span>=<span class="org-string">"A floating value"</span><span class="org-nxml-tag-delimiter">&gt;</span><span class="org-nxml-text">1.0</span><span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">param</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">param</span> <span class="org-nxml-attribute-local-name">name</span>=<span class="org-string">"achoice"</span> <span class="org-nxml-attribute-local-name">type</span>=<span class="org-string">"bool"</span> <span class="org-nxml-attribute-local-name">_gui-text</span>=<span class="org-string">"A boolean value"</span><span class="org-nxml-tag-delimiter">&gt;</span><span class="org-nxml-text">false</span><span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">param</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">effect</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">object-type</span><span class="org-nxml-tag-delimiter">&gt;</span><span class="org-nxml-text">all</span><span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">object-type</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">effects-menu</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">submenu</span> <span class="org-nxml-attribute-local-name">_name</span>=<span class="org-string">"Save Selection"</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">effects-menu</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">effect</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-comment-delimiter">&lt;!-- </span><span class="org-comment">py file again </span><span class="org-comment-delimiter">--&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">script</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-element-local-name">command</span> <span class="org-nxml-attribute-local-name">location</span>=<span class="org-string">"inx"</span> <span class="org-nxml-attribute-local-name">interpreter</span>=<span class="org-string">"python"</span><span class="org-nxml-tag-delimiter">&gt;</span><span class="org-nxml-text">save_selection.py</span><span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">command</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">script</span><span class="org-nxml-tag-delimiter">&gt;</span>
<span class="org-nxml-tag-delimiter">&lt;</span><span class="org-nxml-tag-slash">/</span><span class="org-nxml-element-local-name">inkscape-extension</span><span class="org-nxml-tag-delimiter">&gt;</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-org9bd357b" class="outline-3">
<h3 id="org9bd357b"><code>py</code> file</h3>
<div class="outline-text-3" id="text-org9bd357b">
<div class="org-src-container">
<pre class="src src-python"><span class="org-keyword">import</span> os
<span class="org-keyword">import</span> inkex
<span class="org-keyword">import</span> inkex.command
<span class="org-keyword">class</span> <span class="org-type">SaveSelection</span>(inkex.OutputExtension): <span class="org-comment-delimiter"># </span><span class="org-comment">choose a better name</span>
<span class="org-keyword">def</span> <span class="org-function-name">add_arguments</span>(<span class="org-keyword">self</span>, pars):
pars.add_argument(<span class="org-string">"--param"</span>, <span class="org-builtin">type</span>=<span class="org-builtin">float</span>, dest=<span class="org-string">"param"</span>, default=<span class="org-highlight-numbers-number">1.0</span>)
pars.add_argument(<span class="org-string">"-x"</span>, <span class="org-string">"--achoice"</span>, <span class="org-builtin">type</span>=inkex.Boolean, dest=<span class="org-string">"achoice"</span>, default=<span class="org-constant">False</span>)
<span class="org-keyword">def</span> <span class="org-function-name">save</span>(<span class="org-keyword">self</span>, stream):
<span class="org-comment-delimiter"># </span><span class="org-comment">param2 = self.options.param</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">choice = self.options.achoice</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">inkex.command.inkscape_command(self.svg, verbs=['EditInvert']);</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">inkex.command.inkscape_command(self.svg, verbs=['EditDelete']);</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">filename = os.popen('rofi -dmenu -p "Filename"')</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">print(filename)</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">inkex.debug(self.svg.selected.svg)</span>
<span class="org-keyword">self</span>.document.write(<span class="org-keyword">self</span>.svg.selected)
<span class="org-comment-delimiter"># </span><span class="org-comment">Get selected objects</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">selection = self.svg.selected</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">selection = inkex.load_svg(</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">inkex.command.inkscape_command(</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">self.svg, verbs=['FitCanvasToDrawing']))</span>
<span class="org-comment-delimiter"># </span><span class="org-comment"># Create a Canvas ovject</span>
<span class="org-comment-delimiter"># </span><span class="org-comment"># Write File</span>
<span class="org-comment-delimiter"># </span><span class="org-comment"># stream.write(b''.join(self.svg.selected.tostring()))</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">inkex.command.write_svg(selection, "/home/thomas/", "test.svg")</span>
<span class="org-keyword">if</span> <span class="org-builtin">__name__</span> == <span class="org-string">'__main__'</span>:
SaveSelection().run()
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-11-03 mar. 16:26</p>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:40 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Matlab Configuration</title> <title>Matlab Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -43,11 +43,7 @@
<li><a href="#orgbc34538">Clear</a></li> <li><a href="#orgbc34538">Clear</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org20ac1e5">Setup</a> <li><a href="#org20ac1e5">Setup</a></li>
<ul>
<li><a href="#org2f8f36d">Schemer Import</a></li>
</ul>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@ -61,10 +57,10 @@
<h3 id="orgf6d1f33">Setup LaTeX as a default interpreter</h3> <h3 id="orgf6d1f33">Setup LaTeX as a default interpreter</h3>
<div class="outline-text-3" id="text-orgf6d1f33"> <div class="outline-text-3" id="text-orgf6d1f33">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">set(groot, 'DefaultTextInterpreter', 'LaTeX'); <pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
set(groot, 'DefaultAxesTickLabelInterpreter', 'LaTeX'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesTickLabelInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
set(groot, 'DefaultAxesFontName', 'LaTeX'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontName'</span>, <span class="org-string">'LaTeX'</span>);
set(groot, 'DefaultLegendInterpreter', 'LaTeX'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultLegendInterpreter'</span>, <span class="org-string">'LaTeX'</span>);
</pre> </pre>
</div> </div>
</div> </div>
@ -74,8 +70,8 @@ set(groot, 'DefaultLegendInterpreter', 'LaTeX');
<h3 id="org4d6a4e5">Default Line Width</h3> <h3 id="org4d6a4e5">Default Line Width</h3>
<div class="outline-text-3" id="text-org4d6a4e5"> <div class="outline-text-3" id="text-org4d6a4e5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">set(groot, 'DefaultLineLineWidth', 1.5); <pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultLineLineWidth'</span>, 1.5);
set(groot, 'DefaultAxesLineWidth', 0.5); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesLineWidth'</span>, 0.5);
</pre> </pre>
</div> </div>
</div> </div>
@ -85,9 +81,9 @@ set(groot, 'DefaultAxesLineWidth', 0.5);
<h3 id="org14081cd">Default grids on all axis</h3> <h3 id="org14081cd">Default grids on all axis</h3>
<div class="outline-text-3" id="text-org14081cd"> <div class="outline-text-3" id="text-org14081cd">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">set(groot, 'DefaultAxesXGrid','on'); <pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesXGrid'</span>,<span class="org-string">'on'</span>);
set(groot, 'DefaultAxesYGrid','on'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesYGrid'</span>,<span class="org-string">'on'</span>);
set(groot, 'DefaultAxesZGrid','on'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesZGrid'</span>,<span class="org-string">'on'</span>);
</pre> </pre>
</div> </div>
</div> </div>
@ -97,11 +93,11 @@ set(groot, 'DefaultAxesZGrid','on');
<h3 id="org3406bd4">Default Font Size</h3> <h3 id="org3406bd4">Default Font Size</h3>
<div class="outline-text-3" id="text-org3406bd4"> <div class="outline-text-3" id="text-org3406bd4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">set(groot, 'DefaultTextFontUnits', 'points'); <pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontUnits'</span>, <span class="org-string">'points'</span>);
set(groot, 'DefaultTextFontSize', 10); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontSize'</span>, 10);
set(groot, 'DefaultAxesFontUnits', 'points'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontUnits'</span>, <span class="org-string">'points'</span>);
set(groot, 'DefaultAxesFontSize', 10); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontSize'</span>, 10);
set(groot, 'DefaultUicontrolFontSize', 10); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultUicontrolFontSize'</span>, 10);
</pre> </pre>
</div> </div>
</div> </div>
@ -111,8 +107,8 @@ set(groot, 'DefaultUicontrolFontSize', 10);
<h3 id="org6451de0">Default Fonts</h3> <h3 id="org6451de0">Default Fonts</h3>
<div class="outline-text-3" id="text-org6451de0"> <div class="outline-text-3" id="text-org6451de0">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">set(groot, 'DefaultAxesFontName', 'Helvetica'); <pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontName'</span>, <span class="org-string">'Helvetica'</span>);
set(groot, 'DefaultTextFontName', 'Helvetica'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontName'</span>, <span class="org-string">'Helvetica'</span>);
</pre> </pre>
</div> </div>
</div> </div>
@ -122,7 +118,7 @@ set(groot, 'DefaultTextFontName', 'Helvetica');
<h3 id="orgad9e350">Make figures into a Box</h3> <h3 id="orgad9e350">Make figures into a Box</h3>
<div class="outline-text-3" id="text-orgad9e350"> <div class="outline-text-3" id="text-orgad9e350">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">set(groot, 'DefaultAxesBox', 'on'); <pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesBox'</span>, <span class="org-string">'on'</span>);
</pre> </pre>
</div> </div>
</div> </div>
@ -132,11 +128,11 @@ set(groot, 'DefaultTextFontName', 'Helvetica');
<h3 id="org9a40d31">Default Colors</h3> <h3 id="org9a40d31">Default Colors</h3>
<div class="outline-text-3" id="text-org9a40d31"> <div class="outline-text-3" id="text-org9a40d31">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">set(groot, 'DefaultAxesColor', 'w'); <pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesColor'</span>, <span class="org-string">'w'</span>);
set(groot, 'DefaultAxesXColor', 'k'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesXColor'</span>, <span class="org-string">'k'</span>);
set(groot, 'DefaultAxesYColor', 'k'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesYColor'</span>, <span class="org-string">'k'</span>);
set(groot, 'DefaultFigureColor', 'w'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultFigureColor'</span>, <span class="org-string">'w'</span>);
</pre> </pre>
</div> </div>
</div> </div>
@ -146,15 +142,15 @@ set(groot, 'DefaultFigureColor', 'w');
<h3 id="org64d60de">Default Plot Colors</h3> <h3 id="org64d60de">Default Plot Colors</h3>
<div class="outline-text-3" id="text-org64d60de"> <div class="outline-text-3" id="text-org64d60de">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">c1 = [ 0 0.4470 0.7410]; % Blue <pre class="src src-matlab">c1 = [ 0 0.4470 0.7410]; <span class="org-comment">% Blue</span>
c2 = [0.8500 0.3250 0.0980]; % Orange c2 = [0.8500 0.3250 0.0980]; <span class="org-comment">% Orange</span>
c3 = [0.9290 0.6940 0.1250]; % Yellow c3 = [0.9290 0.6940 0.1250]; <span class="org-comment">% Yellow</span>
c4 = [0.4940 0.1840 0.5560]; % Purple c4 = [0.4940 0.1840 0.5560]; <span class="org-comment">% Purple</span>
c5 = [0.4660 0.6740 0.1880]; % Green c5 = [0.4660 0.6740 0.1880]; <span class="org-comment">% Green</span>
c6 = [0.3010 0.7450 0.9330]; % Light Blue c6 = [0.3010 0.7450 0.9330]; <span class="org-comment">% Light Blue</span>
c7 = [0.6350 0.0780 0.1840]; % Red c7 = [0.6350 0.0780 0.1840]; <span class="org-comment">% Red</span>
set(groot, 'defaultAxesColorOrder', [c1; c2; c3; c4; c5; c6; c7]) <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'defaultAxesColorOrder'</span>, [c1; c2; c3; c4; c5; c6; c7])
</pre> </pre>
</div> </div>
</div> </div>
@ -164,8 +160,8 @@ set(groot, 'defaultAxesColorOrder', [c1; c2; c3; c4; c5; c6; c7])
<h3 id="org27ce6db">Figure paper and window style</h3> <h3 id="org27ce6db">Figure paper and window style</h3>
<div class="outline-text-3" id="text-org27ce6db"> <div class="outline-text-3" id="text-org27ce6db">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">set(groot, 'DefaultFigurePaperType', 'A4'); <pre class="src src-matlab"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultFigurePaperType'</span>, <span class="org-string">'A4'</span>);
set(groot, 'DefaultFigureWindowStyle', 'normal'); <span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultFigureWindowStyle'</span>, <span class="org-string">'normal'</span>);
</pre> </pre>
</div> </div>
</div> </div>
@ -186,7 +182,7 @@ format long g;
<h3 id="orga60f640">Home Path</h3> <h3 id="orga60f640">Home Path</h3>
<div class="outline-text-3" id="text-orga60f640"> <div class="outline-text-3" id="text-orga60f640">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">toolboxes_path = '~/Cloud/thesis/matlab/toolboxes/'; <pre class="src src-matlab">toolboxes_path = <span class="org-string">'~/Cloud/thesis/matlab/toolboxes/'</span>;
</pre> </pre>
</div> </div>
</div> </div>
@ -195,31 +191,83 @@ format long g;
<div id="outline-container-org83d6337" class="outline-3"> <div id="outline-container-org83d6337" class="outline-3">
<h3 id="org83d6337">Add to path</h3> <h3 id="org83d6337">Add to path</h3>
<div class="outline-text-3" id="text-org83d6337"> <div class="outline-text-3" id="text-org83d6337">
<p>
Provides <code>vecfig3</code> for FRF fitting (<a href="https://www.sintef.no/projectweb/vectorfitting/downloads/">link</a>).
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path 'Org-Mode-Toolbox/src']) <pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'matrix_fitting_toolbox_1'</span>])
addpath([toolboxes_path 'Usefull-Functions/src'])
addpath([toolboxes_path 'Stacked-Elements-Toolbox/src'])
addpath([toolboxes_path 'Measure-Analysis-Toolbox/src'])
addpath([toolboxes_path 'Hinf-Toolbox/src'])
addpath([toolboxes_path 'Fit-Model-Toolbox/src'])
addpath([toolboxes_path 'Dspace-Toolbox/src'])
addpath([toolboxes_path 'SpeedGoat-Toolbox/src'])
addpath([toolboxes_path 'Add-Ons/matrix_fitting_toolbox_1'])
addpath([toolboxes_path 'Add-Ons/matlab-schemer'])
addpath([toolboxes_path 'Add-Ons/matlab2tikz/src'])
addpath([toolboxes_path 'Add-Ons/hline_vline'])
addpath([toolboxes_path 'Add-Ons/export_fig'])
addpath([toolboxes_path 'Add-Ons/subaxis'])
addpath([toolboxes_path 'Add-Ons/cbrewer'])
addpath([toolboxes_path 'Add-Ons/tightfig'])
addpath([toolboxes_path 'Add-Ons/fig2svg/src'])
addpath([toolboxes_path 'Add-Ons/CVX'])
addpath([toolboxes_path 'Add-Ons/MBeautifier'])
</pre> </pre>
</div> </div>
<p>
Apply and save color schemes in MATLAB with ease (<a href="https://github.com/scottclowe/matlab-schemer">link</a>).
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">addpath('/home/thomas/.emacs.d/.local/straight/repos/mirror/toolbox') <pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'matlab-schemer'</span>])
</pre>
</div>
<p>
Converts MATLAB figures to TikZ (<a href="https://github.com/matlab2tikz/matlab2tikz">link</a>).
</p>
<div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'matlab2tikz/src'</span>])
</pre>
</div>
<p>
MATLAB toolbox for exporting publication quality figures (<a href="https://github.com/altmany/export_fig">link</a>).
</p>
<div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'export_fig'</span>])
</pre>
</div>
<p>
MATLAB source code formatter, beautifier (<a href="https://github.com/davidvarga/MBeautifier">link</a>).
</p>
<div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'MBeautifier'</span>])
</pre>
</div>
<p>
Toolbox for Convex Programming (<a href="http://cvxr.com/cvx/">link</a>).
</p>
<div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'CVX'</span>])
</pre>
</div>
<p>
Useful functions to use with <code>orgmode</code> (<a href="https://github.com/tdehaeze/Org-Mode-Matlab">link</a>).
</p>
<div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'Org-Mode-Toolbox/src'</span>])
</pre>
</div>
<p>
Some useful function (<a href="https://github.com/tdehaeze/matlab_useful_functions">link</a>).
</p>
<div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'matlab_useful_functions/src'</span>])
</pre>
</div>
<p>
H-Infinity Toolbox (<a href="https://github.com/tdehaeze/hinf-toolbox">link</a>).
</p>
<div class="org-src-container">
<pre class="src src-matlab"><span class="org-comment">% addpath([toolboxes_path 'Hinf-Toolbox/src'])</span>
</pre>
</div>
<p>
Toolbox to work with Finite Element Models (<a href="https://github.com/tdehaeze/fem_matlab_toolbox">link</a>).
</p>
<div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'fem_toolbox/src'</span>])
</pre> </pre>
</div> </div>
</div> </div>
@ -239,22 +287,23 @@ addpath([toolboxes_path 'Add-Ons/MBeautifier'])
<div id="outline-container-org20ac1e5" class="outline-2"> <div id="outline-container-org20ac1e5" class="outline-2">
<h2 id="org20ac1e5">Setup</h2> <h2 id="org20ac1e5">Setup</h2>
<div class="outline-text-2" id="text-org20ac1e5"> <div class="outline-text-2" id="text-org20ac1e5">
</div> <p>
This script should be run once after Matlab is installed.
</p>
<div id="outline-container-org2f8f36d" class="outline-3"> <p>
<h3 id="org2f8f36d">Schemer Import</h3> Import a nice color scheme.
<div class="outline-text-3" id="text-org2f8f36d"> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">schemer_import([home_path '/Cloud/thesis/matlab/toolboxes/Add-Ons/matlab-schemer/schemes/monokai.prf']); <pre class="src src-matlab">schemer_import(<span class="org-string">'~/Cloud/thesis/matlab/toolboxes/Add-Ons/matlab-schemer/schemes/monokai.prf'</span>);
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:40 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Music/Sound Configuration</title> <title>Music/Sound Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -44,14 +44,14 @@
<h2 id="org1984a25">Pavu Control</h2> <h2 id="org1984a25">Pavu Control</h2>
<div class="outline-text-2" id="text-org1984a25"> <div class="outline-text-2" id="text-org1984a25">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[window] <pre class="src src-conf">[<span class="org-type">window</span>]
width=500 <span class="org-variable-name">width</span>=<span class="org-highlight-numbers-number">500</span>
height=400 <span class="org-variable-name">height</span>=<span class="org-highlight-numbers-number">400</span>
sinkInputType=1 <span class="org-variable-name">sinkInputType</span>=<span class="org-highlight-numbers-number">1</span>
sourceOutputType=1 <span class="org-variable-name">sourceOutputType</span>=<span class="org-highlight-numbers-number">1</span>
sinkType=0 <span class="org-variable-name">sinkType</span>=<span class="org-highlight-numbers-number">0</span>
sourceType=1 <span class="org-variable-name">sourceType</span>=<span class="org-highlight-numbers-number">1</span>
showVolumeMeters=1 <span class="org-variable-name">showVolumeMeters</span>=<span class="org-highlight-numbers-number">1</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -73,7 +73,7 @@ Cheatsheet: <a href="https://pkgbuild.com/~jelle/ncmpcpp/">https://pkgbuild.com/
Configuration directory. Configuration directory.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">ncmpcpp_directory = ~/.config/ncmpcpp <pre class="src src-conf"><span class="org-variable-name">ncmpcpp_directory</span> = ~/.config/ncmpcpp
</pre> </pre>
</div> </div>
@ -81,9 +81,9 @@ Configuration directory.
MPD Configuration. MPD Configuration.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">mpd_host = localhost <pre class="src src-conf"><span class="org-variable-name">mpd_host</span> = localhost
mpd_port = 6600 <span class="org-variable-name">mpd_port</span> = <span class="org-highlight-numbers-number">6600</span>
mpd_music_dir = ~/Music <span class="org-variable-name">mpd_music_dir</span> = ~/Music
</pre> </pre>
</div> </div>
@ -91,7 +91,7 @@ mpd_music_dir = ~/Music
Notification of song change. Notification of song change.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">execute_on_song_change = dunstify --replace=19845 "Now Playing ♫" "$(mpc current)" <pre class="src src-conf"><span class="org-variable-name">execute_on_song_change</span> = dunstify --replace=<span class="org-highlight-numbers-number">19845</span> <span class="org-string">"Now Playing &#9835;"</span> <span class="org-string">"$(mpc current)"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -101,41 +101,41 @@ Notification of song change.
<h3 id="orgef62173">Bindings</h3> <h3 id="orgef62173">Bindings</h3>
<div class="outline-text-3" id="text-orgef62173"> <div class="outline-text-3" id="text-orgef62173">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">def_key "q" <pre class="src src-conf">def_key <span class="org-string">"q"</span>
run_external_command "if [ $TMUX ]; then tmux detach; fi" run_external_command <span class="org-string">"if [ $TMUX ]; then tmux detach; fi"</span>
def_key "Q" def_key <span class="org-string">"Q"</span>
quit quit
def_key "g" def_key <span class="org-string">"g"</span>
move_home move_home
def_key "G" def_key <span class="org-string">"G"</span>
move_end move_end
def_key "j" def_key <span class="org-string">"j"</span>
scroll_down scroll_down
def_key "k" def_key <span class="org-string">"k"</span>
scroll_up scroll_up
def_key "ctrl-u" def_key <span class="org-string">"ctrl-u"</span>
page_up page_up
def_key "ctrl-d" def_key <span class="org-string">"ctrl-d"</span>
page_down page_down
def_key "l" def_key <span class="org-string">"l"</span>
enter_directory enter_directory
def_key "h" def_key <span class="org-string">"h"</span>
jump_to_parent_directory jump_to_parent_directory
def_key "." def_key <span class="org-string">"."</span>
show_lyrics show_lyrics
def_key "n" def_key <span class="org-string">"n"</span>
next_found_item next_found_item
def_key "N" def_key <span class="org-string">"N"</span>
previous_found_item previous_found_item
def_key "J" def_key <span class="org-string">"J"</span>
move_sort_order_down move_sort_order_down
def_key "K" def_key <span class="org-string">"K"</span>
move_sort_order_up move_sort_order_up
def_key "d" def_key <span class="org-string">"d"</span>
delete_playlist_items delete_playlist_items
def_key "+" def_key <span class="org-string">"+"</span>
volume_up volume_up
def_key "-" def_key <span class="org-string">"-"</span>
volume_down volume_down
</pre> </pre>
@ -169,39 +169,47 @@ plugins: fromfilename discogs
<h2 id="org887303a">Mopidy</h2> <h2 id="org887303a">Mopidy</h2>
<div class="outline-text-2" id="text-org887303a"> <div class="outline-text-2" id="text-org887303a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[spotify] <pre class="src src-conf">[<span class="org-type">spotify</span>]
username = dehaeze.thomas@gmail.com <span class="org-variable-name">username</span> = dehaeze.thomas@gmail.com
password = &lt;&lt;get-password(passname="spotify.com/dehaeze.thomas@gmail.com")&gt;&gt; <span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify.com/dehaeze.thomas@gmail.com"</span>)&gt;&gt;
client_id = 9dd02534-f038-46d8-946e-bfe72498204e <span class="org-variable-name">client_id</span> = 9dd02534-f038-46d8-946e-bfe72498204e
client_secret = &lt;&lt;get-password(passname="spotify/client_secret")&gt;&gt; <span class="org-variable-name">client_secret</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify/client_secret"</span>)&gt;&gt;
bitrate = 320 <span class="org-variable-name">bitrate</span> = <span class="org-highlight-numbers-number">320</span>
[mpd] [<span class="org-type">mpd</span>]
enabled = true <span class="org-variable-name">enabled</span> = true
hostname = 127.0.0.1 <span class="org-variable-name">hostname</span> = 127.0.0.1
port = 6600 <span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">6600</span>
password = <span class="org-variable-name">password</span> =
max_connections = 20 <span class="org-variable-name">max_connections</span> = <span class="org-highlight-numbers-number">20</span>
connection_timeout = 60 <span class="org-variable-name">connection_timeout</span> = <span class="org-highlight-numbers-number">60</span>
zeroconf = Mopidy MPD server on $hostname <span class="org-variable-name">zeroconf</span> = Mopidy MPD server on $hostname
command_blacklist = listall,listallinfo <span class="org-variable-name">command_blacklist</span> = listall,listallinfo
default_playlist_scheme = m3u <span class="org-variable-name">default_playlist_scheme</span> = m3u
[file] [<span class="org-type">jellyfin</span>]
enabled = true <span class="org-variable-name">hostname</span> = https://jellyfin.tdehaeze.xyz/
media_dirs = /home/thomas/Music <span class="org-variable-name">username</span> = tdehaeze
excluded_file_extensions = <span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"music.tdehaeze.xyz/tdehaeze"</span>)&gt;&gt;
.db <span class="org-variable-name">libraries</span> = Music
.directory <span class="org-variable-name">albumartistsort</span> = True
.html <span class="org-variable-name">album_format</span> = {ProductionYear} - {Name}
.jpeg
.jpg [<span class="org-type">file</span>]
.log <span class="org-variable-name">enabled</span> = true
.nfo <span class="org-variable-name">media_dirs</span> = /home/thomas/Music
.pdf <span class="org-variable-name">excluded_file_extensions</span> =
.png .db
.txt .directory
.zip .html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
</pre> </pre>
</div> </div>
</div> </div>
@ -211,26 +219,26 @@ excluded_file_extensions =
<h2 id="org6b37adb">Radio with curseradio</h2> <h2 id="org6b37adb">Radio with curseradio</h2>
<div class="outline-text-2" id="text-org6b37adb"> <div class="outline-text-2" id="text-org6b37adb">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[opml] <pre class="src src-conf">[<span class="org-type">opml</span>]
root = http://opml.radiotime.com/ <span class="org-variable-name">root</span> = http://opml.radiotime.com/
[playback] [<span class="org-type">playback</span>]
command = /usr/bin/mpv <span class="org-variable-name">command</span> = /usr/bin/mpv
[interface] [<span class="org-type">interface</span>]
keymap = vi <span class="org-variable-name">keymap</span> = vi
[keymap.vi] [<span class="org-type">keymap.vi</span>]
up = k <span class="org-variable-name">up</span> = k
down = j <span class="org-variable-name">down</span> = j
start = 0 <span class="org-variable-name">start</span> = <span class="org-highlight-numbers-number">0</span>
end = $ <span class="org-variable-name">end</span> = $
pageup = u <span class="org-variable-name">pageup</span> = u
pagedown = d <span class="org-variable-name">pagedown</span> = d
enter = l <span class="org-variable-name">enter</span> = l
stop = p <span class="org-variable-name">stop</span> = p
exit = q <span class="org-variable-name">exit</span> = q
favourite = f <span class="org-variable-name">favourite</span> = f
</pre> </pre>
</div> </div>
</div> </div>
@ -238,7 +246,7 @@ favourite = f
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:39 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Newsboat Configuration</title> <title>Newsboat Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -30,7 +30,7 @@
<ul> <ul>
<li><a href="#orgc984740">Reload configuration</a></li> <li><a href="#orgc984740">Reload configuration</a></li>
<li><a href="#org0ec3f69">Basic configuration</a></li> <li><a href="#org0ec3f69">Basic configuration</a></li>
<li><a href="#orge025425">Queries</a></li> <li><a href="#orgc14210b">Queries</a></li>
<li><a href="#org72757a8">Filters</a></li> <li><a href="#org72757a8">Filters</a></li>
<li><a href="#orga70d8cc">Notifications</a> <li><a href="#orga70d8cc">Notifications</a>
<ul> <ul>
@ -52,28 +52,28 @@
<li><a href="#org387f622">Colors</a></li> <li><a href="#org387f622">Colors</a></li>
<li><a href="#orgd487b2a">URLS</a> <li><a href="#orgd487b2a">URLS</a>
<ul> <ul>
<li><a href="#orgc14210b">Queries</a></li> <li><a href="#org8b49d38">Queries</a></li>
<li><a href="#org45abfcc">Newsfeeds</a> <li><a href="#org45abfcc">Newsfeeds</a>
<ul> <ul>
<li><a href="#orgf764fac">Matlab and Control</a></li> <li><a href="#org805a48a">Matlab and Control</a></li>
<li><a href="#org401972a">Audio and Electronics</a></li> <li><a href="#org5f8d4f1">Audio and Electronics</a></li>
<li><a href="#org2824f99">Science</a></li> <li><a href="#orgd0563c1">Science</a></li>
<li><a href="#org0ae9f73">Linux, Emacs and Computer Science</a></li> <li><a href="#orge3477b8">Linux, Emacs and Computer Science</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org7904544">Youtube</a> <li><a href="#org7904544">Youtube</a>
<ul> <ul>
<li><a href="#org805a48a">Matlab and Control</a></li> <li><a href="#orgcf96296">Matlab and Control</a></li>
<li><a href="#org5f8d4f1">Audio and Electronics</a></li> <li><a href="#orgefd2c7d">Audio and Electronics</a></li>
<li><a href="#orge3477b8">Linux, Emacs and Computer Science</a></li> <li><a href="#org2438845">Linux, Emacs and Computer Science</a></li>
<li><a href="#orge2c8c59">3D-Printing and DIY</a></li> <li><a href="#orge2c8c59">3D-Printing and DIY</a></li>
<li><a href="#orgf63483f">Engineering</a></li> <li><a href="#orgbea3691">Engineering</a></li>
<li><a href="#org426724f">Interesting - General</a></li> <li><a href="#org426724f">Interesting - General</a></li>
<li><a href="#orgd0563c1">Science</a></li> <li><a href="#orga5f3663">Science</a></li>
<li><a href="#orgbb9674d">Keyboard</a></li> <li><a href="#orgbb9674d">Keyboard</a></li>
<li><a href="#org69e71c9">Music</a></li> <li><a href="#org69e71c9">Music</a></li>
<li><a href="#org51994a1">Space</a></li> <li><a href="#org51994a1">Space</a></li>
<li><a href="#orgbea3691">Engineering</a></li> <li><a href="#orgd65a3b5">Engineering</a></li>
<li><a href="#org990625b">Random - Fun - Others</a></li> <li><a href="#org990625b">Random - Fun - Others</a></li>
</ul> </ul>
</li> </li>
@ -96,16 +96,16 @@
<h3 id="orgc984740">Reload configuration</h3> <h3 id="orgc984740">Reload configuration</h3>
<div class="outline-text-3" id="text-orgc984740"> <div class="outline-text-3" id="text-orgc984740">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"># All feeds will be automatically reloaded after a certain time has passed <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">All feeds will be automatically reloaded after a certain time has passed</span>
auto-reload yes auto-reload yes
# The number of minutes between automatic reloads. <span class="org-comment-delimiter"># </span><span class="org-comment">The number of minutes between automatic reloads.</span>
reload-time 120 reload-time <span class="org-highlight-numbers-number">120</span>
# The number of parallel reload threads that shall be started when all feeds are reloaded. <span class="org-comment-delimiter"># </span><span class="org-comment">The number of parallel reload threads that shall be started when all feeds are reloaded.</span>
reload-threads 3 reload-threads <span class="org-highlight-numbers-number">3</span>
# If set to yes, then the first automatic reload will be suppressed if auto-reload is set to yes. <span class="org-comment-delimiter"># </span><span class="org-comment">If set to yes, then the first automatic reload will be suppressed if auto-reload is set to yes.</span>
suppress-first-reload yes suppress-first-reload yes
</pre> </pre>
</div> </div>
@ -118,27 +118,26 @@ suppress-first-reload yes
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">confirm-exit no <pre class="src src-conf">confirm-exit no
external-url-viewer "urlscan -dc -r 'linkhandler {}'" external-url-viewer <span class="org-string">"urlscan -dc -r 'linkhandler {}'"</span>
goto-first-unread no goto-first-unread no
goto-next-feed no goto-next-feed no
# TODO - Change these save-path <span class="org-string">"~/Documents/newsboat/saved"</span>
save-path "~/Documents/saved-articles" download-path <span class="org-string">"~/Documents/newsboat/downloaded"</span>
download-path "~/Documents/to-watch"
# If set to no, then the keymap hints on the bottom of screen will not be displayed. <span class="org-comment-delimiter"># </span><span class="org-comment">If set to no, then the keymap hints on the bottom of screen will not be displayed.</span>
show-keymap-hint no show-keymap-hint no
player "mpv" player <span class="org-string">"mpv"</span>
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orge025425" class="outline-3"> <div id="outline-container-orgc14210b" class="outline-3">
<h3 id="orge025425">Queries</h3> <h3 id="orgc14210b">Queries</h3>
<div class="outline-text-3" id="text-orge025425"> <div class="outline-text-3" id="text-orgc14210b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">prepopulate-query-feeds yes <pre class="src src-conf">prepopulate-query-feeds yes
</pre> </pre>
@ -150,7 +149,7 @@ player "mpv"
<h3 id="org72757a8">Filters</h3> <h3 id="org72757a8">Filters</h3>
<div class="outline-text-3" id="text-org72757a8"> <div class="outline-text-3" id="text-org72757a8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">define-filter "Unread Articles" "unread = \"yes\"" <pre class="src src-conf">define-filter <span class="org-string">"Unread Articles"</span> <span class="org-string">"unread = \"yes\""</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -160,7 +159,7 @@ player "mpv"
<h3 id="orga70d8cc">Notifications</h3> <h3 id="orga70d8cc">Notifications</h3>
<div class="outline-text-3" id="text-orga70d8cc"> <div class="outline-text-3" id="text-orga70d8cc">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">notify-format "%n unread articles" <pre class="src src-conf">notify-format <span class="org-string">"%n unread articles"</span>
notify-program ~/.config/newsboat/scripts/newsboat-notify.sh notify-program ~/.config/newsboat/scripts/newsboat-notify.sh
notify-always no notify-always no
</pre> </pre>
@ -171,7 +170,7 @@ notify-always no
<h4 id="orgc06be83">Notification Script</h4> <h4 id="orgc06be83">Notification Script</h4>
<div class="outline-text-4" id="text-orgc06be83"> <div class="outline-text-4" id="text-orgc06be83">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">dunstify --replace=38492 "Newsboat " "$1" <pre class="src src-bash">dunstify --replace=<span class="org-highlight-numbers-number">38492</span> <span class="org-string">"Newsboat &#61763;"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -211,8 +210,8 @@ bind-key U show-urls
bind-key t set-tag bind-key t set-tag
bind-key T clear-tag bind-key T clear-tag
bind-key r reload # Reload the currently selected feed bind-key r reload <span class="org-comment-delimiter"># </span><span class="org-comment">Reload the currently selected feed</span>
bind-key R reload-all # Reload all feeds bind-key R reload-all <span class="org-comment-delimiter"># </span><span class="org-comment">Reload all feeds</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -223,7 +222,7 @@ bind-key R reload-all # Reload all feeds
<div class="outline-text-3" id="text-org0719b73"> <div class="outline-text-3" id="text-org0719b73">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">bookmark-autopilot no <pre class="src src-conf">bookmark-autopilot no
bookmark-cmd "~/.config/newsboat/scripts/buku-add.sh" bookmark-cmd <span class="org-string">"~/.config/newsboat/scripts/buku-add.sh"</span>
bookmark-interactive no bookmark-interactive no
</pre> </pre>
</div> </div>
@ -233,9 +232,9 @@ bookmark-interactive no
<h4 id="org6578584">Buku Scripts</h4> <h4 id="org6578584">Buku Scripts</h4>
<div class="outline-text-4" id="text-org6578584"> <div class="outline-text-4" id="text-org6578584">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">buku --add "$1" --title "$2" --comment "$3" &amp;&amp; \ <pre class="src src-bash">buku --add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">2</span></span><span class="org-string">"</span> --comment <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">3</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify "Buku" "Bookmark Added" &amp;&amp; \ dunstify <span class="org-string">"Buku"</span> <span class="org-string">"Bookmark Added"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
exit 0 <span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">0</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -246,29 +245,29 @@ bookmark-interactive no
<h3 id="org7887446">Macros - Starts with , key</h3> <h3 id="org7887446">Macros - Starts with , key</h3>
<div class="outline-text-3" id="text-org7887446"> <div class="outline-text-3" id="text-org7887446">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"># Default Browser <pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Default Browser</span>
browser linkhandler browser linkhandler
# Open in Browser <span class="org-comment-delimiter"># </span><span class="org-comment">Open in Browser</span>
macro , open-in-browser macro , open-in-browser
# Download Video with Youtube-DL <span class="org-comment-delimiter"># </span><span class="org-comment">Download Video with Youtube-DL</span>
macro v set browser "cd ~/Documents/to-watch &amp;&amp; ~/.local/bin/yt-video %u" ; open-in-browser ; set browser linkhandler macro v set browser <span class="org-string">"cd ~/Documents/to-watch &amp;&amp; ~/.local/bin/yt-video %u"</span> ; open-in-browser ; set browser linkhandler
# Download Audio with Youtube-DL <span class="org-comment-delimiter"># </span><span class="org-comment">Download Audio with Youtube-DL</span>
macro a set browser "cd ~/Documents/to-watch &amp;&amp; ~/.local/bin/yt-audio %u" ; open-in-browser ; set browser linkhandler macro a set browser <span class="org-string">"cd ~/Documents/to-watch &amp;&amp; ~/.local/bin/yt-audio %u"</span> ; open-in-browser ; set browser linkhandler
# Open Video with MPV <span class="org-comment-delimiter"># </span><span class="org-comment">Open Video with MPV</span>
macro m set browser "setsid nohup mpv %u &amp;&gt; /dev/null &amp;" ; open-in-browser ; set browser linkhandler macro m set browser <span class="org-string">"setsid nohup mpv %u &amp;&gt; /dev/null &amp;"</span> ; open-in-browser ; set browser linkhandler
# Open With W3M <span class="org-comment-delimiter"># </span><span class="org-comment">Open With W3M</span>
macro w set browser "w3m %u" ; open-in-browser ; set browser linkhandler macro w set browser <span class="org-string">"w3m %u"</span> ; open-in-browser ; set browser linkhandler
# Copy Address to clipboard <span class="org-comment-delimiter"># </span><span class="org-comment">Copy Address to clipboard</span>
macro c set browser "xsel -b &lt;&lt;&lt;" ; open-in-browser ; set browser linkhandler macro c set browser <span class="org-string">"xsel -b &lt;&lt;&lt;"</span> ; open-in-browser ; set browser linkhandler
# Quit <span class="org-comment-delimiter"># </span><span class="org-comment">Quit</span>
macro q set browser "tmux detach;" ; open-in-browser ; set browser linkhandler macro q set browser <span class="org-string">"tmux detach"</span> ; open-in-browser ; set browser linkhandler
</pre> </pre>
</div> </div>
</div> </div>
@ -278,9 +277,9 @@ macro q set browser "tmux detach;" ; open-in-browser ; set browser linkhandler
<h3 id="org469467d">hide articles matching</h3> <h3 id="org469467d">hide articles matching</h3>
<div class="outline-text-3" id="text-org469467d"> <div class="outline-text-3" id="text-org469467d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">ignore-article "*" "title =~ \"Sponsor\"" <pre class="src src-conf">ignore-article <span class="org-string">"*"</span> <span class="org-string">"title =~ \"Sponsor\""</span>
ignore-article "*" "title =~ \"Advertisement\"" ignore-article <span class="org-string">"*"</span> <span class="org-string">"title =~ \"Advertisement\""</span>
ignore-mode "display" ignore-mode <span class="org-string">"display"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -290,13 +289,13 @@ ignore-mode "display"
<h3 id="orgbf81af1">Feedlist and Article Format</h3> <h3 id="orgbf81af1">Feedlist and Article Format</h3>
<div class="outline-text-3" id="text-orgbf81af1"> <div class="outline-text-3" id="text-orgbf81af1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">feedlist-format "%4i %n %11u %t" <pre class="src src-conf">feedlist-format <span class="org-string">"%4i %n %11u %t"</span>
feedlist-title-format "N %V - Your feeds (%u unread, %t total)%?T? - tag `%T'&amp;?" feedlist-title-format <span class="org-string">"N %V - Your feeds (%u unread, %t total)%?T? - tag `%T'&amp;?"</span>
articlelist-format "%3i %f %D %?T?|%-17T| ?%t" articlelist-format <span class="org-string">"%3i %f %D %?T?|%-17T| ?%t"</span>
articlelist-title-format "%N %V - Articles in feed '%T' (%u unread, %t total) - %U" articlelist-title-format <span class="org-string">"%N %V - Articles in feed '%T' (%u unread, %t total) - %U"</span>
itemview-title-format "Article '%T'" itemview-title-format <span class="org-string">"Article '%T'"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -306,7 +305,7 @@ itemview-title-format "Article '%T'"
<h3 id="orgbf90580">Color Scheme</h3> <h3 id="orgbf90580">Color Scheme</h3>
<div class="outline-text-3" id="text-orgbf90580"> <div class="outline-text-3" id="text-orgbf90580">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">include "~/.config/newsboat/colors" <pre class="src src-conf">include <span class="org-string">"~/.config/newsboat/colors"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -325,10 +324,10 @@ color listfocus_unread black yellow
color info default black color info default black
color article default default color article default default
# highlights <span class="org-comment-delimiter"># </span><span class="org-comment">highlights</span>
highlight article "^(Title):.*$" blue default highlight article <span class="org-string">"^(Title):.*$"</span> blue default
highlight article "https?://[^ ]+" red default highlight article <span class="org-string">"https?://[^ ]+"</span> red default
highlight article "\\[image\\ [0-9]+\\]" green default highlight article <span class="org-string">"\\[image\\ [0-9]+\\]"</span> green default
</pre> </pre>
</div> </div>
</div> </div>
@ -339,15 +338,15 @@ highlight article "\\[image\\ [0-9]+\\]" green default
<div class="outline-text-2" id="text-orgd487b2a"> <div class="outline-text-2" id="text-orgd487b2a">
</div> </div>
<div id="outline-container-orgc14210b" class="outline-3"> <div id="outline-container-org8b49d38" class="outline-3">
<h3 id="orgc14210b">Queries</h3> <h3 id="org8b49d38">Queries</h3>
<div class="outline-text-3" id="text-orgc14210b"> <div class="outline-text-3" id="text-org8b49d38">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">"query:Unread:unread = \"yes\"" <pre class="src src-conf"><span class="org-string">"query:Unread:unread = \"yes\""</span>
"query:Unwatch - Youtube:unread = \"yes\" and tags # \"youtube\"" <span class="org-string">"query:Unwatch - Youtube:unread = \"yes\" and tags # \"youtube\""</span>
"query:Unread - Linux:unread = \"yes\" and tags # \"linux\"" <span class="org-string">"query:Unread - Linux:unread = \"yes\" and tags # \"linux\""</span>
"query:Unread - Emacs:unread = \"yes\" and tags # \"emacs\"" <span class="org-string">"query:Unread - Emacs:unread = \"yes\" and tags # \"emacs\""</span>
"query:Unread - Sciences:unread = \"yes\" and tags # \"science\"" <span class="org-string">"query:Unread - Sciences:unread = \"yes\" and tags # \"science\""</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -357,97 +356,103 @@ highlight article "\\[image\\ [0-9]+\\]" green default
<h3 id="org45abfcc">Newsfeeds</h3> <h3 id="org45abfcc">Newsfeeds</h3>
<div class="outline-text-3" id="text-org45abfcc"> <div class="outline-text-3" id="text-org45abfcc">
</div> </div>
<div id="outline-container-orgf764fac" class="outline-4"> <div id="outline-container-org805a48a" class="outline-4">
<h4 id="orgf764fac">Matlab and Control</h4> <h4 id="org805a48a">Matlab and Control</h4>
<div class="outline-text-4" id="text-orgf764fac"> <div class="outline-text-4" id="text-org805a48a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://undocumentedmatlab.com/feed/ "~RSS undocumentedmatlab" matlab <pre class="src src-conf">https://undocumentedmatlab.com/feed/ <span class="org-string">"~RSS undocumentedmatlab"</span> matlab
http://blogs.mathworks.com/seth/feed/ "~RSS Guy on Simulink" matlab control http://blogs.mathworks.com/seth/feed/ <span class="org-string">"~RSS Guy on Simulink"</span> matlab control
http://blogs.mathworks.com/loren/?feed=rss2 "~RSS Loren on the Art of MATLAB" matlab <span class="org-variable-name">http://blogs.mathworks.com/loren/?feed</span>=rss2 <span class="org-string">"~RSS Loren on the Art of MATLAB"</span> matlab
http://blogs.mathworks.com/pick/feed/ "~RSS File Exchange Pick of the Week" matlab http://blogs.mathworks.com/pick/feed/ <span class="org-string">"~RSS File Exchange Pick of the Week"</span> matlab
https://enriquedelsol.com/feed/ "~RSS Enrique del Sol" control https://enriquedelsol.com/feed/ <span class="org-string">"~RSS Enrique del Sol"</span> control
http://brettbeauregard.com/blog/feed/ "~RSS Project Blog" control http://brettbeauregard.com/blog/feed/ <span class="org-string">"~RSS Project Blog"</span> control
https://mburkeonmbd.com/feed/ "~RSS Model-Based Design" control matlab https://mburkeonmbd.com/feed/ <span class="org-string">"~RSS Model-Based Design"</span> control matlab
https://medium.com/feed/@mithi <span class="org-string">"~RSS Medium - Mithi"</span> control
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org401972a" class="outline-4"> <div id="outline-container-org5f8d4f1" class="outline-4">
<h4 id="org401972a">Audio and Electronics</h4> <h4 id="org5f8d4f1">Audio and Electronics</h4>
<div class="outline-text-4" id="text-org401972a"> <div class="outline-text-4" id="text-org5f8d4f1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">http://jipihorn.wordpress.com/feed/ "~RSS Jipihorn's Blog" electronics audio <pre class="src src-conf">http://jipihorn.wordpress.com/feed/ <span class="org-string">"~RSS Jipihorn's Blog"</span> electronics audio
https://quantasylum.com/blogs/news.atom "~RSS QuantAsylum" audio https://quantasylum.com/blogs/news.atom <span class="org-string">"~RSS QuantAsylum"</span> audio
https://www.scrample.xyz/index.xml <span class="org-string">"~RSS Scrample"</span> electronics
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org2824f99" class="outline-4"> <div id="outline-container-orgd0563c1" class="outline-4">
<h4 id="org2824f99">Science</h4> <h4 id="orgd0563c1">Science</h4>
<div class="outline-text-4" id="text-org2824f99"> <div class="outline-text-4" id="text-orgd0563c1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">http://sciencetonnante.wordpress.com/feed/ "~RSS Science étonnante" science <pre class="src src-conf">http://sciencetonnante.wordpress.com/feed/ <span class="org-string">"~RSS Science &#233;tonnante"</span> science
https://brushingupscience.com/feed/ "~RSS Brushing Up Science" science https://brushingupscience.com/feed/ <span class="org-string">"~RSS Brushing Up Science"</span> science
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org0ae9f73" class="outline-4"> <div id="outline-container-orge3477b8" class="outline-4">
<h4 id="org0ae9f73">Linux, Emacs and Computer Science</h4> <h4 id="orge3477b8">Linux, Emacs and Computer Science</h4>
<div class="outline-text-4" id="text-org0ae9f73"> <div class="outline-text-4" id="text-orge3477b8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://yiufung.net/index.xml "~RSS yiufung" emacs <pre class="src src-conf">https://yiufung.net/index.xml <span class="org-string">"~RSS yiufung"</span> emacs
https://bzg.fr/index.xml "~RSS bzg" emacs https://bzg.fr/index.xml <span class="org-string">"~RSS bzg"</span> emacs
https://thomashartmann.dev/rss.xml "~RSS thomashartmann.dev" emacs linux https://thomashartmann.dev/rss.xml <span class="org-string">"~RSS thomashartmann.dev"</span> emacs linux
http://cachestocaches.com/feed/ "~RSS CachesToCaches" emacs http://cachestocaches.com/feed/ <span class="org-string">"~RSS CachesToCaches"</span> emacs
http://frederic.bezies.free.fr/blog/?feed=rss2 "~RSS Le Weblog de Frederic Bezies" linux <span class="org-variable-name">http://frederic.bezies.free.fr/blog/?feed</span>=rss2 <span class="org-string">"~RSS Le Weblog de Frederic Bezies"</span> linux
https://la-bibliotex.fr/feed/ "~RSS La biblioTeX" latex https://la-bibliotex.fr/feed/ <span class="org-string">"~RSS La biblioTeX"</span> latex
https://so.nwalsh.com/feed/ "~RSS so..." emacs https://so.nwalsh.com/feed/ <span class="org-string">"~RSS so..."</span> emacs
http://karl-voit.at/feeds/lazyblorg-all.atom_1.0.links-and-content.xml "~RSS Public Voit" emacs http://karl-voit.at/feeds/lazyblorg-all.atom_1.0.links-and-content.xml <span class="org-string">"~RSS Public Voit"</span> emacs
https://people.umass.edu/weikaichen/index.xml "~RSS Weikai Chen" emacs https://people.umass.edu/weikaichen/index.xml <span class="org-string">"~RSS Weikai Chen"</span> emacs
https://babbagefiles.xyz/index.xml "~RSS The Neo-Babbage Files" linux emacs https://babbagefiles.xyz/index.xml <span class="org-string">"~RSS The Neo-Babbage Files"</span> linux emacs
https://write.as/dani/feed/ "~RSS Dani" emacs https://write.as/dani/feed/ <span class="org-string">"~RSS Dani"</span> emacs
https://lepisma.xyz/atom.xml "~RSS Lepisma" emacs https://lepisma.xyz/atom.xml <span class="org-string">"~RSS Lepisma"</span> emacs
http://kitchingroup.cheme.cmu.edu/blog/feed "~RSS The Kitchin Research Group" emacs http://kitchingroup.cheme.cmu.edu/blog/feed <span class="org-string">"~RSS The Kitchin Research Group"</span> emacs
http://lukesmith.xyz/rss.xml "~RSS The Latest from Luke" linux http://lukesmith.xyz/rss.xml <span class="org-string">"~RSS The Latest from Luke"</span> linux
http://manuel-uberti.github.io/feed.xml "~RSS Manuel Uberti" emacs http://manuel-uberti.github.io/feed.xml <span class="org-string">"~RSS Manuel Uberti"</span> emacs
https://lord.re/index.xml "~RSS /home/lord" linux https://lord.re/index.xml <span class="org-string">"~RSS /home/lord"</span> linux
https://beepb00p.xyz/rss.xml "~RSS beepb00p" linux emacs https://beepb00p.xyz/rss.xml <span class="org-string">"~RSS beepb00p"</span> linux emacs
http://pragmaticemacs.com/feed/ "~RSS Pragmatic Emacs" emacs http://pragmaticemacs.com/feed/ <span class="org-string">"~RSS Pragmatic Emacs"</span> emacs
https://jonathanabennett.github.io/rss.xml "~RSS Jonathan Bennett's Blog" emacs https://jonathanabennett.github.io/rss.xml <span class="org-string">"~RSS Jonathan Bennett's Blog"</span> emacs
https://joshrollinswrites.com/index.xml "~RSS The Art of Not Asking Why" emacs linux https://joshrollinswrites.com/index.xml <span class="org-string">"~RSS The Art of Not Asking Why"</span> emacs linux
http://endlessparentheses.com/atom.xml "~RSS Endless Parentheses" emacs http://endlessparentheses.com/atom.xml <span class="org-string">"~RSS Endless Parentheses"</span> emacs
https://www.gonsie.com/blorg/feed.xml "~RSS Elsa Gonsiorowski" emacs https://www.gonsie.com/blorg/feed.xml <span class="org-string">"~RSS Elsa Gonsiorowski"</span> emacs
http://tiagoweber.github.io/blog.xml "~RSS Tiago Oliveira Weber" matlab emacs science http://tiagoweber.github.io/blog.xml <span class="org-string">"~RSS Tiago Oliveira Weber"</span> matlab emacs science
https://shreyas.ragavan.co/index.xml "~RSS Shreyas Ragavan" emacs https://shreyas.ragavan.co/index.xml <span class="org-string">"~RSS Shreyas Ragavan"</span> emacs
https://pinecast.com/feed/emacscast "~RSS EmacsCast" emacs https://pinecast.com/feed/emacscast <span class="org-string">"~RSS EmacsCast"</span> emacs
http://amitp.blogspot.com/feeds/posts/default "~RSS Amit's Thoughts" emacs http://amitp.blogspot.com/feeds/posts/default <span class="org-string">"~RSS Amit's Thoughts"</span> emacs
http://sachachua.com/wp/category/emacs/feed/ "~RSS Sacha Chua" emacs http://sachachua.com/wp/category/emacs/feed/ <span class="org-string">"~RSS Sacha Chua"</span> emacs
https://cestlaz.github.io/rss.xml "~RSS C'est la Z" emacs https://cestlaz.github.io/rss.xml <span class="org-string">"~RSS C'est la Z"</span> emacs
https://www-public.imtbs-tsp.eu/~berger_o/weblog/tag/org-mode/feed/ "~RSS WebLog Pro Olivier Berger" emacs https://www-public.imtbs-tsp.eu/~berger_o/weblog/tag/org-mode/feed/ <span class="org-string">"~RSS WebLog Pro Olivier Berger"</span> emacs
https://scripter.co/index.xml "~RSS A Scripter's Notes" linux emacs https://scripter.co/index.xml <span class="org-string">"~RSS A Scripter's Notes"</span> linux emacs
https://assortedarray.com/index.xml "~RSS Assorted Array" emacs https://assortedarray.com/index.xml <span class="org-string">"~RSS Assorted Array"</span> emacs
https://www.with-emacs.com/rss.xml "~RSS with-emacs" emacs https://www.with-emacs.com/rss.xml <span class="org-string">"~RSS with-emacs"</span> emacs
https://linktohack.com/index.xml "~RSS QL's blog" emacs https://linktohack.com/index.xml <span class="org-string">"~RSS QL's blog"</span> emacs
https://itsfoss.com/feed "~RSS It's FOSS" linux https://itsfoss.com/feed <span class="org-string">"~RSS It's FOSS"</span> linux
https://llazarek.com/feeds/all.rss.xml "~RSS llazarek" emacs https://llazarek.com/feeds/all.rss.xml <span class="org-string">"~RSS llazarek"</span> emacs
https://200ok.ch/rss.xml "~RSS 200ok" emacs https://200ok.ch/rss.xml <span class="org-string">"~RSS 200ok"</span> emacs
http://irreal.org/blog/?feed=rss2 "~RSS Irreal" emacs <span class="org-variable-name">http://irreal.org/blog/?feed</span>=rss2 <span class="org-string">"~RSS Irreal"</span> emacs
https://emacs.cafe/feed.xml "~RSS Emacs café" emacs https://emacs.cafe/feed.xml <span class="org-string">"~RSS Emacs caf&#233;"</span> emacs
http://vxlabs.com/feed/ "~RSS vxlabs" emacs linux http://vxlabs.com/feed/ <span class="org-string">"~RSS vxlabs"</span> emacs linux
https://www.rousette.org.uk/index.xml "~RSS But she's a Girl..." emacs https://www.rousette.org.uk/index.xml <span class="org-string">"~RSS But she's a Girl..."</span> emacs
https://www.anand-iyer.com/feed.xml "~RSS Anand Iyer" emacs https://www.anand-iyer.com/feed.xml <span class="org-string">"~RSS Anand Iyer"</span> emacs
https://addy-dclxvi.github.io/index.xml "~RSS Addy's Blog" linux https://addy-dclxvi.github.io/index.xml <span class="org-string">"~RSS Addy's Blog"</span> linux
https://ekaschalk.github.io/index.xml "~RSS Modern Emacs" emacs https://ekaschalk.github.io/index.xml <span class="org-string">"~RSS Modern Emacs"</span> emacs
http://howardism.org/index.xml "~RSS Howardism" emacs http://howardism.org/index.xml <span class="org-string">"~RSS Howardism"</span> emacs
http://xkcd.com/rss.xml "~RSS XKCD" random http://xkcd.com/rss.xml <span class="org-string">"~RSS XKCD"</span> random
https://blog.jethro.dev/index.xml "~RSS Jethro Kuan" emacs https://blog.jethro.dev/index.xml <span class="org-string">"~RSS Jethro Kuan"</span> emacs
https://lord.re/posts/index.xml "~RSS Lord~" linux https://lord.re/posts/index.xml <span class="org-string">"~RSS Lord~"</span> linux
https://rgoswami.me/posts/index.xml "~RSS Rohit Goswami~" linux emacs https://rgoswami.me/posts/index.xml <span class="org-string">"~RSS Rohit Goswami~"</span> linux emacs
# https://jonathanh.co.uk/ https://translucentink.gitlab.io/rss.xml <span class="org-string">"~RSS Translucent Ink"</span> emacs
https://jherrlin.github.io/index.xml <span class="org-string">"~RSS Jherrlin"</span> emacs linux
https://camsaul.com/feed.xml <span class="org-string">"~RSS Camsaul"</span> emacs
https://ag91.github.io/rss.xml <span class="org-string">"~RSS Were Parallels Cross"</span> emacs
<span class="org-comment-delimiter"># </span><span class="org-comment">https://jonathanh.co.uk/</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -458,86 +463,94 @@ https://rgoswami.me/posts/index.xml "~RSS Roh
<h3 id="org7904544">Youtube</h3> <h3 id="org7904544">Youtube</h3>
<div class="outline-text-3" id="text-org7904544"> <div class="outline-text-3" id="text-org7904544">
</div> </div>
<div id="outline-container-org805a48a" class="outline-4"> <div id="outline-container-orgcf96296" class="outline-4">
<h4 id="org805a48a">Matlab and Control</h4> <h4 id="orgcf96296">Matlab and Control</h4>
<div class="outline-text-4" id="text-org805a48a"> <div class="outline-text-4" id="text-orgcf96296">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UCm5mt-A4w61lknZ9lCsZtBw "~YT Steve Brunton" youtube control science <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCm5mt-A4w61lknZ9lCsZtBw <span class="org-string">"~YT Steve Brunton"</span> youtube control science
https://www.youtube.com/feeds/videos.xml?channel_id=UCoUOaSVYkTV6W4uLvxvgiFA "~YT Nathan Kutz" youtube science control <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCoUOaSVYkTV6W4uLvxvgiFA <span class="org-string">"~YT Nathan Kutz"</span> youtube science control
https://www.youtube.com/feeds/videos.xml?channel_id=UCSlhlkPaq3RL1CP0Tv1xWBQ "~YT MIT Institute for Data, Systems, and Society" youtube science control <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCSlhlkPaq3RL1CP0Tv1xWBQ <span class="org-string">"~YT MIT Institute for Data, Systems, and Society"</span> youtube science control
https://www.youtube.com/feeds/videos.xml?channel_id=UCmkP178NasnhR3TWQyyP4Gw "~YT How To Mechatronics" youtube science control <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCmkP178NasnhR3TWQyyP4Gw <span class="org-string">"~YT How To Mechatronics"</span> youtube science control
https://www.youtube.com/feeds/videos.xml?channel_id=UCGNxF654kRelnM0nKxM6QDQ "~YT Tom Oomen" youtube science control <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCGNxF654kRelnM0nKxM6QDQ <span class="org-string">"~YT Tom Oomen"</span> youtube science control
https://www.youtube.com/feeds/videos.xml?channel_id=UCRCdl2SXma02BG384RuZPqg "~YT katkimshow" youtube science control <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCRCdl2SXma02BG384RuZPqg <span class="org-string">"~YT katkimshow"</span> youtube science control
https://www.youtube.com/feeds/videos.xml?channel_id=UCq0imsn84ShAe9PBOFnoIrg "~YT Brian Douglas" youtube control <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCq0imsn84ShAe9PBOFnoIrg <span class="org-string">"~YT Brian Douglas"</span> youtube control
https://www.youtube.com/feeds/videos.xml?channel_id=UC7vVhkEfw4nOGp8TyDk7RcQ "~YT BostonDynamics" youtube control engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC7vVhkEfw4nOGp8TyDk7RcQ <span class="org-string">"~YT BostonDynamics"</span> youtube control engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UCPUuVY7w8brL0r__P8UBgyQ "~YT Christopher Lum" youtube matlab control <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCPUuVY7w8brL0r__P8UBgyQ <span class="org-string">"~YT Christopher Lum"</span> youtube matlab control
https://www.youtube.com/feeds/videos.xml?channel_id=UCNm2TzhsV5wGlFIAcpCx9hQ "~YT Jousef Murad" youtube engineering matlab <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCNm2TzhsV5wGlFIAcpCx9hQ <span class="org-string">"~YT Jousef Murad"</span> youtube engineering matlab
https://www.youtube.com/feeds/videos.xml?channel_id=UCMBXZxd-j6VqrynykO1dURw "~YT John Rossiter" youtube control <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCMBXZxd-j6VqrynykO1dURw <span class="org-string">"~YT John Rossiter"</span> youtube control
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org5f8d4f1" class="outline-4"> <div id="outline-container-orgefd2c7d" class="outline-4">
<h4 id="org5f8d4f1">Audio and Electronics</h4> <h4 id="orgefd2c7d">Audio and Electronics</h4>
<div class="outline-text-4" id="text-org5f8d4f1"> <div class="outline-text-4" id="text-orgefd2c7d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UCI-FgEdZQxBASsm3HNcWKxQ "~YT Red Robbo's Workshop" youtube linux audio <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCI-FgEdZQxBASsm3HNcWKxQ <span class="org-string">"~YT Red Robbo's Workshop"</span> youtube linux audio
https://www.youtube.com/feeds/videos.xml?channel_id=UCtpB66XKjAtFZfZyzmC-_Cg "~YT HexiBase" youtube audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCtpB66XKjAtFZfZyzmC-_Cg <span class="org-string">"~YT HexiBase"</span> youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UCGIr92yrDW4cRLD-QaZmS6w "~YT Ethan Winer" youtube audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCGIr92yrDW4cRLD-QaZmS6w <span class="org-string">"~YT Ethan Winer"</span> youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UCslWMxX93gcaiXwxMv4asHA "~YT Jean Maurer Swiss Audio Manufacture SA" youtube audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCslWMxX93gcaiXwxMv4asHA <span class="org-string">"~YT Jean Maurer Swiss Audio Manufacture SA"</span> youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UC6mzA8J7n0ylf0RnDpj-vrg "~YT PS Audio" youtube audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC6mzA8J7n0ylf0RnDpj-vrg <span class="org-string">"~YT PS Audio"</span> youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UCy0tKL1T7wFoYcxCe0xjN6Q "~YT Technology Connections" youtube audio engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCy0tKL1T7wFoYcxCe0xjN6Q <span class="org-string">"~YT Technology Connections"</span> youtube audio engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UCSqyMHDUsc1gs6wz4sUy91w "~YT jipihorn" youtube electronics audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCSqyMHDUsc1gs6wz4sUy91w <span class="org-string">"~YT jipihorn"</span> youtube electronics audio
https://www.youtube.com/feeds/videos.xml?channel_id=UCOuow_HIYmeaIqi42zVs3qg "~YT Kirby Meets Audio" youtube audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCOuow_HIYmeaIqi42zVs3qg <span class="org-string">"~YT Kirby Meets Audio"</span> youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UCWOhWAOydPUqillkpt5UlaA "~YT Dakoustics" youtube audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCWOhWAOydPUqillkpt5UlaA <span class="org-string">"~YT Dakoustics"</span> youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UCm2rchKqdoSKdB448TTVEnQ "~YT Impulse Audio" youtube audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCm2rchKqdoSKdB448TTVEnQ <span class="org-string">"~YT Impulse Audio"</span> youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UC5QPFDZ3Y4ylkkGJc6Y1OOA "~YT Philippe Demerliac" youtube electronics <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC5QPFDZ3Y4ylkkGJc6Y1OOA <span class="org-string">"~YT Philippe Demerliac"</span> youtube electronics
https://www.youtube.com/feeds/videos.xml?channel_id=UCVqx3vXNghSqUcVg2nmegYA "~YT U꞊RI" youtube electronics diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCVqx3vXNghSqUcVg2nmegYA <span class="org-string">"~YT U&#42890;RI"</span> youtube electronics diy
https://www.youtube.com/feeds/videos.xml?channel_id=UCUJQSGHlYC9Xyz-uNfSpSsA "~YT ElectronikHeart" youtube electronics <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCUJQSGHlYC9Xyz-uNfSpSsA <span class="org-string">"~YT ElectronikHeart"</span> youtube electronics
https://www.youtube.com/feeds/videos.xml?channel_id=UC74xmXx1NfeIIa44J1IU84w "~YT Audio Fest" youtube audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC74xmXx1NfeIIa44J1IU84w <span class="org-string">"~YT Audio Fest"</span> youtube audio
https://www.youtube.com/feeds/videos.xml?channel_id=UCP_yR0wxxyLa46rRgsmje3Q "~YT DIY Speaker Building" youtube audio <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCP_yR0wxxyLa46rRgsmje3Q <span class="org-string">"~YT DIY Speaker Building"</span> youtube audio
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCVryWqJ4cSlbTSETBHpBUWw <span class="org-string">"~YT Phil S"</span> youtube electronics control
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orge3477b8" class="outline-4"> <div id="outline-container-org2438845" class="outline-4">
<h4 id="orge3477b8">Linux, Emacs and Computer Science</h4> <h4 id="org2438845">Linux, Emacs and Computer Science</h4>
<div class="outline-text-4" id="text-orge3477b8"> <div class="outline-text-4" id="text-org2438845">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UCNqFXwI5gNcyxt2c1zTQAKw "~YT Yisrael Dov L" youtube emacs <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCNqFXwI5gNcyxt2c1zTQAKw <span class="org-string">"~YT Yisrael Dov L"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "~YT Luke Smith" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC2eYFnH61tmytImy1mTYvhA <span class="org-string">"~YT Luke Smith"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCkf4VIqu3Acnfzuk3kRIFwA "~YT gotbletu" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCkf4VIqu3Acnfzuk3kRIFwA <span class="org-string">"~YT gotbletu"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCVHICXXtKG7rZgtC5xonNdQ "~YT Howard Abrams" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCVHICXXtKG7rZgtC5xonNdQ <span class="org-string">"~YT Howard Abrams"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCEfFUaIkjbI06PhALdcXNVA "~YT EmacsCast" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCEfFUaIkjbI06PhALdcXNVA <span class="org-string">"~YT EmacsCast"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCzgkOWKcwy0uhYilE6bd1Lg "~YT Zaiste Programming" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCzgkOWKcwy0uhYilE6bd1Lg <span class="org-string">"~YT Zaiste Programming"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UC5dAH2txWtKSsgmRglRB88A "~YT kyptin" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC5dAH2txWtKSsgmRglRB88A <span class="org-string">"~YT kyptin"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA "~YT Brodie Robertson" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCld68syR8Wi-GY_n4CaoJGA <span class="org-string">"~YT Brodie Robertson"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCXPHFM88IlFn68OmLwtPmZA "~YT Greg Hurrell" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCXPHFM88IlFn68OmLwtPmZA <span class="org-string">"~YT Greg Hurrell"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCxjDcP3Su59bg5VDnlwyt5A "~YT Bailey Ling" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCxjDcP3Su59bg5VDnlwyt5A <span class="org-string">"~YT Bailey Ling"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCi8XrDg1bK_MJ0goOnbpTMQ "~YT budlabs" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCi8XrDg1bK_MJ0goOnbpTMQ <span class="org-string">"~YT budlabs"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCfbGTpcJyEOMwKP-eYz3_fg "~YT Rainer König" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCfbGTpcJyEOMwKP-eYz3_fg <span class="org-string">"~YT Rainer K&#246;nig"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCsnGwSIHyoYN0kiINAGUKxg "~YT Wolfgang's Channel" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCsnGwSIHyoYN0kiINAGUKxg <span class="org-string">"~YT Wolfgang's Channel"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCQp2VLAOlvq142YN3JO3y8w "~YT John Kitchin" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCQp2VLAOlvq142YN3JO3y8w <span class="org-string">"~YT John Kitchin"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCFk8kgNu_bqsRZewxMGqkzQ "~YT Emacs SF" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCFk8kgNu_bqsRZewxMGqkzQ <span class="org-string">"~YT Emacs SF"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCIFJHWyIlN0XFrW2vMKG6QA "~YT Alain M. Lafon" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCIFJHWyIlN0XFrW2vMKG6QA <span class="org-string">"~YT Alain M. Lafon"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCvA_wgsX6eFAOXI8Rbg_WiQ "~YT tutoriaLinux" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCvA_wgsX6eFAOXI8Rbg_WiQ <span class="org-string">"~YT tutoriaLinux"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCUF4bHszxd8T4ulrvLejumA "~YT Alexander Fu" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCUF4bHszxd8T4ulrvLejumA <span class="org-string">"~YT Alexander Fu"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCbW6-rTEn6nPj56K_9dLozQ "~YT Gilles Castel" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCbW6-rTEn6nPj56K_9dLozQ <span class="org-string">"~YT Gilles Castel"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCUR1pFG_3XoZn3JNKjulqZg "~YT thoughtbot" youtube linux emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCUR1pFG_3XoZn3JNKjulqZg <span class="org-string">"~YT thoughtbot"</span> youtube linux emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "~YT DistroTube" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCVls1GmFKf6WlTraIb_IaJg <span class="org-string">"~YT DistroTube"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCDEtZ7AKmwS0_GNJog01D2g "~YT Uncle Dave" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCDEtZ7AKmwS0_GNJog01D2g <span class="org-string">"~YT Uncle Dave"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCYnrHo7CDgKobmoJ3Borrnw "~YT Niklas Carlsson" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCYnrHo7CDgKobmoJ3Borrnw <span class="org-string">"~YT Niklas Carlsson"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCljOhRB2a3sQgLCdK9CHQvQ "~YT Leafshade Software" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCljOhRB2a3sQgLCdK9CHQvQ <span class="org-string">"~YT Leafshade Software"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCwRXb5dUK4cvsHbx-rGzSgw "~YT Derek Banas" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCwRXb5dUK4cvsHbx-rGzSgw <span class="org-string">"~YT Derek Banas"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCP2bshADPrVMoNrdJvZEQzw "~YT KeepItTechie" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCP2bshADPrVMoNrdJvZEQzw <span class="org-string">"~YT KeepItTechie"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCVRJ6D343dX-x730MRP8tNw "~YT cocadmin" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCVRJ6D343dX-x730MRP8tNw <span class="org-string">"~YT cocadmin"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCxkMDXQ5qzYOgXPRnOBrp1w "~YT Mike Zamansky" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCxkMDXQ5qzYOgXPRnOBrp1w <span class="org-string">"~YT Mike Zamansky"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCgREucssIfY9e0Iy3yhse8w "~YT Conner McDaniel" youtube linux <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCgREucssIfY9e0Iy3yhse8w <span class="org-string">"~YT Conner McDaniel"</span> youtube linux
https://www.youtube.com/feeds/videos.xml?channel_id=UCkRmQ_G_NbdbCQMpALg6UPg "~YT emacsrocks" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCkRmQ_G_NbdbCQMpALg6UPg <span class="org-string">"~YT emacsrocks"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UC0uTPqBCFIpZxlz_Lv1tk_g "~YT Protesilaos Stavrou" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC0uTPqBCFIpZxlz_Lv1tk_g <span class="org-string">"~YT Protesilaos Stavrou"</span> youtube emacs
https://www.youtube.com/feeds/videos.xml?channel_id=UCsJXkw_Ssp-1myJFm4_SMJA "~YT Seorenn" youtube emacs <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCsJXkw_Ssp-1myJFm4_SMJA <span class="org-string">"~YT Seorenn"</span> youtube emacs
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCvrQyT2xhsxq2a4Xopf2JTA <span class="org-string">"~YT Zaeph"</span> youtube emacs
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCYnl1cugi7Lv1h8j6JNqNEg <span class="org-string">"~YT Dima Gerasimov"</span> youtube emacs
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCDKPGD9T00eS_l--D_DRTUQ <span class="org-string">"~YT Linuxtricks"</span> youtube linux
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCcCeYbIBGQPB1G12psAPMKw <span class="org-string">"~YT Spudlyo"</span> youtube emacs
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCS97tchJDq17Qms3cux8wcA <span class="org-string">"~YT Chrisatmachine"</span> youtube linux
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCwFpzG5MK5Shg_ncAhrgr9g <span class="org-string">"~YT Awesome Open Source"</span> youtube linux
<span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC7YOGHUfC1Tb6E4pudI9STA <span class="org-string">"~YT Mental Outlaw"</span> youtube linux
</pre> </pre>
</div> </div>
</div> </div>
@ -547,28 +560,28 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCsJXkw_Ssp-1myJFm4_SMJA "~Y
<h4 id="orge2c8c59">3D-Printing and DIY</h4> <h4 id="orge2c8c59">3D-Printing and DIY</h4>
<div class="outline-text-4" id="text-orge2c8c59"> <div class="outline-text-4" id="text-orge2c8c59">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UCGEBcDJ7QIY1LuEddDM9x9Q "~YT Oldies" youtube 3d-printing <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCGEBcDJ7QIY1LuEddDM9x9Q <span class="org-string">"~YT Oldies"</span> youtube 3d-printing
https://www.youtube.com/feeds/videos.xml?channel_id=UCqdRx3JV3xRchi4_xwFJUTA "~YT 8FabLab" youtube diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCqdRx3JV3xRchi4_xwFJUTA <span class="org-string">"~YT 8FabLab"</span> youtube diy
https://www.youtube.com/feeds/videos.xml?channel_id=UCCsdIja21VT7AKkbVI5y8bQ "~YT Alain Vaillancourt" youtube diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCCsdIja21VT7AKkbVI5y8bQ <span class="org-string">"~YT Alain Vaillancourt"</span> youtube diy
https://www.youtube.com/feeds/videos.xml?channel_id=UCyi6pFP-lmaDD3Eb4dqsvdg "~YT ioduremetallique" youtube diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCyi6pFP-lmaDD3Eb4dqsvdg <span class="org-string">"~YT ioduremetallique"</span> youtube diy
https://www.youtube.com/feeds/videos.xml?channel_id=UCYI8olK-jH9Ubc2FaA2LgPw "~YT Egalistel" youtube 3d-printing <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCYI8olK-jH9Ubc2FaA2LgPw <span class="org-string">"~YT Egalistel"</span> youtube 3d-printing
https://www.youtube.com/feeds/videos.xml?channel_id=UCSULDz1yaHLVQWHpm4g_GHA "~YT monsieur bidouille" youtube diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCSULDz1yaHLVQWHpm4g_GHA <span class="org-string">"~YT monsieur bidouille"</span> youtube diy
https://www.youtube.com/feeds/videos.xml?channel_id=UC2UT8pPDlUvRbQXTVOf5Ocw "~YT Henri Hihacks" youtube diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC2UT8pPDlUvRbQXTVOf5Ocw <span class="org-string">"~YT Henri Hihacks"</span> youtube diy
https://www.youtube.com/feeds/videos.xml?channel_id=UCLecVrux63S6aYiErxdiy4w "~YT BRUH Automation" youtube diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCLecVrux63S6aYiErxdiy4w <span class="org-string">"~YT BRUH Automation"</span> youtube diy
https://www.youtube.com/feeds/videos.xml?channel_id=UCQfMyugsjrVUWU0v_ZxQs2Q "~YT Machine Tech Video Blog" youtube diy engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCQfMyugsjrVUWU0v_ZxQs2Q <span class="org-string">"~YT Machine Tech Video Blog"</span> youtube diy engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UCjED9uS41ioeFuPfbR-OBlw "~YT Les Freres Poulain" youtube diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCjED9uS41ioeFuPfbR-OBlw <span class="org-string">"~YT Les Freres Poulain"</span> youtube diy
https://www.youtube.com/feeds/videos.xml?channel_id=UCVSHXNNBitaPd5lYz48--yg "~YT Tech Ingredients" youtube diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCVSHXNNBitaPd5lYz48--yg <span class="org-string">"~YT Tech Ingredients"</span> youtube diy
https://www.youtube.com/feeds/videos.xml?channel_id=UCPFChjpOgkUqckj3378jt5w "~YT Heliox" youtube 3d-printing <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCPFChjpOgkUqckj3378jt5w <span class="org-string">"~YT Heliox"</span> youtube 3d-printing
https://www.youtube.com/feeds/videos.xml?channel_id=UC9_nxvBohH1G2yR77XTdA2g "~YT Tommy Desrochers" youtube 3d-printing diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC9_nxvBohH1G2yR77XTdA2g <span class="org-string">"~YT Tommy Desrochers"</span> youtube 3d-printing diy
https://www.youtube.com/feeds/videos.xml?channel_id=UC6mIxFTvXkWQVEHPsEdflzQ "~YT GreatScott" youtube diy <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC6mIxFTvXkWQVEHPsEdflzQ <span class="org-string">"~YT GreatScott"</span> youtube diy
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgf63483f" class="outline-4"> <div id="outline-container-orgbea3691" class="outline-4">
<h4 id="orgf63483f">Engineering</h4> <h4 id="orgbea3691">Engineering</h4>
<div class="outline-text-4" id="text-orgf63483f"> <div class="outline-text-4" id="text-orgbea3691">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <pre class="src src-conf">
</pre> </pre>
@ -580,44 +593,44 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UC6mIxFTvXkWQVEHPsEdflzQ "~Y
<h4 id="org426724f">Interesting - General</h4> <h4 id="org426724f">Interesting - General</h4>
<div class="outline-text-4" id="text-org426724f"> <div class="outline-text-4" id="text-org426724f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UC5eOLQO5VUEFJukNg9cl5jg "~YT Histoire Brève" youtube interesting <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC5eOLQO5VUEFJukNg9cl5jg <span class="org-string">"~YT Histoire Br&#232;ve"</span> youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UCMFcMhePnH4onVHt2-ItPZw "~YT Hygiène Mentale" youtube interesting <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCMFcMhePnH4onVHt2-ItPZw <span class="org-string">"~YT Hygi&#232;ne Mentale"</span> youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UC9BnGZLT4iPaJtDOXYwQuHQ "~YT Primum Non Nocere" youtube interesting <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC9BnGZLT4iPaJtDOXYwQuHQ <span class="org-string">"~YT Primum Non Nocere"</span> youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UCP46_MXP_WG_auH88FnfS1A "~YT Nota Bene" youtube interesting <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCP46_MXP_WG_auH88FnfS1A <span class="org-string">"~YT Nota Bene"</span> youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UCUR03ZSZlEvCO6EWwv4jU2w "~YT Absol Vidéos" youtube interesting <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCUR03ZSZlEvCO6EWwv4jU2w <span class="org-string">"~YT Absol Vid&#233;os"</span> youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UCWty1tzwZW_ZNSp5GVGteaA "~YT La statistique expliquée à mon chat" youtube interesting <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCWty1tzwZW_ZNSp5GVGteaA <span class="org-string">"~YT La statistique expliqu&#233;e &#224; mon chat"</span> youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UCLbgxBMMEo6mAYe87esxGmg "~YT horror humanum est" youtube interesting <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCLbgxBMMEo6mAYe87esxGmg <span class="org-string">"~YT horror humanum est"</span> youtube interesting
https://www.youtube.com/feeds/videos.xml?channel_id=UCOuIgj0CYCXCvjWywjDbauw "~YT Chat Sceptique" youtube interesting <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCOuIgj0CYCXCvjWywjDbauw <span class="org-string">"~YT Chat Sceptique"</span> youtube interesting
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgd0563c1" class="outline-4"> <div id="outline-container-orga5f3663" class="outline-4">
<h4 id="orgd0563c1">Science</h4> <h4 id="orga5f3663">Science</h4>
<div class="outline-text-4" id="text-orgd0563c1"> <div class="outline-text-4" id="text-orga5f3663">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UCwgqYNmYaij2_8hq_tOFyZw "~YT Aurelien Barrau" youtube science <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCwgqYNmYaij2_8hq_tOFyZw <span class="org-string">"~YT Aurelien Barrau"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCeR8BYZS7IHYjk_9Mh5JgkA "~YT Scilabus" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCeR8BYZS7IHYjk_9Mh5JgkA <span class="org-string">"~YT Scilabus"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UC1Ue7TuX3iH4y8-Qrjj-hyg "~YT J'm'énerve pas, j'explique" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC1Ue7TuX3iH4y8-Qrjj-hyg <span class="org-string">"~YT J'm'&#233;nerve pas, j'explique"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCjsHDXUU3BjBCG7OaCbNDyQ "~YT Le Sense Of Wonder" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCjsHDXUU3BjBCG7OaCbNDyQ <span class="org-string">"~YT Le Sense Of Wonder"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UC4PasDd25MXqlXBogBw9CAg "~YT Mickaël Launay" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC4PasDd25MXqlXBogBw9CAg <span class="org-string">"~YT Micka&#235;l Launay"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCsz9DiwPtgDvxJ-njWnieZw "~YT Passe-Science" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCsz9DiwPtgDvxJ-njWnieZw <span class="org-string">"~YT Passe-Science"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UC_GlthPB9gzdxfkTTEIVxMA "~YT Incroyables Expériences" youtube science engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC_GlthPB9gzdxfkTTEIVxMA <span class="org-string">"~YT Incroyables Exp&#233;riences"</span> youtube science engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UCxqAWLTk1CmBvZFPzeZMd9A "~YT Domain of Science" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCxqAWLTk1CmBvZFPzeZMd9A <span class="org-string">"~YT Domain of Science"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCaNlbnghtwlsGF-KzAFThqA "~YT ScienceEtonnante" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCaNlbnghtwlsGF-KzAFThqA <span class="org-string">"~YT ScienceEtonnante"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCeQEKFH31vvD-InkTGSvCrA "~YT brusspup" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCeQEKFH31vvD-InkTGSvCrA <span class="org-string">"~YT brusspup"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCHnyfMqiRRG1u-2MsSQLbXA "~YT Veritasium" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCHnyfMqiRRG1u-2MsSQLbXA <span class="org-string">"~YT Veritasium"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCH6ppHEvV3_WIXEwmhv9HEg "~YT Deus Ex Silicium" youtube engineering science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCH6ppHEvV3_WIXEwmhv9HEg <span class="org-string">"~YT Deus Ex Silicium"</span> youtube engineering science
https://www.youtube.com/feeds/videos.xml?channel_id=UC2LZO6swZ9SLUEOks3WnsfA "~YT 2veritasium" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC2LZO6swZ9SLUEOks3WnsfA <span class="org-string">"~YT 2veritasium"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCvGag7MyHR8H9oRm9iL9Ifw "~YT Experimentboy" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCvGag7MyHR8H9oRm9iL9Ifw <span class="org-string">"~YT Experimentboy"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UC6107grRI4m0o2-emgoDnAA "~YT SmarterEveryDay" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC6107grRI4m0o2-emgoDnAA <span class="org-string">"~YT SmarterEveryDay"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCtqICqGbPSbTN09K1_7VZ3Q "~YT DirtyBiology" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCtqICqGbPSbTN09K1_7VZ3Q <span class="org-string">"~YT DirtyBiology"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UC_ZChHhr5nDrUymz7qsRqRw "~YT Confér'ENS" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC_ZChHhr5nDrUymz7qsRqRw <span class="org-string">"~YT Conf&#233;r'ENS"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCNmLe68qKzdjuEpT_YTDFuA "~YT Etonnarium" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCNmLe68qKzdjuEpT_YTDFuA <span class="org-string">"~YT Etonnarium"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UCCSN5zJTKjl6UKvPcLzLuiw "~YT Macroscopie" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCCSN5zJTKjl6UKvPcLzLuiw <span class="org-string">"~YT Macroscopie"</span> youtube science
https://www.youtube.com/feeds/videos.xml?channel_id=UC7DdEm33SyaTDtWYGO2CwdA "~YT Physics Girl" youtube science <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC7DdEm33SyaTDtWYGO2CwdA <span class="org-string">"~YT Physics Girl"</span> youtube science
</pre> </pre>
</div> </div>
@ -628,8 +641,8 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UC7DdEm33SyaTDtWYGO2CwdA "~Y
<h4 id="orgbb9674d">Keyboard</h4> <h4 id="orgbb9674d">Keyboard</h4>
<div class="outline-text-4" id="text-orgbb9674d"> <div class="outline-text-4" id="text-orgbb9674d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UC5ClFK9Ko4ACRgXjRZc_GfA "~YT Rhinofeed" youtube keyboards <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC5ClFK9Ko4ACRgXjRZc_GfA <span class="org-string">"~YT Rhinofeed"</span> youtube keyboards
https://www.youtube.com/feeds/videos.xml?channel_id=UC2yitP8oH86YBRVU4anycoA "~YT Quentin Lebastard" youtube keyboards <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC2yitP8oH86YBRVU4anycoA <span class="org-string">"~YT Quentin Lebastard"</span> youtube keyboards
</pre> </pre>
</div> </div>
</div> </div>
@ -640,11 +653,11 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UC2yitP8oH86YBRVU4anycoA "~Y
<div class="outline-text-4" id="text-org69e71c9"> <div class="outline-text-4" id="text-org69e71c9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"> <pre class="src src-conf">
https://www.youtube.com/feeds/videos.xml?channel_id=UC3gZqwD45zGCsduBn-Q2lew "~YT Gabrielle Grau" youtube music <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC3gZqwD45zGCsduBn-Q2lew <span class="org-string">"~YT Gabrielle Grau"</span> youtube music
https://www.youtube.com/feeds/videos.xml?channel_id=UCZHPwKyeypWwU8SNJSzQhCw "~YT Révisons nos Classiques" youtube music <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCZHPwKyeypWwU8SNJSzQhCw <span class="org-string">"~YT R&#233;visons nos Classiques"</span> youtube music
https://www.youtube.com/feeds/videos.xml?channel_id=UCPpNtkHeCnwN7Tl5oLq4AAg "~YT Une chanson, l'addition" youtube music <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCPpNtkHeCnwN7Tl5oLq4AAg <span class="org-string">"~YT Une chanson, l'addition"</span> youtube music
https://www.youtube.com/feeds/videos.xml?channel_id=UC_17P1ruDpCVujf7C_SxhOA "~YT Metalliquoi" youtube music <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC_17P1ruDpCVujf7C_SxhOA <span class="org-string">"~YT Metalliquoi"</span> youtube music
https://www.youtube.com/feeds/videos.xml?channel_id=UCzabZYC0MYRR2MFkq62d6yQ "~YT Florent Garcia" youtube music <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCzabZYC0MYRR2MFkq62d6yQ <span class="org-string">"~YT Florent Garcia"</span> youtube music
</pre> </pre>
</div> </div>
</div> </div>
@ -654,24 +667,24 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCzabZYC0MYRR2MFkq62d6yQ "~Y
<h4 id="org51994a1">Space</h4> <h4 id="org51994a1">Space</h4>
<div class="outline-text-4" id="text-org51994a1"> <div class="outline-text-4" id="text-org51994a1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UCdL3UpiseRlvxXuORJjmqZw "~YT Stardust" youtube space <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCdL3UpiseRlvxXuORJjmqZw <span class="org-string">"~YT Stardust"</span> youtube space
https://www.youtube.com/feeds/videos.xml?channel_id=UC5X4e8ScZI2AFd_vkjSoyoQ "~YT AstronoGeek" youtube space <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC5X4e8ScZI2AFd_vkjSoyoQ <span class="org-string">"~YT AstronoGeek"</span> youtube space
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgbea3691" class="outline-4"> <div id="outline-container-orgd65a3b5" class="outline-4">
<h4 id="orgbea3691">Engineering</h4> <h4 id="orgd65a3b5">Engineering</h4>
<div class="outline-text-4" id="text-orgbea3691"> <div class="outline-text-4" id="text-orgd65a3b5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UCotwjyJnb-4KW7bmsOoLfkg "~YT Art of the Problem" youtube engineering <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCotwjyJnb-4KW7bmsOoLfkg <span class="org-string">"~YT Art of the Problem"</span> youtube engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UCR1IuLEqb6UEA_zQ81kwXfg "~YT Real Engineering" youtube engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCR1IuLEqb6UEA_zQ81kwXfg <span class="org-string">"~YT Real Engineering"</span> youtube engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UCfsznjef2zGJnrCRQBXqo6Q "~YT Machine Thinking" youtube engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCfsznjef2zGJnrCRQBXqo6Q <span class="org-string">"~YT Machine Thinking"</span> youtube engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UC2bkHVIDjXS7sgrgjFtzOXQ "~YT engineerguy" youtube engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC2bkHVIDjXS7sgrgjFtzOXQ <span class="org-string">"~YT engineerguy"</span> youtube engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UCivA7_KLKWo43tFcCkFvydw "~YT Applied Science" youtube science engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCivA7_KLKWo43tFcCkFvydw <span class="org-string">"~YT Applied Science"</span> youtube science engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UCk0fGHsCEzGig-rSzkfCjMw "~YT The Engineering Mindset" youtube engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCk0fGHsCEzGig-rSzkfCjMw <span class="org-string">"~YT The Engineering Mindset"</span> youtube engineering
https://www.youtube.com/feeds/videos.xml?channel_id=UC5_Y-BKzq1uW_2rexWkUzlA "~YT New Mind" youtube engineering <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC5_Y-BKzq1uW_2rexWkUzlA <span class="org-string">"~YT New Mind"</span> youtube engineering
</pre> </pre>
</div> </div>
</div> </div>
@ -680,38 +693,38 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UC5_Y-BKzq1uW_2rexWkUzlA "~Y
<h4 id="org990625b">Random - Fun - Others</h4> <h4 id="org990625b">Random - Fun - Others</h4>
<div class="outline-text-4" id="text-org990625b"> <div class="outline-text-4" id="text-org990625b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">https://www.youtube.com/feeds/videos.xml?channel_id=UCJM10Rp7G0h9j5S92QszJ5Q "~YT Tales From The Click" youtube random <pre class="src src-conf"><span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCJM10Rp7G0h9j5S92QszJ5Q <span class="org-string">"~YT Tales From The Click"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCCMxHHciWRBBouzk-PGzmtQ "~YT Bazar du Grenier" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCCMxHHciWRBBouzk-PGzmtQ <span class="org-string">"~YT Bazar du Grenier"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCTt2AnK--mnRmICnf-CCcrw "~YT Le Rire Jaune" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCTt2AnK--mnRmICnf-CCcrw <span class="org-string">"~YT Le Rire Jaune"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCJRljQ8OcyfzHBYpS_bDbow "~YT La Mezzanine" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCJRljQ8OcyfzHBYpS_bDbow <span class="org-string">"~YT La Mezzanine"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCVTAmJvZOxuj9Kto8Ty9L8Q "~YT Rapha Gaming" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCVTAmJvZOxuj9Kto8Ty9L8Q <span class="org-string">"~YT Rapha Gaming"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCTafEJoRl5myC8A50plIrng "~YT FabienOlicard" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCTafEJoRl5myC8A50plIrng <span class="org-string">"~YT FabienOlicard"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCZeyUZmGAyRLDfM2ir3q-OQ "~YT Captain Popcorn" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCZeyUZmGAyRLDfM2ir3q-OQ <span class="org-string">"~YT Captain Popcorn"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCwzxu1j19ICnfW5zrBvUw-w "~YT Une bière et Jivay" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCwzxu1j19ICnfW5zrBvUw-w <span class="org-string">"~YT Une bi&#232;re et Jivay"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCPF7JOWMDWZmnP_cQfyAezg "~YT Scinéma" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCPF7JOWMDWZmnP_cQfyAezg <span class="org-string">"~YT Scin&#233;ma"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCUK0HBIBWgM2c4vsPhkYY4w "~YT The Slow Mo Guys" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCUK0HBIBWgM2c4vsPhkYY4w <span class="org-string">"~YT The Slow Mo Guys"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCxeA1l2E5AYrtpkqUbBEg3A "~YT Pierre Lecourt" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCxeA1l2E5AYrtpkqUbBEg3A <span class="org-string">"~YT Pierre Lecourt"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCYD22MFqaNqXp-ogTMosW_A "~YT Le Show Jaune" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCYD22MFqaNqXp-ogTMosW_A <span class="org-string">"~YT Le Show Jaune"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UC4HANn7TBY-xcION-eL3rLA "~YT Daniil le Russe" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC4HANn7TBY-xcION-eL3rLA <span class="org-string">"~YT Daniil le Russe"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCf0mOxfawezlHIVuHd3L2VA "~YT Didi Chandouidoui" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCf0mOxfawezlHIVuHd3L2VA <span class="org-string">"~YT Didi Chandouidoui"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCw3tZ7g_FljNjzGprCuptpA "~YT Taupe10" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCw3tZ7g_FljNjzGprCuptpA <span class="org-string">"~YT Taupe10"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCfXXAQ-mp1uUcvSpvMcAAtw "~YT LinksTheSun" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCfXXAQ-mp1uUcvSpvMcAAtw <span class="org-string">"~YT LinksTheSun"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCWeg2Pkate69NFdBeuRFTAw "~YT Squeezie" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCWeg2Pkate69NFdBeuRFTAw <span class="org-string">"~YT Squeezie"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCtI6_1vGanPlH5lgVIDjJGQ "~YT MrAntoineDaniel" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCtI6_1vGanPlH5lgVIDjJGQ <span class="org-string">"~YT MrAntoineDaniel"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCm3C3OSgcyzaTBXrNRupB3Q "~YT Le Woop" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCm3C3OSgcyzaTBXrNRupB3Q <span class="org-string">"~YT Le Woop"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCuBzVunAVbcwzMfQaJVacuw "~YT LE ROI DES RATS" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCuBzVunAVbcwzMfQaJVacuw <span class="org-string">"~YT LE ROI DES RATS"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCyWqModMQlbIo8274Wh_ZsQ "~YT Cyprien" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCyWqModMQlbIo8274Wh_ZsQ <span class="org-string">"~YT Cyprien"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCAFQjCZo5okIPkHUQlBZM-g "~YT Bonjour Tristesse" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCAFQjCZo5okIPkHUQlBZM-g <span class="org-string">"~YT Bonjour Tristesse"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCoZoRz4-y6r87ptDp4Jk74g "~YT Palmashow" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCoZoRz4-y6r87ptDp4Jk74g <span class="org-string">"~YT Palmashow"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCww2zZWg4Cf5xcRKG-ThmXQ "~YT NORMAN FAIT DES VIDÉOS" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCww2zZWg4Cf5xcRKG-ThmXQ <span class="org-string">"~YT NORMAN FAIT DES VID&#201;OS"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCkEa1AfdeB93-he4VziKGFg "~YT JIGMÉ" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCkEa1AfdeB93-he4VziKGFg <span class="org-string">"~YT JIGM&#201;"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCND0gjuG9ltEWDvh82VJITg "~YT Jeannot Nymouce" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCND0gjuG9ltEWDvh82VJITg <span class="org-string">"~YT Jeannot Nymouce"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCP5tjEmvPItGyLhmjdwP7Ww "~YT RealLifeLore" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCP5tjEmvPItGyLhmjdwP7Ww <span class="org-string">"~YT RealLifeLore"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCwbV8cTR4yBgFdfa_BXV2OA "~YT Le Fossoyeur de Films" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCwbV8cTR4yBgFdfa_BXV2OA <span class="org-string">"~YT Le Fossoyeur de Films"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCGgvKW19IWVvUUblrr8EgHA "~YT Experimentboy 2" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCGgvKW19IWVvUUblrr8EgHA <span class="org-string">"~YT Experimentboy 2"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCJZ94qp4dtCw0Q5UQqAkg7w "~YT larsandersen23" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCJZ94qp4dtCw0Q5UQqAkg7w <span class="org-string">"~YT larsandersen23"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UCDPK_MTu3uTUFJXRVcTJcEw "~YT Mcfly et Carlito" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UCDPK_MTu3uTUFJXRVcTJcEw <span class="org-string">"~YT Mcfly et Carlito"</span> youtube random
https://www.youtube.com/feeds/videos.xml?channel_id=UC2_OG1L8DLTzQ7UrZVOk7OA "~YT Axolot" youtube random <span class="org-variable-name">https://www.youtube.com/feeds/videos.xml?channel_id</span>=UC2_OG1L8DLTzQ7UrZVOk7OA <span class="org-string">"~YT Axolot"</span> youtube random
</pre> </pre>
</div> </div>
@ -722,7 +735,7 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UC2_OG1L8DLTzQ7UrZVOk7OA "~Y
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:39 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Qutebrowser Configuration</title> <title>Qutebrowser Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -50,6 +50,9 @@
<li><a href="#org63ffcb4">Add Url to Buku using Rofi</a></li> <li><a href="#org63ffcb4">Add Url to Buku using Rofi</a></li>
<li><a href="#org0a503bf">Add Url to Buku without asking for information</a></li> <li><a href="#org0a503bf">Add Url to Buku without asking for information</a></li>
<li><a href="#orga1def86">Download with aria2c</a></li> <li><a href="#orga1def86">Download with aria2c</a></li>
<li><a href="#orgf64e9d0">Download with aria2c on the Homelab</a></li>
<li><a href="#orge0bf594">Screenshot</a></li>
<li><a href="#orge050cda">Save to PDF</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -60,10 +63,10 @@
<h2 id="org22d9ea5">Import</h2> <h2 id="org22d9ea5">Import</h2>
<div class="outline-text-2" id="text-org22d9ea5"> <div class="outline-text-2" id="text-org22d9ea5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">from qutebrowser.config.configfiles import ConfigAPI <pre class="src src-python"><span class="org-keyword">from</span> qutebrowser.config.configfiles <span class="org-keyword">import</span> ConfigAPI
from qutebrowser.config.config import ConfigContainer <span class="org-keyword">from</span> qutebrowser.config.config <span class="org-keyword">import</span> ConfigContainer
import sys, os <span class="org-keyword">import</span> sys, os
</pre> </pre>
</div> </div>
</div> </div>
@ -73,10 +76,10 @@ import sys, os
<h2 id="org89786f6">General config</h2> <h2 id="org89786f6">General config</h2>
<div class="outline-text-2" id="text-org89786f6"> <div class="outline-text-2" id="text-org89786f6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.aliases = {'w': 'session-save', 'q': 'quit', 'wq': 'quit --save'} <pre class="src src-python"><span class="org-variable-name">c.aliases</span> = {<span class="org-string">'w'</span>: <span class="org-string">'session-save'</span>, <span class="org-string">'q'</span>: <span class="org-string">'quit'</span>, <span class="org-string">'wq'</span>: <span class="org-string">'quit --save'</span>}
c.auto_save.session = False <span class="org-variable-name">c.auto_save.session</span> = <span class="org-constant">False</span>
c.backend = 'webengine' <span class="org-variable-name">c.backend</span> = <span class="org-string">'webengine'</span>
c.confirm_quit = ['downloads'] <span class="org-variable-name">c.confirm_quit</span> = [<span class="org-string">'downloads'</span>]
</pre> </pre>
</div> </div>
</div> </div>
@ -86,14 +89,14 @@ c.confirm_quit = ['downloads']
<h2 id="org870403a">Content</h2> <h2 id="org870403a">Content</h2>
<div class="outline-text-2" id="text-org870403a"> <div class="outline-text-2" id="text-org870403a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.content.autoplay = False <pre class="src src-python"><span class="org-variable-name">c.content.autoplay</span> = <span class="org-constant">False</span>
c.content.notifications = False <span class="org-variable-name">c.content.notifications</span> = <span class="org-constant">False</span>
c.content.geolocation = 'ask' <span class="org-variable-name">c.content.geolocation</span> = <span class="org-string">'ask'</span>
c.content.javascript.alert = True <span class="org-variable-name">c.content.javascript.alert</span> = <span class="org-constant">True</span>
c.content.javascript.can_access_clipboard = True <span class="org-variable-name">c.content.javascript.can_access_clipboard</span> = <span class="org-constant">True</span>
c.content.media_capture = 'ask' <span class="org-variable-name">c.content.media_capture</span> = <span class="org-string">'ask'</span>
c.content.pdfjs = False <span class="org-variable-name">c.content.pdfjs</span> = <span class="org-constant">False</span>
c.content.proxy = 'system' <span class="org-variable-name">c.content.proxy</span> = <span class="org-string">'system'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -103,7 +106,7 @@ c.content.proxy = 'system'
<h2 id="orgdefaa05">Editor</h2> <h2 id="orgdefaa05">Editor</h2>
<div class="outline-text-2" id="text-orgdefaa05"> <div class="outline-text-2" id="text-orgdefaa05">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.editor.command = ['/usr/bin/termite', '--class="Floating"', '-e', 'nvim {}'] <pre class="src src-python"><span class="org-variable-name">c.editor.command</span> = [<span class="org-string">'/usr/bin/termite'</span>, <span class="org-string">'--class="Floating"'</span>, <span class="org-string">'-e'</span>, <span class="org-string">'nvim {}'</span>]
</pre> </pre>
</div> </div>
</div> </div>
@ -113,12 +116,12 @@ c.content.proxy = 'system'
<h2 id="org409baa5">Downloads</h2> <h2 id="org409baa5">Downloads</h2>
<div class="outline-text-2" id="text-org409baa5"> <div class="outline-text-2" id="text-org409baa5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.downloads.location.directory = '$HOME/Downloads/' <pre class="src src-python"><span class="org-variable-name">c.downloads.location.directory</span> = <span class="org-string">'$HOME/Downloads/'</span>
c.downloads.location.prompt = True <span class="org-variable-name">c.downloads.location.prompt</span> = <span class="org-constant">True</span>
c.downloads.location.remember = True <span class="org-variable-name">c.downloads.location.remember</span> = <span class="org-constant">True</span>
c.downloads.location.suggestion = 'path' <span class="org-variable-name">c.downloads.location.suggestion</span> = <span class="org-string">'path'</span>
c.downloads.position = 'bottom' <span class="org-variable-name">c.downloads.position</span> = <span class="org-string">'bottom'</span>
c.downloads.remove_finished = 10000 <span class="org-variable-name">c.downloads.remove_finished</span> = <span class="org-highlight-numbers-number">10000</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -128,10 +131,9 @@ c.downloads.remove_finished = 10000
<h2 id="orgdc50649">Fonts</h2> <h2 id="orgdc50649">Fonts</h2>
<div class="outline-text-2" id="text-orgdc50649"> <div class="outline-text-2" id="text-orgdc50649">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.fonts.default_family = ["Hack Nerd Font Mono", "DejaVu Sans Mono", "Monaco"] <pre class="src src-python"><span class="org-variable-name">c.fonts.default_family</span> = [<span class="org-string">"Hack Nerd Font Mono"</span>, <span class="org-string">"DejaVu Sans Mono"</span>, <span class="org-string">"Monaco"</span>]
c.fonts.prompts = '10pt monospace' <span class="org-variable-name">c.fonts.prompts</span> = <span class="org-string">'10pt monospace'</span>
c.fonts.statusbar = '10pt monospace' <span class="org-variable-name">c.fonts.statusbar</span> = <span class="org-string">'10pt monospace'</span>
c.fonts.tabs = '10pt monospace'
</pre> </pre>
</div> </div>
</div> </div>
@ -141,10 +143,10 @@ c.fonts.tabs = '10pt monospace'
<h2 id="orge859d77">Input</h2> <h2 id="orge859d77">Input</h2>
<div class="outline-text-2" id="text-orge859d77"> <div class="outline-text-2" id="text-orge859d77">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.input.insert_mode.auto_enter = True <pre class="src src-python">c.<span class="org-builtin">input</span>.insert_mode.auto_enter = <span class="org-constant">True</span>
c.input.insert_mode.auto_leave = True c.<span class="org-builtin">input</span>.insert_mode.auto_leave = <span class="org-constant">True</span>
c.input.insert_mode.auto_load = False c.<span class="org-builtin">input</span>.insert_mode.auto_load = <span class="org-constant">False</span>
c.input.insert_mode.plugins = True c.<span class="org-builtin">input</span>.insert_mode.plugins = <span class="org-constant">True</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -154,8 +156,8 @@ c.input.insert_mode.plugins = True
<h2 id="org6a05c89">New Instance Options</h2> <h2 id="org6a05c89">New Instance Options</h2>
<div class="outline-text-2" id="text-org6a05c89"> <div class="outline-text-2" id="text-org6a05c89">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.new_instance_open_target = 'tab' <pre class="src src-python"><span class="org-variable-name">c.new_instance_open_target</span> = <span class="org-string">'tab'</span>
c.new_instance_open_target_window = 'last-focused' <span class="org-variable-name">c.new_instance_open_target_window</span> = <span class="org-string">'last-focused'</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -165,7 +167,7 @@ c.new_instance_open_target_window = 'last-focused'
<h2 id="orgc336fd6">Spell Check</h2> <h2 id="orgc336fd6">Spell Check</h2>
<div class="outline-text-2" id="text-orgc336fd6"> <div class="outline-text-2" id="text-orgc336fd6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.spellcheck.languages = ['en-US', 'fr-FR'] <pre class="src src-python"><span class="org-variable-name">c.spellcheck.languages</span> = [<span class="org-string">'en-US'</span>, <span class="org-string">'fr-FR'</span>]
</pre> </pre>
</div> </div>
</div> </div>
@ -175,20 +177,19 @@ c.new_instance_open_target_window = 'last-focused'
<h2 id="org1d64606">Status Bar</h2> <h2 id="org1d64606">Status Bar</h2>
<div class="outline-text-2" id="text-org1d64606"> <div class="outline-text-2" id="text-org1d64606">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"># Hide the statusbar unless a message is shown. <pre class="src src-python"><span class="org-comment-delimiter"># </span><span class="org-comment">Hide the statusbar unless a message is shown.</span>
c.statusbar.hide = False <span class="org-variable-name">c.statusbar.position</span> = <span class="org-string">'bottom'</span>
c.statusbar.position = 'bottom'
# List of widgets displayed in the statusbar. <span class="org-comment-delimiter"># </span><span class="org-comment">List of widgets displayed in the statusbar.</span>
# Valid values: <span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
# - url: Current page URL. <span class="org-comment-delimiter"># </span><span class="org-comment">- url: Current page URL.</span>
# - scroll: Percentage of the current page position like `10%`. <span class="org-comment-delimiter"># </span><span class="org-comment">- scroll: Percentage of the current page position like `10%`.</span>
# - scroll_raw: Raw percentage of the current page position like `10`. <span class="org-comment-delimiter"># </span><span class="org-comment">- scroll_raw: Raw percentage of the current page position like `10`.</span>
# - history: Display an arrow when possible to go back/forward in history. <span class="org-comment-delimiter"># </span><span class="org-comment">- history: Display an arrow when possible to go back/forward in history.</span>
# - tabs: Current active tab, e.g. `2`. <span class="org-comment-delimiter"># </span><span class="org-comment">- tabs: Current active tab, e.g. `2`.</span>
# - keypress: Display pressed keys when composing a vi command. <span class="org-comment-delimiter"># </span><span class="org-comment">- keypress: Display pressed keys when composing a vi command.</span>
# - progress: Progress bar for the current page loading. <span class="org-comment-delimiter"># </span><span class="org-comment">- progress: Progress bar for the current page loading.</span>
c.statusbar.widgets = ['keypress', 'url', 'scroll', 'history', 'progress'] <span class="org-variable-name">c.statusbar.widgets</span> = [<span class="org-string">'keypress'</span>, <span class="org-string">'url'</span>, <span class="org-string">'scroll'</span>, <span class="org-string">'history'</span>, <span class="org-string">'progress'</span>]
</pre> </pre>
</div> </div>
</div> </div>
@ -198,45 +199,45 @@ c.statusbar.widgets = ['keypress', 'url', 'scroll', 'history', 'progress']
<h2 id="org7638343">Tabs</h2> <h2 id="org7638343">Tabs</h2>
<div class="outline-text-2" id="text-org7638343"> <div class="outline-text-2" id="text-org7638343">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python"># Open new tabs (middleclick/ctrl+click) in the background. <pre class="src src-python"><span class="org-comment-delimiter"># </span><span class="org-comment">Open new tabs (middleclick/ctrl+click) in the background.</span>
c.tabs.background = True <span class="org-variable-name">c.tabs.background</span> = <span class="org-constant">True</span>
# Mouse button with which to close tabs. <span class="org-comment-delimiter"># </span><span class="org-comment">Mouse button with which to close tabs.</span>
c.tabs.close_mouse_button = 'right' <span class="org-variable-name">c.tabs.close_mouse_button</span> = <span class="org-string">'right'</span>
# How to behave when the last tab is closed. <span class="org-comment-delimiter"># </span><span class="org-comment">How to behave when the last tab is closed.</span>
c.tabs.last_close = 'close' <span class="org-variable-name">c.tabs.last_close</span> = <span class="org-string">'close'</span>
# Switch between tabs using the mouse wheel. <span class="org-comment-delimiter"># </span><span class="org-comment">Switch between tabs using the mouse wheel.</span>
c.tabs.mousewheel_switching = False <span class="org-variable-name">c.tabs.mousewheel_switching</span> = <span class="org-constant">False</span>
# Position of new tabs opened from another tab. <span class="org-comment-delimiter"># </span><span class="org-comment">Position of new tabs opened from another tab.</span>
# Valid values: <span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
# - prev: Before the current tab. <span class="org-comment-delimiter"># </span><span class="org-comment">- prev: Before the current tab.</span>
# - next: After the current tab. <span class="org-comment-delimiter"># </span><span class="org-comment">- next: After the current tab.</span>
# - first: At the beginning. <span class="org-comment-delimiter"># </span><span class="org-comment">- first: At the beginning.</span>
# - last: At the end. <span class="org-comment-delimiter"># </span><span class="org-comment">- last: At the end.</span>
c.tabs.new_position.related = 'next' <span class="org-variable-name">c.tabs.new_position.related</span> = <span class="org-string">'next'</span>
# Position of new tabs which aren't opened from another tab. <span class="org-comment-delimiter"># </span><span class="org-comment">Position of new tabs which aren't opened from another tab.</span>
# Valid values: <span class="org-comment-delimiter"># </span><span class="org-comment">Valid values:</span>
# - prev: Before the current tab. <span class="org-comment-delimiter"># </span><span class="org-comment">- prev: Before the current tab.</span>
# - next: After the current tab. <span class="org-comment-delimiter"># </span><span class="org-comment">- next: After the current tab.</span>
# - first: At the beginning. <span class="org-comment-delimiter"># </span><span class="org-comment">- first: At the beginning.</span>
# - last: At the end. <span class="org-comment-delimiter"># </span><span class="org-comment">- last: At the end.</span>
c.tabs.new_position.unrelated = 'last' <span class="org-variable-name">c.tabs.new_position.unrelated</span> = <span class="org-string">'last'</span>
# Position of the tab bar. <span class="org-comment-delimiter"># </span><span class="org-comment">Position of the tab bar.</span>
c.tabs.position = 'left' <span class="org-variable-name">c.tabs.position</span> = <span class="org-string">'left'</span>
# Which tab to select when the focused tab is removed. <span class="org-comment-delimiter"># </span><span class="org-comment">Which tab to select when the focused tab is removed.</span>
c.tabs.select_on_remove = 'next' <span class="org-variable-name">c.tabs.select_on_remove</span> = <span class="org-string">'next'</span>
# Width (in pixels or as percentage of the window) of the tab bar if it's vertical. <span class="org-comment-delimiter"># </span><span class="org-comment">Width (in pixels or as percentage of the window) of the tab bar if it's vertical.</span>
c.tabs.width = 30 <span class="org-variable-name">c.tabs.width</span> = <span class="org-highlight-numbers-number">30</span>
# Wrap when changing tabs. <span class="org-comment-delimiter"># </span><span class="org-comment">Wrap when changing tabs.</span>
c.tabs.wrap = False <span class="org-variable-name">c.tabs.wrap</span> = <span class="org-constant">False</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -246,30 +247,30 @@ c.tabs.wrap = False
<h2 id="orge28bc93">Urls and Search Engines</h2> <h2 id="orge28bc93">Urls and Search Engines</h2>
<div class="outline-text-2" id="text-orge28bc93"> <div class="outline-text-2" id="text-orge28bc93">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.url.searchengines = { <pre class="src src-python"><span class="org-variable-name">c.url.searchengines</span> = {
'DEFAULT': 'https://www.duckduckgo.org/?q={}', <span class="org-string">'DEFAULT'</span>: <span class="org-string">'https://www.duckduckgo.org/?q={}'</span>,
'aw': 'https://wiki.archlinux.org/?search={}', <span class="org-string">'aw'</span>: <span class="org-string">'https://wiki.archlinux.org/?search={}'</span>,
'wi': 'https://en.wikipedia.org/wiki/Special:Search?search={}', <span class="org-string">'wi'</span>: <span class="org-string">'https://en.wikipedia.org/wiki/Special:Search?search={}'</span>,
'go': 'https://www.google.com/search?q={}', <span class="org-string">'go'</span>: <span class="org-string">'https://www.google.com/search?q={}'</span>,
'gc': 'https://scholar.google.fr/scholar?hl=fr&amp;as_sdt=0%2C5&amp;q={}&amp;btnG=', <span class="org-string">'gc'</span>: <span class="org-string">'https://scholar.google.fr/scholar?hl=fr&amp;as_sdt=0%2C5&amp;q={}&amp;btnG='</span>,
'gm': 'https://www.google.com/maps/search/{}/', <span class="org-string">'gm'</span>: <span class="org-string">'https://www.google.com/maps/search/{}/'</span>,
'yt': 'https://www.youtube.com/results?search_query={}', <span class="org-string">'yt'</span>: <span class="org-string">'https://www.youtube.com/results?search_query={}'</span>,
'gh': 'https://github.com/search?q={}', <span class="org-string">'gh'</span>: <span class="org-string">'https://github.com/search?q={}'</span>,
're': 'https://www.reddit.com/search?q={}', <span class="org-string">'re'</span>: <span class="org-string">'https://www.reddit.com/search?q={}'</span>,
'lb': 'http://gen.lib.rus.ec/search.php?req={}', <span class="org-string">'lb'</span>: <span class="org-string">'http://gen.lib.rus.ec/search.php?req={}'</span>,
'la': 'http://gen.lib.rus.ec/scimag/index.php?s={}', <span class="org-string">'la'</span>: <span class="org-string">'http://gen.lib.rus.ec/scimag/index.php?s={}'</span>,
'sm': 'https://www.openstreetmap.org/search?query={}', <span class="org-string">'sm'</span>: <span class="org-string">'https://www.openstreetmap.org/search?query={}'</span>,
'am': 'https://www.amazon.fr/s?k={}', <span class="org-string">'am'</span>: <span class="org-string">'https://www.amazon.fr/s?k={}'</span>,
'md': 'https://fr.mathworks.com/help/search.html?qdoc={}&amp;submitsearch=', <span class="org-string">'md'</span>: <span class="org-string">'https://fr.mathworks.com/help/search.html?qdoc={}&amp;submitsearch='</span>,
'js': 'https://developer.mozilla.org/en-US/search?q={}', <span class="org-string">'js'</span>: <span class="org-string">'https://developer.mozilla.org/en-US/search?q={}'</span>,
'tf': 'https://translate.google.com/#view=home&amp;op=translate&amp;sl=en&amp;tl=fr&amp;text={}', <span class="org-string">'tf'</span>: <span class="org-string">'https://translate.google.com/#view=home&amp;op=translate&amp;sl=en&amp;tl=fr&amp;text={}'</span>,
'te': 'https://translate.google.com/#view=home&amp;op=translate&amp;sl=fr&amp;tl=en&amp;text={}', <span class="org-string">'te'</span>: <span class="org-string">'https://translate.google.com/#view=home&amp;op=translate&amp;sl=fr&amp;tl=en&amp;text={}'</span>,
} }
</pre> </pre>
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">c.url.start_pages = ['qute://bookmarks'] <pre class="src src-python"><span class="org-variable-name">c.url.start_pages</span> = [<span class="org-string">'https://homer.tdehaeze.xyz/'</span>]
</pre> </pre>
</div> </div>
</div> </div>
@ -282,9 +283,9 @@ c.tabs.wrap = False
Zooming Zooming
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('+', 'zoom-in') <pre class="src src-python">config.bind(<span class="org-string">'+'</span>, <span class="org-string">'zoom-in'</span>)
config.bind('-', 'zoom-out') config.bind(<span class="org-string">'-'</span>, <span class="org-string">'zoom-out'</span>)
config.bind('=', 'zoom') config.bind(<span class="org-string">'='</span>, <span class="org-string">'zoom'</span>)
</pre> </pre>
</div> </div>
@ -292,8 +293,8 @@ config.bind('=', 'zoom')
Inputs blocks Inputs blocks
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(';t', 'hint inputs') <pre class="src src-python">config.bind(<span class="org-string">';t'</span>, <span class="org-string">'hint inputs'</span>)
config.bind('gi', 'hint inputs --first') config.bind(<span class="org-string">'gi'</span>, <span class="org-string">'hint inputs --first'</span>)
</pre> </pre>
</div> </div>
@ -301,7 +302,7 @@ config.bind('gi', 'hint inputs --first')
Opening New Window Opening New Window
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('&lt;Ctrl-N&gt;', 'open -w') <pre class="src src-python">config.bind(<span class="org-string">'&lt;Ctrl-N&gt;'</span>, <span class="org-string">'open -w'</span>)
</pre> </pre>
</div> </div>
@ -309,8 +310,8 @@ Opening New Window
History History
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('H', 'back') <pre class="src src-python">config.bind(<span class="org-string">'H'</span>, <span class="org-string">'back'</span>)
config.bind('L', 'forward') config.bind(<span class="org-string">'L'</span>, <span class="org-string">'forward'</span>)
</pre> </pre>
</div> </div>
@ -318,12 +319,12 @@ config.bind('L', 'forward')
Move tabs around Move tabs around
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('d', 'tab-close') <pre class="src src-python">config.bind(<span class="org-string">'d'</span>, <span class="org-string">'tab-close'</span>)
config.bind('&lt;', 'tab-move -') config.bind(<span class="org-string">'&lt;'</span>, <span class="org-string">'tab-move -'</span>)
config.bind('&gt;', 'tab-move +') config.bind(<span class="org-string">'&gt;'</span>, <span class="org-string">'tab-move +'</span>)
config.bind('gO', 'tab-give') # Open current tab in a new window config.bind(<span class="org-string">'gO'</span>, <span class="org-string">'tab-give'</span>) <span class="org-comment-delimiter"># </span><span class="org-comment">Open current tab in a new window</span>
config.bind('J', 'tab-next') config.bind(<span class="org-string">'J'</span>, <span class="org-string">'tab-next'</span>)
config.bind('K', 'tab-prev') config.bind(<span class="org-string">'K'</span>, <span class="org-string">'tab-prev'</span>)
</pre> </pre>
</div> </div>
@ -331,8 +332,8 @@ config.bind('K', 'tab-prev')
Bookmarks and Quickmark Bookmarks and Quickmark
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('M', 'bookmark-add') <pre class="src src-python">config.bind(<span class="org-string">'M'</span>, <span class="org-string">'bookmark-add'</span>)
config.bind('m', 'quickmark-save') config.bind(<span class="org-string">'m'</span>, <span class="org-string">'quickmark-save'</span>)
</pre> </pre>
</div> </div>
@ -340,8 +341,8 @@ config.bind('m', 'quickmark-save')
Open New Pages/Tabs Open New Pages/Tabs
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('o', 'set-cmd-text -s :open') <pre class="src src-python">config.bind(<span class="org-string">'o'</span>, <span class="org-string">'set-cmd-text -s :open'</span>)
config.bind('O', 'set-cmd-text -s :open -t') config.bind(<span class="org-string">'O'</span>, <span class="org-string">'set-cmd-text -s :open -t'</span>)
</pre> </pre>
</div> </div>
@ -349,8 +350,8 @@ config.bind('O', 'set-cmd-text -s :open -t')
Open new page/tab with clipboard content Open new page/tab with clipboard content
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('pp', 'open -- {clipboard}') <pre class="src src-python">config.bind(<span class="org-string">'pp'</span>, <span class="org-string">'open -- {clipboard}'</span>)
config.bind('pP', 'open -t -- {clipboard}') config.bind(<span class="org-string">'pP'</span>, <span class="org-string">'open -t -- {clipboard}'</span>)
</pre> </pre>
</div> </div>
@ -358,8 +359,8 @@ config.bind('pP', 'open -t -- {clipboard}')
Link Hinting Link Hinting
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('f', 'hint') <pre class="src src-python">config.bind(<span class="org-string">'f'</span>, <span class="org-string">'hint'</span>)
config.bind('F', 'hint all tab') config.bind(<span class="org-string">'F'</span>, <span class="org-string">'hint all tab'</span>)
</pre> </pre>
</div> </div>
@ -367,7 +368,7 @@ config.bind('F', 'hint all tab')
Yanking url Yanking url
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('yy', 'yank') <pre class="src src-python">config.bind(<span class="org-string">'yy'</span>, <span class="org-string">'yank'</span>)
</pre> </pre>
</div> </div>
@ -375,13 +376,15 @@ Yanking url
Go to specific websites Go to specific websites
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind('gy', 'open -t https://www.youtube.com/feed/subscriptions') <pre class="src src-python">config.bind(<span class="org-string">'gy'</span>, <span class="org-string">'open -t https://www.youtube.com/feed/subscriptions'</span>)
config.bind('gf', 'open -t https://feedly.com/i/my') config.bind(<span class="org-string">'gf'</span>, <span class="org-string">'open -t https://rss.tdehaeze.xyz/'</span>)
config.bind('gr', 'open -t https://www.reddit.com/') config.bind(<span class="org-string">'gr'</span>, <span class="org-string">'open -t https://www.reddit.com/'</span>)
config.bind('gb', 'open qute://bookmarks') config.bind(<span class="org-string">'gh'</span>, <span class="org-string">'open -t https://homer.tdehaeze.xyz/'</span>)
config.bind('gh', 'open qute://history')
config.bind('gs', 'open qute://settings') config.bind(<span class="org-string">'gb'</span>, <span class="org-string">'open -t qute://bookmarks'</span>)
config.bind(<span class="org-string">'gH'</span>, <span class="org-string">'open -t qute://history'</span>)
config.bind(<span class="org-string">'gs'</span>, <span class="org-string">'open -t qute://settings'</span>)
</pre> </pre>
</div> </div>
</div> </div>
@ -394,7 +397,7 @@ config.bind('gs', 'open qute://settings')
Create a Password for the current website Create a Password for the current website
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',P', 'spawn --userscript ~/.config/qutebrowser/userscripts/add-passowrd.sh') <pre class="src src-python">config.bind(<span class="org-string">',P'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/add-passowrd.sh'</span>)
</pre> </pre>
</div> </div>
@ -402,7 +405,7 @@ Create a Password for the current website
Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>) Use Pass to fill password and username (configuration is done in <code>~/.config/qutebrowser/password_fill_rc</code>)
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',p', 'spawn --userscript password_fill') <pre class="src src-python">config.bind(<span class="org-string">',p'</span>, <span class="org-string">'spawn --userscript password_fill'</span>)
</pre> </pre>
</div> </div>
@ -410,8 +413,8 @@ Use Pass to fill password and username (configuration is done in <code>~/.config
Open Youtube video using <code>mpv</code> Open Youtube video using <code>mpv</code>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',m', 'spawn --detach mpv --force-window yes {url}') <pre class="src src-python">config.bind(<span class="org-string">',m'</span>, <span class="org-string">'spawn --detach mpv --force-window yes {url}'</span>)
config.bind(',M', 'hint links spawn --detach mpv --force-window yes {hint-url}') config.bind(<span class="org-string">',M'</span>, <span class="org-string">'hint links spawn --detach mpv --force-window yes {hint-url}'</span>)
</pre> </pre>
</div> </div>
@ -419,8 +422,8 @@ config.bind(',M', 'hint links spawn --detach mpv --force-window yes {hint-url}')
Download Youtube video / entire playlist Download Youtube video / entire playlist
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',v', 'spawn --userscript ~/.config/qutebrowser/userscripts/yt-download.sh {url}') <pre class="src src-python">config.bind(<span class="org-string">',v'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/yt-download.sh {url}'</span>)
config.bind(',V', 'hint links spawn --userscript ~/.config/qutebrowser/userscripts/yt-download.sh {hint-url}') config.bind(<span class="org-string">',V'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/yt-download.sh {hint-url}'</span>)
</pre> </pre>
</div> </div>
@ -428,8 +431,8 @@ config.bind(',V', 'hint links spawn --userscript ~/.config/qutebrowser/userscrip
Add page to Bookmarks using <code>buku</code> Add page to Bookmarks using <code>buku</code>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',b', 'spawn --userscript ~/.config/qutebrowser/userscripts/buku-add.sh') <pre class="src src-python">config.bind(<span class="org-string">',b'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/buku-add.sh'</span>)
config.bind(',B', 'spawn --userscript ~/.config/qutebrowser/userscripts/buku-rofi.sh') config.bind(<span class="org-string">',B'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/buku-rofi.sh'</span>)
</pre> </pre>
</div> </div>
@ -437,7 +440,8 @@ config.bind(',B', 'spawn --userscript ~/.config/qutebrowser/userscripts/buku-rof
Download with <code>aria2c</code> Download with <code>aria2c</code>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',d', 'hint links spawn --userscript ~/.config/qutebrowser/userscripts/aria2c-add.sh {hint-url}') <pre class="src src-python">config.bind(<span class="org-string">',d'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/aria2c-add.sh {hint-url}'</span>)
config.bind(<span class="org-string">',D'</span>, <span class="org-string">'hint links spawn --userscript ~/.config/qutebrowser/userscripts/aria2c-add-homelab.sh {hint-url}'</span>)
</pre> </pre>
</div> </div>
@ -445,7 +449,7 @@ Download with <code>aria2c</code>
Open bookmark using <code>buku</code> Open bookmark using <code>buku</code>
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',o', 'spawn ~/.local/bin/bukurun') <pre class="src src-python">config.bind(<span class="org-string">',o'</span>, <span class="org-string">'spawn ~/.local/bin/bukurun'</span>)
</pre> </pre>
</div> </div>
@ -453,8 +457,17 @@ Open bookmark using <code>buku</code>
Org Capture Org Capture
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',r', 'spawn --userscript ~/.config/qutebrowser/userscripts/org-capture.sh') <pre class="src src-python">config.bind(<span class="org-string">',r'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/org-capture.sh'</span>)
config.bind(',R', 'hint links userscript ~/.config/qutebrowser/userscripts/org-capture.sh') config.bind(<span class="org-string">',R'</span>, <span class="org-string">'hint links userscript ~/.config/qutebrowser/userscripts/org-capture.sh'</span>)
</pre>
</div>
<p>
Screenshot of webpage to png
</p>
<div class="org-src-container">
<pre class="src src-python">config.bind(<span class="org-string">',s'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/html-to-pdf.sh'</span>)
config.bind(<span class="org-string">',S'</span>, <span class="org-string">'spawn --userscript ~/.config/qutebrowser/userscripts/html-to-png.sh'</span>)
</pre> </pre>
</div> </div>
@ -462,7 +475,7 @@ config.bind(',R', 'hint links userscript ~/.config/qutebrowser/userscripts/org-c
Download a torrent Download a torrent
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',t', 'hint links spawn torrent-add {hint-url}') <pre class="src src-python">config.bind(<span class="org-string">',t'</span>, <span class="org-string">'hint links spawn torrent-add {hint-url}'</span>)
</pre> </pre>
</div> </div>
@ -470,7 +483,7 @@ Download a torrent
Annotate with Hypothesis Annotate with Hypothesis
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',a', "jseval javascript:(function(){window.hypothesisConfig=function(){return{showHighlights:true,appType:'bookmarklet'};};var d=document,s=d.createElement('script');s.setAttribute('src','https://hypothes.is/embed.js');d.body.appendChild(s)})();") <pre class="src src-python">config.bind(<span class="org-string">',a'</span>, <span class="org-string">"jseval javascript:(function(){window.hypothesisConfig=function(){return{showHighlights:true,appType:'bookmarklet'};};var d=document,s=d.createElement('script');s.setAttribute('src','https://hypothes.is/embed.js');d.body.appendChild(s)})();"</span>)
</pre> </pre>
</div> </div>
@ -478,7 +491,7 @@ Annotate with Hypothesis
See Amazon price history using CamelCamelCamel See Amazon price history using CamelCamelCamel
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',A', ":open -t https://fr.camelcamelcamel.com/search?sq={url}") <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> </pre>
</div> </div>
@ -486,7 +499,7 @@ See Amazon price history using CamelCamelCamel
Org Roam Entry for the current page Org Roam Entry for the current page
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-python">config.bind(',R', "open javascript:void(location.href='org-protocol://roam-ref?template=r&amp;ref='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title))") <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&amp;ref='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title))"</span>)
</pre> </pre>
</div> </div>
</div> </div>
@ -501,18 +514,18 @@ Org Roam Entry for the current page
<h3 id="org6be4b76">Create a new password</h3> <h3 id="org6be4b76">Create a new password</h3>
<div class="outline-text-3" id="text-org6be4b76"> <div class="outline-text-3" id="text-org6be4b76">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">url=$(echo "$QUTE_URL" | awk -F[/:] '{print $4}' | rofi -p "URL" -dmenu -lines 1) <pre class="src src-bash"><span class="org-variable-name">url</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> | awk -F<span class="org-rainbow-delimiters-depth-2">[</span>/:<span class="org-rainbow-delimiters-depth-2">]</span> <span class="org-string">'{print $4}'</span> | rofi -p <span class="org-string">"URL"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
username=$(echo -e "dehaeze.thomas@gmail.com\nthomas.dehaeze@esrf.fr\ntdehaeze" | rofi -p "Username" -dmenu -lines 5) <span class="org-variable-name">username</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"dehaeze.thomas@gmail.com\nthomas.dehaeze@esrf.fr\ntdehaeze"</span> | rofi -p <span class="org-string">"Username"</span> -dmenu -lines <span class="org-highlight-numbers-number">5</span><span class="org-rainbow-delimiters-depth-1">)</span>
password=$(rofi -p "Password" -dmenu -password -lines 1) <span class="org-variable-name">password</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"Password"</span> -dmenu -password -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
if [ -z "$url" ] || [ -z "$username" ] || [ -z "$password" ]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">url</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> || <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">username</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> || <span class="org-rainbow-delimiters-depth-1">[</span> -z <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">password</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
dunstify --urgency=critical "Pass" "Failed to Add Password" dunstify --urgency=critical <span class="org-string">"Pass"</span> <span class="org-string">"Failed to Add Password"</span>
else <span class="org-keyword">else</span>
echo -e "$password\nlogin: $username\nurl: $QUTE_URL" &gt; /tmp/add-password.txt <span class="org-type">echo</span> -e <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">password</span></span><span class="org-string">\nlogin: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">username</span></span><span class="org-string">\nurl: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> &gt; /tmp/add-password.txt
pass insert --multiline "$url/$username" &lt; /tmp/add-password.txt; pass insert --multiline <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">url</span></span><span class="org-string">/</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">username</span></span><span class="org-string">"</span> &lt; /tmp/add-password.txt;
rm /tmp/add-password.txt <span class="org-type">rm</span> /tmp/add-password.txt
dunstify "Pass " "Password Added" dunstify <span class="org-string">"Pass &#62525;"</span> <span class="org-string">"Password Added"</span>
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -522,23 +535,23 @@ fi
<h3 id="orge348df2">Download Youtube Video</h3> <h3 id="orge348df2">Download Youtube Video</h3>
<div class="outline-text-3" id="text-orge348df2"> <div class="outline-text-3" id="text-orge348df2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">cd ~/Documents/to-watch/; <pre class="src src-bash"><span class="org-type">cd</span> ~/Documents/to-watch/;
if [[ "$1" == *"list"* ]]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> == *<span class="org-string">"list"</span>* <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
choice=$(echo -e "Video\nPlaylist" | rofi -dmenu -only-match -i) <span class="org-variable-name">choice</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> -e <span class="org-string">"Video\nPlaylist"</span> | rofi -dmenu -only-match -i<span class="org-rainbow-delimiters-depth-1">)</span>
fi <span class="org-keyword">fi</span>
if [ -n "$choice" ] &amp;&amp; [ "$choice" = "Playlist" ]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">choice</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">choice</span></span><span class="org-string">"</span> = <span class="org-string">"Playlist"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
dunstify --replace=19243 "Youtube " "Downloading Playlist..."; dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloading Playlist..."</span>;
youtube-dl -i -f 'bestvideo[height&lt;=720]+bestaudio/best[height&lt;=720]' "$1" -o "%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s" &amp;&amp; \ youtube-dl -i -f <span class="org-string">'bestvideo[height&lt;=720]+bestaudio/best[height&lt;=720]'</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> -o <span class="org-string">"%(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify --replace=19243 "Youtube " "Downloaded" || \ dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify --replace=19243 --urgency=critical "Youtube " "Failed to download" dunstify --replace=<span class="org-highlight-numbers-number">19243</span> --urgency=critical <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Failed to download"</span>
else <span class="org-keyword">else</span>
dunstify --replace=19243 "Youtube " "Downloading Video..."; dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloading Video..."</span>;
youtube-dl --no-playlist -f 'bestvideo[height&lt;=720]+bestaudio/best[height&lt;=720]' "$1" &amp;&amp; \ youtube-dl --no-playlist -f <span class="org-string">'bestvideo[height&lt;=720]+bestaudio/best[height&lt;=720]'</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify --replace=19243 "Youtube " "Downloaded" || \ dunstify --replace=<span class="org-highlight-numbers-number">19243</span> <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Downloaded"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify --replace=19243 --urgency=critical "Youtube " "Failed to download" dunstify --replace=<span class="org-highlight-numbers-number">19243</span> --urgency=critical <span class="org-string">"Youtube &#61798;"</span> <span class="org-string">"Failed to download"</span>
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -548,25 +561,25 @@ fi
<h3 id="orgb8e61c0">Password_fill_rc</h3> <h3 id="orgb8e61c0">Password_fill_rc</h3>
<div class="outline-text-3" id="text-orgb8e61c0"> <div class="outline-text-3" id="text-orgb8e61c0">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"># Show all password fields in the menu <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Show all password fields in the menu</span>
query_entries() { <span class="org-function-name">query_entries</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
# safe queried url for choose_entry <span class="org-comment-delimiter"># </span><span class="org-comment">safe queried url for choose_entry</span>
# the subdomains are removed <span class="org-comment-delimiter"># </span><span class="org-comment">the subdomains are removed</span>
export queried_url=$(expr match ".$1" '.*\.\(.*\..*\)') <span class="org-builtin">export</span> <span class="org-variable-name">queried_url</span>=$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">expr</span> match <span class="org-string">".</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-string">'.*\.\(.*\..*\)'</span><span class="org-rainbow-delimiters-depth-2">)</span>
mapfile -t files &lt; &lt;(find -L "$PREFIX" -iname '*.gpg' -printf '%P\n' |sed 's,\.gpg$,,') <span class="org-builtin">mapfile</span> -t files &lt; &lt;<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-type">find</span> -L <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">PREFIX</span></span><span class="org-string">"</span> -iname <span class="org-string">'*.gpg'</span> -printf <span class="org-string">'%P\n'</span> |sed <span class="org-string">'s,\.gpg$,,'</span><span class="org-rainbow-delimiters-depth-2">)</span>
} <span class="org-rainbow-delimiters-depth-1">}</span>
# Even if there is only one entry, always show a menu <span class="org-comment-delimiter"># </span><span class="org-comment">Even if there is only one entry, always show a menu</span>
# for user confirmation. <span class="org-comment-delimiter"># </span><span class="org-comment">for user confirmation.</span>
choose_entry() { <span class="org-function-name">choose_entry</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
MENU_COMMAND=( <span class="org-variable-name">MENU_COMMAND</span>=<span class="org-rainbow-delimiters-depth-2">(</span>
rofi -dmenu rofi -dmenu
-p "qutebrowser&gt; " -p <span class="org-string">"qutebrowser&gt; "</span>
-filter "$queried_url" -filter <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">queried_url</span></span><span class="org-string">"</span>
-mesg $'Pick a password entry for &lt;b&gt;'"${QUTE_URL//&amp;/&amp;amp;}"'&lt;/b&gt;' -mesg $<span class="org-string">'Pick a password entry for &lt;b&gt;'"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_URL//&amp;/&amp;amp;}</span></span><span class="org-string">"'&lt;/b&gt;'</span>
) <span class="org-rainbow-delimiters-depth-2">)</span>
file=$( printf "%s\n" "${files[@]}" | "${MENU_COMMAND[@]}" ) <span class="org-variable-name">file</span>=$<span class="org-rainbow-delimiters-depth-2">(</span> <span class="org-builtin">printf</span> <span class="org-string">"%s\n"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{files[@]}</span></span><span class="org-string">"</span> | <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{MENU_COMMAND[@]}</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">)</span>
} <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -576,18 +589,18 @@ choose_entry() {
<h3 id="org58d6993">Org-Capture</h3> <h3 id="org58d6993">Org-Capture</h3>
<div class="outline-text-3" id="text-org58d6993"> <div class="outline-text-3" id="text-org58d6993">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">readonly CAPTURE_SCRIPT=~/.config/qutebrowser/userscripts/org-protocol-capture-html.sh <pre class="src src-bash"><span class="org-builtin">readonly</span> <span class="org-variable-name">CAPTURE_SCRIPT</span>=~/.config/qutebrowser/userscripts/org-protocol-capture-html.sh
if [[ "$QUTE_MODE" = "hints" ]]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_MODE</span></span><span class="org-string">"</span> = <span class="org-string">"hints"</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
# if we start with hints, we juste want to capture the URL <span class="org-comment-delimiter"># </span><span class="org-comment">if we start with hints, we juste want to capture the URL</span>
$CAPTURE_SCRIPT --template "pu" --url "${QUTE_URL}" $<span class="org-variable-name">CAPTURE_SCRIPT</span> --template <span class="org-string">"pu"</span> --url <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_URL}</span></span><span class="org-string">"</span>
elif [[ -n "$QUTE_SELECTED_TEXT" ]]; then <span class="org-keyword">elif</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_SELECTED_TEXT</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
# if text is selected, we want to capture the text <span class="org-comment-delimiter"># </span><span class="org-comment">if text is selected, we want to capture the text</span>
$CAPTURE_SCRIPT --template "pt" --heading "${QUTE_TITLE}" --url "${QUTE_URL}" "${QUTE_SELECTED_TEXT}" $<span class="org-variable-name">CAPTURE_SCRIPT</span> --template <span class="org-string">"pt"</span> --heading <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_TITLE}</span></span><span class="org-string">"</span> --url <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_URL}</span></span><span class="org-string">"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_SELECTED_TEXT}</span></span><span class="org-string">"</span>
else <span class="org-keyword">else</span>
# if no text is selected, we want to capture the url <span class="org-comment-delimiter"># </span><span class="org-comment">if no text is selected, we want to capture the url</span>
$CAPTURE_SCRIPT --template "pu" --heading "${QUTE_TITLE}" --url "${QUTE_URL}" $<span class="org-variable-name">CAPTURE_SCRIPT</span> --template <span class="org-string">"pu"</span> --heading <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_TITLE}</span></span><span class="org-string">"</span> --url <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{QUTE_URL}</span></span><span class="org-string">"</span>
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -600,9 +613,9 @@ fi
Defaults Defaults
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">heading="link" <pre class="src src-bash"><span class="org-variable-name">heading</span>=<span class="org-string">"link"</span>
template="pu" <span class="org-variable-name">template</span>=<span class="org-string">"pu"</span>
url="https://google.com/" <span class="org-variable-name">url</span>=<span class="org-string">"https://google.com/"</span>
</pre> </pre>
</div> </div>
@ -610,33 +623,33 @@ url="https://google.com/"
Functions Functions
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">function debug { <pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">debug</span> <span class="org-rainbow-delimiters-depth-1">{</span>
if [[ -n $debug ]] <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">[</span><span class="org-rainbow-delimiters-depth-3">[</span> -n $<span class="org-variable-name">debug</span> <span class="org-rainbow-delimiters-depth-3">]</span><span class="org-rainbow-delimiters-depth-2">]</span>
then <span class="org-keyword">then</span>
function debug { <span class="org-keyword">function</span> <span class="org-function-name">debug</span> <span class="org-rainbow-delimiters-depth-2">{</span>
echo "DEBUG: $@" &gt;&amp;2 <span class="org-type">echo</span> <span class="org-string">"DEBUG: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> &gt;&amp;<span class="org-highlight-numbers-number">2</span>
} <span class="org-rainbow-delimiters-depth-2">}</span>
debug "$@" debug <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span>
else <span class="org-keyword">else</span>
function debug { <span class="org-keyword">function</span> <span class="org-function-name">debug</span> <span class="org-rainbow-delimiters-depth-2">{</span>
true true
} <span class="org-rainbow-delimiters-depth-2">}</span>
fi <span class="org-keyword">fi</span>
} <span class="org-rainbow-delimiters-depth-1">}</span>
function die { <span class="org-keyword">function</span> <span class="org-function-name">die</span> <span class="org-rainbow-delimiters-depth-1">{</span>
echo "$@" &gt;&amp;2 <span class="org-type">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span> &gt;&amp;<span class="org-highlight-numbers-number">2</span>
exit 1 <span class="org-keyword">exit</span> <span class="org-highlight-numbers-number">1</span>
} <span class="org-rainbow-delimiters-depth-1">}</span>
function urlencode { <span class="org-keyword">function</span> <span class="org-function-name">urlencode</span> <span class="org-rainbow-delimiters-depth-1">{</span>
python -c " python -c <span class="org-string">"</span>
from __future__ import print_function <span class="org-string">from __future__ import print_function</span>
try: <span class="org-string">try:</span>
from urllib import quote # Python 2 <span class="org-string"> from urllib import quote # Python 2</span>
except ImportError: <span class="org-string">except ImportError:</span>
from urllib.parse import quote # Python 3 <span class="org-string"> from urllib.parse import quote # Python 3</span>
import sys <span class="org-string">import sys</span>
print(quote(sys.stdin.read()[:-1], safe=''))" <span class="org-string">print(quote(sys.stdin.read()[:-1], safe=''))"</span>
} <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
@ -644,22 +657,22 @@ print(quote(sys.stdin.read()[:-1], safe=''))"
Documentation Documentation
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">function usage { <pre class="src src-bash"><span class="org-keyword">function</span> <span class="org-function-name">usage</span> <span class="org-rainbow-delimiters-depth-1">{</span>
cat &lt;&lt;EOF <span class="org-type">cat</span> &lt;&lt;EOF
$0 [OPTIONS] [HTML] <span class="org-sh-heredoc">$0 [OPTIONS] [HTML]</span>
html | $0 [OPTIONS] <span class="org-sh-heredoc">html | $0 [OPTIONS]</span>
Send HTML to Emacs through org-protocol, passing it through Pandoc to <span class="org-sh-heredoc">Send HTML to Emacs through org-protocol, passing it through Pandoc to</span>
convert HTML to Org-mode. HTML may be passed as an argument or <span class="org-sh-heredoc">convert HTML to Org-mode. HTML may be passed as an argument or</span>
through STDIN. If only URL is given, it will be downloaded and its <span class="org-sh-heredoc">through STDIN. If only URL is given, it will be downloaded and its</span>
contents used. <span class="org-sh-heredoc">contents used.</span>
Options: <span class="org-sh-heredoc">Options:</span>
-h, --heading HEADING Heading <span class="org-sh-heredoc"> -h, --heading HEADING Heading</span>
-t, --template TEMPLATE org-capture template key (default: pu) <span class="org-sh-heredoc"> -t, --template TEMPLATE org-capture template key (default: pu)</span>
-u, --url URL URL <span class="org-sh-heredoc"> -u, --url URL URL</span>
--debug Print debug info <span class="org-sh-heredoc"> --debug Print debug info</span>
--help I need somebody! <span class="org-sh-heredoc"> --help I need somebody!</span>
EOF <span class="org-sh-heredoc">EOF</span>
} <span class="org-rainbow-delimiters-depth-1">}</span>
</pre> </pre>
</div> </div>
@ -667,46 +680,46 @@ EOF
Arguments Arguments
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">args=$(getopt -n "$0" -o dh:rt:u: -l debug,help,heading:,template:,url: -- "$@") \ <pre class="src src-bash"><span class="org-variable-name">args</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">getopt</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">0</span></span><span class="org-string">"</span> -o dh:rt:u: -l debug,help,heading:,template:,url: -- <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-sh-escaped-newline">\</span>
|| die "Unable to parse args. Is getopt installed?" || die <span class="org-string">"Unable to parse args. Is getopt installed?"</span>
eval set -- "$args" <span class="org-builtin">eval</span> set -- <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">args</span></span><span class="org-string">"</span>
while true <span class="org-keyword">while</span> true
do <span class="org-keyword">do</span>
case "$1" in <span class="org-keyword">case</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span><span class="org-keyword"> in</span>
-d|--debug) -d|--debug)
debug=true <span class="org-variable-name">debug</span>=true
debug "Debugging on" debug <span class="org-string">"Debugging on"</span>
;; ;;
--help) --help)
usage usage
exit <span class="org-keyword">exit</span>
;; ;;
-h|--heading) -h|--heading)
shift <span class="org-builtin">shift</span>
heading="$1" <span class="org-variable-name">heading</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
;; ;;
-t|--template) -t|--template)
shift <span class="org-builtin">shift</span>
template="$1" <span class="org-variable-name">template</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
;; ;;
-u|--url) -u|--url)
shift <span class="org-builtin">shift</span>
url="$1" <span class="org-variable-name">url</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span>
;; ;;
--) --)
# Remaining args <span class="org-comment-delimiter"># </span><span class="org-comment">Remaining args</span>
shift <span class="org-builtin">shift</span>
rest=("$@") <span class="org-variable-name">rest</span>=<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span>
break <span class="org-keyword">break</span>
;; ;;
esac <span class="org-keyword">esac</span>
shift <span class="org-builtin">shift</span>
done <span class="org-keyword">done</span>
debug "ARGS: $args" debug <span class="org-string">"ARGS: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">args</span></span><span class="org-string">"</span>
debug "Remaining args: ${rest[@]}" debug <span class="org-string">"Remaining args: </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">{rest[@]}</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
@ -714,12 +727,12 @@ debug "Remaining args: ${rest[@]}"
Get HTML Get HTML
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">if [[ -n $@ ]] <pre class="src src-bash"><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> -n $<span class="org-variable-name">@</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>
then <span class="org-keyword">then</span>
debug "Text from args" debug <span class="org-string">"Text from args"</span>
body="$@" <span class="org-variable-name">body</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span>
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
@ -727,9 +740,9 @@ fi
URL-encode URL-encode
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">heading=$(urlencode &lt;&lt;&lt;"$heading") || die "Unable to urlencode heading." <pre class="src src-bash"><span class="org-variable-name">heading</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">urlencode</span> &lt;&lt;&lt;<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">heading</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> || die <span class="org-string">"Unable to urlencode heading."</span>
url=$(urlencode &lt;&lt;&lt;"$url") || die "Unable to urlencode URL." <span class="org-variable-name">url</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">urlencode</span> &lt;&lt;&lt;<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">url</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> || die <span class="org-string">"Unable to urlencode URL."</span>
body=$(urlencode &lt;&lt;&lt;"$body") || die "Unable to urlencode text." <span class="org-variable-name">body</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">urlencode</span> &lt;&lt;&lt;<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">body</span></span><span class="org-string">"</span><span class="org-rainbow-delimiters-depth-1">)</span> || die <span class="org-string">"Unable to urlencode text."</span>
</pre> </pre>
</div> </div>
@ -737,7 +750,7 @@ body=$(urlencode &lt;&lt;&lt;"$body") || die "Unable to urlencode text."
Send to Emacs Send to Emacs
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">emacsclient "org-protocol://capture?template=$template&amp;url=$url&amp;title=$heading&amp;body=$body" <pre class="src src-bash">emacsclient <span class="org-string">"org-protocol://capture?template=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">template</span></span><span class="org-string">&amp;url=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">url</span></span><span class="org-string">&amp;title=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">heading</span></span><span class="org-string">&amp;body=</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">body</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -747,12 +760,12 @@ Send to Emacs
<h3 id="org63ffcb4">Add Url to Buku using Rofi</h3> <h3 id="org63ffcb4">Add Url to Buku using Rofi</h3>
<div class="outline-text-3" id="text-org63ffcb4"> <div class="outline-text-3" id="text-org63ffcb4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">title=$(echo "$QUTE_TITLE" | rofi -p "Title" -dmenu -lines 1) <pre class="src src-bash"><span class="org-variable-name">title</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> | rofi -p <span class="org-string">"Title"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
tags=$(buku -t --nc --np | sed -e 's/\s*[[:digit:]]*\.\s*\(.*\)\s*([[:digit:]]*)\s*/\1/' -e '/^\s*$/d' | sort | uniq | rofi -multi-select -p "Tags" -dmenu | tr "\n" "," | sed 's/\s*,\s*$//') <span class="org-variable-name">tags</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">buku</span> -t --nc --np | sed -e <span class="org-string">'s/\s*[[:digit:]]*\.\s*\(.*\)\s*([[:digit:]]*)\s*/\1/'</span> -e <span class="org-string">'/^\s*$/d'</span> | sort | uniq | rofi -multi-select -p <span class="org-string">"Tags"</span> -dmenu | tr <span class="org-string">"\n"</span> <span class="org-string">","</span> | sed <span class="org-string">'s/\s*,\s*$//'</span><span class="org-rainbow-delimiters-depth-1">)</span>
buku --add "$QUTE_URL" --tag "$tags" --title "$title" &amp;&amp; \ buku --add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> --tag <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">tags</span></span><span class="org-string">"</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">title</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify "Buku" "Bookmark Added" || \ dunstify <span class="org-string">"Buku"</span> <span class="org-string">"Bookmark Added"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify --urgency=critical "Buku" " Bookmark Added" dunstify --urgency=critical <span class="org-string">"Buku"</span> <span class="org-string">"&#62561; Bookmark Added"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -762,16 +775,67 @@ buku --add "$QUTE_URL" --tag "$tags" --title "$title" &amp;&amp; \
<h3 id="org0a503bf">Add Url to Buku without asking for information</h3> <h3 id="org0a503bf">Add Url to Buku without asking for information</h3>
<div class="outline-text-3" id="text-org0a503bf"> <div class="outline-text-3" id="text-org0a503bf">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">buku --add $QUTE_URL --title "$QUTE_TITLE" &amp;&amp; dunstify "Buku" "📑 Bookmark Added" <pre class="src src-bash">buku --add $<span class="org-variable-name">QUTE_URL</span> --title <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_TITLE</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Buku"</span> <span class="org-string">"&#128209; Bookmark Added"</span>
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orga1def86" class="outline-3"> <div id="outline-container-orga1def86" class="outline-3">
<h3 id="orga1def86">Download with aria2c</h3> <h3 id="orga1def86">Download with aria2c</h3>
<div class="outline-text-3" id="text-orga1def86"> <div class="outline-text-3" id="text-orga1def86">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">aria2p add "$1" <pre class="src src-bash">aria2p add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgf64e9d0" class="outline-3">
<h3 id="orgf64e9d0">Download with aria2c on the Homelab</h3>
<div class="outline-text-3" id="text-orgf64e9d0">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Remove the =&amp;af= from 1fichier.</span>
$<span class="org-variable-name">url</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">echo</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> | sed <span class="org-string">'s/\&amp;af=.*$//g'</span><span class="org-rainbow-delimiters-depth-1">)</span>
dlab add <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">url</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Download Started"</span> || <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Aria2"</span> <span class="org-string">"Error"</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orge0bf594" class="outline-3">
<h3 id="orge0bf594">Screenshot</h3>
<div class="outline-text-3" id="text-orge0bf594">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">filename</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"filename"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"filename"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-type">cd</span> ~/Pictures/ &amp;&amp; <span class="org-sh-escaped-newline">\</span>
firefox-developer-edition -P default -headless --screenshot <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.png"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Screenshot"</span> <span class="org-string">"Taken successfully"</span>
<span class="org-keyword">fi</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orge050cda" class="outline-3">
<h3 id="orge050cda">Save to PDF</h3>
<div class="outline-text-3" id="text-orge050cda">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">filename</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"filename"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"filename"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
<span class="org-type">cd</span> ~/Pictures/ &amp;&amp; <span class="org-sh-escaped-newline">\</span>
percollate pdf --css <span class="org-string">"@page { size: A4 portrait }"</span> --output <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.pdf"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
dunstify <span class="org-string">"Percollate"</span> <span class="org-string">"Successfully saved to pdf"</span>
<span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -780,7 +844,7 @@ buku --add "$QUTE_URL" --tag "$tags" --title "$title" &amp;&amp; \
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:40 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Systemd services and timers</title> <title>Systemd services and timers</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -26,52 +26,52 @@
<h2>Table of Contents</h2> <h2>Table of Contents</h2>
<div id="text-table-of-contents"> <div id="text-table-of-contents">
<ul> <ul>
<li><a href="#org5b65512">Pass Git</a>
<ul>
<li><a href="#org206b59c">Service</a></li>
<li><a href="#orge9865a6">Timer</a></li>
<li><a href="#org0561aed">Script</a></li>
</ul>
</li>
<li><a href="#org79abe94">Buku Git</a> <li><a href="#org79abe94">Buku Git</a>
<ul> <ul>
<li><a href="#org06e5158">Service</a></li> <li><a href="#orgb1764a7">Service</a></li>
<li><a href="#org48bc751">Timer</a></li> <li><a href="#orgb5a6f5c">Timer</a></li>
<li><a href="#org8552721">Script</a></li> <li><a href="#orgea90a0b">Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org1d68bb0">Check mail</a> <li><a href="#org1d68bb0">Check mail</a>
<ul> <ul>
<li><a href="#org6acfd66">Service</a></li> <li><a href="#orgd709ba5">Service</a></li>
<li><a href="#orgc8b73e7">Timer</a></li> <li><a href="#orgf92bdcb">Timer</a></li>
<li><a href="#orgea90a0b">Script</a></li> <li><a href="#orgccb3216">Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgefb3320">Sync mail</a> <li><a href="#orgefb3320">Sync mail</a>
<ul> <ul>
<li><a href="#org1f273c6">Service</a></li> <li><a href="#orgcfd985d">Service</a></li>
<li><a href="#org9aa2ba5">Timer</a></li> <li><a href="#org1367b93">Timer</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org2ff1601">Vdirsyncer</a> <li><a href="#org2ff1601">Vdirsyncer</a>
<ul> <ul>
<li><a href="#orgc941c47">Service</a></li> <li><a href="#orgbb80e97">Service</a></li>
<li><a href="#orgb5a6f5c">Timer</a></li> <li><a href="#org4c9436c">Timer</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgb34591d">SSH Agent</a> <li><a href="#orgb34591d">SSH Agent</a>
<ul> <ul>
<li><a href="#org10e8ec0">Service</a></li> <li><a href="#orgb0b42d7">Service</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orge82b3ac">Powertop</a> <li><a href="#orge82b3ac">Powertop</a>
<ul> <ul>
<li><a href="#orgd482b17">Service</a></li> <li><a href="#org88c131b">Service</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgd4b9d58">Mopidy</a> <li><a href="#orgd4b9d58">Mopidy</a>
<ul> <ul>
<li><a href="#orgb1764a7">Service</a></li> <li><a href="#orgced338f">Service</a></li>
</ul>
</li>
<li><a href="#orgd17fb9d">Brain Website</a>
<ul>
<li><a href="#orga2a7998">Service</a></li>
<li><a href="#org6d59851">Timer</a></li>
<li><a href="#org8d0c564">Script</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -81,126 +81,69 @@
<a href="https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units">https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units</a> <a href="https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units">https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units</a>
</p> </p>
<div id="outline-container-org5b65512" class="outline-2">
<h2 id="org5b65512">Pass Git</h2>
<div class="outline-text-2" id="text-org5b65512">
</div>
<div id="outline-container-org206b59c" class="outline-3">
<h3 id="org206b59c">Service</h3>
<div class="outline-text-3" id="text-org206b59c">
<div class="org-src-container">
<pre class="src src-conf">[Unit]
Description=Sync Passwords every day
RefuseManualStart=no
RefuseManualStop=yes
[Service]
Type=oneshot
ExecStart=%h/.local/bin/pass_git_sync
</pre>
</div>
</div>
</div>
<div id="outline-container-orge9865a6" class="outline-3">
<h3 id="orge9865a6">Timer</h3>
<div class="outline-text-3" id="text-orge9865a6">
<div class="org-src-container">
<pre class="src src-conf">[Unit]
Description=Sync Passwords every day
RefuseManualStart=no
RefuseManualStop=no
Wants=network-online.target
After=network-online.target
[Timer]
OnCalendar=*-*-* 16:00:00
Persistent=true
Unit=passgit.service
[Install]
WantedBy=default.target
</pre>
</div>
</div>
</div>
<div id="outline-container-org0561aed" class="outline-3">
<h3 id="org0561aed">Script</h3>
<div class="outline-text-3" id="text-org0561aed">
<div class="org-src-container">
<pre class="src src-bash">cd ~/.local/share/buku/ || exit
if [[ ! -z $(git status -s bookmarks.db) ]]
then
git add bookmarks.db
git commit -m "Changed bookmarks - $(date +%F)"
git push
exit
fi
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org79abe94" class="outline-2"> <div id="outline-container-org79abe94" class="outline-2">
<h2 id="org79abe94">Buku Git</h2> <h2 id="org79abe94">Buku Git</h2>
<div class="outline-text-2" id="text-org79abe94"> <div class="outline-text-2" id="text-org79abe94">
</div> </div>
<div id="outline-container-org06e5158" class="outline-3"> <div id="outline-container-orgb1764a7" class="outline-3">
<h3 id="org06e5158">Service</h3> <h3 id="orgb1764a7">Service</h3>
<div class="outline-text-3" id="text-org06e5158"> <div class="outline-text-3" id="text-orgb1764a7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Sync Bookmarks every day <span class="org-variable-name">Description</span>=Sync Bookmarks every day
RefuseManualStart=no <span class="org-variable-name">RefuseManualStart</span>=no
RefuseManualStop=yes <span class="org-variable-name">RefuseManualStop</span>=yes
[Service] [<span class="org-type">Service</span>]
Type=oneshot <span class="org-variable-name">Type</span>=oneshot
ExecStart=%h/.local/bin/buku_git_push <span class="org-variable-name">ExecStart</span>=%h/.local/bin/buku_git_push
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org48bc751" class="outline-3"> <div id="outline-container-orgb5a6f5c" class="outline-3">
<h3 id="org48bc751">Timer</h3> <h3 id="orgb5a6f5c">Timer</h3>
<div class="outline-text-3" id="text-org48bc751"> <div class="outline-text-3" id="text-orgb5a6f5c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Sync All Mails every x hours <span class="org-variable-name">Description</span>=Sync All Mails every x hours
RefuseManualStart=no <span class="org-variable-name">RefuseManualStart</span>=no
RefuseManualStop=no <span class="org-variable-name">RefuseManualStop</span>=no
Wants=network-online.target <span class="org-variable-name">Wants</span>=network-online.target
After=network-online.target <span class="org-variable-name">After</span>=network-online.target
[Timer] [<span class="org-type">Timer</span>]
OnCalendar=*-*-* 16:00:00 <span class="org-variable-name">OnCalendar</span>=*-*-* <span class="org-highlight-numbers-number">16</span>:<span class="org-highlight-numbers-number">00</span>:<span class="org-highlight-numbers-number">00</span>
Persistent=true <span class="org-variable-name">Persistent</span>=true
Unit=bukugit.service <span class="org-variable-name">Unit</span>=bukugit.service
[Install] [<span class="org-type">Install</span>]
WantedBy=default.target <span class="org-variable-name">WantedBy</span>=default.target
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org8552721" class="outline-3"> <div id="outline-container-orgea90a0b" class="outline-3">
<h3 id="org8552721">Script</h3> <h3 id="orgea90a0b">Script</h3>
<div class="outline-text-3" id="text-org8552721"> <div class="outline-text-3" id="text-orgea90a0b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">cd ~/.local/share/buku/ <pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/
if [[ ! -z $(git status -s bookmarks.db) ]] <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-negation-char">!</span> -z $<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-sh-quoted-exec">git</span> status -s bookmarks.db<span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-rainbow-delimiters-depth-2">]</span><span class="org-rainbow-delimiters-depth-1">]</span>
then <span class="org-keyword">then</span>
git add bookmarks.db <span class="org-type">rm</span> bookmarks.org;
git commit -m "Changed bookmarks - $(date +%F)" buku -e bookmarks.org &amp;&amp; <span class="org-sh-escaped-newline">\</span>
git push <span class="org-type">cat</span> header.org bookmarks.org &gt; index.org &amp;&amp; <span class="org-sh-escaped-newline">\</span>
exit emacs index.org --batch -f org-html-export-to-html --kill &amp;&amp; <span class="org-sh-escaped-newline">\</span>
fi <span class="org-type">git</span> add index.html
<span class="org-type">git</span> add bookmarks.db &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<span class="org-type">git</span> commit -m <span class="org-string">"Changed bookmarks - </span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">date</span><span class="org-string"><span class="org-sh-quoted-exec"> +%F)</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<span class="org-type">git</span> push
<span class="org-keyword">exit</span>
<span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -211,106 +154,106 @@ fi
<h2 id="org1d68bb0">Check mail</h2> <h2 id="org1d68bb0">Check mail</h2>
<div class="outline-text-2" id="text-org1d68bb0"> <div class="outline-text-2" id="text-org1d68bb0">
</div> </div>
<div id="outline-container-org6acfd66" class="outline-3"> <div id="outline-container-orgd709ba5" class="outline-3">
<h3 id="org6acfd66">Service</h3> <h3 id="orgd709ba5">Service</h3>
<div class="outline-text-3" id="text-org6acfd66"> <div class="outline-text-3" id="text-orgd709ba5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Check new mails <span class="org-variable-name">Description</span>=Check new mails
RefuseManualStart=no <span class="org-variable-name">RefuseManualStart</span>=no
RefuseManualStop=yes <span class="org-variable-name">RefuseManualStop</span>=yes
[Service] [<span class="org-type">Service</span>]
Type=oneshot <span class="org-variable-name">Type</span>=oneshot
ExecStart=%h/.local/bin/checkmail -q <span class="org-variable-name">ExecStart</span>=%h/.local/bin/checkmail -q
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgc8b73e7" class="outline-3"> <div id="outline-container-orgf92bdcb" class="outline-3">
<h3 id="orgc8b73e7">Timer</h3> <h3 id="orgf92bdcb">Timer</h3>
<div class="outline-text-3" id="text-orgc8b73e7"> <div class="outline-text-3" id="text-orgf92bdcb">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Check Mail every x minutes <span class="org-variable-name">Description</span>=Check Mail every x minutes
RefuseManualStart=no <span class="org-variable-name">RefuseManualStart</span>=no
RefuseManualStop=no <span class="org-variable-name">RefuseManualStop</span>=no
Wants=network-online.target <span class="org-variable-name">Wants</span>=network-online.target
After=network-online.target <span class="org-variable-name">After</span>=network-online.target
Requires=checkmail.service <span class="org-variable-name">Requires</span>=checkmail.service
[Timer] [<span class="org-type">Timer</span>]
Persistent=false <span class="org-variable-name">Persistent</span>=false
OnBootSec=2min <span class="org-variable-name">OnBootSec</span>=2min
OnUnitActiveSec=5min <span class="org-variable-name">OnUnitActiveSec</span>=5min
AccuracySec=2min <span class="org-variable-name">AccuracySec</span>=2min
Unit=checkmail.service <span class="org-variable-name">Unit</span>=checkmail.service
[Install] [<span class="org-type">Install</span>]
WantedBy=default.target <span class="org-variable-name">WantedBy</span>=default.target
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgea90a0b" class="outline-3"> <div id="outline-container-orgccb3216" class="outline-3">
<h3 id="orgea90a0b">Script</h3> <h3 id="orgccb3216">Script</h3>
<div class="outline-text-3" id="text-orgea90a0b"> <div class="outline-text-3" id="text-orgccb3216">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">while [ -n "$1" ]; do # while loop starts <pre class="src src-bash"><span class="org-keyword">while</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">do</span> <span class="org-comment-delimiter"># </span><span class="org-comment">while loop starts</span>
case "$1" in <span class="org-keyword">case</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span><span class="org-keyword"> in</span>
-a) opt_all='--all' ;; # Check All inboxes -a) <span class="org-variable-name">opt_all</span>=<span class="org-string">'--all'</span> ;; <span class="org-comment-delimiter"># </span><span class="org-comment">Check All inboxes</span>
-v) opt_verbose='--verbose' ;; # Verbose -v) <span class="org-variable-name">opt_verbose</span>=<span class="org-string">'--verbose'</span> ;; <span class="org-comment-delimiter"># </span><span class="org-comment">Verbose</span>
-q) opt_quiet='--quiet' ;; # Quiet -q) <span class="org-variable-name">opt_quiet</span>=<span class="org-string">'--quiet'</span> ;; <span class="org-comment-delimiter"># </span><span class="org-comment">Quiet</span>
*) echo "Option $1 not recognized" ;; # In case you typed a different option *) <span class="org-type">echo</span> <span class="org-string">"Option </span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string"> not recognized"</span> ;; <span class="org-comment-delimiter"># </span><span class="org-comment">In case you typed a different option</span>
esac <span class="org-keyword">esac</span>
shift <span class="org-builtin">shift</span>
done <span class="org-keyword">done</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# Count number of mails <span class="org-comment-delimiter"># </span><span class="org-comment">Count number of mails</span>
gmail_old="$(ls ~/.mail/gmail/Inbox/new | wc -l)" <span class="org-variable-name">gmail_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/gmail/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
esrf_old="$(ls ~/.mail/esrf/Inbox/new | wc -l)" <span class="org-variable-name">esrf_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/esrf/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
ulg_old="$(ls ~/.mail/ulg/Inbox/new | wc -l)" <span class="org-variable-name">ulg_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/ulg/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
uliege_old="$(ls ~/.mail/uliege/Inbox/new | wc -l)" <span class="org-variable-name">uliege_old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/uliege/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# Retreive mails <span class="org-comment-delimiter"># </span><span class="org-comment">Retreive mails</span>
mbsync $opt_all $opt_verbose gmail-Home esrf-Home ulg-Home uliege-Home 2&gt;/tmp/mbsync.log mbsync $<span class="org-variable-name">opt_all</span> $<span class="org-variable-name">opt_verbose</span> gmail-Home esrf-Home ulg-Home uliege-Home <span class="org-highlight-numbers-number">2</span>&gt;/tmp/mbsync.log
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# Count number of mails <span class="org-comment-delimiter"># </span><span class="org-comment">Count number of mails</span>
gmail_new="$(ls ~/.mail/gmail/Inbox/new | wc -l)" <span class="org-variable-name">gmail_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/gmail/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
esrf_new="$(ls ~/.mail/esrf/Inbox/new | wc -l)" <span class="org-variable-name">esrf_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/esrf/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
ulg_new="$(ls ~/.mail/ulg/Inbox/new | wc -l)" <span class="org-variable-name">ulg_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/ulg/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
uliege_new="$(ls ~/.mail/uliege/Inbox/new | wc -l)" <span class="org-variable-name">uliege_new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">ls</span><span class="org-string"><span class="org-sh-quoted-exec"> ~/.mail/uliege/Inbox/new | wc -l)</span></span><span class="org-string">"</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# Total Number of new mails since last checking <span class="org-comment-delimiter"># </span><span class="org-comment">Total Number of new mails since last checking</span>
new="$(($gmail_new+$esrf_new+$ulg_new+$uliege_new))" <span class="org-variable-name">new</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$((</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">gmail_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">esrf_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">ulg_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">uliege_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">)"</span>
old="$(($gmail_old+$esrf_old+$ulg_old+$uliege_old))" <span class="org-variable-name">old</span>=<span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$((</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">gmail_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">esrf_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">ulg_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">uliege_old</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">)"</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# Notification <span class="org-comment-delimiter"># </span><span class="org-comment">Notification</span>
if [ "$new" -gt 0 ]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">new</span></span><span class="org-string">"</span> -gt <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
dunstify --replace=98465 'Mails ' "$(($gmail_new+$esrf_new+$ulg_new+$uliege_new)) new mail(s)" dunstify --replace=<span class="org-highlight-numbers-number">98465</span> <span class="org-string">'Mails &#63215;'</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$((</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">gmail_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">esrf_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">ulg_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">+</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">uliege_new</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">)</span></span><span class="org-string">) new mail(s)"</span>
fi <span class="org-keyword">fi</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
# Indexation and Tags <span class="org-comment-delimiter"># </span><span class="org-comment">Indexation and Tags</span>
if pgrep -f 'mu server'; then <span class="org-keyword">if</span> <span class="org-type">pgrep</span> -f <span class="org-string">'mu server'</span>; <span class="org-keyword">then</span>
emacsclient --eval '(mu4e-update-index)' emacsclient --eval <span class="org-string">'(mu4e-update-index)'</span>
else <span class="org-keyword">else</span>
mu index $opt_verbose $opt_quiet mu index $<span class="org-variable-name">opt_verbose</span> $<span class="org-variable-name">opt_quiet</span>
fi <span class="org-keyword">fi</span>
# ============================================================= <span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -321,44 +264,44 @@ fi
<h2 id="orgefb3320">Sync mail</h2> <h2 id="orgefb3320">Sync mail</h2>
<div class="outline-text-2" id="text-orgefb3320"> <div class="outline-text-2" id="text-orgefb3320">
</div> </div>
<div id="outline-container-org1f273c6" class="outline-3"> <div id="outline-container-orgcfd985d" class="outline-3">
<h3 id="org1f273c6">Service</h3> <h3 id="orgcfd985d">Service</h3>
<div class="outline-text-3" id="text-org1f273c6"> <div class="outline-text-3" id="text-orgcfd985d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Sync all mails <span class="org-variable-name">Description</span>=Sync all mails
RefuseManualStart=no <span class="org-variable-name">RefuseManualStart</span>=no
RefuseManualStop=yes <span class="org-variable-name">RefuseManualStop</span>=yes
[Service] [<span class="org-type">Service</span>]
Type=oneshot <span class="org-variable-name">Type</span>=oneshot
ExecStart=%h/.local/bin/checkmail -a -q <span class="org-variable-name">ExecStart</span>=%h/.local/bin/checkmail -a -q
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org9aa2ba5" class="outline-3"> <div id="outline-container-org1367b93" class="outline-3">
<h3 id="org9aa2ba5">Timer</h3> <h3 id="org1367b93">Timer</h3>
<div class="outline-text-3" id="text-org9aa2ba5"> <div class="outline-text-3" id="text-org1367b93">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Sync All Mails every x hours <span class="org-variable-name">Description</span>=Sync All Mails every x hours
RefuseManualStart=no <span class="org-variable-name">RefuseManualStart</span>=no
RefuseManualStop=no <span class="org-variable-name">RefuseManualStop</span>=no
Wants=network-online.target <span class="org-variable-name">Wants</span>=network-online.target
After=network-online.target <span class="org-variable-name">After</span>=network-online.target
Requires=syncmail.service <span class="org-variable-name">Requires</span>=syncmail.service
[Timer] [<span class="org-type">Timer</span>]
Persistent=false <span class="org-variable-name">Persistent</span>=false
OnBootSec=30min <span class="org-variable-name">OnBootSec</span>=30min
OnUnitActiveSec=300min <span class="org-variable-name">OnUnitActiveSec</span>=300min
AccuracySec=10min <span class="org-variable-name">AccuracySec</span>=10min
Unit=syncmail.service <span class="org-variable-name">Unit</span>=syncmail.service
[Install] [<span class="org-type">Install</span>]
WantedBy=default.target <span class="org-variable-name">WantedBy</span>=default.target
</pre> </pre>
</div> </div>
</div> </div>
@ -369,38 +312,38 @@ WantedBy=default.target
<h2 id="org2ff1601">Vdirsyncer</h2> <h2 id="org2ff1601">Vdirsyncer</h2>
<div class="outline-text-2" id="text-org2ff1601"> <div class="outline-text-2" id="text-org2ff1601">
</div> </div>
<div id="outline-container-orgc941c47" class="outline-3"> <div id="outline-container-orgbb80e97" class="outline-3">
<h3 id="orgc941c47">Service</h3> <h3 id="orgbb80e97">Service</h3>
<div class="outline-text-3" id="text-orgc941c47"> <div class="outline-text-3" id="text-orgbb80e97">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Synchronize calendars and contacts <span class="org-variable-name">Description</span>=Synchronize calendars and contacts
Documentation=https://vdirsyncer.readthedocs.org/ <span class="org-variable-name">Documentation</span>=https://vdirsyncer.readthedocs.org/
Wants=network-online.target <span class="org-variable-name">Wants</span>=network-online.target
After=network-online.target <span class="org-variable-name">After</span>=network-online.target
[Service] [<span class="org-type">Service</span>]
ExecStart=/usr/bin/vdirsyncer --verbosity "ERROR" sync <span class="org-variable-name">ExecStart</span>=/usr/bin/vdirsyncer --verbosity <span class="org-string">"ERROR"</span> sync
Type=oneshot <span class="org-variable-name">Type</span>=oneshot
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb5a6f5c" class="outline-3"> <div id="outline-container-org4c9436c" class="outline-3">
<h3 id="orgb5a6f5c">Timer</h3> <h3 id="org4c9436c">Timer</h3>
<div class="outline-text-3" id="text-orgb5a6f5c"> <div class="outline-text-3" id="text-org4c9436c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Synchronize vdirs <span class="org-variable-name">Description</span>=Synchronize vdirs
[Timer] [<span class="org-type">Timer</span>]
OnBootSec=5m <span class="org-variable-name">OnBootSec</span>=5m
OnUnitActiveSec=15m <span class="org-variable-name">OnUnitActiveSec</span>=15m
AccuracySec=5m <span class="org-variable-name">AccuracySec</span>=5m
[Install] [<span class="org-type">Install</span>]
WantedBy=timers.target <span class="org-variable-name">WantedBy</span>=timers.target
</pre> </pre>
</div> </div>
</div> </div>
@ -411,20 +354,20 @@ WantedBy=timers.target
<h2 id="orgb34591d">SSH Agent</h2> <h2 id="orgb34591d">SSH Agent</h2>
<div class="outline-text-2" id="text-orgb34591d"> <div class="outline-text-2" id="text-orgb34591d">
</div> </div>
<div id="outline-container-org10e8ec0" class="outline-3"> <div id="outline-container-orgb0b42d7" class="outline-3">
<h3 id="org10e8ec0">Service</h3> <h3 id="orgb0b42d7">Service</h3>
<div class="outline-text-3" id="text-org10e8ec0"> <div class="outline-text-3" id="text-orgb0b42d7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=SSH key agent <span class="org-variable-name">Description</span>=SSH key agent
[Service] [<span class="org-type">Service</span>]
Type=simple <span class="org-variable-name">Type</span>=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket <span class="org-variable-name">Environment</span>=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK <span class="org-variable-name">ExecStart</span>=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install] [<span class="org-type">Install</span>]
WantedBy=default.target <span class="org-variable-name">WantedBy</span>=default.target
</pre> </pre>
</div> </div>
</div> </div>
@ -435,19 +378,19 @@ WantedBy=default.target
<h2 id="orge82b3ac">Powertop</h2> <h2 id="orge82b3ac">Powertop</h2>
<div class="outline-text-2" id="text-orge82b3ac"> <div class="outline-text-2" id="text-orge82b3ac">
</div> </div>
<div id="outline-container-orgd482b17" class="outline-3"> <div id="outline-container-org88c131b" class="outline-3">
<h3 id="orgd482b17">Service</h3> <h3 id="org88c131b">Service</h3>
<div class="outline-text-3" id="text-orgd482b17"> <div class="outline-text-3" id="text-org88c131b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Powertop tunings <span class="org-variable-name">Description</span>=Powertop tunings
[Service] [<span class="org-type">Service</span>]
ExecStart=/usr/bin/powertop --auto-tune <span class="org-variable-name">ExecStart</span>=/usr/bin/powertop --auto-tune
RemainAfterExit=true <span class="org-variable-name">RemainAfterExit</span>=true
[Install] [<span class="org-type">Install</span>]
WantedBy=multi-user.target <span class="org-variable-name">WantedBy</span>=multi-user.target
</pre> </pre>
</div> </div>
</div> </div>
@ -458,25 +401,88 @@ WantedBy=multi-user.target
<h2 id="orgd4b9d58">Mopidy</h2> <h2 id="orgd4b9d58">Mopidy</h2>
<div class="outline-text-2" id="text-orgd4b9d58"> <div class="outline-text-2" id="text-orgd4b9d58">
</div> </div>
<div id="outline-container-orgb1764a7" class="outline-3"> <div id="outline-container-orgced338f" class="outline-3">
<h3 id="orgb1764a7">Service</h3> <h3 id="orgced338f">Service</h3>
<div class="outline-text-3" id="text-orgb1764a7"> <div class="outline-text-3" id="text-orgced338f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Unit] <pre class="src src-conf">[<span class="org-type">Unit</span>]
Description=Mopidy music server <span class="org-variable-name">Description</span>=Mopidy music server
After=avahi-daemon.service <span class="org-variable-name">After</span>=avahi-daemon.service
After=dbus.service <span class="org-variable-name">After</span>=dbus.service
After=network.target <span class="org-variable-name">After</span>=network.target
After=nss-lookup.target <span class="org-variable-name">After</span>=nss-lookup.target
After=pulseaudio.service <span class="org-variable-name">After</span>=pulseaudio.service
After=remote-fs.target <span class="org-variable-name">After</span>=remote-fs.target
After=sound.target <span class="org-variable-name">After</span>=sound.target
[Service] [<span class="org-type">Service</span>]
ExecStart=/usr/bin/mopidy --config ~/.config/mopidy/mopidy.conf <span class="org-variable-name">ExecStart</span>=/usr/bin/mopidy --config ~/.config/mopidy/mopidy.conf
[Install] [<span class="org-type">Install</span>]
WantedBy=multi-user.target <span class="org-variable-name">WantedBy</span>=multi-user.target
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-orgd17fb9d" class="outline-2">
<h2 id="orgd17fb9d">Brain Website</h2>
<div class="outline-text-2" id="text-orgd17fb9d">
</div>
<div id="outline-container-orga2a7998" class="outline-3">
<h3 id="orga2a7998">Service</h3>
<div class="outline-text-3" id="text-orga2a7998">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Brain Website everyday
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=yes
[<span class="org-type">Service</span>]
<span class="org-variable-name">Type</span>=oneshot
<span class="org-variable-name">ExecStart</span>=%h/.local/bin/brain_git_push
</pre>
</div>
</div>
</div>
<div id="outline-container-org6d59851" class="outline-3">
<h3 id="org6d59851">Timer</h3>
<div class="outline-text-3" id="text-org6d59851">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>]
<span class="org-variable-name">Description</span>=Sync Brain Website everyday
<span class="org-variable-name">RefuseManualStart</span>=no
<span class="org-variable-name">RefuseManualStop</span>=no
<span class="org-variable-name">Wants</span>=network-online.target
<span class="org-variable-name">After</span>=network-online.target
[<span class="org-type">Timer</span>]
<span class="org-variable-name">OnCalendar</span>=*-*-* <span class="org-highlight-numbers-number">16</span>:<span class="org-highlight-numbers-number">00</span>:<span class="org-highlight-numbers-number">00</span>
<span class="org-variable-name">Persistent</span>=true
<span class="org-variable-name">Unit</span>=braingit.service
[<span class="org-type">Install</span>]
<span class="org-variable-name">WantedBy</span>=default.target
</pre>
</div>
</div>
</div>
<div id="outline-container-org8d0c564" class="outline-3">
<h3 id="org8d0c564">Script</h3>
<div class="outline-text-3" id="text-org8d0c564">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/Cloud/brain-website/
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span><span class="org-rainbow-delimiters-depth-2">[</span> <span class="org-negation-char">!</span> -z $<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-sh-quoted-exec">git</span> status -s content/<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-keyword">then</span>
<span class="org-type">git</span> add content static &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<span class="org-type">git</span> commit -m <span class="org-string">"Update Content - </span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">date</span><span class="org-string"><span class="org-sh-quoted-exec"> +%F)</span></span><span class="org-string">"</span> &amp;&amp; <span class="org-sh-escaped-newline">\</span>
<span class="org-type">git</span> push
<span class="org-keyword">exit</span>
<span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -485,7 +491,7 @@ WantedBy=multi-user.target
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,251 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:19 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Termite Configuration</title> <title>Termite Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/> <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/> <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script> <script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head> </head>
<body> <body>
<div id="org-div-home-and-up"> <div id="org-div-home-and-up">
@ -395,7 +163,7 @@ for the JavaScript code in this tag.
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:19</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:40 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Torrent Configuration</title> <title>Torrent Configuration</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -52,50 +52,51 @@
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[Connection] <pre class="src src-conf">[<span class="org-type">Connection</span>]
password = &lt;&lt;get-password(passname="nas/transmission")&gt;&gt; <span class="org-variable-name">password</span> = &lt;&lt;get-password(passname=<span class="org-string">"nas/transmission"</span>)&gt;&gt;
username = tdehaeze <span class="org-variable-name">username</span> = tdehaeze
port = 9091 <span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">9091</span>
host = ***REMOVED*** <span class="org-variable-name">host</span> = ***REMOVED***
path = /transmission/rpc <span class="org-variable-name">path</span> = /transmission/rpc
ssl = False <span class="org-variable-name">ssl</span> = False
[Sorting] [<span class="org-type">Sorting</span>]
order = name <span class="org-variable-name">order</span> = name
[Filtering] [<span class="org-type">Filtering</span>]
filter = <span class="org-variable-name">filter</span> =
invert = False <span class="org-variable-name">invert</span> = False
[Misc] [<span class="org-type">Misc</span>]
compact_list = False <span class="org-variable-name">compact_list</span> = False
torrentname_is_progressbar = True <span class="org-variable-name">torrentname_is_progressbar</span> = True
file_viewer = xdg-open %%s <span class="org-variable-name">file_viewer</span> = xdg-open %%s
file_open_in_terminal = True <span class="org-variable-name">file_open_in_terminal</span> = True
[Colors] [<span class="org-type">Colors</span>]
title_seed = bg:green,fg:black <span class="org-variable-name">title_seed</span> = bg:green,fg:black
title_download = bg:blue,fg:black <span class="org-variable-name">title_download</span> = bg:blue,fg:black
title_idle = bg:cyan,fg:black <span class="org-variable-name">title_idle</span> = bg:cyan,fg:black
title_verify = bg:magenta,fg:black <span class="org-variable-name">title_verify</span> = bg:magenta,fg:black
title_paused = bg:black,fg:white <span class="org-variable-name">title_paused</span> = bg:black,fg:white
title_error = bg:red,fg:white <span class="org-variable-name">title_error</span> = bg:red,fg:white
download_rate = bg:black,fg:blue <span class="org-variable-name">download_rate</span> = bg:black,fg:blue
upload_rate = bg:black,fg:red <span class="org-variable-name">upload_rate</span> = bg:black,fg:red
eta+ratio = bg:black,fg:white <span class="org-variable-name">eta+ratio</span> = bg:black,fg:white
filter_status = bg:red,fg:black <span class="org-variable-name">filter_status</span> = bg:red,fg:black
dialog = bg:black,fg:white <span class="org-variable-name">dialog</span> = bg:black,fg:white
dialog_important = bg:red,fg:black <span class="org-variable-name">dialog_important</span> = bg:red,fg:black
button = bg:white,fg:black <span class="org-variable-name">button</span> = bg:white,fg:black
button_focused = bg:black,fg:white <span class="org-variable-name">button_focused</span> = bg:black,fg:white
file_prio_high = bg:red,fg:black <span class="org-variable-name">file_prio_high</span> = bg:red,fg:black
file_prio_normal = bg:white,fg:black <span class="org-variable-name">file_prio_normal</span> = bg:white,fg:black
file_prio_low = bg:yellow,fg:black <span class="org-variable-name">file_prio_low</span> = bg:yellow,fg:black
file_prio_off = bg:blue,fg:black <span class="org-variable-name">file_prio_off</span> = bg:blue,fg:black
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgef992db" class="outline-2"> <div id="outline-container-orgef992db" class="outline-2">
<h2 id="orgef992db">Aria2</h2> <h2 id="orgef992db">Aria2</h2>
<div class="outline-text-2" id="text-orgef992db"> <div class="outline-text-2" id="text-orgef992db">
@ -105,17 +106,17 @@ file_prio_off = bg:blue,fg:black
<div class="outline-text-3" id="text-orga6f718b"> <div class="outline-text-3" id="text-orga6f718b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">continue <pre class="src src-conf">continue
daemon=true <span class="org-variable-name">daemon</span>=true
dir=/home/thomas/Downloads <span class="org-variable-name">dir</span>=/home/thomas/Downloads
max-connection-per-server=4 <span class="org-variable-name">max-connection-per-server</span>=<span class="org-highlight-numbers-number">4</span>
max-concurrent-downloads=3 <span class="org-variable-name">max-concurrent-downloads</span>=<span class="org-highlight-numbers-number">3</span>
enable-rpc=true <span class="org-variable-name">enable-rpc</span>=true
rpc-listen-all=true <span class="org-variable-name">rpc-listen-all</span>=true
http-user=dehaeze.thomas@gmail.com <span class="org-variable-name">http-user</span>=dehaeze.thomas@gmail.com
http-passwd=&lt;&lt;get-password(passname="1fichier.com/dehaeze.thomas@gmail.com")&gt;&gt; <span class="org-variable-name">http-passwd</span>=&lt;&lt;get-password(passname=<span class="org-string">"1fichier.com/dehaeze.thomas@gmail.com"</span>)&gt;&gt;
on-download-start=/home/thomas/.config/aria2/download-start.sh <span class="org-variable-name">on-download-start</span>=/home/thomas/.config/aria2/download-start.sh
on-download-complete=/home/thomas/.config/aria2/download-complete.sh <span class="org-variable-name">on-download-complete</span>=/home/thomas/.config/aria2/download-complete.sh
on-download-error=/home/thomas/.config/aria2/download-error.sh <span class="org-variable-name">on-download-error</span>=/home/thomas/.config/aria2/download-error.sh
</pre> </pre>
</div> </div>
</div> </div>
@ -125,7 +126,7 @@ on-download-error=/home/thomas/.config/aria2/download-error.sh
<h3 id="org568c0d2">Download Start Script</h3> <h3 id="org568c0d2">Download Start Script</h3>
<div class="outline-text-3" id="text-org568c0d2"> <div class="outline-text-3" id="text-org568c0d2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">dunstify "DL Started" "$(basename \"$3\" 2&gt; /dev/null)" <pre class="src src-bash">dunstify <span class="org-string">"DL Started"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</span><span class="org-string"><span class="org-sh-quoted-exec"> \"</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2&gt; /dev/null)</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -135,7 +136,7 @@ on-download-error=/home/thomas/.config/aria2/download-error.sh
<h3 id="org92b0daf">Download Complete Script</h3> <h3 id="org92b0daf">Download Complete Script</h3>
<div class="outline-text-3" id="text-org92b0daf"> <div class="outline-text-3" id="text-org92b0daf">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">dunstify "DL Completed" "$(basename \"$3\" 2&gt; /dev/null)" <pre class="src src-bash">dunstify <span class="org-string">"DL Completed"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</span><span class="org-string"><span class="org-sh-quoted-exec"> \"</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2&gt; /dev/null)</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -145,7 +146,7 @@ on-download-error=/home/thomas/.config/aria2/download-error.sh
<h3 id="orgf16fd52">Download Error Script</h3> <h3 id="orgf16fd52">Download Error Script</h3>
<div class="outline-text-3" id="text-orgf16fd52"> <div class="outline-text-3" id="text-orgf16fd52">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">dunstify --urgency=critical "DL Failed" "$(basename \"$3\" 2&gt; /dev/null)" <pre class="src src-bash">dunstify --urgency=critical <span class="org-string">"DL Failed"</span> <span class="org-string">"</span><span class="org-string"><span class="org-sh-quoted-exec">$(</span></span><span class="org-sh-quoted-exec">basename</span><span class="org-string"><span class="org-sh-quoted-exec"> \"</span></span><span class="org-string"><span class="org-constant"><span class="org-sh-quoted-exec">$</span></span></span><span class="org-string"><span class="org-variable-name"><span class="org-sh-quoted-exec">3</span></span></span><span class="org-string"><span class="org-sh-quoted-exec">\" 2&gt; /dev/null)</span></span><span class="org-string">"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -154,7 +155,7 @@ on-download-error=/home/thomas/.config/aria2/download-error.sh
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,229 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-04-05 dim. 11:29 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Vim Config</title> <title>Vim Config</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/> <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/> <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script> <script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript">
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt GPL-v3-or-Later
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
// @license-end
</script>
</head> </head>
<body> <body>
<div id="org-div-home-and-up"> <div id="org-div-home-and-up">
@ -254,8 +44,8 @@
<li><a href="#org74ef746">Tmux</a></li> <li><a href="#org74ef746">Tmux</a></li>
<li><a href="#org824d2ab">Syntax</a></li> <li><a href="#org824d2ab">Syntax</a></li>
<li><a href="#orgf340ea7">Markdown</a></li> <li><a href="#orgf340ea7">Markdown</a></li>
<li><a href="#org2855dff">LaTeX</a></li> <li><a href="#orgd42161f">LaTeX</a></li>
<li><a href="#org26daa75">Matlab</a></li> <li><a href="#orgf35353b">Matlab</a></li>
<li><a href="#org97199a9">Org Mode</a></li> <li><a href="#org97199a9">Org Mode</a></li>
<li><a href="#orgdc1ffed">Others / To test</a></li> <li><a href="#orgdc1ffed">Others / To test</a></li>
<li><a href="#org9dadb1b">Plug End</a></li> <li><a href="#org9dadb1b">Plug End</a></li>
@ -289,15 +79,14 @@
</li> </li>
<li><a href="#org9efbaf9">Filetypes</a> <li><a href="#org9efbaf9">Filetypes</a>
<ul> <ul>
<li><a href="#org17185dd">Vim Which Key</a></li> <li><a href="#org4c8e0af">Vim Which Key</a></li>
<li><a href="#org3fe94b3">Mails</a></li> <li><a href="#org3fe94b3">Mails</a></li>
<li><a href="#org6672ae9">MarkDown</a></li> <li><a href="#org6672ae9">MarkDown</a></li>
<li><a href="#orgd42161f">LaTeX</a></li> <li><a href="#orgcfe085e">LaTeX</a></li>
<li><a href="#orgdbd486b">Arduino</a></li> <li><a href="#orgdbd486b">Arduino</a></li>
<li><a href="#orgf0c3730">Python</a></li> <li><a href="#orgf0c3730">Python</a></li>
<li><a href="#orgf35353b">Matlab</a></li> <li><a href="#orgdee16ca">Matlab</a></li>
<li><a href="#org8951ba1">Sage</a></li> <li><a href="#org27ccd54">Save Which Key Configuration</a></li>
<li><a href="#org63ebf9d">Save Which Key Configuration</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org48e4b16">Plugins Config</a> <li><a href="#org48e4b16">Plugins Config</a>
@ -326,7 +115,7 @@
</li> </li>
<li><a href="#org75b0074">Bindings</a> <li><a href="#org75b0074">Bindings</a>
<ul> <ul>
<li><a href="#org4c8e0af">Vim Which Key</a></li> <li><a href="#org6a2693e">Vim Which Key</a></li>
<li><a href="#orgac7157e">Direct ones</a></li> <li><a href="#orgac7157e">Direct ones</a></li>
<li><a href="#orgb41f651">Quit</a></li> <li><a href="#orgb41f651">Quit</a></li>
<li><a href="#org9159c40">Files</a></li> <li><a href="#org9159c40">Files</a></li>
@ -342,7 +131,7 @@
<li><a href="#org2e47a1e">Text</a></li> <li><a href="#org2e47a1e">Text</a></li>
<li><a href="#org7ee13d9">Config</a></li> <li><a href="#org7ee13d9">Config</a></li>
<li><a href="#org480d260">Insert</a></li> <li><a href="#org480d260">Insert</a></li>
<li><a href="#org27ccd54">Save Which Key Configuration</a></li> <li><a href="#org8838dd6">Save Which Key Configuration</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -554,9 +343,9 @@ Plug 'nelstrom/vim-markdown-folding' " Fold markdown
</div> </div>
</div> </div>
<div id="outline-container-org2855dff" class="outline-3"> <div id="outline-container-orgd42161f" class="outline-3">
<h3 id="org2855dff">LaTeX</h3> <h3 id="orgd42161f">LaTeX</h3>
<div class="outline-text-3" id="text-org2855dff"> <div class="outline-text-3" id="text-orgd42161f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-vimrc">Plug 'lervag/vimtex', { 'for': 'tex' } " A modern vim plugin for editing LaTeX files. <pre class="src src-vimrc">Plug 'lervag/vimtex', { 'for': 'tex' } " A modern vim plugin for editing LaTeX files.
</pre> </pre>
@ -564,9 +353,9 @@ Plug 'nelstrom/vim-markdown-folding' " Fold markdown
</div> </div>
</div> </div>
<div id="outline-container-org26daa75" class="outline-3"> <div id="outline-container-orgf35353b" class="outline-3">
<h3 id="org26daa75">Matlab</h3> <h3 id="orgf35353b">Matlab</h3>
<div class="outline-text-3" id="text-org26daa75"> <div class="outline-text-3" id="text-orgf35353b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-vimrc">Plug 'tdehaeze/matlab-vim', { 'for': 'matlab' } " Edit Matlab M-files in Vim editor <pre class="src src-vimrc">Plug 'tdehaeze/matlab-vim', { 'for': 'matlab' } " Edit Matlab M-files in Vim editor
Plug 'djoshea/vim-matlab-fold', { 'for': 'matlab' } " Vim code folding for Matlab files Plug 'djoshea/vim-matlab-fold', { 'for': 'matlab' } " Vim code folding for Matlab files
@ -1098,9 +887,9 @@ snoremap &lt;C-K&gt; &lt;Esc&gt;b[sviw&lt;C-G&gt;
<h2 id="org9efbaf9">Filetypes</h2> <h2 id="org9efbaf9">Filetypes</h2>
<div class="outline-text-2" id="text-org9efbaf9"> <div class="outline-text-2" id="text-org9efbaf9">
</div> </div>
<div id="outline-container-org17185dd" class="outline-3"> <div id="outline-container-org4c8e0af" class="outline-3">
<h3 id="org17185dd">Vim Which Key</h3> <h3 id="org4c8e0af">Vim Which Key</h3>
<div class="outline-text-3" id="text-org17185dd"> <div class="outline-text-3" id="text-org4c8e0af">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-vimrc">nnoremap &lt;silent&gt; &lt;localleader&gt; :&lt;c-u&gt;WhichKey ','&lt;CR&gt; <pre class="src src-vimrc">nnoremap &lt;silent&gt; &lt;localleader&gt; :&lt;c-u&gt;WhichKey ','&lt;CR&gt;
@ -1130,13 +919,12 @@ au BufRead,BufNewFile *.md setlocal spell spelllang=fr,en
</div> </div>
</div> </div>
<div id="outline-container-orgd42161f" class="outline-3"> <div id="outline-container-orgcfe085e" class="outline-3">
<h3 id="orgd42161f">LaTeX</h3> <h3 id="orgcfe085e">LaTeX</h3>
<div class="outline-text-3" id="text-orgd42161f"> <div class="outline-text-3" id="text-orgcfe085e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-vimrc">" TODO : améliorer ça <pre class="src src-vimrc">au BufRead,BufNewFile *.tikz set filetype=tex
au BufRead,BufNewFile *.tikz set filetype=tex let tex_no_error=1 " used to not highlight underscores
let tex_no_error=1 " TODO: used to not highlight underscores
au BufRead,BufNewFile *.tex set filetype=tex au BufRead,BufNewFile *.tex set filetype=tex
au BufRead,BufNewFile *.tex let b:AutoPairs={'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`', '$':'$'} au BufRead,BufNewFile *.tex let b:AutoPairs={'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`', '$':'$'}
@ -1195,8 +983,6 @@ au FileType python nmap &lt;buffer&gt; &lt;localleader&gt;&lt;localleader&gt; &l
au FileType python vmap &lt;buffer&gt; &lt;localleader&gt;&lt;localleader&gt; &lt;Plug&gt;SlimeRegionSend au FileType python vmap &lt;buffer&gt; &lt;localleader&gt;&lt;localleader&gt; &lt;Plug&gt;SlimeRegionSend
" CD to directory of current file " CD to directory of current file
" TODO - Should enter the command. This just output the command without runing
" it...
au FileType python nmap &lt;buffer&gt; &lt;localleader&gt;c :SlimeSend0('cd '.expand('%:p:h'))&lt;CR&gt; au FileType python nmap &lt;buffer&gt; &lt;localleader&gt;c :SlimeSend0('cd '.expand('%:p:h'))&lt;CR&gt;
" let python_highlight_all = 1 " let python_highlight_all = 1
@ -1220,11 +1006,11 @@ au FileType python nmap &lt;buffer&gt; &lt;localleader&gt;c :SlimeSend0('cd '.ex
</div> </div>
</div> </div>
<div id="outline-container-orgf35353b" class="outline-3"> <div id="outline-container-orgdee16ca" class="outline-3">
<h3 id="orgf35353b">Matlab</h3> <h3 id="orgdee16ca">Matlab</h3>
<div class="outline-text-3" id="text-orgf35353b"> <div class="outline-text-3" id="text-orgdee16ca">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-vimrc">" TODO Run Section (delimited by %%) <pre class="src src-vimrc">" Run Section (delimited by %%)
au FileType matlab nmap &lt;buffer&gt; &lt;localleader&gt;mm &lt;Plug&gt;SlimeParagraphSend au FileType matlab nmap &lt;buffer&gt; &lt;localleader&gt;mm &lt;Plug&gt;SlimeParagraphSend
let g:which_key_map_local.m = { 'name' : '+matlab' } let g:which_key_map_local.m = { 'name' : '+matlab' }
@ -1233,10 +1019,10 @@ au FileType matlab vmap &lt;buffer&gt; &lt;localleader&gt;mm &lt;Plug&gt;SlimeRe
let g:which_key_map_local.mm = 'run-code' let g:which_key_map_local.mm = 'run-code'
func! GetSelectedText() func! GetSelectedText()
normal gv"xy normal gv"xy
let result = getreg("x") let result = getreg("x")
normal gv normal gv
return result return result
endfunc endfunc
" Help on the current selection " Help on the current selection
@ -1267,23 +1053,9 @@ let g:which_key_map_local.mr = 'workspace'
</div> </div>
</div> </div>
<div id="outline-container-org8951ba1" class="outline-3"> <div id="outline-container-org27ccd54" class="outline-3">
<h3 id="org8951ba1">Sage</h3> <h3 id="org27ccd54">Save Which Key Configuration</h3>
<div class="outline-text-3" id="text-org8951ba1"> <div class="outline-text-3" id="text-org27ccd54">
<div class="org-src-container">
<pre class="src src-vimrc">" TODO Run Section
au FileType sage.python nmap &lt;buffer&gt; &lt;localleader&gt;&lt;localleader&gt; &lt;Plug&gt;SlimeParagraphSend
" Run Selected text
au FileType sage.python vmap &lt;buffer&gt; &lt;localleader&gt;&lt;localleader&gt; &lt;Plug&gt;SlimeRegionSend
</pre>
</div>
</div>
</div>
<div id="outline-container-org63ebf9d" class="outline-3">
<h3 id="org63ebf9d">Save Which Key Configuration</h3>
<div class="outline-text-3" id="text-org63ebf9d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-vimrc">call which_key#register(',', "g:which_key_map_local") <pre class="src src-vimrc">call which_key#register(',', "g:which_key_map_local")
</pre> </pre>
@ -1661,9 +1433,9 @@ let g:EditorConfig_exclude_patterns = ['fugitive://.*']
<h2 id="org75b0074">Bindings</h2> <h2 id="org75b0074">Bindings</h2>
<div class="outline-text-2" id="text-org75b0074"> <div class="outline-text-2" id="text-org75b0074">
</div> </div>
<div id="outline-container-org4c8e0af" class="outline-3"> <div id="outline-container-org6a2693e" class="outline-3">
<h3 id="org4c8e0af">Vim Which Key</h3> <h3 id="org6a2693e">Vim Which Key</h3>
<div class="outline-text-3" id="text-org4c8e0af"> <div class="outline-text-3" id="text-org6a2693e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-vimrc">nnoremap &lt;silent&gt; &lt;leader&gt; :WhichKey '&lt;Space&gt;'&lt;cr&gt; <pre class="src src-vimrc">nnoremap &lt;silent&gt; &lt;leader&gt; :WhichKey '&lt;Space&gt;'&lt;cr&gt;
@ -1731,10 +1503,8 @@ let g:which_key_map.f.f = 'find-file'
" Find File corresping to Word " Find File corresping to Word
nnoremap &lt;leader&gt;fw nnoremap &lt;leader&gt;fw
\ :call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', expand('&lt;cword&gt;')]}))&lt;cr&gt; \ :call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', expand('&lt;cword&gt;')]}))&lt;cr&gt;
" TODO - Add visual keymap
" vnoremap &lt;leader&gt;fw
" \ :call fzf#vim#files('.', fzf#vim#with_preview({'options': ['--query', &lt;C-r&gt;0]}))&lt;cr&gt;
let g:which_key_map.f.w = 'find-file-word' let g:which_key_map.f.w = 'find-file-word'
</pre> </pre>
</div> </div>
@ -1902,19 +1672,19 @@ nnoremap &lt;leader&gt;wm :call MaximizeToggle()&lt;CR&gt;
let g:which_key_map.w.m = 'win-maximize' let g:which_key_map.w.m = 'win-maximize'
function! MaximizeToggle() function! MaximizeToggle()
if exists("s:maximize_session") if exists("s:maximize_session")
exec "source " . s:maximize_session exec "source " . s:maximize_session
call delete(s:maximize_session) call delete(s:maximize_session)
unlet s:maximize_session unlet s:maximize_session
let &amp;hidden=s:maximize_hidden_save let &amp;hidden=s:maximize_hidden_save
unlet s:maximize_hidden_save unlet s:maximize_hidden_save
else else
let s:maximize_hidden_save = &amp;hidden let s:maximize_hidden_save = &amp;hidden
let s:maximize_session = tempname() let s:maximize_session = tempname()
set hidden set hidden
exec "mksession! " . s:maximize_session exec "mksession! " . s:maximize_session
only only
endif endif
endfunction endfunction
</pre> </pre>
</div> </div>
@ -2020,7 +1790,6 @@ noremap &lt;leader&gt;sw :exe ':Rg ' . expand('&lt;cword&gt;')&lt;CR&gt;
let g:which_key_map.s.w = 'search-word' let g:which_key_map.s.w = 'search-word'
" Search todo keyboard " Search todo keyboard
" TODO - should not have to press enter
nnoremap &lt;leader&gt;st :Grepper -tool rg -query TODO&lt;CR&gt; nnoremap &lt;leader&gt;st :Grepper -tool rg -query TODO&lt;CR&gt;
let g:which_key_map.s.t = 'search-todos' let g:which_key_map.s.t = 'search-todos'
</pre> </pre>
@ -2259,9 +2028,9 @@ let g:which_key_map.i.s = 'insert-snippet'
</div> </div>
</div> </div>
<div id="outline-container-org27ccd54" class="outline-3"> <div id="outline-container-org8838dd6" class="outline-3">
<h3 id="org27ccd54">Save Which Key Configuration</h3> <h3 id="org8838dd6">Save Which Key Configuration</h3>
<div class="outline-text-3" id="text-org27ccd54"> <div class="outline-text-3" id="text-org8838dd6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-vimrc">call which_key#register('&lt;Space&gt;', "g:which_key_map") <pre class="src src-vimrc">call which_key#register('&lt;Space&gt;', "g:which_key_map")
</pre> </pre>
@ -2272,7 +2041,7 @@ let g:which_key_map.i.s = 'insert-snippet'
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-04-05 dim. 11:29</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-05-26 mar. 08:40 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Configuration Files related to Xorg</title> <title>Configuration Files related to Xorg</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
@ -49,29 +49,29 @@
<h3 id="org97a3062">Colors</h3> <h3 id="org97a3062">Colors</h3>
<div class="outline-text-3" id="text-org97a3062"> <div class="outline-text-3" id="text-org97a3062">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">#define base00 #32302f <pre class="src src-conf"><span class="org-comment-delimiter">#</span><span class="org-comment">define base00 #32302f</span>
#define base01 #3c3836 <span class="org-comment-delimiter">#</span><span class="org-comment">define base01 #3c3836</span>
#define base02 #504945 <span class="org-comment-delimiter">#</span><span class="org-comment">define base02 #504945</span>
#define base03 #665c54 <span class="org-comment-delimiter">#</span><span class="org-comment">define base03 #665c54</span>
#define base04 #bdae93 <span class="org-comment-delimiter">#</span><span class="org-comment">define base04 #bdae93</span>
#define base05 #d5c4a1 <span class="org-comment-delimiter">#</span><span class="org-comment">define base05 #d5c4a1</span>
#define base06 #ebdbb2 <span class="org-comment-delimiter">#</span><span class="org-comment">define base06 #ebdbb2</span>
#define base07 #fbf1c7 <span class="org-comment-delimiter">#</span><span class="org-comment">define base07 #fbf1c7</span>
#define base08 #fb4934 <span class="org-comment-delimiter">#</span><span class="org-comment">define base08 #fb4934</span>
#define base09 #fe8019 <span class="org-comment-delimiter">#</span><span class="org-comment">define base09 #fe8019</span>
#define base0A #fabd2f <span class="org-comment-delimiter">#</span><span class="org-comment">define base0A #fabd2f</span>
#define base0B #b8bb26 <span class="org-comment-delimiter">#</span><span class="org-comment">define base0B #b8bb26</span>
#define base0C #8ec07c <span class="org-comment-delimiter">#</span><span class="org-comment">define base0C #8ec07c</span>
#define base0D #83a598 <span class="org-comment-delimiter">#</span><span class="org-comment">define base0D #83a598</span>
#define base0E #d3869b <span class="org-comment-delimiter">#</span><span class="org-comment">define base0E #d3869b</span>
#define base0F #d65d0e <span class="org-comment-delimiter">#</span><span class="org-comment">define base0F #d65d0e</span>
*foreground: base05 *foreground: base05
#ifdef background_opacity <span class="org-comment-delimiter">#</span><span class="org-comment">ifdef background_opacity</span>
*background: [background_opacity]base00 *background: [background_opacity]base00
#else <span class="org-comment-delimiter">#</span><span class="org-comment">else</span>
*background: base00 *background: base00
#endif <span class="org-comment-delimiter">#</span><span class="org-comment">endif</span>
*cursorColor: base05 *cursorColor: base05
*color0: base00 *color0: base00
@ -92,8 +92,8 @@
*color14: base0C *color14: base0C
*color15: base07 *color15: base07
! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt), ! Note: colors beyond <span class="org-highlight-numbers-number">15</span> might not be loaded (e.g., xterm, urxvt),
! use 'shell' template to set these if necessary ! use <span class="org-string">'shell'</span> template to set these if necessary
*color16: base09 *color16: base09
*color17: base0F *color17: base0F
*color18: base01 *color18: base01
@ -109,12 +109,12 @@
<h3 id="orgb20ef40">Fonts</h3> <h3 id="orgb20ef40">Fonts</h3>
<div class="outline-text-3" id="text-orgb20ef40"> <div class="outline-text-3" id="text-orgb20ef40">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">Xft.dpi: 96 <pre class="src src-conf">Xft.dpi: <span class="org-highlight-numbers-number">96</span>
Xft.autohint: 0 Xft.autohint: <span class="org-highlight-numbers-number">0</span>
Xft.lcdfilter: lcddefault Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull Xft.hintstyle: hintfull
Xft.hinting: 1 Xft.hinting: <span class="org-highlight-numbers-number">1</span>
Xft.antialias: 1 Xft.antialias: <span class="org-highlight-numbers-number">1</span>
Xft.rgba: rgb Xft.rgba: rgb
</pre> </pre>
</div> </div>
@ -126,7 +126,7 @@ Xft.rgba: rgb
<div class="outline-text-3" id="text-org2f75682"> <div class="outline-text-3" id="text-org2f75682">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">Xcursor.theme: Breeze <pre class="src src-conf">Xcursor.theme: Breeze
Xcursor.size: 0 Xcursor.size: <span class="org-highlight-numbers-number">0</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -137,254 +137,254 @@ Xcursor.size: 0
<h2 id="org5283ed8">Xmodmap</h2> <h2 id="org5283ed8">Xmodmap</h2>
<div class="outline-text-2" id="text-org5283ed8"> <div class="outline-text-2" id="text-org5283ed8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">keycode 8 = <pre class="src src-conf">keycode <span class="org-highlight-numbers-number">8</span> =
keycode 9 = Escape NoSymbol Escape keycode <span class="org-highlight-numbers-number">9</span> = Escape NoSymbol Escape
keycode 10 = 1 exclam 1 exclam keycode <span class="org-highlight-numbers-number">10</span> = <span class="org-highlight-numbers-number">1</span> exclam <span class="org-highlight-numbers-number">1</span> exclam
keycode 11 = 2 at 2 at keycode <span class="org-highlight-numbers-number">11</span> = <span class="org-highlight-numbers-number">2</span> at <span class="org-highlight-numbers-number">2</span> at
keycode 12 = 3 numbersign 3 numbersign keycode <span class="org-highlight-numbers-number">12</span> = <span class="org-highlight-numbers-number">3</span> numbersign <span class="org-highlight-numbers-number">3</span> numbersign
keycode 13 = 4 dollar 4 dollar keycode <span class="org-highlight-numbers-number">13</span> = <span class="org-highlight-numbers-number">4</span> dollar <span class="org-highlight-numbers-number">4</span> dollar
keycode 14 = 5 percent 5 percent keycode <span class="org-highlight-numbers-number">14</span> = <span class="org-highlight-numbers-number">5</span> percent <span class="org-highlight-numbers-number">5</span> percent
keycode 15 = 6 asciicircum 6 asciicircum keycode <span class="org-highlight-numbers-number">15</span> = <span class="org-highlight-numbers-number">6</span> asciicircum <span class="org-highlight-numbers-number">6</span> asciicircum
keycode 16 = 7 ampersand 7 ampersand keycode <span class="org-highlight-numbers-number">16</span> = <span class="org-highlight-numbers-number">7</span> ampersand <span class="org-highlight-numbers-number">7</span> ampersand
keycode 17 = 8 asterisk 8 asterisk keycode <span class="org-highlight-numbers-number">17</span> = <span class="org-highlight-numbers-number">8</span> asterisk <span class="org-highlight-numbers-number">8</span> asterisk
keycode 18 = 9 parenleft 9 parenleft keycode <span class="org-highlight-numbers-number">18</span> = <span class="org-highlight-numbers-number">9</span> parenleft <span class="org-highlight-numbers-number">9</span> parenleft
keycode 19 = 0 parenright 0 parenright keycode <span class="org-highlight-numbers-number">19</span> = <span class="org-highlight-numbers-number">0</span> parenright <span class="org-highlight-numbers-number">0</span> parenright
keycode 20 = minus underscore minus underscore keycode <span class="org-highlight-numbers-number">20</span> = minus underscore minus underscore
keycode 21 = equal plus equal plus keycode <span class="org-highlight-numbers-number">21</span> = equal plus equal plus
keycode 22 = BackSpace BackSpace BackSpace BackSpace keycode <span class="org-highlight-numbers-number">22</span> = BackSpace BackSpace BackSpace BackSpace
keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab keycode <span class="org-highlight-numbers-number">23</span> = Tab ISO_Left_Tab Tab ISO_Left_Tab
keycode 24 = q Q q Q keycode <span class="org-highlight-numbers-number">24</span> = q Q q Q
keycode 25 = w W w W keycode <span class="org-highlight-numbers-number">25</span> = w W w W
keycode 26 = e E e E keycode <span class="org-highlight-numbers-number">26</span> = e E e E
keycode 27 = r R r R keycode <span class="org-highlight-numbers-number">27</span> = r R r R
keycode 28 = t T t T keycode <span class="org-highlight-numbers-number">28</span> = t T t T
keycode 29 = y Y y Y keycode <span class="org-highlight-numbers-number">29</span> = y Y y Y
keycode 30 = u U u U keycode <span class="org-highlight-numbers-number">30</span> = u U u U
keycode 31 = i I i I keycode <span class="org-highlight-numbers-number">31</span> = i I i I
keycode 32 = o O o O keycode <span class="org-highlight-numbers-number">32</span> = o O o O
keycode 33 = p P p P keycode <span class="org-highlight-numbers-number">33</span> = p P p P
keycode 34 = bracketleft braceleft bracketleft braceleft keycode <span class="org-highlight-numbers-number">34</span> = bracketleft braceleft bracketleft braceleft
keycode 35 = bracketright braceright bracketright braceright keycode <span class="org-highlight-numbers-number">35</span> = bracketright braceright bracketright braceright
keycode 36 = Return NoSymbol Return keycode <span class="org-highlight-numbers-number">36</span> = Return NoSymbol Return
keycode 37 = Control_L NoSymbol Control_L keycode <span class="org-highlight-numbers-number">37</span> = Control_L NoSymbol Control_L
keycode 38 = a A a A keycode <span class="org-highlight-numbers-number">38</span> = a A a A
keycode 39 = s S s S keycode <span class="org-highlight-numbers-number">39</span> = s S s S
keycode 40 = d D d D keycode <span class="org-highlight-numbers-number">40</span> = d D d D
keycode 41 = f F f F keycode <span class="org-highlight-numbers-number">41</span> = f F f F
keycode 42 = g G g G keycode <span class="org-highlight-numbers-number">42</span> = g G g G
keycode 43 = h H h H keycode <span class="org-highlight-numbers-number">43</span> = h H h H
keycode 44 = j J j J keycode <span class="org-highlight-numbers-number">44</span> = j J j J
keycode 45 = k K k K keycode <span class="org-highlight-numbers-number">45</span> = k K k K
keycode 46 = l L l L keycode <span class="org-highlight-numbers-number">46</span> = l L l L
keycode 47 = semicolon colon semicolon colon keycode <span class="org-highlight-numbers-number">47</span> = semicolon colon semicolon colon
keycode 48 = apostrophe quotedbl apostrophe quotedbl keycode <span class="org-highlight-numbers-number">48</span> = apostrophe quotedbl apostrophe quotedbl
keycode 49 = grave asciitilde grave asciitilde keycode <span class="org-highlight-numbers-number">49</span> = grave asciitilde grave asciitilde
keycode 50 = Shift_L NoSymbol Shift_L keycode <span class="org-highlight-numbers-number">50</span> = Shift_L NoSymbol Shift_L
keycode 51 = backslash bar backslash bar keycode <span class="org-highlight-numbers-number">51</span> = backslash bar backslash bar
keycode 52 = z Z z Z keycode <span class="org-highlight-numbers-number">52</span> = z Z z Z
keycode 53 = x X x X keycode <span class="org-highlight-numbers-number">53</span> = x X x X
keycode 54 = c C c C keycode <span class="org-highlight-numbers-number">54</span> = c C c C
keycode 55 = v V v V keycode <span class="org-highlight-numbers-number">55</span> = v V v V
keycode 56 = b B b B keycode <span class="org-highlight-numbers-number">56</span> = b B b B
keycode 57 = n N n N keycode <span class="org-highlight-numbers-number">57</span> = n N n N
keycode 58 = m M m M keycode <span class="org-highlight-numbers-number">58</span> = m M m M
keycode 59 = comma less comma less keycode <span class="org-highlight-numbers-number">59</span> = comma less comma less
keycode 60 = period greater period greater keycode <span class="org-highlight-numbers-number">60</span> = period greater period greater
keycode 61 = slash question slash question keycode <span class="org-highlight-numbers-number">61</span> = slash question slash question
keycode 62 = Shift_R NoSymbol Shift_R keycode <span class="org-highlight-numbers-number">62</span> = Shift_R NoSymbol Shift_R
keycode 63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab keycode <span class="org-highlight-numbers-number">63</span> = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab
keycode 64 = Alt_L Meta_L Alt_L Meta_L keycode <span class="org-highlight-numbers-number">64</span> = Alt_L Meta_L Alt_L Meta_L
keycode 65 = space NoSymbol space keycode <span class="org-highlight-numbers-number">65</span> = space NoSymbol space
keycode 66 = Caps_Lock NoSymbol Caps_Lock keycode <span class="org-highlight-numbers-number">66</span> = Caps_Lock NoSymbol Caps_Lock
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1 keycode <span class="org-highlight-numbers-number">67</span> = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2 keycode <span class="org-highlight-numbers-number">68</span> = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3 keycode <span class="org-highlight-numbers-number">69</span> = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4 keycode <span class="org-highlight-numbers-number">70</span> = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5 keycode <span class="org-highlight-numbers-number">71</span> = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6 keycode <span class="org-highlight-numbers-number">72</span> = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7 keycode <span class="org-highlight-numbers-number">73</span> = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8 keycode <span class="org-highlight-numbers-number">74</span> = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9 keycode <span class="org-highlight-numbers-number">75</span> = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
keycode 76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10 keycode <span class="org-highlight-numbers-number">76</span> = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10
keycode 77 = Num_Lock NoSymbol Num_Lock keycode <span class="org-highlight-numbers-number">77</span> = Num_Lock NoSymbol Num_Lock
keycode 78 = Scroll_Lock NoSymbol Scroll_Lock keycode <span class="org-highlight-numbers-number">78</span> = Scroll_Lock NoSymbol Scroll_Lock
keycode 79 = KP_Home KP_7 KP_Home KP_7 keycode <span class="org-highlight-numbers-number">79</span> = KP_Home KP_7 KP_Home KP_7
keycode 80 = KP_Up KP_8 KP_Up KP_8 keycode <span class="org-highlight-numbers-number">80</span> = KP_Up KP_8 KP_Up KP_8
keycode 81 = KP_Prior KP_9 KP_Prior KP_9 keycode <span class="org-highlight-numbers-number">81</span> = KP_Prior KP_9 KP_Prior KP_9
keycode 82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode keycode <span class="org-highlight-numbers-number">82</span> = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
keycode 83 = KP_Left KP_4 KP_Left KP_4 keycode <span class="org-highlight-numbers-number">83</span> = KP_Left KP_4 KP_Left KP_4
keycode 84 = KP_Begin KP_5 KP_Begin KP_5 keycode <span class="org-highlight-numbers-number">84</span> = KP_Begin KP_5 KP_Begin KP_5
keycode 85 = KP_Right KP_6 KP_Right KP_6 keycode <span class="org-highlight-numbers-number">85</span> = KP_Right KP_6 KP_Right KP_6
keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode keycode <span class="org-highlight-numbers-number">86</span> = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
keycode 87 = KP_End KP_1 KP_End KP_1 keycode <span class="org-highlight-numbers-number">87</span> = KP_End KP_1 KP_End KP_1
keycode 88 = KP_Down KP_2 KP_Down KP_2 keycode <span class="org-highlight-numbers-number">88</span> = KP_Down KP_2 KP_Down KP_2
keycode 89 = KP_Next KP_3 KP_Next KP_3 keycode <span class="org-highlight-numbers-number">89</span> = KP_Next KP_3 KP_Next KP_3
keycode 90 = KP_Insert KP_0 KP_Insert KP_0 keycode <span class="org-highlight-numbers-number">90</span> = KP_Insert KP_0 KP_Insert KP_0
keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal keycode <span class="org-highlight-numbers-number">91</span> = KP_Delete KP_Decimal KP_Delete KP_Decimal
keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift keycode <span class="org-highlight-numbers-number">92</span> = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
keycode 93 = keycode <span class="org-highlight-numbers-number">93</span> =
keycode 94 = less greater less greater bar brokenbar bar keycode <span class="org-highlight-numbers-number">94</span> = less greater less greater bar brokenbar bar
keycode 95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11 keycode <span class="org-highlight-numbers-number">95</span> = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11
keycode 96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12 keycode <span class="org-highlight-numbers-number">96</span> = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12
keycode 97 = keycode <span class="org-highlight-numbers-number">97</span> =
keycode 98 = Katakana NoSymbol Katakana keycode <span class="org-highlight-numbers-number">98</span> = Katakana NoSymbol Katakana
keycode 99 = Hiragana NoSymbol Hiragana keycode <span class="org-highlight-numbers-number">99</span> = Hiragana NoSymbol Hiragana
keycode 100 = Henkan_Mode NoSymbol Henkan_Mode keycode <span class="org-highlight-numbers-number">100</span> = Henkan_Mode NoSymbol Henkan_Mode
keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana keycode <span class="org-highlight-numbers-number">101</span> = Hiragana_Katakana NoSymbol Hiragana_Katakana
keycode 102 = Muhenkan NoSymbol Muhenkan keycode <span class="org-highlight-numbers-number">102</span> = Muhenkan NoSymbol Muhenkan
keycode 103 = keycode <span class="org-highlight-numbers-number">103</span> =
keycode 104 = KP_Enter NoSymbol KP_Enter keycode <span class="org-highlight-numbers-number">104</span> = KP_Enter NoSymbol KP_Enter
keycode 105 = Control_R NoSymbol Control_R keycode <span class="org-highlight-numbers-number">105</span> = Control_R NoSymbol Control_R
keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab keycode <span class="org-highlight-numbers-number">106</span> = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab
keycode 107 = Print Sys_Req Print Sys_Req keycode <span class="org-highlight-numbers-number">107</span> = Print Sys_Req Print Sys_Req
keycode 108 = Alt_R Meta_R Alt_R Meta_R keycode <span class="org-highlight-numbers-number">108</span> = Alt_R Meta_R Alt_R Meta_R
keycode 109 = Linefeed NoSymbol Linefeed keycode <span class="org-highlight-numbers-number">109</span> = Linefeed NoSymbol Linefeed
keycode 110 = Home NoSymbol Home keycode <span class="org-highlight-numbers-number">110</span> = Home NoSymbol Home
keycode 111 = Up NoSymbol Up keycode <span class="org-highlight-numbers-number">111</span> = Up NoSymbol Up
keycode 112 = Prior NoSymbol Prior keycode <span class="org-highlight-numbers-number">112</span> = Prior NoSymbol Prior
keycode 113 = Left NoSymbol Left keycode <span class="org-highlight-numbers-number">113</span> = Left NoSymbol Left
keycode 114 = Right NoSymbol Right keycode <span class="org-highlight-numbers-number">114</span> = Right NoSymbol Right
keycode 115 = End NoSymbol End keycode <span class="org-highlight-numbers-number">115</span> = End NoSymbol End
keycode 116 = Down NoSymbol Down keycode <span class="org-highlight-numbers-number">116</span> = Down NoSymbol Down
keycode 117 = Next NoSymbol Next keycode <span class="org-highlight-numbers-number">117</span> = Next NoSymbol Next
keycode 118 = Insert NoSymbol Insert keycode <span class="org-highlight-numbers-number">118</span> = Insert NoSymbol Insert
keycode 119 = Delete NoSymbol Delete keycode <span class="org-highlight-numbers-number">119</span> = Delete NoSymbol Delete
keycode 120 = keycode <span class="org-highlight-numbers-number">120</span> =
keycode 121 = XF86AudioMute NoSymbol XF86AudioMute keycode <span class="org-highlight-numbers-number">121</span> = XF86AudioMute NoSymbol XF86AudioMute
keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume keycode <span class="org-highlight-numbers-number">122</span> = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume keycode <span class="org-highlight-numbers-number">123</span> = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume
keycode 124 = XF86PowerOff NoSymbol XF86PowerOff keycode <span class="org-highlight-numbers-number">124</span> = XF86PowerOff NoSymbol XF86PowerOff
keycode 125 = KP_Equal NoSymbol KP_Equal keycode <span class="org-highlight-numbers-number">125</span> = KP_Equal NoSymbol KP_Equal
keycode 126 = plusminus NoSymbol plusminus keycode <span class="org-highlight-numbers-number">126</span> = plusminus NoSymbol plusminus
keycode 127 = Pause Break Pause Break keycode <span class="org-highlight-numbers-number">127</span> = Pause Break Pause Break
keycode 128 = XF86LaunchA NoSymbol XF86LaunchA keycode <span class="org-highlight-numbers-number">128</span> = XF86LaunchA NoSymbol XF86LaunchA
keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal keycode <span class="org-highlight-numbers-number">129</span> = KP_Decimal KP_Decimal KP_Decimal KP_Decimal
keycode 130 = Hangul NoSymbol Hangul keycode <span class="org-highlight-numbers-number">130</span> = Hangul NoSymbol Hangul
keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja keycode <span class="org-highlight-numbers-number">131</span> = Hangul_Hanja NoSymbol Hangul_Hanja
keycode 132 = keycode <span class="org-highlight-numbers-number">132</span> =
keycode 133 = keycode <span class="org-highlight-numbers-number">133</span> =
keycode 134 = Super_R NoSymbol Super_R keycode <span class="org-highlight-numbers-number">134</span> = Super_R NoSymbol Super_R
keycode 135 = Menu NoSymbol Menu keycode <span class="org-highlight-numbers-number">135</span> = Menu NoSymbol Menu
keycode 136 = Cancel NoSymbol Cancel keycode <span class="org-highlight-numbers-number">136</span> = Cancel NoSymbol Cancel
keycode 137 = Redo NoSymbol Redo keycode <span class="org-highlight-numbers-number">137</span> = Redo NoSymbol Redo
keycode 138 = SunProps NoSymbol SunProps keycode <span class="org-highlight-numbers-number">138</span> = SunProps NoSymbol SunProps
keycode 139 = Undo NoSymbol Undo keycode <span class="org-highlight-numbers-number">139</span> = Undo NoSymbol Undo
keycode 140 = SunFront NoSymbol SunFront keycode <span class="org-highlight-numbers-number">140</span> = SunFront NoSymbol SunFront
keycode 141 = XF86Copy NoSymbol XF86Copy keycode <span class="org-highlight-numbers-number">141</span> = XF86Copy NoSymbol XF86Copy
keycode 142 = XF86Open NoSymbol XF86Open keycode <span class="org-highlight-numbers-number">142</span> = XF86Open NoSymbol XF86Open
keycode 143 = XF86Paste NoSymbol XF86Paste keycode <span class="org-highlight-numbers-number">143</span> = XF86Paste NoSymbol XF86Paste
keycode 144 = Find NoSymbol Find keycode <span class="org-highlight-numbers-number">144</span> = Find NoSymbol Find
keycode 145 = XF86Cut NoSymbol XF86Cut keycode <span class="org-highlight-numbers-number">145</span> = XF86Cut NoSymbol XF86Cut
keycode 146 = Help NoSymbol Help keycode <span class="org-highlight-numbers-number">146</span> = Help NoSymbol Help
keycode 147 = xf86menukb nosymbol xf86menukb keycode <span class="org-highlight-numbers-number">147</span> = xf86menukb nosymbol xf86menukb
keycode 148 = XF86Calculator NoSymbol XF86Calculator keycode <span class="org-highlight-numbers-number">148</span> = XF86Calculator NoSymbol XF86Calculator
keycode 149 = keycode <span class="org-highlight-numbers-number">149</span> =
keycode 150 = XF86Sleep NoSymbol XF86Sleep keycode <span class="org-highlight-numbers-number">150</span> = XF86Sleep NoSymbol XF86Sleep
keycode 151 = XF86WakeUp NoSymbol XF86WakeUp keycode <span class="org-highlight-numbers-number">151</span> = XF86WakeUp NoSymbol XF86WakeUp
keycode 152 = XF86Explorer NoSymbol XF86Explorer keycode <span class="org-highlight-numbers-number">152</span> = XF86Explorer NoSymbol XF86Explorer
keycode 153 = XF86Send NoSymbol XF86Send keycode <span class="org-highlight-numbers-number">153</span> = XF86Send NoSymbol XF86Send
keycode 154 = keycode <span class="org-highlight-numbers-number">154</span> =
keycode 155 = XF86Xfer NoSymbol XF86Xfer keycode <span class="org-highlight-numbers-number">155</span> = XF86Xfer NoSymbol XF86Xfer
keycode 156 = XF86Launch1 NoSymbol XF86Launch1 keycode <span class="org-highlight-numbers-number">156</span> = XF86Launch1 NoSymbol XF86Launch1
keycode 157 = XF86Launch2 NoSymbol XF86Launch2 keycode <span class="org-highlight-numbers-number">157</span> = XF86Launch2 NoSymbol XF86Launch2
keycode 158 = XF86WWW NoSymbol XF86WWW keycode <span class="org-highlight-numbers-number">158</span> = XF86WWW NoSymbol XF86WWW
keycode 159 = XF86DOS NoSymbol XF86DOS keycode <span class="org-highlight-numbers-number">159</span> = XF86DOS NoSymbol XF86DOS
keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver keycode <span class="org-highlight-numbers-number">160</span> = XF86ScreenSaver NoSymbol XF86ScreenSaver
keycode 161 = XF86RotateWindows NoSymbol XF86RotateWindows keycode <span class="org-highlight-numbers-number">161</span> = XF86RotateWindows NoSymbol XF86RotateWindows
keycode 162 = XF86TaskPane NoSymbol XF86TaskPane keycode <span class="org-highlight-numbers-number">162</span> = XF86TaskPane NoSymbol XF86TaskPane
keycode 163 = XF86Mail NoSymbol XF86Mail keycode <span class="org-highlight-numbers-number">163</span> = XF86Mail NoSymbol XF86Mail
keycode 164 = XF86Favorites NoSymbol XF86Favorites keycode <span class="org-highlight-numbers-number">164</span> = XF86Favorites NoSymbol XF86Favorites
keycode 165 = XF86MyComputer NoSymbol XF86MyComputer keycode <span class="org-highlight-numbers-number">165</span> = XF86MyComputer NoSymbol XF86MyComputer
keycode 166 = XF86Back NoSymbol XF86Back keycode <span class="org-highlight-numbers-number">166</span> = XF86Back NoSymbol XF86Back
keycode 167 = XF86Forward NoSymbol XF86Forward keycode <span class="org-highlight-numbers-number">167</span> = XF86Forward NoSymbol XF86Forward
keycode 168 = keycode <span class="org-highlight-numbers-number">168</span> =
keycode 169 = XF86Eject NoSymbol XF86Eject keycode <span class="org-highlight-numbers-number">169</span> = XF86Eject NoSymbol XF86Eject
keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject keycode <span class="org-highlight-numbers-number">170</span> = XF86Eject XF86Eject XF86Eject XF86Eject
keycode 171 = XF86AudioNext NoSymbol XF86AudioNext keycode <span class="org-highlight-numbers-number">171</span> = XF86AudioNext NoSymbol XF86AudioNext
keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause keycode <span class="org-highlight-numbers-number">172</span> = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev keycode <span class="org-highlight-numbers-number">173</span> = XF86AudioPrev NoSymbol XF86AudioPrev
keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject keycode <span class="org-highlight-numbers-number">174</span> = XF86AudioStop XF86Eject XF86AudioStop XF86Eject
keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord keycode <span class="org-highlight-numbers-number">175</span> = XF86AudioRecord NoSymbol XF86AudioRecord
keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind keycode <span class="org-highlight-numbers-number">176</span> = XF86AudioRewind NoSymbol XF86AudioRewind
keycode 177 = XF86Phone NoSymbol XF86Phone keycode <span class="org-highlight-numbers-number">177</span> = XF86Phone NoSymbol XF86Phone
keycode 178 = keycode <span class="org-highlight-numbers-number">178</span> =
keycode 179 = XF86Tools NoSymbol XF86Tools keycode <span class="org-highlight-numbers-number">179</span> = XF86Tools NoSymbol XF86Tools
keycode 180 = XF86HomePage NoSymbol XF86HomePage keycode <span class="org-highlight-numbers-number">180</span> = XF86HomePage NoSymbol XF86HomePage
keycode 181 = XF86Reload NoSymbol XF86Reload keycode <span class="org-highlight-numbers-number">181</span> = XF86Reload NoSymbol XF86Reload
keycode 182 = XF86Close NoSymbol XF86Close keycode <span class="org-highlight-numbers-number">182</span> = XF86Close NoSymbol XF86Close
keycode 183 = keycode <span class="org-highlight-numbers-number">183</span> =
keycode 184 = keycode <span class="org-highlight-numbers-number">184</span> =
keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp keycode <span class="org-highlight-numbers-number">185</span> = XF86ScrollUp NoSymbol XF86ScrollUp
keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown keycode <span class="org-highlight-numbers-number">186</span> = XF86ScrollDown NoSymbol XF86ScrollDown
keycode 187 = parenleft NoSymbol parenleft keycode <span class="org-highlight-numbers-number">187</span> = parenleft NoSymbol parenleft
keycode 188 = parenright NoSymbol parenright keycode <span class="org-highlight-numbers-number">188</span> = parenright NoSymbol parenright
keycode 189 = XF86New NoSymbol XF86New keycode <span class="org-highlight-numbers-number">189</span> = XF86New NoSymbol XF86New
keycode 190 = Redo NoSymbol Redo keycode <span class="org-highlight-numbers-number">190</span> = Redo NoSymbol Redo
keycode 191 = XF86Tools NoSymbol XF86Tools keycode <span class="org-highlight-numbers-number">191</span> = XF86Tools NoSymbol XF86Tools
keycode 192 = XF86Launch5 NoSymbol XF86Launch5 keycode <span class="org-highlight-numbers-number">192</span> = XF86Launch5 NoSymbol XF86Launch5
keycode 193 = XF86Launch6 NoSymbol XF86Launch6 keycode <span class="org-highlight-numbers-number">193</span> = XF86Launch6 NoSymbol XF86Launch6
keycode 194 = XF86Launch7 NoSymbol XF86Launch7 keycode <span class="org-highlight-numbers-number">194</span> = XF86Launch7 NoSymbol XF86Launch7
keycode 195 = XF86Launch8 NoSymbol XF86Launch8 keycode <span class="org-highlight-numbers-number">195</span> = XF86Launch8 NoSymbol XF86Launch8
keycode 196 = XF86Launch9 NoSymbol XF86Launch9 keycode <span class="org-highlight-numbers-number">196</span> = XF86Launch9 NoSymbol XF86Launch9
keycode 197 = keycode <span class="org-highlight-numbers-number">197</span> =
keycode 198 = XF86AudioMicMute NoSymbol XF86AudioMicMute keycode <span class="org-highlight-numbers-number">198</span> = XF86AudioMicMute NoSymbol XF86AudioMicMute
keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle keycode <span class="org-highlight-numbers-number">199</span> = XF86TouchpadToggle NoSymbol XF86TouchpadToggle
keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn keycode <span class="org-highlight-numbers-number">200</span> = XF86TouchpadOn NoSymbol XF86TouchpadOn
keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff keycode <span class="org-highlight-numbers-number">201</span> = XF86TouchpadOff NoSymbol XF86TouchpadOff
keycode 202 = keycode <span class="org-highlight-numbers-number">202</span> =
keycode 203 = Mode_switch NoSymbol Mode_switch keycode <span class="org-highlight-numbers-number">203</span> = Mode_switch NoSymbol Mode_switch
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L keycode <span class="org-highlight-numbers-number">204</span> = NoSymbol Alt_L NoSymbol Alt_L
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L keycode <span class="org-highlight-numbers-number">205</span> = NoSymbol Meta_L NoSymbol Meta_L
keycode 206 = NoSymbol Super_L NoSymbol Super_L keycode <span class="org-highlight-numbers-number">206</span> = NoSymbol Super_L NoSymbol Super_L
keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L keycode <span class="org-highlight-numbers-number">207</span> = NoSymbol Hyper_L NoSymbol Hyper_L
keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay keycode <span class="org-highlight-numbers-number">208</span> = XF86AudioPlay NoSymbol XF86AudioPlay
keycode 209 = XF86AudioPause NoSymbol XF86AudioPause keycode <span class="org-highlight-numbers-number">209</span> = XF86AudioPause NoSymbol XF86AudioPause
keycode 210 = XF86Launch3 NoSymbol XF86Launch3 keycode <span class="org-highlight-numbers-number">210</span> = XF86Launch3 NoSymbol XF86Launch3
keycode 211 = XF86Launch4 NoSymbol XF86Launch4 keycode <span class="org-highlight-numbers-number">211</span> = XF86Launch4 NoSymbol XF86Launch4
keycode 212 = XF86LaunchB NoSymbol XF86LaunchB keycode <span class="org-highlight-numbers-number">212</span> = XF86LaunchB NoSymbol XF86LaunchB
keycode 213 = XF86Suspend NoSymbol XF86Suspend keycode <span class="org-highlight-numbers-number">213</span> = XF86Suspend NoSymbol XF86Suspend
keycode 214 = XF86Close NoSymbol XF86Close keycode <span class="org-highlight-numbers-number">214</span> = XF86Close NoSymbol XF86Close
keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay keycode <span class="org-highlight-numbers-number">215</span> = XF86AudioPlay NoSymbol XF86AudioPlay
keycode 216 = XF86AudioForward NoSymbol XF86AudioForward keycode <span class="org-highlight-numbers-number">216</span> = XF86AudioForward NoSymbol XF86AudioForward
keycode 217 = keycode <span class="org-highlight-numbers-number">217</span> =
keycode 218 = Print NoSymbol Print keycode <span class="org-highlight-numbers-number">218</span> = Print NoSymbol Print
keycode 219 = keycode <span class="org-highlight-numbers-number">219</span> =
keycode 220 = XF86WebCam NoSymbol XF86WebCam keycode <span class="org-highlight-numbers-number">220</span> = XF86WebCam NoSymbol XF86WebCam
keycode 221 = keycode <span class="org-highlight-numbers-number">221</span> =
keycode 222 = keycode <span class="org-highlight-numbers-number">222</span> =
keycode 223 = XF86Mail NoSymbol XF86Mail keycode <span class="org-highlight-numbers-number">223</span> = XF86Mail NoSymbol XF86Mail
keycode 224 = XF86Messenger NoSymbol XF86Messenger keycode <span class="org-highlight-numbers-number">224</span> = XF86Messenger NoSymbol XF86Messenger
keycode 225 = XF86Search NoSymbol XF86Search keycode <span class="org-highlight-numbers-number">225</span> = XF86Search NoSymbol XF86Search
keycode 226 = XF86Go NoSymbol XF86Go keycode <span class="org-highlight-numbers-number">226</span> = XF86Go NoSymbol XF86Go
keycode 227 = XF86Finance NoSymbol XF86Finance keycode <span class="org-highlight-numbers-number">227</span> = XF86Finance NoSymbol XF86Finance
keycode 228 = XF86Game NoSymbol XF86Game keycode <span class="org-highlight-numbers-number">228</span> = XF86Game NoSymbol XF86Game
keycode 229 = XF86Shop NoSymbol XF86Shop keycode <span class="org-highlight-numbers-number">229</span> = XF86Shop NoSymbol XF86Shop
keycode 230 = keycode <span class="org-highlight-numbers-number">230</span> =
keycode 231 = Cancel NoSymbol Cancel keycode <span class="org-highlight-numbers-number">231</span> = Cancel NoSymbol Cancel
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown keycode <span class="org-highlight-numbers-number">232</span> = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp keycode <span class="org-highlight-numbers-number">233</span> = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia keycode <span class="org-highlight-numbers-number">234</span> = XF86AudioMedia NoSymbol XF86AudioMedia
keycode 235 = XF86Display NoSymbol XF86Display keycode <span class="org-highlight-numbers-number">235</span> = XF86Display NoSymbol XF86Display
keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff keycode <span class="org-highlight-numbers-number">236</span> = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff
keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown keycode <span class="org-highlight-numbers-number">237</span> = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp keycode <span class="org-highlight-numbers-number">238</span> = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
keycode 239 = XF86Send NoSymbol XF86Send keycode <span class="org-highlight-numbers-number">239</span> = XF86Send NoSymbol XF86Send
keycode 240 = XF86Reply NoSymbol XF86Reply keycode <span class="org-highlight-numbers-number">240</span> = XF86Reply NoSymbol XF86Reply
keycode 241 = XF86MailForward NoSymbol XF86MailForward keycode <span class="org-highlight-numbers-number">241</span> = XF86MailForward NoSymbol XF86MailForward
keycode 242 = XF86Save NoSymbol XF86Save keycode <span class="org-highlight-numbers-number">242</span> = XF86Save NoSymbol XF86Save
keycode 243 = XF86Documents NoSymbol XF86Documents keycode <span class="org-highlight-numbers-number">243</span> = XF86Documents NoSymbol XF86Documents
keycode 244 = XF86Battery NoSymbol XF86Battery keycode <span class="org-highlight-numbers-number">244</span> = XF86Battery NoSymbol XF86Battery
keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth keycode <span class="org-highlight-numbers-number">245</span> = XF86Bluetooth NoSymbol XF86Bluetooth
keycode 246 = XF86WLAN NoSymbol XF86WLAN keycode <span class="org-highlight-numbers-number">246</span> = XF86WLAN NoSymbol XF86WLAN
keycode 247 = keycode <span class="org-highlight-numbers-number">247</span> =
keycode 248 = XF86Display NoSymbol XF86Display keycode <span class="org-highlight-numbers-number">248</span> = XF86Display NoSymbol XF86Display
keycode 249 = keycode <span class="org-highlight-numbers-number">249</span> =
keycode 250 = keycode <span class="org-highlight-numbers-number">250</span> =
keycode 251 = keycode <span class="org-highlight-numbers-number">251</span> =
keycode 252 = keycode <span class="org-highlight-numbers-number">252</span> =
keycode 253 = keycode <span class="org-highlight-numbers-number">253</span> =
keycode 254 = XF86WWAN NoSymbol XF86WWAN keycode <span class="org-highlight-numbers-number">254</span> = XF86WWAN NoSymbol XF86WWAN
keycode 255 = XF86RFKill NoSymbol XF86RFKill keycode <span class="org-highlight-numbers-number">255</span> = XF86RFKill NoSymbol XF86RFKill
</pre> </pre>
</div> </div>
</div> </div>
@ -402,7 +402,7 @@ keycode 255 = XF86RFKill NoSymbol XF86RFKill
Fix for Matlab. Fix for Matlab.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">export _JAVA_AWT_WM_NONREPARENTING=1 <pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">_JAVA_AWT_WM_NONREPARENTING</span>=<span class="org-highlight-numbers-number">1</span>
</pre> </pre>
</div> </div>
@ -418,31 +418,31 @@ Set <code>DISPLAY</code> for <code>dunst</code> when started with <code>systemd<
Merge in defaults and keymaps Merge in defaults and keymaps
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">userresources=$HOME/.Xresources <pre class="src src-bash"><span class="org-variable-name">userresources</span>=$<span class="org-variable-name">HOME</span>/.Xresources
usermodmap=$HOME/.Xmodmap <span class="org-variable-name">usermodmap</span>=$<span class="org-variable-name">HOME</span>/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources <span class="org-variable-name">sysresources</span>=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap <span class="org-variable-name">sysmodmap</span>=/etc/X11/xinit/.Xmodmap
if [ -f $sysresources ]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f $<span class="org-variable-name">sysresources</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
xrdb -merge $sysresources xrdb -merge $<span class="org-variable-name">sysresources</span>
fi <span class="org-keyword">fi</span>
if [ -f $sysmodmap ]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f $<span class="org-variable-name">sysmodmap</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
xmodmap $sysmodmap xmodmap $<span class="org-variable-name">sysmodmap</span>
fi <span class="org-keyword">fi</span>
if [ -f "$userresources" ]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">userresources</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
xrdb -merge "$userresources" xrdb -merge <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">userresources</span></span><span class="org-string">"</span>
fi <span class="org-keyword">fi</span>
if [ -f "$usermodmap" ]; then <span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -f <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">usermodmap</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
xmodmap "$usermodmap" xmodmap <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">usermodmap</span></span><span class="org-string">"</span>
fi <span class="org-keyword">fi</span>
</pre> </pre>
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">[ -f ~/.xprofile ] &amp;&amp; . ~/.xprofile <pre class="src src-bash"><span class="org-rainbow-delimiters-depth-1">[</span> -f ~/.xprofile <span class="org-rainbow-delimiters-depth-1">]</span> &amp;&amp; <span class="org-builtin">.</span> ~/.xprofile
</pre> </pre>
</div> </div>
</div> </div>
@ -455,10 +455,10 @@ fi
Keyboard Options Keyboard Options
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"># Set repetition keyboard rate <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Set repetition keyboard rate</span>
xset r rate 200 40 &amp; xset r rate <span class="org-highlight-numbers-number">200</span> <span class="org-highlight-numbers-number">40</span> &amp;
# Set International US keyboard layout <span class="org-comment-delimiter"># </span><span class="org-comment">Set International US keyboard layout</span>
setxkbmap -layout us -variant intl -option caps:escape &amp; setxkbmap -layout us -variant intl -option caps:escape &amp;
</pre> </pre>
</div> </div>
@ -467,24 +467,24 @@ setxkbmap -layout us -variant intl -option caps:escape &amp;
Start programs related to display. Start programs related to display.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"># Screen options <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Screen options</span>
xrandr --output eDP1 --mode 1920x1080 --dpi 192 &amp; xrandr --output eDP1 --mode 1920x1080 --dpi <span class="org-highlight-numbers-number">192</span> &amp;
# Set custom wallpaper script <span class="org-comment-delimiter"># </span><span class="org-comment">Set custom wallpaper script</span>
setbg &amp; setbg &amp;
# Hide mouse cursor after x seconds <span class="org-comment-delimiter"># </span><span class="org-comment">Hide mouse cursor after x seconds</span>
pgrep -xu "$USER" unclutter &gt;/dev/null || \ <span class="org-type">pgrep</span> -xu <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">USER</span></span><span class="org-string">"</span> unclutter &gt;/dev/null || <span class="org-sh-escaped-newline">\</span>
unclutter --timeout 5 &amp; unclutter --timeout <span class="org-highlight-numbers-number">5</span> &amp;
# Autolock screen after x minutes <span class="org-comment-delimiter"># </span><span class="org-comment">Autolock screen after x minutes</span>
xautolock -locker "~/.local/bin/lockscreen" -detectsleep -time 30 -notify 60 -notifier "dunstify --replace=31846 -u critical -t 10000 -- 'Locking Screen' '60 seconds'" &amp; xautolock -locker <span class="org-string">"~/.local/bin/lockscreen"</span> -detectsleep -time <span class="org-highlight-numbers-number">30</span> -notify <span class="org-highlight-numbers-number">60</span> -notifier <span class="org-string">"dunstify --replace=31846 -u critical -t 10000 -- 'Locking Screen' '60 seconds'"</span> &amp;
# Redshift <span class="org-comment-delimiter"># </span><span class="org-comment">Redshift</span>
pgrep -xu "$USER" redshift &gt;/dev/null || \ <span class="org-type">pgrep</span> -xu <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">USER</span></span><span class="org-string">"</span> redshift &gt;/dev/null || <span class="org-sh-escaped-newline">\</span>
redshift &amp; redshift &amp;
# Run Picom (compositor) <span class="org-comment-delimiter"># </span><span class="org-comment">Run Picom (compositor)</span>
picom --daemon &amp; picom --daemon &amp;
</pre> </pre>
</div> </div>
@ -493,18 +493,11 @@ picom --daemon &amp;
Start the applications related to the top bar (polybar + applet). Start the applications related to the top bar (polybar + applet).
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"># Start Network Management Framework <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Bluetooth Manager</span>
# nm-applet &amp; blueman-applet &amp;
# Bluetooth Manager <span class="org-comment-delimiter"># </span><span class="org-comment">Synology Cloud Station Drive</span>
# blueman-applet &amp;
# Synology Cloud Station Drive
synology-drive &amp; synology-drive &amp;
# Udiskie to automount usb keys
pgrep -xu "$USER" udiskie &gt;/dev/null || \
udiskie --automount --notify --tray &amp;
</pre> </pre>
</div> </div>
@ -512,14 +505,15 @@ pgrep -xu "$USER" udiskie &gt;/dev/null || \
Start other applications Start other applications
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"># Start Power Manager <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Start Power Manager</span>
xfce4-power-manager &amp; xfce4-power-manager &amp;
# Aria2c daemon <span class="org-comment-delimiter"># </span><span class="org-comment">Aria2c daemon</span>
aria2c &amp; aria2c &amp;
# Mopidy <span class="org-comment-delimiter"># </span><span class="org-comment">Mopidy</span>
mopidy --config ~/.config/mopidy/mopidy.conf &gt;/dev/null 2&gt;&amp;1 &amp; <span class="org-comment-delimiter"># </span><span class="org-comment">mopidy --config ~/.config/mopidy/mopidy.conf &gt;/dev/null 2&gt;&amp;1 &amp;</span>
systemctl --user start mopidy
</pre> </pre>
</div> </div>
@ -527,9 +521,9 @@ mopidy --config ~/.config/mopidy/mopidy.conf &gt;/dev/null 2&gt;&amp;1 &amp;
Finally, run SXHKD for the key bindings. Finally, run SXHKD for the key bindings.
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"># Start sxhkd <pre class="src src-bash"><span class="org-comment-delimiter"># </span><span class="org-comment">Start sxhkd</span>
pgrep -xu "$USER" sxhkd &gt;/dev/null || \ <span class="org-type">pgrep</span> -xu <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">USER</span></span><span class="org-string">"</span> sxhkd &gt;/dev/null || <span class="org-sh-escaped-newline">\</span>
sxhkd -m 1 -c ~/.config/sxhkd/sxhkdrc &amp; sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/sxhkdrc &amp;
</pre> </pre>
</div> </div>
</div> </div>
@ -537,7 +531,7 @@ pgrep -xu "$USER" sxhkd &gt;/dev/null || \
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:40</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,251 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2020-01-11 sam. 22:19 --> <!-- 2020-11-03 mar. 16:26 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Zathura</title> <title>Zathura</title>
<meta name="generator" content="Org mode" /> <meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" /> <meta name="author" content="Dehaeze Thomas" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center;
margin-bottom: .2em; }
.subtitle { text-align: center;
font-size: medium;
font-weight: bold;
margin-top:0; }
.todo { font-family: monospace; color: red; }
.done { font-family: monospace; color: green; }
.priority { font-family: monospace; color: orange; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.org-right { margin-left: auto; margin-right: 0px; text-align: right; }
.org-left { margin-left: 0px; margin-right: auto; text-align: left; }
.org-center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
/* Languages per Org manual */
pre.src-asymptote:before { content: 'Asymptote'; }
pre.src-awk:before { content: 'Awk'; }
pre.src-C:before { content: 'C'; }
/* pre.src-C++ doesn't work in CSS */
pre.src-clojure:before { content: 'Clojure'; }
pre.src-css:before { content: 'CSS'; }
pre.src-D:before { content: 'D'; }
pre.src-ditaa:before { content: 'ditaa'; }
pre.src-dot:before { content: 'Graphviz'; }
pre.src-calc:before { content: 'Emacs Calc'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-fortran:before { content: 'Fortran'; }
pre.src-gnuplot:before { content: 'gnuplot'; }
pre.src-haskell:before { content: 'Haskell'; }
pre.src-hledger:before { content: 'hledger'; }
pre.src-java:before { content: 'Java'; }
pre.src-js:before { content: 'Javascript'; }
pre.src-latex:before { content: 'LaTeX'; }
pre.src-ledger:before { content: 'Ledger'; }
pre.src-lisp:before { content: 'Lisp'; }
pre.src-lilypond:before { content: 'Lilypond'; }
pre.src-lua:before { content: 'Lua'; }
pre.src-matlab:before { content: 'MATLAB'; }
pre.src-mscgen:before { content: 'Mscgen'; }
pre.src-ocaml:before { content: 'Objective Caml'; }
pre.src-octave:before { content: 'Octave'; }
pre.src-org:before { content: 'Org mode'; }
pre.src-oz:before { content: 'OZ'; }
pre.src-plantuml:before { content: 'Plantuml'; }
pre.src-processing:before { content: 'Processing.js'; }
pre.src-python:before { content: 'Python'; }
pre.src-R:before { content: 'R'; }
pre.src-ruby:before { content: 'Ruby'; }
pre.src-sass:before { content: 'Sass'; }
pre.src-scheme:before { content: 'Scheme'; }
pre.src-screen:before { content: 'Gnu Screen'; }
pre.src-sed:before { content: 'Sed'; }
pre.src-sh:before { content: 'shell'; }
pre.src-sql:before { content: 'SQL'; }
pre.src-sqlite:before { content: 'SQLite'; }
/* additional languages in org.el's org-babel-load-languages alist */
pre.src-forth:before { content: 'Forth'; }
pre.src-io:before { content: 'IO'; }
pre.src-J:before { content: 'J'; }
pre.src-makefile:before { content: 'Makefile'; }
pre.src-maxima:before { content: 'Maxima'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-picolisp:before { content: 'Pico Lisp'; }
pre.src-scala:before { content: 'Scala'; }
pre.src-shell:before { content: 'Shell Script'; }
pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
/* additional language identifiers per "defun org-babel-execute"
in ob-*.el */
pre.src-cpp:before { content: 'C++'; }
pre.src-abc:before { content: 'ABC'; }
pre.src-coq:before { content: 'Coq'; }
pre.src-groovy:before { content: 'Groovy'; }
/* additional language identifiers from org-babel-shell-names in
ob-shell.el: ob-shell is the only babel language using a lambda to put
the execution function name together. */
pre.src-bash:before { content: 'bash'; }
pre.src-csh:before { content: 'csh'; }
pre.src-ash:before { content: 'ash'; }
pre.src-dash:before { content: 'dash'; }
pre.src-ksh:before { content: 'ksh'; }
pre.src-mksh:before { content: 'mksh'; }
pre.src-posh:before { content: 'posh'; }
/* Additional Emacs modes also supported by the LaTeX listings package */
pre.src-ada:before { content: 'Ada'; }
pre.src-asm:before { content: 'Assembler'; }
pre.src-caml:before { content: 'Caml'; }
pre.src-delphi:before { content: 'Delphi'; }
pre.src-html:before { content: 'HTML'; }
pre.src-idl:before { content: 'IDL'; }
pre.src-mercury:before { content: 'Mercury'; }
pre.src-metapost:before { content: 'MetaPost'; }
pre.src-modula-2:before { content: 'Modula-2'; }
pre.src-pascal:before { content: 'Pascal'; }
pre.src-ps:before { content: 'PostScript'; }
pre.src-prolog:before { content: 'Prolog'; }
pre.src-simula:before { content: 'Simula'; }
pre.src-tcl:before { content: 'tcl'; }
pre.src-tex:before { content: 'TeX'; }
pre.src-plain-tex:before { content: 'Plain TeX'; }
pre.src-verilog:before { content: 'Verilog'; }
pre.src-vhdl:before { content: 'VHDL'; }
pre.src-xml:before { content: 'XML'; }
pre.src-nxml:before { content: 'XML'; }
/* add a generic configuration mode; LaTeX export needs an additional
(add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
pre.src-conf:before { content: 'Configuration File'; }
table { border-collapse:collapse; }
caption.t-above { caption-side: top; }
caption.t-bottom { caption-side: bottom; }
td, th { vertical-align:top; }
th.org-right { text-align: center; }
th.org-left { text-align: center; }
th.org-center { text-align: center; }
td.org-right { text-align: right; }
td.org-left { text-align: left; }
td.org-center { text-align: center; }
dt { font-weight: bold; }
.footpara { display: inline; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.equation-container {
display: table;
text-align: center;
width: 100%;
}
.equation {
vertical-align: middle;
}
.equation-label {
display: table-cell;
text-align: right;
vertical-align: middle;
}
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
.org-svg { width: 90%; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="./css/htmlize.css"/> <link rel="stylesheet" type="text/css" href="./css/htmlize.css"/>
<link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/> <link rel="stylesheet" type="text/css" href="./css/readtheorg.css"/>
<script type="text/javascript" src="./js/jquery.min.js"></script> <script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/bootstrap.min.js"></script> <script type="text/javascript" src="./js/bootstrap.min.js"></script>
<script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script> <script type="text/javascript" src="./js/jquery.stickytableheaders.min.js"></script>
<script type="text/javascript" src="./js/readtheorg.js"></script> <script type="text/javascript" src="./js/readtheorg.js"></script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012-2020 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head> </head>
<body> <body>
<div id="org-div-home-and-up"> <div id="org-div-home-and-up">
@ -261,6 +29,11 @@ for the JavaScript code in this tag.
<li><a href="#orgb79ef7e">Configuration</a></li> <li><a href="#orgb79ef7e">Configuration</a></li>
<li><a href="#orgf927afe">Bindings</a></li> <li><a href="#orgf927afe">Bindings</a></li>
<li><a href="#org0ac6dba">Colors</a></li> <li><a href="#org0ac6dba">Colors</a></li>
<li><a href="#org94a5560">Scripts</a>
<ul>
<li><a href="#orgdc7f7db">Extract one page as a PDF</a></li>
</ul>
</li>
</ul> </ul>
</div> </div>
</div> </div>
@ -303,10 +76,11 @@ map H zoom out
map i recolor map i recolor
map p print map p print
map m toggle_statusbar map t toggle_statusbar
map &lt;Space&gt; scroll full-down map &lt;Space&gt; scroll full-down
map &lt;BackSpace&gt; scroll full-up map &lt;BackSpace&gt; scroll full-up
map &lt;C-s&gt; feedkeys <span class="org-string">":exec /home/thomas/.config/zathura/scripts/extract-pdf-page.sh $FILE&lt;Return&gt;"</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -355,10 +129,34 @@ set recolor-keephue <span class="org-string">"false"</span>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org94a5560" class="outline-2">
<h2 id="org94a5560">Scripts</h2>
<div class="outline-text-2" id="text-org94a5560">
</div>
<div id="outline-container-orgdc7f7db" class="outline-3">
<h3 id="orgdc7f7db">Extract one page as a PDF</h3>
<div class="outline-text-3" id="text-orgdc7f7db">
<div class="org-src-container">
<pre class="src src-bash"><span class="org-variable-name">tmpfile</span>=/tmp/pdf_page.pdf
<span class="org-comment-delimiter"># </span><span class="org-comment">Ask for page number</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Ideally would get the page from Zathura...</span>
<span class="org-variable-name">pagenum</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -dmenu -p <span class="org-string">"Page Number"</span><span class="org-rainbow-delimiters-depth-1">)</span>
pdftk $<span class="org-highlight-numbers-number">1</span> <span class="org-type">cat</span> $<span class="org-variable-name">pagenum</span> output $<span class="org-variable-name">tmpfile</span>.pdf &amp;&amp; <span class="org-sh-escaped-newline">\</span>
pdf2svg $<span class="org-variable-name">tmpfile</span>.pdf $<span class="org-variable-name">tmpfile</span>.svg &amp;&amp; <span class="org-sh-escaped-newline">\</span>
inkscape $<span class="org-variable-name">tmpfile</span>.svg
</pre>
</div>
</div>
</div>
</div>
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p> <p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-01-11 sam. 22:19</p> <p class="date">Created: 2020-11-03 mar. 16:26</p>
</div> </div>
</body> </body>
</html> </html>