Org-Publish

This commit is contained in:
Thomas Dehaeze 2020-05-26 08:40:15 +02:00
parent cde58c3f2d
commit 9bbbb42a85
25 changed files with 14130 additions and 17283 deletions

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-05-26 mar. 08:40 -->
<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>Desktop file for the applications</title> <title>Desktop file for the applications</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">
@ -240,7 +30,6 @@
<li><a href="#org40d2ff7">Neomutt</a></li> <li><a href="#org40d2ff7">Neomutt</a></li>
<li><a href="#orgfba702e">Weechat</a></li> <li><a href="#orgfba702e">Weechat</a></li>
<li><a href="#org0917adc">Matlab</a></li> <li><a href="#org0917adc">Matlab</a></li>
<li><a href="#org67724e9">Zathura</a></li>
<li><a href="#org721c080">Neovim</a></li> <li><a href="#org721c080">Neovim</a></li>
<li><a href="#org11a99e9">Images</a></li> <li><a href="#org11a99e9">Images</a></li>
<li><a href="#org6d53535">Org-Protocol</a></li> <li><a href="#org6d53535">Org-Protocol</a></li>
@ -255,33 +44,33 @@
<h2 id="org3781e6a">Mime Applications</h2> <h2 id="org3781e6a">Mime Applications</h2>
<div class="outline-text-2" id="text-org3781e6a"> <div class="outline-text-2" id="text-org3781e6a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Default Applications</span>] <pre class="src src-conf">[Default Applications]
<span class="org-variable-name">text/plain</span>=nvim.desktop text/plain=nvim.desktop
<span class="org-variable-name">x-scheme-handler/magnet</span>=torrent.desktop; x-scheme-handler/magnet=torrent.desktop;
<span class="org-variable-name">text/x-shellscript</span>=nvim.desktop; text/x-shellscript=nvim.desktop;
<span class="org-variable-name">image/png</span>=img.desktop; image/png=img.desktop;
<span class="org-variable-name">image/jpeg</span>=img.desktop; image/jpeg=img.desktop;
<span class="org-variable-name">image/gif</span>=img.desktop; image/gif=img.desktop;
<span class="org-variable-name">application/rss+xml</span>=rss.desktop application/rss+xml=rss.desktop
<span class="org-variable-name">x-scheme-handler/mailto</span>=neomutt.desktop x-scheme-handler/mailto=neomutt.desktop
<span class="org-variable-name">message/rfc822</span>=neomutt.desktop message/rfc822=neomutt.desktop
<span class="org-variable-name">application/x-bittorrent</span>=deluge.desktop application/x-bittorrent=deluge.desktop
<span class="org-variable-name">application/pdf</span>=zathura.desktop application/pdf=zathura.desktop
<span class="org-variable-name">x-scheme-handler/http</span>=qutebrowser.desktop x-scheme-handler/http=qutebrowser.desktop
<span class="org-variable-name">x-scheme-handler/https</span>=qutebrowser.desktop x-scheme-handler/https=qutebrowser.desktop
<span class="org-variable-name">x-scheme-handler/ftp</span>=qutebrowser.desktop x-scheme-handler/ftp=qutebrowser.desktop
<span class="org-variable-name">x-scheme-handler/chrome</span>=qutebrowser.desktop x-scheme-handler/chrome=qutebrowser.desktop
<span class="org-variable-name">text/html</span>=qutebrowser.desktop text/html=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-htm</span>=qutebrowser.desktop application/x-extension-htm=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-html</span>=qutebrowser.desktop application/x-extension-html=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-shtml</span>=qutebrowser.desktop application/x-extension-shtml=qutebrowser.desktop
<span class="org-variable-name">application/xhtml+xml</span>=qutebrowser.desktop application/xhtml+xml=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-xhtml</span>=qutebrowser.desktop application/x-extension-xhtml=qutebrowser.desktop
<span class="org-variable-name">application/x-extension-xht</span>=qutebrowser.desktop application/x-extension-xht=qutebrowser.desktop
[<span class="org-type">Added Associations</span>] [Added Associations]
<span class="org-variable-name">text/plain</span>=mousepad.desktop; text/plain=mousepad.desktop;
<span class="org-variable-name">application/x-bittorrent</span>=deluge.desktop; application/x-bittorrent=deluge.desktop;
</pre> </pre>
</div> </div>
</div> </div>
@ -291,15 +80,15 @@
<h2 id="org40d2ff7">Neomutt</h2> <h2 id="org40d2ff7">Neomutt</h2>
<div class="outline-text-2" id="text-org40d2ff7"> <div class="outline-text-2" id="text-org40d2ff7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>] <pre class="src src-conf">[Desktop Entry]
<span class="org-variable-name">Name</span>=Neomutt Name=Neomutt
<span class="org-variable-name">GenericName</span>=Email client GenericName=Email client
<span class="org-variable-name">Exec</span>=$TERMINAL -e neomutt %u Exec=$TERMINAL -e neomutt %u
<span class="org-variable-name">Type</span>=Application Type=Application
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/64x64/apps/mutt.svg Icon=/usr/share/icons/Papirus/64x64/apps/mutt.svg
<span class="org-variable-name">Categories</span>=Network;Email; Categories=Network;Email;
<span class="org-variable-name">MimeType</span>=message/rfc822;x-scheme-handler/mailto;application/x-xpinstall; MimeType=message/rfc822;x-scheme-handler/mailto;application/x-xpinstall;
<span class="org-variable-name">StartupNotify</span>=true StartupNotify=true
</pre> </pre>
</div> </div>
</div> </div>
@ -309,18 +98,18 @@
<h2 id="orgfba702e">Weechat</h2> <h2 id="orgfba702e">Weechat</h2>
<div class="outline-text-2" id="text-orgfba702e"> <div class="outline-text-2" id="text-orgfba702e">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>] <pre class="src src-conf">[Desktop Entry]
<span class="org-variable-name">Encoding</span>=UTF-8 Encoding=UTF-8
<span class="org-variable-name">MultipleArgs</span>=false MultipleArgs=false
<span class="org-variable-name">Terminal</span>=false Terminal=false
<span class="org-variable-name">Exec</span>=$TERMINAL --class=WeeChat -e <span class="org-string">'weechat'</span> Exec=$TERMINAL --class=WeeChat -e 'weechat'
<span class="org-variable-name">StartupWMClass</span>=WeeChat StartupWMClass=WeeChat
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/64x64/apps/weechat.svg Icon=/usr/share/icons/Papirus/64x64/apps/weechat.svg
<span class="org-variable-name">Type</span>=Application Type=Application
<span class="org-variable-name">Categories</span>=Network;IRCClient; Categories=Network;IRCClient;
<span class="org-variable-name">StartupNotify</span>=true StartupNotify=true
<span class="org-variable-name">Name</span>=WeeChat Name=WeeChat
<span class="org-variable-name">GenericName</span>=IRC Client GenericName=IRC Client
</pre> </pre>
</div> </div>
</div> </div>
@ -330,36 +119,17 @@
<h2 id="org0917adc">Matlab</h2> <h2 id="org0917adc">Matlab</h2>
<div class="outline-text-2" id="text-org0917adc"> <div class="outline-text-2" id="text-org0917adc">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>] <pre class="src src-conf">[Desktop Entry]
<span class="org-variable-name">Version</span>=R2019b Version=R2020a
<span class="org-variable-name">Type</span>=Application Type=Application
<span class="org-variable-name">Terminal</span>=false Terminal=false
<span class="org-variable-name">MimeType</span>=text/x-matlab MimeType=text/x-matlab
<span class="org-variable-name">Exec</span>=/usr/local/MATLAB/R2019b/bin/matlab -desktop Exec=/usr/local/MATLAB/R2020a/bin/matlab -desktop -nosplash
<span class="org-variable-name">Name</span>=MATLAB Name=MATLAB
<span class="org-variable-name">Icon</span>=matlab Icon=matlab
<span class="org-variable-name">Categories</span>=Development;Math;Science Categories=Development;Math;Science
<span class="org-variable-name">Comment</span>=Scientific computing environment Comment=Scientific computing environment
<span class="org-variable-name">StartupNotify</span>=true StartupNotify=true
</pre>
</div>
</div>
</div>
<div id="outline-container-org67724e9" class="outline-2">
<h2 id="org67724e9">Zathura</h2>
<div class="outline-text-2" id="text-org67724e9">
<div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>]
<span class="org-variable-name">Version</span>=<span class="org-highlight-numbers-number">1.0</span>
<span class="org-variable-name">Type</span>=Application
<span class="org-variable-name">Name</span>=Zathura
<span class="org-variable-name">Comment</span>=A minimalistic document viewer
<span class="org-variable-name">Exec</span>=zathura %U
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/64x64/apps/zathura.svg
<span class="org-variable-name">Terminal</span>=false
<span class="org-variable-name">Categories</span>=Office;Viewer;
<span class="org-variable-name">Keywords</span>=PDF;PS;PostScript;DjVU;document;presentation;viewer;
</pre> </pre>
</div> </div>
</div> </div>
@ -369,18 +139,18 @@
<h2 id="org721c080">Neovim</h2> <h2 id="org721c080">Neovim</h2>
<div class="outline-text-2" id="text-org721c080"> <div class="outline-text-2" id="text-org721c080">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>] <pre class="src src-conf">[Desktop Entry]
<span class="org-variable-name">Name</span>=Neovim Name=Neovim
<span class="org-variable-name">GenericName</span>=Text Editor GenericName=Text Editor
<span class="org-variable-name">Comment</span>=Edit text files Comment=Edit text files
<span class="org-variable-name">Exec</span>=nvim %F Exec=nvim %F
<span class="org-variable-name">Terminal</span>=true Terminal=true
<span class="org-variable-name">Type</span>=Application Type=Application
<span class="org-variable-name">Keywords</span>=Text;editor; Keywords=Text;editor;
<span class="org-variable-name">Icon</span>=/usr/share/icons/Papirus/48x48/apps/nvim.svg Icon=/usr/share/icons/Papirus/48x48/apps/nvim.svg
<span class="org-variable-name">Categories</span>=Utility;TextEditor; Categories=Utility;TextEditor;
<span class="org-variable-name">StartupNotify</span>=false StartupNotify=false
<span class="org-variable-name">MimeType</span>=text/english;text/plain;text/x-makefile; MimeType=text/english;text/plain;text/x-makefile;
</pre> </pre>
</div> </div>
</div> </div>
@ -390,10 +160,10 @@
<h2 id="org11a99e9">Images</h2> <h2 id="org11a99e9">Images</h2>
<div class="outline-text-2" id="text-org11a99e9"> <div class="outline-text-2" id="text-org11a99e9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>] <pre class="src src-conf">[Desktop Entry]
<span class="org-variable-name">Type</span>=Application Type=Application
<span class="org-variable-name">Name</span>=Image viewer Name=Image viewer
<span class="org-variable-name">Exec</span>=/usr/bin/sxiv -a %u Exec=/usr/bin/sxiv -a %u
</pre> </pre>
</div> </div>
</div> </div>
@ -403,30 +173,31 @@
<h2 id="org6d53535">Org-Protocol</h2> <h2 id="org6d53535">Org-Protocol</h2>
<div class="outline-text-2" id="text-org6d53535"> <div class="outline-text-2" id="text-org6d53535">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>] <pre class="src src-conf">[Desktop Entry]
<span class="org-variable-name">Name</span>=org-protocol Name=org-protocol
<span class="org-variable-name">Exec</span>=emacsclient %u Exec=emacsclient %u
<span class="org-variable-name">Type</span>=Application Icon=emacs-icon
<span class="org-variable-name">Terminal</span>=false Type=Application
<span class="org-variable-name">Categories</span>=System; Terminal=false
<span class="org-variable-name">MimeType</span>=x-scheme-handler/org-protocol; MimeType=x-scheme-handler/org-protocol;
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org77502a5" class="outline-2"> <div id="outline-container-org77502a5" class="outline-2">
<h2 id="org77502a5">Ranger</h2> <h2 id="org77502a5">Ranger</h2>
<div class="outline-text-2" id="text-org77502a5"> <div class="outline-text-2" id="text-org77502a5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>] <pre class="src src-conf">[Desktop Entry]
<span class="org-variable-name">Type</span>=Application Type=Application
<span class="org-variable-name">Name</span>=ranger Name=ranger
<span class="org-variable-name">Comment</span>=Launches the ranger file manager Comment=Launches the ranger file manager
<span class="org-variable-name">Icon</span>=utilities-terminal Icon=utilities-terminal
<span class="org-variable-name">Terminal</span>=true Terminal=true
<span class="org-variable-name">Exec</span>=ranger Exec=ranger
<span class="org-variable-name">Categories</span>=ConsoleOnly;System;FileTools;FileManager Categories=ConsoleOnly;System;FileTools;FileManager
<span class="org-variable-name">MimeType</span>=inode/directory;inode/mount-point;x-scheme-handler/ssh;x-scheme-handler/smb;x-scheme-handler/nfs;x-scheme-handler/ftp; MimeType=inode/directory;inode/mount-point;x-scheme-handler/ssh;x-scheme-handler/smb;x-scheme-handler/nfs;x-scheme-handler/ftp;
</pre> </pre>
</div> </div>
</div> </div>
@ -435,14 +206,14 @@
<h2 id="orgbb53a17">Emacs Client</h2> <h2 id="orgbb53a17">Emacs Client</h2>
<div class="outline-text-2" id="text-orgbb53a17"> <div class="outline-text-2" id="text-orgbb53a17">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>] <pre class="src src-conf">[Desktop Entry]
<span class="org-variable-name">Name</span>=Emacs Client Name=Emacs Client
<span class="org-variable-name">Exec</span>=emacsclient -c %u Exec=emacsclient -c %u
<span class="org-variable-name">Icon</span>=emacs-icon Icon=emacs-icon
<span class="org-variable-name">Type</span>=Application Type=Application
<span class="org-variable-name">Terminal</span>=false Terminal=false
<span class="org-variable-name">MimeType</span>=x-scheme-handler/org-protocol; MimeType=x-scheme-handler/org-protocol;
<span class="org-variable-name">NoDisplay</span>=true NoDisplay=true
</pre> </pre>
</div> </div>
</div> </div>
@ -452,10 +223,10 @@
<h2 id="org3bbf6ce">Torrent with Transmission</h2> <h2 id="org3bbf6ce">Torrent with Transmission</h2>
<div class="outline-text-2" id="text-org3bbf6ce"> <div class="outline-text-2" id="text-org3bbf6ce">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Desktop Entry</span>] <pre class="src src-conf">[Desktop Entry]
<span class="org-variable-name">Type</span>=Application Type=Application
<span class="org-variable-name">Name</span>=Torrent Name=Torrent
<span class="org-variable-name">Exec</span>=tremc %U Exec=tremc %U
</pre> </pre>
</div> </div>
</div> </div>
@ -463,7 +234,7 @@
</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-05-26 mar. 08:40</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

157
docs/binaries-private.html Normal file
View File

@ -0,0 +1,157 @@
<?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-05-26 mar. 08:39 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>My own specific binaries</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">My own specific binaries</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org6b54cb5"><code>remote-desktop</code> - Remote Desktop Connect</a></li>
<li><a href="#org510bdb5"><code>print-rnice</code> - Print on Rnice</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="#org626d308"><code>torrent-add</code> - Download Torrent</a></li>
</ul>
</div>
</div>
<div id="outline-container-org6b54cb5" class="outline-2">
<h2 id="org6b54cb5"><code>remote-desktop</code> - Remote Desktop Connect</h2>
<div class="outline-text-2" id="text-org6b54cb5">
<div class="org-src-container">
<pre class="src src-bash">computer=$(echo -e 'RNICE\nPCMEL1\nPCNASS1\nPCMEG01' | dmenu -p 'Computer:' -l 20);
case $computer in
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
;;
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
;;
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
;;
RNICE)
echo "Not yet implemented"
;;
*)
echo "Not existing"
;;
esac
</pre>
</div>
</div>
</div>
<div id="outline-container-org510bdb5" class="outline-2">
<h2 id="org510bdb5"><code>print-rnice</code> - Print on Rnice</h2>
<div class="outline-text-2" id="text-org510bdb5">
<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);
sides=$(echo -e 'one-sided\ntwo-sided-long-edge\ntwo-sided-short-edge' | dmenu -p 'Two Sided:' -l 20);
# First copy the file to Rnice
if sshpass -p "$(pass ssl.esrf.fr/dehaeze | sed -n 1p)" scp $1 dehaeze@rnice:~/Downloads/; then
# Then print on Rnice
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";
# Finally, delete the file
else
echo "Command Failed"
fi
</pre>
</div>
</div>
</div>
<div id="outline-container-org23d98e4" class="outline-2">
<h2 id="org23d98e4"><code>tmp14</code> - Mount/Umount tmp_14_days folder</h2>
<div class="outline-text-2" id="text-org23d98e4">
<div class="org-src-container">
<pre class="src src-bash">if [ $1 == "mount" ]; then
if sshfs -o allow_other,default_permissions -p 5022 dehaeze@firewall.esrf.fr:/tmp_14_days/ ~/mnt/ESRF; then
dunstify --replace=58249 'ESRF TMP ' 'Successfully mounted'
else
dunstify --replace=58249 --urgency=critical 'ESRF TMP ' 'Error while mounted'
fi
elif [ $1 == "umount" ]; then
if umount /home/thomas/mnt/ESRF/; then
dunstify --replace=58249 'ESRF TMP ' 'Successfully unmounted'
else
dunstify --replace=58249 --urgency=critical 'ESRF TMP ' 'Error while unmounted'
fi
fi
</pre>
</div>
</div>
</div>
<div id="outline-container-org86657ca" class="outline-2">
<h2 id="org86657ca"><code>nas</code> - Interact with the NAS</h2>
<div class="outline-text-2" id="text-org86657ca">
<p>
As an alternative, <code>sshfs</code> can be used:
</p>
<div class="org-src-container">
<pre class="src src-bash">sshfs -o allow_other,default_permissions nas:/Data ~/mnt/NAS
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash">if [ $1 == "mount" ]; then
if mount /home/thomas/mnt/NAS/; then
dunstify --replace=58249 'NAS ' 'Successfully mounted'
else
dunstify --replace=58249 --urgency=critical 'NAS ' 'Error while mounted'
fi
elif [ $1 == "umount" ]; then
if umount /home/thomas/mnt/NAS/; then
dunstify --replace=58249 'NAS ' 'Successfully unmounted'
else
dunstify --replace=58249 --urgency=critical 'NAS ' 'Error while unmounted'
fi
fi
</pre>
</div>
</div>
</div>
<div id="outline-container-org626d308" class="outline-2">
<h2 id="org626d308"><code>torrent-add</code> - Download Torrent</h2>
<div class="outline-text-2" id="text-org626d308">
<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; \
dunstify 'Torrent' 'Successfully added' || \
dunstify 'Torrent' 'Error'
</pre>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

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-03-01 dim. 22:49 --> <!-- 2020-05-26 mar. 08:39 -->
<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>Calendar Configuration</title> <title>Calendar 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&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">
@ -246,43 +36,43 @@
<h2 id="org6792e9b">Vdirsyncer</h2> <h2 id="org6792e9b">Vdirsyncer</h2>
<div class="outline-text-2" id="text-org6792e9b"> <div class="outline-text-2" id="text-org6792e9b">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">general</span>] <pre class="src src-conf">[general]
<span class="org-variable-name">status_path</span> = <span class="org-string">"~/.config/vdirsyncer/status/"</span> status_path = "~/.config/vdirsyncer/status/"
[<span class="org-type">pair google_calendar</span>] [pair google_calendar]
<span class="org-variable-name">a</span> = <span class="org-string">"google_calendar_remote"</span> a = "google_calendar_remote"
<span class="org-variable-name">b</span> = <span class="org-string">"google_calendar_local"</span> b = "google_calendar_local"
<span class="org-variable-name">collections</span> = [<span class="org-string">"dehaeze.thomas@gmail.com"</span>, <span class="org-string">"8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com"</span>] collections = ["dehaeze.thomas@gmail.com", "8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com"]
<span class="org-variable-name">conflict_resolution</span> = <span class="org-string">"a wins"</span> conflict_resolution = "a wins"
[<span class="org-type">storage google_calendar_remote</span>] [storage google_calendar_remote]
<span class="org-variable-name">type</span> = <span class="org-string">"google_calendar"</span> type = "google_calendar"
<span class="org-variable-name">token_file</span> = <span class="org-string">"~/.config/dotfiles/private/token_file"</span> token_file = "~/.config/dotfiles/private/token_file"
<span class="org-variable-name">client_id</span> = <span class="org-string">"188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"</span> client_id = "188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"
<span class="org-variable-name">client_secret</span> = <span class="org-string">"&lt;&lt;get-password(passname="</span>calendar/google_client_secret<span class="org-string">")&gt;&gt;"</span> client_secret = "&lt;&lt;get-password(passname="calendar/google_client_secret")&gt;&gt;"
[<span class="org-type">storage google_calendar_local</span>] [storage google_calendar_local]
<span class="org-variable-name">type</span> = <span class="org-string">"filesystem"</span> type = "filesystem"
<span class="org-variable-name">path</span> = <span class="org-string">"~/.calendars/google/"</span> path = "~/.calendars/google/"
<span class="org-variable-name">fileext</span> = <span class="org-string">".ics"</span> fileext = ".ics"
[<span class="org-type">pair google_contacts</span>] [pair google_contacts]
<span class="org-variable-name">a</span> = <span class="org-string">"google_contacts_remote"</span> a = "google_contacts_remote"
<span class="org-variable-name">b</span> = <span class="org-string">"google_contacts_local"</span> b = "google_contacts_local"
<span class="org-variable-name">collections</span> = [<span class="org-string">"from a"</span>, <span class="org-string">"from b"</span>] collections = ["from a", "from b"]
<span class="org-variable-name">conflict_resolution</span> = <span class="org-string">"a wins"</span> conflict_resolution = "a wins"
[<span class="org-type">storage google_contacts_local</span>] [storage google_contacts_local]
<span class="org-variable-name">type</span> = <span class="org-string">"filesystem"</span> type = "filesystem"
<span class="org-variable-name">path</span> = <span class="org-string">"~/.contacts/"</span> path = "~/.contacts/"
<span class="org-variable-name">fileext</span> = <span class="org-string">".vcf"</span> fileext = ".vcf"
[<span class="org-type">storage google_contacts_remote</span>] [storage google_contacts_remote]
<span class="org-variable-name">type</span> = <span class="org-string">"google_contacts"</span> type = "google_contacts"
<span class="org-variable-name">token_file</span> = <span class="org-string">"~/.config/dotfiles/private/token_file_carddav"</span> token_file = "~/.config/dotfiles/private/token_file_carddav"
<span class="org-variable-name">client_id</span> = <span class="org-string">"188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"</span> client_id = "188415318767-802h28ig8gromo0f72blrbg6cgcop6m8.apps.googleusercontent.com"
<span class="org-variable-name">client_secret</span> = <span class="org-string">"&lt;&lt;get-password(passname="</span>contacts/google_client_secret<span class="org-string">")&gt;&gt;"</span> client_secret = "&lt;&lt;get-password(passname="contacts/google_client_secret")&gt;&gt;"
</pre> </pre>
</div> </div>
</div> </div>
@ -291,32 +81,36 @@
<div id="outline-container-org481e0d6" class="outline-2"> <div id="outline-container-org481e0d6" class="outline-2">
<h2 id="org481e0d6">Khal</h2> <h2 id="org481e0d6">Khal</h2>
<div class="outline-text-2" id="text-org481e0d6"> <div class="outline-text-2" id="text-org481e0d6">
<p>
:header-arg s: :tangle ~/.config/khal/config
:header-args+: :comments both :mkdirp yes
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">calendars</span>] <pre class="src src-conf">[calendars]
[<span class="org-type">[home]</span>] [[home]]
<span class="org-variable-name">path</span> = ~/.calendars/google/dehaeze.thomas@gmail.com/ path = ~/.calendars/google/dehaeze.thomas@gmail.com/
<span class="org-variable-name">color</span> = <span class="org-string">"#B8BB26"</span> color = "#B8BB26"
[<span class="org-type">[work]</span>] [[work]]
<span class="org-variable-name">path</span> = ~/.calendars/google/8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com/ path = ~/.calendars/google/8kjmhe2ar0abnm054ill1fb0gc@group.calendar.google.com/
<span class="org-variable-name">color</span> = <span class="org-string">"#FB4934"</span> color = "#FB4934"
[<span class="org-type">highlight_days</span>] [highlight_days]
<span class="org-variable-name">multiple</span> = <span class="org-string">"#FABD2F"</span> multiple = "#FABD2F"
[<span class="org-type">default</span>] [default]
<span class="org-variable-name">highlight_event_days</span> = True highlight_event_days = True
[<span class="org-type">keybindings</span>] [locale]
<span class="org-variable-name">delete</span> = d local_timezone= Europe/Berlin
<span class="org-variable-name">today</span> = . default_timezone= Europe/Berlin
<span class="org-variable-name">new</span> = c timeformat= %H:%M
dateformat= %d.%m.
longdateformat= %d.%m.%Y
datetimeformat= %d.%m. %H:%M
longdatetimeformat= %d.%m.%Y %H:%M
[keybindings]
delete = d
today = .
new = c
</pre> </pre>
</div> </div>
</div> </div>
@ -324,7 +118,7 @@
</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-03-01 dim. 22:49</p> <p class="date">Created: 2020-05-26 mar. 08:39</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-05-26 mar. 08:40 -->
<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>Configuration Files</title> <title>Configuration Files</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">
@ -238,7 +28,6 @@
<ul> <ul>
<li><a href="#org964079a">SSH</a></li> <li><a href="#org964079a">SSH</a></li>
<li><a href="#org4d50f78">Font</a></li> <li><a href="#org4d50f78">Font</a></li>
<li><a href="#org09a995e">Input</a></li>
<li><a href="#org5432d18">GnuPG</a></li> <li><a href="#org5432d18">GnuPG</a></li>
<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>
@ -256,31 +45,31 @@
Host grenoble Host grenoble
hostname ***REMOVED*** hostname ***REMOVED***
Port <span class="org-highlight-numbers-number">10022</span> Port 10022
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 <span class="org-highlight-numbers-number">22</span> Port 22
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 <span class="org-highlight-numbers-number">22</span> Port 22
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 <span class="org-highlight-numbers-number">10022</span> Port 10022
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 <span class="org-highlight-numbers-number">10022</span> Port 10022
user tdehaeze user tdehaeze
IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa
</pre> </pre>
@ -292,8 +81,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"><span class="org-variable-name">&lt;?xml version</span>=<span class="org-string">'1.0'</span>?&gt; <pre class="src src-conf">&lt;?xml version='1.0'?&gt;
&lt;!DOCTYPE fontconfig SYSTEM <span class="org-string">'fonts.dtd'</span>&gt; &lt;!DOCTYPE fontconfig SYSTEM 'fonts.dtd'&gt;
&lt;fontconfig&gt; &lt;fontconfig&gt;
&lt;alias&gt; &lt;alias&gt;
@ -319,90 +108,12 @@ Host nas
</div> </div>
</div> </div>
<div id="outline-container-org09a995e" class="outline-2">
<h2 id="org09a995e">Input</h2>
<div class="outline-text-2" id="text-org09a995e">
<p>
Completion:
</p>
<div class="org-src-container">
<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
<span class="org-comment-delimiter"># </span><span class="org-comment">Ignore case for completion</span>
set completion-ignore-case on
</pre>
</div>
<p>
vi mode:
</p>
<div class="org-src-container">
<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
<span class="org-comment-delimiter"># </span><span class="org-comment">Show which mode (normal or insert)</span>
set show-mode-in-prompt on
<span class="org-comment-delimiter"># </span><span class="org-comment">Show the mode by changing the cursor</span>
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 \<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>
</div>
<p>
Key-bindings for vi-mode:
</p>
<div class="org-src-container">
<pre class="src src-conf">set keymap vi-command
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-command mode</span>
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
Control-w: <span class="org-string">"\C-aisudo \C-e"</span>
set keymap vi-insert
<span class="org-comment-delimiter"># </span><span class="org-comment">these are for vi-insert mode</span>
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
Control-w: <span class="org-string">"\C-asudo \C-e"</span>
</pre>
</div>
<p>
Colorized completion
</p>
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">Color files by types</span>
set colored-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Append char to indicate type</span>
set visible-stats On
<span class="org-comment-delimiter"># </span><span class="org-comment">Mark symlinked directories</span>
set mark-symlinked-directories On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix</span>
set colored-completion-prefix On
<span class="org-comment-delimiter"># </span><span class="org-comment">Color the common prefix in menu-complete</span>
set menu-complete-display-prefix On
</pre>
</div>
<p>
Don&rsquo;t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
</p>
<div class="org-src-container">
<pre class="src src-conf">set echo-control-characters off
</pre>
</div>
</div>
</div>
<div id="outline-container-org5432d18" class="outline-2"> <div id="outline-container-org5432d18" class="outline-2">
<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 <span class="org-highlight-numbers-number">60480000</span> <pre class="src src-conf">default-cache-ttl 60480000
max-cache-ttl <span class="org-highlight-numbers-number">60480000</span> max-cache-ttl 60480000
</pre> </pre>
</div> </div>
</div> </div>
@ -412,22 +123,22 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<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">[<span class="org-type">redshift</span>] <pre class="src src-conf">[redshift]
<span class="org-variable-name">temp-day</span>=<span class="org-highlight-numbers-number">5700</span> temp-day=5700
<span class="org-variable-name">temp-night</span>=<span class="org-highlight-numbers-number">3500</span> temp-night=3500
<span class="org-variable-name">transition</span>=<span class="org-highlight-numbers-number">1</span> transition=1
<span class="org-variable-name">;brightness-day</span>=<span class="org-highlight-numbers-number">0.7</span> ;brightness-day=0.7
<span class="org-variable-name">;brightness-night</span>=<span class="org-highlight-numbers-number">0.4</span> ;brightness-night=0.4
<span class="org-variable-name">location-provider</span>=manual location-provider=manual
<span class="org-variable-name">adjustment-method</span>=randr adjustment-method=randr
[<span class="org-type">manual</span>] [manual]
<span class="org-variable-name">lat</span>=<span class="org-highlight-numbers-number">45.1</span> lat=45.1
<span class="org-variable-name">lon</span>=<span class="org-highlight-numbers-number">5.7</span> lon=5.7
</pre> </pre>
</div> </div>
</div> </div>
@ -437,26 +148,26 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<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"><span class="org-comment-delimiter"># </span><span class="org-comment">define the font for dmenu to be used</span> <pre class="src src-conf"># define the font for dmenu to be used
<span class="org-variable-name">DMENU_FN</span>=<span class="org-string">"Hack Nerd Font 12"</span> DMENU_FN="Hack Nerd Font 12"
<span class="org-comment-delimiter"># </span><span class="org-comment">background colour for unselected menu-items</span> # background colour for unselected menu-items
<span class="org-variable-name">DMENU_NB</span>=<span class="org-string">"#222D31"</span> DMENU_NB="#222D31"
<span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for unselected menu-items</span> # textcolour for unselected menu-items
<span class="org-variable-name">DMENU_NF</span>=<span class="org-string">"#F9FAF9"</span> DMENU_NF="#F9FAF9"
<span class="org-comment-delimiter"># </span><span class="org-comment">background colour for selected menu-items</span> # background colour for selected menu-items
<span class="org-variable-name">DMENU_SB</span>=<span class="org-string">"#16A085"</span> DMENU_SB="#16A085"
<span class="org-comment-delimiter"># </span><span class="org-comment">textcolour for selected menu-items</span> # textcolour for selected menu-items
<span class="org-variable-name">DMENU_SF</span>=<span class="org-string">"#F9FAF9"</span> DMENU_SF="#F9FAF9"
<span class="org-comment-delimiter"># </span><span class="org-comment">command for the terminal application to be used:</span> # command for the terminal application to be used:
<span class="org-variable-name">TERMINAL_CMD</span>=<span class="org-string">"terminal -e"</span> TERMINAL_CMD="terminal -e"
<span class="org-comment-delimiter"># </span><span class="org-comment">export our variables</span> # export our variables
<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> DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
</pre> </pre>
</div> </div>
</div> </div>
@ -466,20 +177,20 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<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"><span class="org-variable-name">LANG</span>=en_US.UTF-8 <pre class="src src-conf">LANG=en_US.UTF-8
<span class="org-variable-name">LC_CTYPE</span>=<span class="org-string">"en_US.UTF-8"</span> LC_CTYPE="en_US.UTF-8"
<span class="org-variable-name">LC_NUMERIC</span>=fr_FR.UTF-8 LC_NUMERIC=fr_FR.UTF-8
<span class="org-variable-name">LC_TIME</span>=fr_FR.UTF-8 LC_TIME=fr_FR.UTF-8
<span class="org-variable-name">LC_COLLATE</span>=<span class="org-string">"en_US.UTF-8"</span> LC_COLLATE="en_US.UTF-8"
<span class="org-variable-name">LC_MONETARY</span>=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8
<span class="org-variable-name">LC_MESSAGES</span>=<span class="org-string">"en_US.UTF-8"</span> LC_MESSAGES="en_US.UTF-8"
<span class="org-variable-name">LC_PAPER</span>=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8
<span class="org-variable-name">LC_NAME</span>=fr_FR.UTF-8 LC_NAME=fr_FR.UTF-8
<span class="org-variable-name">LC_ADDRESS</span>=fr_FR.UTF-8 LC_ADDRESS=fr_FR.UTF-8
<span class="org-variable-name">LC_TELEPHONE</span>=fr_FR.UTF-8 LC_TELEPHONE=fr_FR.UTF-8
<span class="org-variable-name">LC_MEASUREMENT</span>=fr_FR.UTF-8 LC_MEASUREMENT=fr_FR.UTF-8
<span class="org-variable-name">LC_IDENTIFICATION</span>=fr_FR.UTF-8 LC_IDENTIFICATION=fr_FR.UTF-8
<span class="org-variable-name">LC_ALL</span>= LC_ALL=
</pre> </pre>
</div> </div>
</div> </div>
@ -489,8 +200,8 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
<h2 id="org3de708f">Pass Git Helper</h2> <h2 id="org3de708f">Pass Git Helper</h2>
<div class="outline-text-2" id="text-org3de708f"> <div class="outline-text-2" id="text-org3de708f">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">github.com*</span>] <pre class="src src-conf">[github.com*]
<span class="org-variable-name">target</span>=github.com/tdehaeze target=github.com/tdehaeze
</pre> </pre>
</div> </div>
</div> </div>
@ -498,7 +209,7 @@ max-cache-ttl <span class="org-highlight-numbers-number">60480000</span>
</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-05-26 mar. 08:40</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,115 @@
<?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-05-26 mar. 08:39 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>My Own Library of Babel</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Thomas Dehaeze" />
</head>
<body>
<div id="content">
<h1 class="title">My Own Library of Babel</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org71b708a"><code>get-password</code> - Get Password from <code>pass</code></a></li>
<li><a href="#org79b9e08"><code>pdf2svg</code> - Export to pdf/png/svg at the same time</a></li>
<li><a href="#org6ba9d05"><code>addhdr</code> - Add hline to tables</a></li>
<li><a href="#org7b7c23f">Matlab Related</a>
<ul>
<li><a href="#orgd33f90b"><code>matlab-dir</code> Go to current directory</a></li>
<li><a href="#org408551b"><code>matlab-init</code> Initialize matlab</a></li>
<li><a href="#orgf9fe5d3"><code>plt-matlab</code> Plot figures</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org71b708a" class="outline-2">
<h2 id="org71b708a"><code>get-password</code> - Get Password from <code>pass</code></h2>
<div class="outline-text-2" id="text-org71b708a">
<div class="org-src-container">
<pre class="src src-bash" id="org8e7df7d">pass $passname | sed -n 1p
</pre>
</div>
</div>
</div>
<div id="outline-container-org79b9e08" class="outline-2">
<h2 id="org79b9e08"><code>pdf2svg</code> - Export to pdf/png/svg at the same time</h2>
<div class="outline-text-2" id="text-org79b9e08">
<div class="org-src-container">
<pre class="src src-sh" id="org2d9e76a">_mydir="$(pwd)";
file=$(echo "$file" | cut -f 2- -d ':');
_figdir=$(dirname "$file");
cd $_figdir;
filename=$(echo "${file##*/}" | cut -f 1 -d '.');
pdftocairo -png -transp -singlefile "$filename.pdf";
pdftocairo -svg "$filename.pdf";
cd "$_mydir";
echo "[[file:$_figdir/$filename.$ext]]"
</pre>
</div>
</div>
</div>
<div id="outline-container-org6ba9d05" class="outline-2">
<h2 id="org6ba9d05"><code>addhdr</code> - Add hline to tables</h2>
<div class="outline-text-2" id="text-org6ba9d05">
<div class="org-src-container">
<pre class="src src-emacs-lisp" id="orgf8eebf6">(cons (car tbl) (cons 'hline (cdr tbl)))
</pre>
</div>
</div>
</div>
<div id="outline-container-org7b7c23f" class="outline-2">
<h2 id="org7b7c23f">Matlab Related</h2>
<div class="outline-text-2" id="text-org7b7c23f">
</div>
<div id="outline-container-orgd33f90b" class="outline-3">
<h3 id="orgd33f90b"><code>matlab-dir</code> Go to current directory</h3>
</div>
<div id="outline-container-org408551b" class="outline-3">
<h3 id="org408551b"><code>matlab-init</code> Initialize matlab</h3>
</div>
<div id="outline-container-orgf9fe5d3" class="outline-3">
<h3 id="orgf9fe5d3"><code>plt-matlab</code> Plot figures</h3>
<div class="outline-text-3" id="text-orgf9fe5d3">
<p>
Some variable can be set by block that expands this org source code block:
</p>
<ul class="org-ul">
<li><code>path</code>: specify the path of the figure including the file extension. Can be relative or absolute. If not provided, it will create the figure in the <code>/tmp</code> folder</li>
<li><code>fig_size</code>: can specify the size of the figure. If not specify, default will be applied.</li>
</ul>
<div class="org-src-container">
<pre class="src src-matlab" id="org035555e">if ~exist('filepath') || length(filepath) &lt; 2
symbols = ['a':'z' 'A':'Z' '0':'9'];
random_string = symbols(randi(numel(symbols),[1 5]));
filepath = ['/tmp/matlab-fig-', random_string];
end
size_strings = strsplit(figsize, '-');
ans = exportFig(filepath, 'width', size_strings{1}, 'height', size_strings{2});
</pre>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Thomas Dehaeze</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p>
</div>
</body>
</html>

812
docs/emacs-snippets.html Normal file
View File

@ -0,0 +1,812 @@
<?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-05-26 mar. 08:39 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Doom Emacs Configuration</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">Doom Emacs Configuration</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org2d95028">LaTeX</a>
<ul>
<li><a href="#org8474362">Coordinate</a></li>
<li><a href="#org59ecb26">Draw</a></li>
<li><a href="#org7d9566f">Node</a></li>
<li><a href="#org2bf4fa9">Path</a></li>
</ul>
</li>
<li><a href="#org184a71b">Matlab</a>
<ul>
<li><a href="#org57b4acd">Clear</a></li>
<li><a href="#org2e18b5b">Function</a></li>
</ul>
</li>
<li><a href="#org1d5c56b">Org Mode</a>
<ul>
<li><a href="#orge6f2295">Begin</a></li>
<li><a href="#orge3638b9">Caption</a></li>
<li><a href="#org5baebfd">Block</a></li>
<li><a href="#org5af680d">Custom Box</a></li>
<li><a href="#orgbc9e91e">Latex Class</a></li>
<li><a href="#org44e3f97">Bibliography with completion</a></li>
<li><a href="#orgff33361">Cite</a></li>
<li><a href="#org2596a7d">Ref</a></li>
<li><a href="#orgad4ea52">Beamer - CBOX</a></li>
<li><a href="#orgeceea05">Code</a></li>
<li><a href="#org07c50c9">Equation</a></li>
<li><a href="#orgc8d9a5f">Figure</a></li>
<li><a href="#org110ed8f">Frac</a></li>
<li><a href="#orgd3f3c7d">Left</a></li>
<li><a href="#org7443b06">Minipage</a></li>
<li><a href="#orgeb4af43">Multicolumn</a></li>
<li><a href="#org88c6f73">Subfigure</a></li>
<li><a href="#orgc411771">Table</a></li>
<li><a href="#org9f4cd61">Tikz</a></li>
<li><a href="#org354eeb6">Tikzfig</a></li>
<li><a href="#org82996fc">Tikzheader</a></li>
<li><a href="#orge0d83c7">User-config</a></li>
<li><a href="#orgdd8424a">User-init</a></li>
<li><a href="#orgfd7122c">Wrap</a></li>
<li><a href="#orgca596d4">Matlab Specific</a>
<ul>
<li><a href="#org8ec12f3">Mconfig</a></li>
<li><a href="#orge7bcf86">Mdescription</a></li>
<li><a href="#orgbc46c85">Mfigure</a></li>
<li><a href="#orgab32029">Mfunction</a></li>
<li><a href="#orgc44afd5">Mheader</a></li>
<li><a href="#orga9eb6ca">Minit</a></li>
<li><a href="#org3ccf909">Mtable</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org2d95028" class="outline-2">
<h2 id="org2d95028">LaTeX</h2>
<div class="outline-text-2" id="text-org2d95028">
</div>
<div id="outline-container-org8474362" class="outline-3">
<h3 id="org8474362">Coordinate</h3>
<div class="outline-text-3" id="text-org8474362">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :coordinate
# --
\coordinate[${1:-&gt;}] (${2:name}) at (${3:pointcoordinate});
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org59ecb26" class="outline-3">
<h3 id="org59ecb26">Draw</h3>
<div class="outline-text-3" id="text-org59ecb26">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :draw
# --
\draw[${1:-&gt;}] (${2:point1}) -- (${3:point2});
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org7d9566f" class="outline-3">
<h3 id="org7d9566f">Node</h3>
<div class="outline-text-3" id="text-org7d9566f">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :node
# --
node[${1:below right}] (${2:name}) {${3:label}};
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org2bf4fa9" class="outline-3">
<h3 id="org2bf4fa9">Path</h3>
<div class="outline-text-3" id="text-org2bf4fa9">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :path
# --
\path[${1}] (${2:point1}) -- (${3:point2});
$0
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org184a71b" class="outline-2">
<h2 id="org184a71b">Matlab</h2>
<div class="outline-text-2" id="text-org184a71b">
</div>
<div id="outline-container-org57b4acd" class="outline-3">
<h3 id="org57b4acd">Clear</h3>
<div class="outline-text-3" id="text-org57b4acd">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :clear and close all
# --
clear; close all; clc;
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org2e18b5b" class="outline-3">
<h3 id="org2e18b5b">Function</h3>
<div class="outline-text-3" id="text-org2e18b5b">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :function
# --
function [${4:outputs}] = ${1:functionName}(${2:inputs}, ${3:opts_param})
% $1 - Description
%
% Syntax: $1($2, $3)
%
% Inputs:
% - $2 -
% - $3 - Optionals parameters: structure with the following fields:
% -
%
% Outputs:
% - $4 -
%% Default value for opts
opts = struct(...
'${5:outputs}', ${6:default_value} ...
);
if exist('opts_param','var')
for opt = fieldnames($3)'
if sum(strcmp(fieldnames(opts), opt{1})) == 1
opts.(opt{1}) = $3.(opt{1});
else
warning(sprintf('%s is not a valid option.', opt{1}));
end
end
end
$0
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-org1d5c56b" class="outline-2">
<h2 id="org1d5c56b">Org Mode</h2>
<div class="outline-text-2" id="text-org1d5c56b">
</div>
<div id="outline-container-orge6f2295" class="outline-3">
<h3 id="orge6f2295">Begin</h3>
<div class="outline-text-3" id="text-orge6f2295">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :LaTeX Environment
# --
\begin{${1:equation}}
$0
\end{$1}
</pre>
</div>
</div>
</div>
<div id="outline-container-orge3638b9" class="outline-3">
<h3 id="orge3638b9">Caption</h3>
<div class="outline-text-3" id="text-orge3638b9">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Caption
# --
#+caption: $0
</pre>
</div>
</div>
</div>
<div id="outline-container-org5baebfd" class="outline-3">
<h3 id="org5baebfd">Block</h3>
<div class="outline-text-3" id="text-org5baebfd">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Org-Mode Block
#key: block
# --
#+begin_${1:$$(let ((type (yas-choose-value '("src" "example" "quote" "verse" "center" "latex" "html" "ascii"))))
(if type (concat type (if (equal type "src")
(concat " " (yas-choose-value '("emacs-lisp" "latex" "python" "sh" "matlab")))))))}
$0
#+end_${1:$(car (split-string yas-text))}
</pre>
</div>
</div>
</div>
<div id="outline-container-org5af680d" class="outline-3">
<h3 id="org5af680d">Custom Box</h3>
<div class="outline-text-3" id="text-org5af680d">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Custom Box
# --
#+attr_latex: :options [$1]{${2:blue}}{${3:ams nodisplayskip}}
#+begin_cbox
$0
#+end_cbox
</pre>
</div>
</div>
</div>
<div id="outline-container-orgbc9e91e" class="outline-3">
<h3 id="orgbc9e91e">Latex Class</h3>
<div class="outline-text-3" id="text-orgbc9e91e">
<div class="org-src-container">
<pre class="src src-conf">#name: latex-class
#key: lc
#expand-env: ((classes (mapcar 'car org-latex-classes)))
# --
#+latex_class: ${1:$$(yas-choose-value classes)}
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org44e3f97" class="outline-3">
<h3 id="org44e3f97">Bibliography with completion</h3>
<div class="outline-text-3" id="text-org44e3f97">
<div class="org-src-container">
<pre class="src src-conf">#name: bibliography with completion
#key: bib
# --
bibliography:${1:$$(yas-choose-value (org-ref-find-bibliography))}
</pre>
</div>
</div>
</div>
<div id="outline-container-orgff33361" class="outline-3">
<h3 id="orgff33361">Cite</h3>
<div class="outline-text-3" id="text-orgff33361">
<div class="org-src-container">
<pre class="src src-conf">#name: org-ref cite link
#key: cite
# --
cite:${1:$$(completing-read
"bibtex key: "
(let ((bibtex-files (org-ref-find-bibliography)))(bibtex-global-key-alist)))}
</pre>
</div>
</div>
</div>
<div id="outline-container-org2596a7d" class="outline-3">
<h3 id="org2596a7d">Ref</h3>
<div class="outline-text-3" id="text-org2596a7d">
<div class="org-src-container">
<pre class="src src-conf">#name: org-ref ref link with completion
#key: ref
# --
ref:${1:$$(completing-read "label: " (org-ref-get-labels))}
</pre>
</div>
</div>
</div>
<div id="outline-container-orgad4ea52" class="outline-3">
<h3 id="orgad4ea52">Beamer - CBOX</h3>
<div class="outline-text-3" id="text-orgad4ea52">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Beamer Custom Box
# --
*** ${1:@@latex:@@} :B_cbox:
,:PROPERTIES:
:BEAMER_env: cbox
:BEAMER_opt: {${2:blue}}{${3:ams nodisplayskip}}
:END:
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgeceea05" class="outline-3">
<h3 id="orgeceea05">Code</h3>
<div class="outline-text-3" id="text-orgeceea05">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Code
# --
#+caption: ${1:Listing Caption}
#+label: lst:${2:listing_name}
#+begin_src ${3:listing_language}
$0
#+end_src
</pre>
</div>
</div>
</div>
<div id="outline-container-org07c50c9" class="outline-3">
<h3 id="org07c50c9">Equation</h3>
<div class="outline-text-3" id="text-org07c50c9">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Equation
# --
#+name: eq:${1:equation_name}
\begin{equation}
$0
\end{equation}
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc8d9a5f" class="outline-3">
<h3 id="orgc8d9a5f">Figure</h3>
<div class="outline-text-3" id="text-orgc8d9a5f">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Figure
# --
#+name: fig:${1:figure_name}
#+caption: ${2:Figure caption}
[[file:${3:figs/}$1.${4:pdf}]]
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org110ed8f" class="outline-3">
<h3 id="org110ed8f">Frac</h3>
<div class="outline-text-3" id="text-org110ed8f">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :LaTeX Fraction
# --
\frac{$1}{$2} $0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgd3f3c7d" class="outline-3">
<h3 id="orgd3f3c7d">Left</h3>
<div class="outline-text-3" id="text-orgd3f3c7d">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Left Right mathematical delimitations
# --
\left$1 $0 \right$2
</pre>
</div>
</div>
</div>
<div id="outline-container-org7443b06" class="outline-3">
<h3 id="org7443b06">Minipage</h3>
<div class="outline-text-3" id="text-org7443b06">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :minipage
# --
#+BEGIN_EXPORT latex
\begin{figure}[htbp]
\centering
\begin{minipage}[t]{0.49\linewidth}
#+END_EXPORT
#+attr_latex: :float nil :width 0.95\linewidth
$0
#+BEGIN_EXPORT latex
\end{minipage}%
\hfill%
\begin{minipage}[t]{0.49\linewidth}
#+END_EXPORT
#+attr_latex: :float nil :width 0.95\linewidth
#+BEGIN_EXPORT latex
\end{minipage}
\end{figure}
#+END_EXPORT
</pre>
</div>
</div>
</div>
<div id="outline-container-orgeb4af43" class="outline-3">
<h3 id="orgeb4af43">Multicolumn</h3>
<div class="outline-text-3" id="text-orgeb4af43">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Multcolumn
# --
#+attr_latex: :float multicolumn
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org88c6f73" class="outline-3">
<h3 id="org88c6f73">Subfigure</h3>
<div class="outline-text-3" id="text-org88c6f73">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Subfigure
# --
#+name: fig:${1:figure_name}
#+caption: ${2:figure caption}
#+attr_latex: :environment subfigure :width 0.49\linewidth :align c
| file:${3:sub_fig_name}.${4:pdf} | file:${5:sub_fig_name}.${6:pdf} |
| &lt;&lt;fig:$3&gt;&gt; ${7:sub figure caption} | &lt;&lt;fig:$5&gt;&gt; ${8:sub figure caption} |
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc411771" class="outline-3">
<h3 id="orgc411771">Table</h3>
<div class="outline-text-3" id="text-orgc411771">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Table
# --
#+name: tab:${1:table_name}
#+caption: ${2:Table caption}
#+attr_latex: :environment tabularx :width ${3:\linewidth} :align ${4:lXX}
#+attr_latex: :center t :booktabs t :float t
| $0 | | |
|---+---+---|
| | | |
</pre>
</div>
</div>
</div>
<div id="outline-container-org9f4cd61" class="outline-3">
<h3 id="org9f4cd61">Tikz</h3>
<div class="outline-text-3" id="text-org9f4cd61">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Tikz figure
# --
#+begin_src latex :file ${1:figure_name}.pdf :post pdf2svg(file=*this*, ext="png") :exports both
\begin{tikzpicture}
$0
\end{tikzpicture}
#+end_src
</pre>
</div>
</div>
</div>
<div id="outline-container-org354eeb6" class="outline-3">
<h3 id="org354eeb6">Tikzfig</h3>
<div class="outline-text-3" id="text-org354eeb6">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Tikz Figure
# --
#+NAME: fig:${1:figure_name}
#+HEADER: :headers '("\\\\usepackage{tikz}" "\\\\usepackage{import}" "\\\\import{$HOME/Cloud/thesis/LaTeX/}{config.tex}")
#+HEADER: :imagemagick t :fit yes :iminoptions -scale 100% -density 150 :imoutoptions -quality 100
#+HEADER: :results raw replace :buffer no :eval no-export :exports both :mkdirp yes
#+HEADER: :output-dir ${2:figs}
#+begin_src latex :file $1.pdf :post pdf2svg(file=*this*, ext="png") :exports both
\begin{tikzpicture}
$0
\end{tikzpicture}
#+end_src
#+NAME: fig:$1
#+CAPTION: ${3:Caption}
#+RESULTS: fig:$1
</pre>
</div>
</div>
</div>
<div id="outline-container-org82996fc" class="outline-3">
<h3 id="org82996fc">Tikzheader</h3>
<div class="outline-text-3" id="text-org82996fc">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Tikz Header
# --
* ${1:Title/Description of the figure}
#+begin_src latex :file ${2:figure_name}.pdf :tangle figs/$2.tex :exports ${3:both}
\begin{tikzpicture}
$0
\end{tikzpicture}
#+end_src
#+name: fig:$2
#+caption: $1 ([[./figs/$2.png][png]], [[./figs/$2.pdf][pdf]], [[./figs/$2.tex][tex]]).
#+RESULTS:
[[file:./figs/$2.png]]
</pre>
</div>
</div>
</div>
<div id="outline-container-orge0d83c7" class="outline-3">
<h3 id="orge0d83c7">User-config</h3>
<div class="outline-text-3" id="text-orge0d83c7">
<div class="org-src-container">
<pre class="src src-conf"># -*- mode: snippet -*-
# name: user-config
# key: uc
# --
#+begin_src emacs-lisp :tangle user-config.el
$1
#+end_src
</pre>
</div>
</div>
</div>
<div id="outline-container-orgdd8424a" class="outline-3">
<h3 id="orgdd8424a">User-init</h3>
<div class="outline-text-3" id="text-orgdd8424a">
<p>
#+begin_src conf :tangle ~/.config/doom/snippets/org-mode/user-init
</p>
<p>
,#+begin_src emacs-lisp :tangle user-init.el
$1
,#+end_src
#+end_Sec
</p>
</div>
</div>
<div id="outline-container-orgfd7122c" class="outline-3">
<h3 id="orgfd7122c">Wrap</h3>
<div class="outline-text-3" id="text-orgfd7122c">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Wrap
# --
#+attr_latex: :float wrap
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgca596d4" class="outline-3">
<h3 id="orgca596d4">Matlab Specific</h3>
<div class="outline-text-3" id="text-orgca596d4">
</div>
<div id="outline-container-org8ec12f3" class="outline-4">
<h4 id="org8ec12f3">Mconfig</h4>
<div class="outline-text-4" id="text-org8ec12f3">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Configuration-Header
# --
#+PROPERTY: header-args:matlab :session *MATLAB*
#+PROPERTY: header-args:matlab+ :tangle ${1:filename}.m
#+PROPERTY: header-args:matlab+ :comments org
#+PROPERTY: header-args:matlab+ :exports both
#+PROPERTY: header-args:matlab+ :results none
#+PROPERTY: header-args:matlab+ :eval no-export
#+PROPERTY: header-args:matlab+ :noweb yes
#+PROPERTY: header-args:matlab+ :mkdirp yes
#+PROPERTY: header-args:matlab+ :output-dir ${2:figs}
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orge7bcf86" class="outline-4">
<h4 id="orge7bcf86">Mdescription</h4>
<div class="outline-text-4" id="text-orge7bcf86">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Measurement-Description
# --
* Measurement description
** Setup :ignore:
*Setup*:
** Goal :ignore:
*Goal*:
** Measurements :ignore:
*Measurements*:
Three measurements are done:
| Measurement File | Description |
|-------------------------+------------------------------|
| =mat/data_${1:001}.mat= | $2 |
Each of the measurement =mat= file contains one =data= array with 3 columns:
| Column number | Description |
|---------------+-------------------|
| 1 | $3 |
| 2 | $4 |
| 3 | Time |
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orgbc46c85" class="outline-4">
<h4 id="orgbc46c85">Mfigure</h4>
<div class="outline-text-4" id="text-orgbc46c85">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Figure
# --
#+begin_src matlab :tangle no :exports results :results file replace
exportFig('figs/${1:filename}.pdf', 'width', '${2:full}', 'height', '${3:full}');
#+end_src
#+name: fig:$1
#+caption: $0
#+RESULTS:
[[file:figs/$1.png]]
</pre>
</div>
</div>
</div>
<div id="outline-container-orgab32029" class="outline-4">
<h4 id="orgab32029">Mfunction</h4>
<div class="outline-text-4" id="text-orgab32029">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Function
# --
* ${1:Function Name}
:PROPERTIES:
:header-args:matlab+: :tangle src/${2:matlab_file_name}.m
:header-args:matlab+: :comments none :mkdirp yes :eval no
:END:
&lt;&lt;sec:$2&gt;&gt;
This Matlab function is accessible [[file:src/$2.m][here]].
#+begin_src matlab
function [${4:in_data}] = $2(${3:in_data})
% $2 - $0
%
% Syntax: [$4] = $2($3)
%
% Inputs:
% - $3 -
%
% Outputs:
% - $4 -
end
#+end_src
</pre>
</div>
</div>
</div>
<div id="outline-container-orgc44afd5" class="outline-4">
<h4 id="orgc44afd5">Mheader</h4>
<div class="outline-text-4" id="text-orgc44afd5">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Header
# --
* ${1:Heading Name}
:PROPERTIES:
:header-args:matlab+: :tangle matlab/${2:matlab_file_name}.m
:header-args:matlab+: :comments org :mkdirp yes
:END:
&lt;&lt;sec:$2&gt;&gt;
** ZIP file containing the data and matlab files :ignore:
#+begin_src bash :exports none :results none
if [ matlab/$2.m -nt data/$2.zip ]; then
cp matlab/$2.m $2.m;
zip data/$2 \
mat/data.mat \
$2.m
rm $2.m;
fi
#+end_src
#+begin_note
All the files (data and Matlab scripts) are accessible [[file:data/$2.zip][here]].
#+end_note
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-orga9eb6ca" class="outline-4">
<h4 id="orga9eb6ca">Minit</h4>
<div class="outline-text-4" id="text-orga9eb6ca">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Init
# --
** Matlab Init :noexport:ignore:
#+begin_src matlab :tangle no :exports none :results silent :noweb yes :var current_dir=(file-name-directory buffer-file-name)
&lt;&lt;matlab-dir&gt;&gt;
#+end_src
#+begin_src matlab :exports none :results silent :noweb yes
&lt;&lt;matlab-init&gt;&gt;
#+end_src
$0
</pre>
</div>
</div>
</div>
<div id="outline-container-org3ccf909" class="outline-4">
<h4 id="org3ccf909">Mtable</h4>
<div class="outline-text-4" id="text-org3ccf909">
<div class="org-src-container">
<pre class="src src-conf">#contributor : Thomas Dehaeze &lt;dehaeze.thomas@gmail.com&gt;
#name :Matlab-Table
# --
#+begin_src matlab :exports results :results value table replace :tangle no :post addhdr(*this*)
data2orgtable(${1:data}, {${2:'rowlabel'}}, {${3:'collabel'}}, ' %.1f ');
#+end_src
$0
</pre>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2020-05-26 mar. 08:39</p>
</div>
</body>
</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-05-26 mar. 08:40 -->
<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>I3 Configuration</title> <title>I3 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">
@ -258,9 +48,8 @@
</ul> </ul>
</div> </div>
</div> </div>
<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">i3 config file (v4)</span> <pre class="src src-conf"># i3 config file (v4)
</pre> </pre>
</div> </div>
@ -281,8 +70,8 @@ Set mod key (Mod1=&lt;Alt&gt;, Mod4=&lt;Super&gt;)
<h2 id="org6e4f11a">Border Style</h2> <h2 id="org6e4f11a">Border Style</h2>
<div class="outline-text-2" id="text-org6e4f11a"> <div class="outline-text-2" id="text-org6e4f11a">
<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">Use custom colors for black</span> <pre class="src src-conf"># Use custom colors for black
new_window pixel <span class="org-highlight-numbers-number">1</span> new_window pixel 1
new_float normal new_float normal
</pre> </pre>
</div> </div>
@ -301,7 +90,7 @@ Hide borders
<h2 id="orgb3d9c62">Font for window titles</h2> <h2 id="orgb3d9c62">Font for window titles</h2>
<div class="outline-text-2" id="text-orgb3d9c62"> <div class="outline-text-2" id="text-orgb3d9c62">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">font Hack Nerd Font <span class="org-highlight-numbers-number">11</span> <pre class="src src-conf">font Hack Nerd Font 11
</pre> </pre>
</div> </div>
</div> </div>
@ -311,22 +100,22 @@ Hide borders
<h2 id="orge2dfbd2">Colors Variables</h2> <h2 id="orge2dfbd2">Colors Variables</h2>
<div class="outline-text-2" id="text-orge2dfbd2"> <div class="outline-text-2" id="text-orge2dfbd2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">set_from_resource $bg color0 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> <pre class="src src-conf">set_from_resource $bg color0 #000000
set_from_resource $darkred color1 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkred color1 #000000
set_from_resource $darkgreen color2 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkgreen color2 #000000
set_from_resource $darkyellow color3 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkyellow color3 #000000
set_from_resource $darkblue color4 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkblue color4 #000000
set_from_resource $darkpurple color5 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkpurple color5 #000000
set_from_resource $darkaqua color6 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkaqua color6 #000000
set_from_resource $darkgray color7 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $darkgray color7 #000000
set_from_resource $gray color8 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $gray color8 #000000
set_from_resource $red color9 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $red color9 #000000
set_from_resource $green color10 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $green color10 #000000
set_from_resource $yellow color11 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $yellow color11 #000000
set_from_resource $blue color12 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $blue color12 #000000
set_from_resource $purple color13 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $purple color13 #000000
set_from_resource $aqua color14 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $aqua color14 #000000
set_from_resource $fg color15 <span class="org-comment-delimiter">#</span><span class="org-comment">000000</span> set_from_resource $fg color15 #000000
</pre> </pre>
</div> </div>
</div> </div>
@ -336,7 +125,7 @@ set_from_resource $fg color15 <span class="org-comment-delimiter">#</spa
<h2 id="orgec5c654">Theme colors</h2> <h2 id="orgec5c654">Theme colors</h2>
<div class="outline-text-2" id="text-orgec5c654"> <div class="outline-text-2" id="text-orgec5c654">
<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">class border backgr. text indic. child_border</span> <pre class="src src-conf"># class border backgr. text indic. child_border
client.focused $darkaqua $darkaqua $fg $bg client.focused $darkaqua $darkaqua $fg $bg
client.focused_inactive $bg $bg $fg $bg client.focused_inactive $bg $bg $fg $bg
client.unfocused $bg $bg $fg $bg client.unfocused $bg $bg $fg $bg
@ -370,7 +159,7 @@ Layout mode for new containers
<h2 id="orgb1cbca7">Border</h2> <h2 id="orgb1cbca7">Border</h2>
<div class="outline-text-2" id="text-orgb1cbca7"> <div class="outline-text-2" id="text-orgb1cbca7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">default_border pixel <span class="org-highlight-numbers-number">1</span> <pre class="src src-conf">default_border pixel 1
</pre> </pre>
</div> </div>
</div> </div>
@ -380,13 +169,13 @@ Layout mode for new containers
<h2 id="org92d84a9">Settings for i3-gaps</h2> <h2 id="org92d84a9">Settings for i3-gaps</h2>
<div class="outline-text-2" id="text-org92d84a9"> <div class="outline-text-2" id="text-org92d84a9">
<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">for_window [class=".*"] border pixel 0</span> <pre class="src src-conf"># for_window [class=".*"] border pixel 0
</pre> </pre>
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">gaps inner <span class="org-highlight-numbers-number">10</span> <pre class="src src-conf">gaps inner 10
gaps outer <span class="org-highlight-numbers-number">2</span> gaps outer 2
</pre> </pre>
</div> </div>
</div> </div>
@ -400,14 +189,14 @@ To display names or symbols instead of plain workspace numbers you can use somet
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">set $ws1 <span class="org-highlight-numbers-number">1</span> <pre class="src src-conf">set $ws1 1
set $ws2 <span class="org-highlight-numbers-number">2</span> set $ws2 2
set $ws3 <span class="org-highlight-numbers-number">3</span> set $ws3 3
set $ws4 <span class="org-highlight-numbers-number">4</span> set $ws4 4
set $ws5 <span class="org-highlight-numbers-number">5</span> set $ws5 5
set $ws6 <span class="org-highlight-numbers-number">6</span> set $ws6 6
set $ws7 <span class="org-highlight-numbers-number">7</span> set $ws7 7
set $ws8 <span class="org-highlight-numbers-number">8</span> set $ws8 8
</pre> </pre>
</div> </div>
</div> </div>
@ -441,9 +230,9 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
<h3 id="orgec227a1">Open applications on specific workspaces</h3> <h3 id="orgec227a1">Open applications on specific workspaces</h3>
<div class="outline-text-3" id="text-orgec227a1"> <div class="outline-text-3" id="text-orgec227a1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">assign[title</span>=<span class="org-string">"^Fig"</span>] $ws6 <span class="org-comment-delimiter"># </span><span class="org-comment">Matlab Figures</span> <pre class="src src-conf">assign[title="^Fig"] $ws6 # Matlab Figures
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"^Fig"</span>] layout tabbed for_window [title="^Fig"] layout tabbed
<span class="org-variable-name">assign[title</span>=<span class="org-string">"^HG_Peer"</span>] $ws6 <span class="org-comment-delimiter"># </span><span class="org-comment">Name of window when export figure with matlab</span> assign[title="^HG_Peer"] $ws6 # Name of window when export figure with matlab
</pre> </pre>
</div> </div>
</div> </div>
@ -453,20 +242,22 @@ set $ws8 <span class="org-highlight-numbers-number">8</span>
<h3 id="org05defe1">Open specific applications in floating mode</h3> <h3 id="org05defe1">Open specific applications in floating mode</h3>
<div class="outline-text-3" id="text-org05defe1"> <div class="outline-text-3" id="text-org05defe1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf"><span class="org-variable-name">for_window [title</span>=<span class="org-string">"File Transfer*"</span>] floating enable <pre class="src src-conf">for_window [title="File Transfer*"] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"GParted"</span>] floating enable border normal for_window [class="GParted"] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Lightdm-settings"</span>] floating enable for_window [class="Lightdm-settings"] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Lxappearance"</span>] floating enable sticky enable border normal for_window [class="Lxappearance"] floating enable sticky enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Pavucontrol"</span>] floating enable for_window [class="Pavucontrol"] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Arandr"</span>] floating enable for_window [class="Arandr"] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Simple-scan"</span>] floating enable border normal for_window [class="Simple-scan"] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"(?i)System-config-printer.py"</span>] floating enable border normal for_window [class="(?i)System-config-printer.py"] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Xfburn"</span>] floating enable for_window [class="Xfburn"] floating enable
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"^Documentation -"</span>] floating enable border normal for_window [title="^Documentation -"] floating enable border normal
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Yad"</span>] floating enable for_window [class="Yad"] floating enable
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"Bluetooth Devices"</span>] floating enable for_window [title="Bluetooth Devices"] floating enable
<span class="org-variable-name">for_window [title</span>=<span class="org-string">"Simulink Library Browser"</span>] floating enable for_window [title="Simulink Library Browser"] floating enable
<span class="org-variable-name">for_window [class</span>=<span class="org-string">"Floating"</span>] floating enable, resize set <span class="org-highlight-numbers-number">800</span> <span class="org-highlight-numbers-number">600</span>, move position <span class="org-highlight-numbers-number">1100</span> <span class="org-highlight-numbers-number">460</span> for_window [class="Floating"] floating enable, resize set 800 600, move position 1100 460
for_window [class="Sxiv"] floating enable, resize set 800 600, move position center
for_window [title="nmtui"] floating enable, resize set 800 600
</pre> </pre>
</div> </div>
</div> </div>
@ -499,7 +290,7 @@ If there are multiple scratchpad windows, this command cycles through them.
<h2 id="orgff12892">Run Polybar and SXHKD</h2> <h2 id="orgff12892">Run Polybar and SXHKD</h2>
<div class="outline-text-2" id="text-orgff12892"> <div class="outline-text-2" id="text-orgff12892">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">exec --no-startup-id sxhkd -m <span class="org-highlight-numbers-number">1</span> -c ~/.config/sxhkd/sxhkdrc.i3 <pre class="src src-conf">exec --no-startup-id sxhkd -m 1 -c ~/.config/sxhkd/sxhkdrc.i3
exec --no-startup-id $HOME/.config/polybar/scripts/launch.sh exec --no-startup-id $HOME/.config/polybar/scripts/launch.sh
</pre> </pre>
</div> </div>
@ -508,7 +299,7 @@ exec --no-startup-id $HOME/.config/polybar/scripts/launch.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-04-05 dim. 11:29</p> <p class="date">Created: 2020-05-26 mar. 08:40</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-03-19 jeu. 10:46 --> <!-- 2020-05-26 mar. 08:40 -->
<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>Dotfiles - Manjaro Linux</title> <title>Dotfiles - Manjaro Linux</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&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">
@ -248,7 +38,6 @@
</ul> </ul>
</div> </div>
</div> </div>
<p> <p>
The general installation process is described <a href="install.html">here</a>. The general installation process is described <a href="install.html">here</a>.
</p> </p>
@ -349,7 +138,6 @@ The general installation process is described <a href="install.html">here</a>.
<li><a href="applications.html">Desktop Applications</a></li> <li><a href="applications.html">Desktop Applications</a></li>
<li><a href="matlab.html">Matlab</a></li> <li><a href="matlab.html">Matlab</a></li>
<li>Some useful <a href="binaries.html">Binaries</a></li> <li>Some useful <a href="binaries.html">Binaries</a></li>
<li>Some useful <a href="scripts.html">Scripts</a></li>
<li><a href="git.html">Git</a> Configuration</li> <li><a href="git.html">Git</a> Configuration</li>
<li><a href="gtk.html">GTK</a></li> <li><a href="gtk.html">GTK</a></li>
<li><a href="config.html">Other Config</a></li> <li><a href="config.html">Other Config</a></li>
@ -359,7 +147,7 @@ The general installation process is described <a href="install.html">here</a>.
</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-03-19 jeu. 10:46</p> <p class="date">Created: 2020-05-26 mar. 08:40</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

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-28 mar. 21:32 --> <!-- 2020-05-26 mar. 08:40 -->
<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>Matlab Configuration</title> <title>Matlab 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">
@ -293,10 +61,10 @@ for the JavaScript code in this tag.
<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"><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>); <pre class="src src-matlab">set(groot, 'DefaultTextInterpreter', '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, 'DefaultAxesTickLabelInterpreter', '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, 'DefaultAxesFontName', '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>); set(groot, 'DefaultLegendInterpreter', 'LaTeX');
</pre> </pre>
</div> </div>
</div> </div>
@ -306,8 +74,8 @@ for the JavaScript code in this tag.
<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"><span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultLineLineWidth'</span>, 1.5); <pre class="src src-matlab">set(groot, 'DefaultLineLineWidth', 1.5);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesLineWidth'</span>, 0.5); set(groot, 'DefaultAxesLineWidth', 0.5);
</pre> </pre>
</div> </div>
</div> </div>
@ -317,9 +85,9 @@ for the JavaScript code in this tag.
<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"><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>); <pre class="src src-matlab">set(groot, 'DefaultAxesXGrid','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, 'DefaultAxesYGrid','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>); set(groot, 'DefaultAxesZGrid','on');
</pre> </pre>
</div> </div>
</div> </div>
@ -329,11 +97,11 @@ for the JavaScript code in this tag.
<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"><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>); <pre class="src src-matlab">set(groot, 'DefaultTextFontUnits', 'points');
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultTextFontSize'</span>, 10); set(groot, 'DefaultTextFontSize', 10);
<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, 'DefaultAxesFontUnits', 'points');
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultAxesFontSize'</span>, 10); set(groot, 'DefaultAxesFontSize', 10);
<span class="org-type">set</span>(<span class="org-variable-name">groot</span>, <span class="org-string">'DefaultUicontrolFontSize'</span>, 10); set(groot, 'DefaultUicontrolFontSize', 10);
</pre> </pre>
</div> </div>
</div> </div>
@ -343,8 +111,8 @@ for the JavaScript code in this tag.
<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"><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>); <pre class="src src-matlab">set(groot, 'DefaultAxesFontName', '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>); set(groot, 'DefaultTextFontName', 'Helvetica');
</pre> </pre>
</div> </div>
</div> </div>
@ -354,7 +122,7 @@ for the JavaScript code in this tag.
<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"><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 class="src src-matlab">set(groot, 'DefaultAxesBox', 'on');
</pre> </pre>
</div> </div>
</div> </div>
@ -364,11 +132,11 @@ for the JavaScript code in this tag.
<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"><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>); <pre class="src src-matlab">set(groot, 'DefaultAxesColor', 'w');
<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, 'DefaultAxesXColor', '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, 'DefaultAxesYColor', 'k');
<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>); set(groot, 'DefaultFigureColor', 'w');
</pre> </pre>
</div> </div>
</div> </div>
@ -378,15 +146,15 @@ for the JavaScript code in this tag.
<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]; <span class="org-comment">% Blue</span> <pre class="src src-matlab">c1 = [ 0 0.4470 0.7410]; % Blue
c2 = [0.8500 0.3250 0.0980]; <span class="org-comment">% Orange</span> c2 = [0.8500 0.3250 0.0980]; % Orange
c3 = [0.9290 0.6940 0.1250]; <span class="org-comment">% Yellow</span> c3 = [0.9290 0.6940 0.1250]; % Yellow
c4 = [0.4940 0.1840 0.5560]; <span class="org-comment">% Purple</span> c4 = [0.4940 0.1840 0.5560]; % Purple
c5 = [0.4660 0.6740 0.1880]; <span class="org-comment">% Green</span> c5 = [0.4660 0.6740 0.1880]; % Green
c6 = [0.3010 0.7450 0.9330]; <span class="org-comment">% Light Blue</span> c6 = [0.3010 0.7450 0.9330]; % Light Blue
c7 = [0.6350 0.0780 0.1840]; <span class="org-comment">% Red</span> c7 = [0.6350 0.0780 0.1840]; % Red
<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]) set(groot, 'defaultAxesColorOrder', [c1; c2; c3; c4; c5; c6; c7])
</pre> </pre>
</div> </div>
</div> </div>
@ -396,8 +164,8 @@ c7 = [0.6350 0.0780 0.1840]; <span class="org-comment">% Red</span>
<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"><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>); <pre class="src src-matlab">set(groot, 'DefaultFigurePaperType', 'A4');
<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>); set(groot, 'DefaultFigureWindowStyle', 'normal');
</pre> </pre>
</div> </div>
</div> </div>
@ -418,7 +186,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 = <span class="org-string">'~/Cloud/thesis/matlab/toolboxes/'</span>; <pre class="src src-matlab">toolboxes_path = '~/Cloud/thesis/matlab/toolboxes/';
</pre> </pre>
</div> </div>
</div> </div>
@ -428,29 +196,30 @@ format long g;
<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">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">addpath([toolboxes_path <span class="org-string">'Org-Mode-Toolbox/src'</span>]) <pre class="src src-matlab">addpath([toolboxes_path 'Org-Mode-Toolbox/src'])
addpath([toolboxes_path <span class="org-string">'Usefull-Functions/src'</span>]) addpath([toolboxes_path 'Usefull-Functions/src'])
addpath([toolboxes_path <span class="org-string">'Stacked-Elements-Toolbox/src'</span>]) addpath([toolboxes_path 'Stacked-Elements-Toolbox/src'])
addpath([toolboxes_path <span class="org-string">'Measure-Analysis-Toolbox/src'</span>]) addpath([toolboxes_path 'Measure-Analysis-Toolbox/src'])
addpath([toolboxes_path <span class="org-string">'Hinf-Toolbox/src'</span>]) addpath([toolboxes_path 'Hinf-Toolbox/src'])
addpath([toolboxes_path <span class="org-string">'Fit-Model-Toolbox/src'</span>]) addpath([toolboxes_path 'Fit-Model-Toolbox/src'])
addpath([toolboxes_path <span class="org-string">'Dspace-Toolbox/src'</span>]) addpath([toolboxes_path 'Dspace-Toolbox/src'])
addpath([toolboxes_path <span class="org-string">'SpeedGoat-Toolbox/src'</span>]) addpath([toolboxes_path 'SpeedGoat-Toolbox/src'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/matrix_fitting_toolbox_1'</span>]) addpath([toolboxes_path 'Add-Ons/matrix_fitting_toolbox_1'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/matlab-schemer'</span>]) addpath([toolboxes_path 'Add-Ons/matlab-schemer'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/matlab2tikz/src'</span>]) addpath([toolboxes_path 'Add-Ons/matlab2tikz/src'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/hline_vline'</span>]) addpath([toolboxes_path 'Add-Ons/hline_vline'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/export_fig'</span>]) addpath([toolboxes_path 'Add-Ons/export_fig'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/subaxis'</span>]) addpath([toolboxes_path 'Add-Ons/subaxis'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/cbrewer'</span>]) addpath([toolboxes_path 'Add-Ons/cbrewer'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/tightfig'</span>]) addpath([toolboxes_path 'Add-Ons/tightfig'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/fig2svg/src'</span>]) addpath([toolboxes_path 'Add-Ons/fig2svg/src'])
addpath([toolboxes_path <span class="org-string">'Add-Ons/CVX'</span>]) addpath([toolboxes_path 'Add-Ons/CVX'])
addpath([toolboxes_path 'Add-Ons/MBeautifier'])
</pre> </pre>
</div> </div>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">addpath(<span class="org-string">'/home/thomas/.emacs.d/.local/straight/repos/mirror/toolbox'</span>) <pre class="src src-matlab">addpath('/home/thomas/.emacs.d/.local/straight/repos/mirror/toolbox')
</pre> </pre>
</div> </div>
</div> </div>
@ -476,7 +245,7 @@ addpath([toolboxes_path <span class="org-string">'Add-Ons/CVX'</span>])
<h3 id="org2f8f36d">Schemer Import</h3> <h3 id="org2f8f36d">Schemer Import</h3>
<div class="outline-text-3" id="text-org2f8f36d"> <div class="outline-text-3" id="text-org2f8f36d">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-matlab">schemer_import([home_path <span class="org-string">'/Cloud/thesis/matlab/toolboxes/Add-Ons/matlab-schemer/schemes/monokai.prf'</span>]); <pre class="src src-matlab">schemer_import([home_path '/Cloud/thesis/matlab/toolboxes/Add-Ons/matlab-schemer/schemes/monokai.prf']);
</pre> </pre>
</div> </div>
</div> </div>
@ -485,7 +254,7 @@ addpath([toolboxes_path <span class="org-string">'Add-Ons/CVX'</span>])
</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-28 mar. 21:32</p> <p class="date">Created: 2020-05-26 mar. 08:40</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-03-19 jeu. 10:39 --> <!-- 2020-05-26 mar. 08:40 -->
<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>Music/Sound Configuration</title> <title>Music/Sound 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&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,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">[<span class="org-type">window</span>] <pre class="src src-conf">[window]
<span class="org-variable-name">width</span>=<span class="org-highlight-numbers-number">500</span> width=500
<span class="org-variable-name">height</span>=<span class="org-highlight-numbers-number">400</span> height=400
<span class="org-variable-name">sinkInputType</span>=<span class="org-highlight-numbers-number">1</span> sinkInputType=1
<span class="org-variable-name">sourceOutputType</span>=<span class="org-highlight-numbers-number">1</span> sourceOutputType=1
<span class="org-variable-name">sinkType</span>=<span class="org-highlight-numbers-number">0</span> sinkType=0
<span class="org-variable-name">sourceType</span>=<span class="org-highlight-numbers-number">1</span> sourceType=1
<span class="org-variable-name">showVolumeMeters</span>=<span class="org-highlight-numbers-number">1</span> showVolumeMeters=1
</pre> </pre>
</div> </div>
</div> </div>
@ -283,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"><span class="org-variable-name">ncmpcpp_directory</span> = ~/.config/ncmpcpp <pre class="src src-conf">ncmpcpp_directory = ~/.config/ncmpcpp
</pre> </pre>
</div> </div>
@ -291,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"><span class="org-variable-name">mpd_host</span> = localhost <pre class="src src-conf">mpd_host = localhost
<span class="org-variable-name">mpd_port</span> = <span class="org-highlight-numbers-number">6600</span> mpd_port = 6600
<span class="org-variable-name">mpd_music_dir</span> = ~/Music mpd_music_dir = ~/Music
</pre> </pre>
</div> </div>
@ -301,7 +91,7 @@ MPD Configuration.
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"><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 class="src src-conf">execute_on_song_change = dunstify --replace=19845 "Now Playing ♫" "$(mpc current)"
</pre> </pre>
</div> </div>
</div> </div>
@ -311,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 <span class="org-string">"q"</span> <pre class="src src-conf">def_key "q"
run_external_command <span class="org-string">"if [ $TMUX ]; then tmux detach; fi"</span> run_external_command "if [ $TMUX ]; then tmux detach; fi"
def_key <span class="org-string">"Q"</span> def_key "Q"
quit quit
def_key <span class="org-string">"g"</span> def_key "g"
move_home move_home
def_key <span class="org-string">"G"</span> def_key "G"
move_end move_end
def_key <span class="org-string">"j"</span> def_key "j"
scroll_down scroll_down
def_key <span class="org-string">"k"</span> def_key "k"
scroll_up scroll_up
def_key <span class="org-string">"ctrl-u"</span> def_key "ctrl-u"
page_up page_up
def_key <span class="org-string">"ctrl-d"</span> def_key "ctrl-d"
page_down page_down
def_key <span class="org-string">"l"</span> def_key "l"
enter_directory enter_directory
def_key <span class="org-string">"h"</span> def_key "h"
jump_to_parent_directory jump_to_parent_directory
def_key <span class="org-string">"."</span> def_key "."
show_lyrics show_lyrics
def_key <span class="org-string">"n"</span> def_key "n"
next_found_item next_found_item
def_key <span class="org-string">"N"</span> def_key "N"
previous_found_item previous_found_item
def_key <span class="org-string">"J"</span> def_key "J"
move_sort_order_down move_sort_order_down
def_key <span class="org-string">"K"</span> def_key "K"
move_sort_order_up move_sort_order_up
def_key <span class="org-string">"d"</span> def_key "d"
delete_playlist_items delete_playlist_items
def_key <span class="org-string">"+"</span> def_key "+"
volume_up volume_up
def_key <span class="org-string">"-"</span> def_key "-"
volume_down volume_down
</pre> </pre>
@ -379,28 +169,28 @@ 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">[<span class="org-type">spotify</span>] <pre class="src src-conf">[spotify]
<span class="org-variable-name">username</span> = dehaeze.thomas@gmail.com username = dehaeze.thomas@gmail.com
<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; password = &lt;&lt;get-password(passname="spotify.com/dehaeze.thomas@gmail.com")&gt;&gt;
<span class="org-variable-name">client_id</span> = 9dd02534-f038-46d8-946e-bfe72498204e client_id = 9dd02534-f038-46d8-946e-bfe72498204e
<span class="org-variable-name">client_secret</span> = &lt;&lt;get-password(passname=<span class="org-string">"spotify/client_secret"</span>)&gt;&gt; client_secret = &lt;&lt;get-password(passname="spotify/client_secret")&gt;&gt;
<span class="org-variable-name">bitrate</span> = <span class="org-highlight-numbers-number">320</span> bitrate = 320
[<span class="org-type">mpd</span>] [mpd]
<span class="org-variable-name">enabled</span> = true enabled = true
<span class="org-variable-name">hostname</span> = 127.0.0.1 hostname = 127.0.0.1
<span class="org-variable-name">port</span> = <span class="org-highlight-numbers-number">6600</span> port = 6600
<span class="org-variable-name">password</span> = password =
<span class="org-variable-name">max_connections</span> = <span class="org-highlight-numbers-number">20</span> max_connections = 20
<span class="org-variable-name">connection_timeout</span> = <span class="org-highlight-numbers-number">60</span> connection_timeout = 60
<span class="org-variable-name">zeroconf</span> = Mopidy MPD server on $hostname zeroconf = Mopidy MPD server on $hostname
<span class="org-variable-name">command_blacklist</span> = listall,listallinfo command_blacklist = listall,listallinfo
<span class="org-variable-name">default_playlist_scheme</span> = m3u default_playlist_scheme = m3u
[<span class="org-type">file</span>] [file]
<span class="org-variable-name">enabled</span> = true enabled = true
<span class="org-variable-name">media_dirs</span> = /home/thomas/Music media_dirs = /home/thomas/Music
<span class="org-variable-name">excluded_file_extensions</span> = excluded_file_extensions =
.db .db
.directory .directory
.html .html
@ -412,9 +202,6 @@ plugins: fromfilename discogs
.png .png
.txt .txt
.zip .zip
[<span class="org-type">audio</span>]
<span class="org-variable-name">output</span> = tee name=t t. ! queue ! autoaudiosink t. ! queue ! audioresample ! audioconvert ! audio/x-raw,rate=<span class="org-highlight-numbers-number">44100</span>,channels=<span class="org-highlight-numbers-number">2</span>,format=S16LE ! wavenc ! filesink location=/tmp/mpd.fifo
</pre> </pre>
</div> </div>
</div> </div>
@ -424,26 +211,26 @@ plugins: fromfilename discogs
<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">[<span class="org-type">opml</span>] <pre class="src src-conf">[opml]
<span class="org-variable-name">root</span> = http://opml.radiotime.com/ root = http://opml.radiotime.com/
[<span class="org-type">playback</span>] [playback]
<span class="org-variable-name">command</span> = /usr/bin/mpv command = /usr/bin/mpv
[<span class="org-type">interface</span>] [interface]
<span class="org-variable-name">keymap</span> = vi keymap = vi
[<span class="org-type">keymap.vi</span>] [keymap.vi]
<span class="org-variable-name">up</span> = k up = k
<span class="org-variable-name">down</span> = j down = j
<span class="org-variable-name">start</span> = <span class="org-highlight-numbers-number">0</span> start = 0
<span class="org-variable-name">end</span> = $ end = $
<span class="org-variable-name">pageup</span> = u pageup = u
<span class="org-variable-name">pagedown</span> = d pagedown = d
<span class="org-variable-name">enter</span> = l enter = l
<span class="org-variable-name">stop</span> = p stop = p
<span class="org-variable-name">exit</span> = q exit = q
<span class="org-variable-name">favourite</span> = f favourite = f
</pre> </pre>
</div> </div>
</div> </div>
@ -451,7 +238,7 @@ plugins: fromfilename discogs
</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-03-19 jeu. 10:39</p> <p class="date">Created: 2020-05-26 mar. 08:40</p>
</div> </div>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

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-05-26 mar. 08:39 -->
<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>Simple X Hotkey Daemon</title> <title>Simple X Hotkey Daemon</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">
@ -253,23 +43,21 @@
<li><a href="#org9d0a9b9">BSPWM related</a> <li><a href="#org9d0a9b9">BSPWM related</a>
<ul> <ul>
<li><a href="#org97f0c44">BSPWM hotkeys</a></li> <li><a href="#org97f0c44">BSPWM hotkeys</a></li>
<li><a href="#orgd7260b2">Monocle Layout</a></li> <li><a href="#org22b42d5">Monocle Layout</a></li>
<li><a href="#org7675fb7">Set the window State</a></li> <li><a href="#org832c633">Set the window State</a></li>
<li><a href="#org370d3f4">Sticky Window</a></li> <li><a href="#org8464120">Sticky Window</a></li>
<li><a href="#org33a7d86">Focus and Swap</a></li> <li><a href="#org33a7d86">Focus and Swap</a></li>
<li><a href="#org1822729">Preselect</a></li> <li><a href="#org64cc91f">Preselect</a></li>
<li><a href="#org9872528">Resize</a></li> <li><a href="#org567d2ed">Resize</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org177f7f6">I3 related</a> <li><a href="#org177f7f6">I3 related</a>
<ul> <ul>
<li><a href="#org43a8bcb">Quit/Restart hotkeys</a></li> <li><a href="#org43a8bcb">Quit/Restart hotkeys</a></li>
<li><a href="#org22b42d5">Monocle Layout</a></li> <li><a href="#org0592921">Set the window State</a></li>
<li><a href="#org832c633">Set the window State</a></li>
<li><a href="#org8464120">Sticky Window</a></li>
<li><a href="#orgd24232d">focus/swap</a></li> <li><a href="#orgd24232d">focus/swap</a></li>
<li><a href="#org64cc91f">Preselect</a></li> <li><a href="#org2ff4446">Preselect</a></li>
<li><a href="#org567d2ed">Resize</a></li> <li><a href="#org1f53e51">Resize</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -286,11 +74,11 @@
</div> </div>
<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">make sxhkd reload its configuration files:</span> <pre class="src src-conf"># make sxhkd reload its configuration files:
super + Escape super + Escape
pkill -USR1 -x sxhkd pkill -USR1 -x sxhkd
<span class="org-comment-delimiter"># </span><span class="org-comment">Update Polybar</span> # Update Polybar
super + r super + r
$HOME/.config/polybar/scripts/launch.sh $HOME/.config/polybar/scripts/launch.sh
</pre> </pre>
@ -303,9 +91,9 @@ super + r
<div class="outline-text-2" id="text-org09132ec"> <div class="outline-text-2" id="text-org09132ec">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">XF86PowerOff <pre class="src src-conf">XF86PowerOff
$HOME/scripts/quit.sh i3exit
super + <span class="org-highlight-numbers-number">0</span> super + 0
$HOME/scripts/quit.sh i3exit
</pre> </pre>
</div> </div>
</div> </div>
@ -315,54 +103,58 @@ super + <span class="org-highlight-numbers-number">0</span>
<h2 id="orgbf890ea">Start Applications</h2> <h2 id="orgbf890ea">Start Applications</h2>
<div class="outline-text-2" id="text-orgbf890ea"> <div class="outline-text-2" id="text-orgbf890ea">
<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">Start program launcher</span> <pre class="src src-conf"># Start program launcher
super + d super + d
rofi -show run rofi -show run
<span class="org-comment-delimiter"># </span><span class="org-comment">Launch categorized menu</span> # Launch categorized menu
super + z super + z
rofi -show drun rofi -show drun
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Sound Manager</span> # Start network manager
super + w
$TERMINAL -e 'sudo nmtui'
# Start Sound Manager
super + shift + s super + shift + s
pavucontrol pavucontrol
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Bluetooth Manager</span> # Start Bluetooth Manager
super + shift + b super + shift + b
blueman-manager blueman-manager
<span class="org-comment-delimiter"># </span><span class="org-comment">Windows Switch</span> # Windows Switch
super + shift + w super + shift + w
rofi -show window rofi -show window
<span class="org-comment-delimiter"># </span><span class="org-comment">Bookmarks</span> # Bookmarks
<span class="org-comment-delimiter"># </span><span class="org-comment">super + shift + f</span> # super + shift + f
<span class="org-comment-delimiter"># </span><span class="org-comment">$HOME/bin/bukurun</span> # $HOME/bin/bukurun
<span class="org-comment-delimiter"># </span><span class="org-comment">Passwords</span> # Passwords
super + shift + p super + shift + p
rofi-pass rofi-pass
</pre> </pre>
</div> </div>
<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">Start Terminal</span> <pre class="src src-conf"># Start Terminal
super + Return super + Return
$TERMINAL $TERMINAL
<span class="org-comment-delimiter"># </span><span class="org-comment">Tmux Terminal</span> # Tmux Terminal
super + shift + Return super + shift + Return
$TERMINAL -e <span class="org-string">'tmux'</span> $TERMINAL -e 'tmux'
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Command line Calendar</span> # Start Command line Calendar
super + shift + c super + shift + c
$TERMINAL -e <span class="org-string">"khal interactive"</span> $TERMINAL -e "khal interactive"
<span class="org-comment-delimiter"># </span><span class="org-comment">File Manager</span> # File Manager
super + o super + o
$TERMINAL -e <span class="org-string">"tmux new-session -A -s ranger ranger"</span> $TERMINAL -e "tmux new-session -A -s ranger ranger"
<span class="org-comment-delimiter"># </span><span class="org-comment">Browser</span> # Browser
super + i super + i
qutebrowser qutebrowser
</pre> </pre>
@ -394,9 +186,9 @@ XF86AudioLowerVolume
<div class="outline-text-3" id="text-orgfbf581a"> <div class="outline-text-3" id="text-orgfbf581a">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">XF86MonBrightnessUp <pre class="src src-conf">XF86MonBrightnessUp
xbacklight -inc <span class="org-highlight-numbers-number">10</span> xbacklight -inc 10
XF86MonBrightnessDown XF86MonBrightnessDown
xbacklight -dec <span class="org-highlight-numbers-number">10</span> xbacklight -dec 10
</pre> </pre>
</div> </div>
</div> </div>
@ -430,7 +222,7 @@ XF86AudioPrev
<div class="outline-text-3" id="text-org4be15b6"> <div class="outline-text-3" id="text-org4be15b6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">Print <pre class="src src-conf">Print
~/bin/screenshot ~/.local/bin/screenshot
XF86Display XF86Display
rofi -show window rofi -show window
</pre> </pre>
@ -454,60 +246,68 @@ XF86Display
<h2 id="org3ba2ae2">Command Mode</h2> <h2 id="org3ba2ae2">Command Mode</h2>
<div class="outline-text-2" id="text-org3ba2ae2"> <div class="outline-text-2" id="text-org3ba2ae2">
<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">Command line Calendar Client (khal)</span> <pre class="src src-conf"># Command line Calendar Client (khal)
super + space ; c super + space ; c
$TERMINAL -e <span class="org-string">"khal interactive"</span> $TERMINAL -e "khal interactive"
<span class="org-comment-delimiter"># </span><span class="org-comment">GUI Calendar (Google Calendar)</span> # GUI Calendar (Google Calendar)
super + space ; shift + c super + space ; shift + c
$BROWSER https://calendar.google.com/ $BROWSER https://calendar.google.com/
<span class="org-comment-delimiter"># </span><span class="org-comment">pcmanfm: GUI file manager</span> # pcmanfm: GUI file manager
super + space ; o super + space ; o
pcmanfm; pcmanfm;
<span class="org-comment-delimiter"># </span><span class="org-comment">Mails with neomutt</span> # Download with Aria2c
super + space ; d
$TERMINAL -e "tmux new-session -A -s aria2p aria2p"
# Mails with neomutt
super + space ; m super + space ; m
$TERMINAL -e <span class="org-string">"tmux new-session -A -s neomutt neomutt"</span> $TERMINAL -e "tmux new-session -A -s neomutt neomutt"
super + space ; shift + m super + space ; shift + m
$TERMINAL -e <span class="org-string">"neomutt -R"</span> $TERMINAL -e "neomutt -R"
<span class="org-comment-delimiter"># </span><span class="org-comment">Weechat</span> # Weechat
super + space ; w super + space ; w
$TERMINAL -e <span class="org-string">"tmux new-session -A -s weechat weechat"</span> $TERMINAL -e "tmux new-session -A -s weechat weechat"
<span class="org-comment-delimiter"># </span><span class="org-comment">News with newsboat</span> # News with newsboat
super + space ; n super + space ; n
$TERMINAL -e <span class="org-string">"tmux new-session -A -s newsboat newsboat"</span> $TERMINAL -e "tmux new-session -A -s newsboat newsboat"
<span class="org-comment-delimiter"># </span><span class="org-comment">Music with ncmpcpp</span> # Music with ncmpcpp
super + space ; p super + space ; p
$TERMINAL -e <span class="org-string">"tmux new-session -A -s ncmpcpp ncmpcpp"</span> $TERMINAL -e "tmux new-session -A -s ncmpcpp ncmpcpp"
<span class="org-comment-delimiter"># </span><span class="org-comment">Print Screen</span> # Print Screen
super + space ; shift + p super + space ; shift + p
$HOME/bin/mopidy-restart $HOME/.local/bin/mopidy-restart
<span class="org-comment-delimiter"># </span><span class="org-comment">Default Browser</span> # Default Browser
super + space ; i super + space ; i
$BROWSER; $BROWSER;
<span class="org-comment-delimiter"># </span><span class="org-comment">Start Terminal Application</span> # Start Terminal Application
super + space ; t super + space ; t
$TERMINAL -e <span class="org-string">"tremc"</span> $TERMINAL -e "tremc"
<span class="org-comment-delimiter"># </span><span class="org-comment">Alternative Browser</span> # Alternative Browser
super + space ; shift + i super + space ; shift + i
brave; brave;
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs</span> # Emacs
super + space ; e super + space ; e
emacs; emacs;
<span class="org-comment-delimiter"># </span><span class="org-comment">Emacs Client</span> # Emacs Client
super + space ; shift + e super + space ; shift + e
<span class="org-variable-name">emacsclient -create-frame --alternate-editor</span>=<span class="org-string">""</span> emacsclient -create-frame --alternate-editor=""
# Weather
super + space ; shift + w
weather;
</pre> </pre>
</div> </div>
</div> </div>
@ -535,11 +335,11 @@ super + shift + d
<h3 id="org97f0c44">BSPWM hotkeys</h3> <h3 id="org97f0c44">BSPWM hotkeys</h3>
<div class="outline-text-3" id="text-org97f0c44"> <div class="outline-text-3" id="text-org97f0c44">
<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">quit/restart bspwm</span> <pre class="src src-conf"># quit/restart bspwm
super + alt + {q,r} super + alt + {q,r}
bspc {quit,wm -r} bspc {quit,wm -r}
<span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span> # close and kill
super + {_,shift + }q super + {_,shift + }q
bspc node -{c,k} bspc node -{c,k}
</pre> </pre>
@ -547,15 +347,15 @@ super + {_,shift + }q
</div> </div>
</div> </div>
<div id="outline-container-orgd7260b2" class="outline-3"> <div id="outline-container-org22b42d5" class="outline-3">
<h3 id="orgd7260b2">Monocle Layout</h3> <h3 id="org22b42d5">Monocle Layout</h3>
<div class="outline-text-3" id="text-orgd7260b2"> <div class="outline-text-3" id="text-org22b42d5">
<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">alternate between the tiled and monocle layout</span> <pre class="src src-conf"># alternate between the tiled and monocle layout
super + m super + m
bspc desktop -l next bspc desktop -l next
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the next/previous node in the current desktop</span> # focus the next/previous node in the current desktop
super + c super + c
bspc node -f next.local bspc node -f next.local
</pre> </pre>
@ -563,26 +363,26 @@ super + c
</div> </div>
</div> </div>
<div id="outline-container-org7675fb7" class="outline-3"> <div id="outline-container-org832c633" class="outline-3">
<h3 id="org7675fb7">Set the window State</h3> <h3 id="org832c633">Set the window State</h3>
<div class="outline-text-3" id="text-org7675fb7"> <div class="outline-text-3" id="text-org832c633">
<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">Set the window state to tiled</span> <pre class="src src-conf"># Set the window state to tiled
super + t super + t
bspc node -t tiled bspc node -t tiled
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Fullscreen State</span> # Toggle Fullscreen State
super + f super + f
if [ -z <span class="org-string">"$(bspc query -N -n focused.fullscreen)"</span> ]; then \ if [ -z "$(bspc query -N -n focused.fullscreen)" ]; then \
bspc node focused -t fullscreen; \ bspc node focused -t fullscreen; \
else \ else \
bspc node focused -t tiled; \ bspc node focused -t tiled; \
fi fi
<span class="org-comment-delimiter"># </span><span class="org-comment">Toggle Floating State</span> # Toggle Floating State
super + s super + s
if [ -z <span class="org-string">"$(bspc query -N -n focused.floating)"</span> ]; then \ if [ -z "$(bspc query -N -n focused.floating)" ]; then \
bspc node focused -t floating; \ bspc node focused -t floating; \
else \ else \
bspc node focused -t tiled; \ bspc node focused -t tiled; \
@ -592,11 +392,11 @@ super + s
</div> </div>
</div> </div>
<div id="outline-container-org370d3f4" class="outline-3"> <div id="outline-container-org8464120" class="outline-3">
<h3 id="org370d3f4">Sticky Window</h3> <h3 id="org8464120">Sticky Window</h3>
<div class="outline-text-3" id="text-org370d3f4"> <div class="outline-text-3" id="text-org8464120">
<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">set the node flags</span> <pre class="src src-conf"># set the node flags
super + ctrl + y super + ctrl + y
bspc node -g sticky bspc node -g sticky
</pre> </pre>
@ -608,50 +408,50 @@ super + ctrl + y
<h3 id="org33a7d86">Focus and Swap</h3> <h3 id="org33a7d86">Focus and Swap</h3>
<div class="outline-text-3" id="text-org33a7d86"> <div class="outline-text-3" id="text-org33a7d86">
<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">Focus/swap the node in the given direction</span> <pre class="src src-conf"># Focus/swap the node in the given direction
super + {_,shift + }{h,j,k,l} super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east} bspc node -{f,s} {west,south,north,east}
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Node</span> # focus the last Node
super + Tab super + Tab
bspc node -f last bspc node -f last
</pre> </pre>
</div> </div>
<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">Focus the next/previous desktop in the current monitor</span> <pre class="src src-conf"># Focus the next/previous desktop in the current monitor
super + {p,n} super + {p,n}
bspc desktop -f {prev,next}.local bspc desktop -f {prev,next}.local
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Desktop</span> # focus the last Desktop
super + b super + b
bspc desktop -f last bspc desktop -f last
<span class="org-comment-delimiter"># </span><span class="org-comment">focus or send to the given desktop</span> # focus or send to the given desktop
super + {_,ctrl + }{1-9} super + {_,ctrl + }{1-9}
bspc {desktop -f,node -d} <span class="org-string">'^{1-9}'</span> bspc {desktop -f,node -d} '^{1-9}'
<span class="org-comment-delimiter"># </span><span class="org-comment">Send and Focus to the given desktop</span> # Send and Focus to the given desktop
super + shift + {1-9} super + shift + {1-9}
bspc node -d <span class="org-string">'^{1-9}'</span> --follow bspc node -d '^{1-9}' --follow
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org1822729" class="outline-3"> <div id="outline-container-org64cc91f" class="outline-3">
<h3 id="org1822729">Preselect</h3> <h3 id="org64cc91f">Preselect</h3>
<div class="outline-text-3" id="text-org1822729"> <div class="outline-text-3" id="text-org64cc91f">
<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">preselect the direction</span> <pre class="src src-conf"># preselect the direction
super + ctrl + {h,j,k,l} super + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east} bspc node -p {west,south,north,east}
<span class="org-comment-delimiter"># </span><span class="org-comment">preselect the ratio</span> # preselect the ratio
<span class="org-comment-delimiter"># </span><span class="org-comment">super + ctrl + {1-9}</span> # super + ctrl + {1-9}
<span class="org-comment-delimiter"># </span><span class="org-comment">bspc node -o 0.{1-9}</span> # bspc node -o 0.{1-9}
<span class="org-comment-delimiter"># </span><span class="org-comment">cancel the preselection for the focused node</span> # cancel the preselection for the focused node
super + ctrl + space super + ctrl + space
bspc node -p cancel bspc node -p cancel
</pre> </pre>
@ -659,24 +459,24 @@ super + ctrl + space
</div> </div>
</div> </div>
<div id="outline-container-org9872528" class="outline-3"> <div id="outline-container-org567d2ed" class="outline-3">
<h3 id="org9872528">Resize</h3> <h3 id="org567d2ed">Resize</h3>
<div class="outline-text-3" id="text-org9872528"> <div class="outline-text-3" id="text-org567d2ed">
<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">expand a window by moving one of its side outward</span> <pre class="src src-conf"># expand a window by moving one of its side outward
super + alt + {h,j,k,l} super + alt + {h,j,k,l}
bspc node -z {left -20 <span class="org-highlight-numbers-number">0</span>,bottom <span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,top <span class="org-highlight-numbers-number">0</span> -20,right <span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>} bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
<span class="org-comment-delimiter"># </span><span class="org-comment">contract a window by moving one of its side inward</span> # contract a window by moving one of its side inward
super + alt + shift + {h,j,k,l} super + alt + shift + {h,j,k,l}
bspc node -z {right -20 <span class="org-highlight-numbers-number">0</span>,top <span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,bottom <span class="org-highlight-numbers-number">0</span> -20,left <span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>} bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
</pre> </pre>
</div> </div>
<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">move a floating window</span> <pre class="src src-conf"># move a floating window
super + {Left,Down,Up,Right} super + {Left,Down,Up,Right}
bspc node -v {-20 <span class="org-highlight-numbers-number">0</span>,<span class="org-highlight-numbers-number">0</span> <span class="org-highlight-numbers-number">20</span>,<span class="org-highlight-numbers-number">0</span> -20,<span class="org-highlight-numbers-number">20</span> <span class="org-highlight-numbers-number">0</span>} bspc node -v {-20 0,0 20,0 -20,20 0}
</pre> </pre>
</div> </div>
</div> </div>
@ -692,11 +492,11 @@ super + {Left,Down,Up,Right}
<h3 id="org43a8bcb">Quit/Restart hotkeys</h3> <h3 id="org43a8bcb">Quit/Restart hotkeys</h3>
<div class="outline-text-3" id="text-org43a8bcb"> <div class="outline-text-3" id="text-org43a8bcb">
<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">quit/restart bspwm</span> <pre class="src src-conf"># quit/restart bspwm
super + alt + {q,r} super + alt + {q,r}
i3-msg {quit,restart} i3-msg {quit,restart}
<span class="org-comment-delimiter"># </span><span class="org-comment">close and kill</span> # close and kill
super + {_,shift + }q super + {_,shift + }q
i3-msg {kill,kill} i3-msg {kill,kill}
</pre> </pre>
@ -704,39 +504,28 @@ super + {_,shift + }q
</div> </div>
</div> </div>
<div id="outline-container-org22b42d5" class="outline-3"> <div id="outline-container-org0592921" class="outline-3">
<h3 id="org22b42d5">Monocle Layout</h3> <h3 id="org0592921">Set the window State</h3>
<div class="outline-text-3" id="text-org22b42d5"> <div class="outline-text-3" id="text-org0592921">
<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">alternate between the tiled and monocle layout</span> <pre class="src src-conf"># Set the window to full-screen
super + f super + f
i3-msg fullscreen toggle
# Set the window to floating
super + s
i3-msg floating toggle
# Alternate between the tiled and normal layout
super + t
i3-msg layout toggle tabbed split i3-msg layout toggle tabbed split
<span class="org-comment-delimiter"># </span><span class="org-comment">Change focus between tiling / floating windows</span> # Change focus between tiling / floating windows
super + c super + c
i3-msg focus mode_toggle i3-msg focus mode_toggle
</pre>
</div>
</div>
</div>
<div id="outline-container-org832c633" class="outline-3"> # Sticky window
<h3 id="org832c633">Set the window State</h3> super + y
<div class="outline-text-3" id="text-org832c633">
<div class="org-src-container">
<pre class="src src-conf"><span class="org-comment-delimiter"># </span><span class="org-comment">set the window state</span>
super + {t,s, shift + f}
i3-msg {fullscreen disable,floating toggle,fullscreen toggle}
</pre>
</div>
</div>
</div>
<div id="outline-container-org8464120" class="outline-3">
<h3 id="org8464120">Sticky Window</h3>
<div class="outline-text-3" id="text-org8464120">
<div class="org-src-container">
<pre class="src src-conf">super + ctrl + y
i3-msg sticky toggle i3-msg sticky toggle
</pre> </pre>
</div> </div>
@ -747,7 +536,7 @@ super + {t,s, shift + f}
<h3 id="orgd24232d">focus/swap</h3> <h3 id="orgd24232d">focus/swap</h3>
<div class="outline-text-3" id="text-orgd24232d"> <div class="outline-text-3" id="text-orgd24232d">
<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">Focus/swap the node in the given direction</span> <pre class="src src-conf"># Focus/swap the node in the given direction
super + {_,shift + }{h,Left} super + {_,shift + }{h,Left}
i3-msg {focus,move} left i3-msg {focus,move} left
super + {_,shift + }{j,Down} super + {_,shift + }{j,Down}
@ -760,29 +549,29 @@ super + {_,shift + }{l,Right}
</div> </div>
<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">Focus the next/previous desktop in the current monitor</span> <pre class="src src-conf"># Focus the next/previous desktop in the current monitor
super + {p,n} super + {p,n}
i3-msg workspace {prev,next} i3-msg workspace {prev,next}
<span class="org-comment-delimiter"># </span><span class="org-comment">focus the last Desktop</span> # focus the last Desktop
super + b super + b
i3-msg workspace back_and_forth i3-msg workspace back_and_forth
<span class="org-comment-delimiter"># </span><span class="org-comment">focus or send to the given desktop</span> # focus or send to the given desktop
super + {1-9} super + {1-9}
i3-msg workspace <span class="org-string">'{1-9}'</span> i3-msg workspace '{1-9}'
super + ctrl + {1-9} super + ctrl + {1-9}
i3-msg move container to workspace <span class="org-string">'{1-9}'</span> i3-msg move container to workspace '{1-9}'
super + shift + {1-9} super + shift + {1-9}
<span class="org-variable-name">WP</span>={1-9} &amp;&amp; i3-msg move container to workspace $WP &amp;&amp; i3-msg workspace $WP WP={1-9} &amp;&amp; i3-msg move container to workspace $WP &amp;&amp; i3-msg workspace $WP
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org64cc91f" class="outline-3"> <div id="outline-container-org2ff4446" class="outline-3">
<h3 id="org64cc91f">Preselect</h3> <h3 id="org2ff4446">Preselect</h3>
<div class="outline-text-3" id="text-org64cc91f"> <div class="outline-text-3" id="text-org2ff4446">
<p> <p>
Preselect the direction Preselect the direction
</p> </p>
@ -797,21 +586,21 @@ super + ctrl + {j,k,Up,Down}
</div> </div>
</div> </div>
<div id="outline-container-org567d2ed" class="outline-3"> <div id="outline-container-org1f53e51" class="outline-3">
<h3 id="org567d2ed">Resize</h3> <h3 id="org1f53e51">Resize</h3>
<div class="outline-text-3" id="text-org567d2ed"> <div class="outline-text-3" id="text-org1f53e51">
<p> <p>
Expand/Shrink a window Expand/Shrink a window
</p> </p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">super + alt + h <pre class="src src-conf">super + alt + h
i3-msg resize shrink width <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt i3-msg resize shrink width 10 px or 10 ppt
super + alt + j super + alt + j
i3-msg resize grow height <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt i3-msg resize grow height 10 px or 10 ppt
super + alt + k super + alt + k
i3-msg resize shrink height <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt i3-msg resize shrink height 10 px or 10 ppt
super + alt + l super + alt + l
i3-msg resize grow width <span class="org-highlight-numbers-number">10</span> px or <span class="org-highlight-numbers-number">10</span> ppt i3-msg resize grow width 10 px or 10 ppt
</pre> </pre>
</div> </div>
</div> </div>
@ -820,7 +609,7 @@ super + alt + l
</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-05-26 mar. 08:39</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-05-26 mar. 08:40 -->
<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>Systemd services and timers</title> <title>Systemd services and timers</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">
@ -238,56 +28,55 @@
<ul> <ul>
<li><a href="#org5b65512">Pass Git</a> <li><a href="#org5b65512">Pass Git</a>
<ul> <ul>
<li><a href="#org49549f0">Service</a></li> <li><a href="#org206b59c">Service</a></li>
<li><a href="#orgd6ba6e4">Timer</a></li> <li><a href="#orge9865a6">Timer</a></li>
<li><a href="#org55b365f">Script</a></li> <li><a href="#org0561aed">Script</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org79abe94">Buku Git</a> <li><a href="#org79abe94">Buku Git</a>
<ul> <ul>
<li><a href="#org8965ecc">Service</a></li> <li><a href="#org06e5158">Service</a></li>
<li><a href="#orgee842db">Timer</a></li> <li><a href="#org48bc751">Timer</a></li>
<li><a href="#org79768ff">Script</a></li> <li><a href="#org8552721">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="#org40f00a0">Service</a></li> <li><a href="#org6acfd66">Service</a></li>
<li><a href="#org1c71d4b">Timer</a></li> <li><a href="#orgc8b73e7">Timer</a></li>
<li><a href="#org0561aed">Script</a></li> <li><a href="#orgea90a0b">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="#org489f39c">Service</a></li> <li><a href="#org1f273c6">Service</a></li>
<li><a href="#org3e11f18">Timer</a></li> <li><a href="#org9aa2ba5">Timer</a></li>
</ul> </ul>
</li> </li>
<li><a href="#org2ff1601">Vdirsyncer</a> <li><a href="#org2ff1601">Vdirsyncer</a>
<ul> <ul>
<li><a href="#org57d88e9">Service</a></li> <li><a href="#orgc941c47">Service</a></li>
<li><a href="#orge9865a6">Timer</a></li> <li><a href="#orgb5a6f5c">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="#org79ab33b">Service</a></li> <li><a href="#org10e8ec0">Service</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orge82b3ac">Powertop</a> <li><a href="#orge82b3ac">Powertop</a>
<ul> <ul>
<li><a href="#org94eb997">Service</a></li> <li><a href="#orgd482b17">Service</a></li>
</ul> </ul>
</li> </li>
<li><a href="#orgd4b9d58">Mopidy</a> <li><a href="#orgd4b9d58">Mopidy</a>
<ul> <ul>
<li><a href="#org206b59c">Service</a></li> <li><a href="#orgb1764a7">Service</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
<p> <p>
<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>
@ -296,51 +85,59 @@
<h2 id="org5b65512">Pass Git</h2> <h2 id="org5b65512">Pass Git</h2>
<div class="outline-text-2" id="text-org5b65512"> <div class="outline-text-2" id="text-org5b65512">
</div> </div>
<div id="outline-container-org49549f0" class="outline-3"> <div id="outline-container-org206b59c" class="outline-3">
<h3 id="org49549f0">Service</h3> <h3 id="org206b59c">Service</h3>
<div class="outline-text-3" id="text-org49549f0"> <div class="outline-text-3" id="text-org206b59c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Sync Passwords every day Description=Sync Passwords every day
<span class="org-variable-name">RefuseManualStart</span>=no RefuseManualStart=no
<span class="org-variable-name">RefuseManualStop</span>=yes RefuseManualStop=yes
[<span class="org-type">Service</span>] [Service]
<span class="org-variable-name">Type</span>=oneshot Type=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/pass_git_sync.sh ExecStart=%h/.local/bin/pass_git_sync
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgd6ba6e4" class="outline-3"> <div id="outline-container-orge9865a6" class="outline-3">
<h3 id="orgd6ba6e4">Timer</h3> <h3 id="orge9865a6">Timer</h3>
<div class="outline-text-3" id="text-orgd6ba6e4"> <div class="outline-text-3" id="text-orge9865a6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Sync Passwords every day Description=Sync Passwords every day
<span class="org-variable-name">RefuseManualStart</span>=no RefuseManualStart=no
<span class="org-variable-name">RefuseManualStop</span>=no RefuseManualStop=no
<span class="org-variable-name">Wants</span>=network-online.target Wants=network-online.target
<span class="org-variable-name">After</span>=network-online.target After=network-online.target
[<span class="org-type">Timer</span>] [Timer]
<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> OnCalendar=*-*-* 16:00:00
<span class="org-variable-name">Persistent</span>=true Persistent=true
<span class="org-variable-name">Unit</span>=passgit.service Unit=passgit.service
[<span class="org-type">Install</span>] [Install]
<span class="org-variable-name">WantedBy</span>=default.target WantedBy=default.target
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org55b365f" class="outline-3"> <div id="outline-container-org0561aed" class="outline-3">
<h3 id="org55b365f">Script</h3> <h3 id="org0561aed">Script</h3>
<div class="outline-text-3" id="text-org55b365f"> <div class="outline-text-3" id="text-org0561aed">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash">pass <span class="org-type">git</span> pull --rebase &amp;&amp; pass <span class="org-type">git</span> push <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> </pre>
</div> </div>
</div> </div>
@ -351,59 +148,59 @@
<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-org8965ecc" class="outline-3"> <div id="outline-container-org06e5158" class="outline-3">
<h3 id="org8965ecc">Service</h3> <h3 id="org06e5158">Service</h3>
<div class="outline-text-3" id="text-org8965ecc"> <div class="outline-text-3" id="text-org06e5158">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Sync Bookmarks every day Description=Sync Bookmarks every day
<span class="org-variable-name">RefuseManualStart</span>=no RefuseManualStart=no
<span class="org-variable-name">RefuseManualStop</span>=yes RefuseManualStop=yes
[<span class="org-type">Service</span>] [Service]
<span class="org-variable-name">Type</span>=oneshot Type=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/buku_git_push.sh ExecStart=%h/.local/bin/buku_git_push
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgee842db" class="outline-3"> <div id="outline-container-org48bc751" class="outline-3">
<h3 id="orgee842db">Timer</h3> <h3 id="org48bc751">Timer</h3>
<div class="outline-text-3" id="text-orgee842db"> <div class="outline-text-3" id="text-org48bc751">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Sync All Mails every x hours Description=Sync All Mails every x hours
<span class="org-variable-name">RefuseManualStart</span>=no RefuseManualStart=no
<span class="org-variable-name">RefuseManualStop</span>=no RefuseManualStop=no
<span class="org-variable-name">Wants</span>=network-online.target Wants=network-online.target
<span class="org-variable-name">After</span>=network-online.target After=network-online.target
[<span class="org-type">Timer</span>] [Timer]
<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> OnCalendar=*-*-* 16:00:00
<span class="org-variable-name">Persistent</span>=true Persistent=true
<span class="org-variable-name">Unit</span>=bukugit.service Unit=bukugit.service
[<span class="org-type">Install</span>] [Install]
<span class="org-variable-name">WantedBy</span>=default.target WantedBy=default.target
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org79768ff" class="outline-3"> <div id="outline-container-org8552721" class="outline-3">
<h3 id="org79768ff">Script</h3> <h3 id="org8552721">Script</h3>
<div class="outline-text-3" id="text-org79768ff"> <div class="outline-text-3" id="text-org8552721">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-bash"><span class="org-type">cd</span> ~/.local/share/buku/ <pre class="src src-bash">cd ~/.local/share/buku/
<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> if [[ ! -z $(git status -s bookmarks.db) ]]
<span class="org-keyword">then</span> then
<span class="org-type">git</span> add bookmarks.db git add bookmarks.db
<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> git commit -m "Changed bookmarks - $(date +%F)"
<span class="org-type">git</span> push git push
<span class="org-keyword">exit</span> exit
<span class="org-keyword">fi</span> fi
</pre> </pre>
</div> </div>
</div> </div>
@ -414,107 +211,106 @@
<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-org40f00a0" class="outline-3"> <div id="outline-container-org6acfd66" class="outline-3">
<h3 id="org40f00a0">Service</h3> <h3 id="org6acfd66">Service</h3>
<div class="outline-text-3" id="text-org40f00a0"> <div class="outline-text-3" id="text-org6acfd66">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Check new mails Description=Check new mails
<span class="org-variable-name">RefuseManualStart</span>=no RefuseManualStart=no
<span class="org-variable-name">RefuseManualStop</span>=yes RefuseManualStop=yes
[<span class="org-type">Service</span>] [Service]
<span class="org-variable-name">Type</span>=oneshot Type=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/checkmail.sh -q ExecStart=%h/.local/bin/checkmail -q
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org1c71d4b" class="outline-3"> <div id="outline-container-orgc8b73e7" class="outline-3">
<h3 id="org1c71d4b">Timer</h3> <h3 id="orgc8b73e7">Timer</h3>
<div class="outline-text-3" id="text-org1c71d4b"> <div class="outline-text-3" id="text-orgc8b73e7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Check Mail every x minutes Description=Check Mail every x minutes
<span class="org-variable-name">RefuseManualStart</span>=no RefuseManualStart=no
<span class="org-variable-name">RefuseManualStop</span>=no RefuseManualStop=no
<span class="org-variable-name">Wants</span>=network-online.target Wants=network-online.target
<span class="org-variable-name">After</span>=network-online.target After=network-online.target
<span class="org-variable-name">Requires</span>=checkmail.service Requires=checkmail.service
[<span class="org-type">Timer</span>] [Timer]
<span class="org-variable-name">Persistent</span>=false Persistent=false
<span class="org-variable-name">OnBootSec</span>=2min OnBootSec=2min
<span class="org-variable-name">OnUnitActiveSec</span>=5min OnUnitActiveSec=5min
<span class="org-variable-name">AccuracySec</span>=2min AccuracySec=2min
<span class="org-variable-name">Unit</span>=checkmail.service Unit=checkmail.service
[<span class="org-type">Install</span>] [Install]
<span class="org-variable-name">WantedBy</span>=default.target WantedBy=default.target
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org0561aed" class="outline-3"> <div id="outline-container-orgea90a0b" class="outline-3">
<h3 id="org0561aed">Script</h3> <h3 id="orgea90a0b">Script</h3>
<div class="outline-text-3" id="text-org0561aed"> <div class="outline-text-3" id="text-orgea90a0b">
<div class="org-src-container"> <div class="org-src-container">
<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> <pre class="src src-bash">while [ -n "$1" ]; do # while loop starts
<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> case "$1" in
-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> -a) opt_all='--all' ;; # Check All inboxes
-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> -v) opt_verbose='--verbose' ;; # Verbose
-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> -q) opt_quiet='--quiet' ;; # Quiet
*) <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> *) echo "Option $1 not recognized" ;; # In case you typed a different option
<span class="org-keyword">esac</span> esac
<span class="org-builtin">shift</span> shift
<span class="org-keyword">done</span> done
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">Count number of mails</span> # Count number of mails
<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> gmail_old="$(ls ~/.mail/gmail/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> esrf_old="$(ls ~/.mail/esrf/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> ulg_old="$(ls ~/.mail/ulg/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> uliege_old="$(ls ~/.mail/uliege/Inbox/new | wc -l)"
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">Retreive mails</span> # Retreive mails
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 mbsync $opt_all $opt_verbose gmail-Home esrf-Home ulg-Home uliege-Home 2&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> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">Count number of mails</span> # Count number of mails
<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> gmail_new="$(ls ~/.mail/gmail/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> esrf_new="$(ls ~/.mail/esrf/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> ulg_new="$(ls ~/.mail/ulg/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> uliege_new="$(ls ~/.mail/uliege/Inbox/new | wc -l)"
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">Total Number of new mails since last checking</span> # Total Number of new mails since last checking
<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> new="$(($gmail_new+$esrf_new+$ulg_new+$uliege_new))"
<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> old="$(($gmail_old+$esrf_old+$ulg_old+$uliege_old))"
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">Notification</span> # Notification
<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> if [ "$new" -gt 0 ]; then
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> dunstify --replace=98465 'Mails ' "$(($gmail_new+$esrf_new+$ulg_new+$uliege_new)) new mail(s)"
<span class="org-keyword">fi</span> fi
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">Indexation and Tags</span> # Indexation and Tags
<span class="org-comment-delimiter"># </span><span class="org-comment">mu update</span> if pgrep -f 'mu server'; then
mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $<span class="org-variable-name">opt_quiet</span> emacsclient --eval '(mu4e-update-index)'
<span class="org-comment-delimiter"># </span><span class="org-comment">Update on Emacs</span> else
<span class="org-comment-delimiter"># </span><span class="org-comment">if [ "$(($new-$old))" -gt 0 ]; then</span> mu index $opt_verbose $opt_quiet
<span class="org-comment-delimiter"># </span><span class="org-comment">emacsclient --eval '(mu4e-update-index)';</span> fi
<span class="org-comment-delimiter"># </span><span class="org-comment">fi</span> # =============================================================
<span class="org-comment-delimiter"># </span><span class="org-comment">=============================================================</span>
</pre> </pre>
</div> </div>
</div> </div>
@ -525,44 +321,44 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<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-org489f39c" class="outline-3"> <div id="outline-container-org1f273c6" class="outline-3">
<h3 id="org489f39c">Service</h3> <h3 id="org1f273c6">Service</h3>
<div class="outline-text-3" id="text-org489f39c"> <div class="outline-text-3" id="text-org1f273c6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Sync all mails Description=Sync all mails
<span class="org-variable-name">RefuseManualStart</span>=no RefuseManualStart=no
<span class="org-variable-name">RefuseManualStop</span>=yes RefuseManualStop=yes
[<span class="org-type">Service</span>] [Service]
<span class="org-variable-name">Type</span>=oneshot Type=oneshot
<span class="org-variable-name">ExecStart</span>=%h/scripts/checkmail.sh -a -q ExecStart=%h/.local/bin/checkmail -a -q
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org3e11f18" class="outline-3"> <div id="outline-container-org9aa2ba5" class="outline-3">
<h3 id="org3e11f18">Timer</h3> <h3 id="org9aa2ba5">Timer</h3>
<div class="outline-text-3" id="text-org3e11f18"> <div class="outline-text-3" id="text-org9aa2ba5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Sync All Mails every x hours Description=Sync All Mails every x hours
<span class="org-variable-name">RefuseManualStart</span>=no RefuseManualStart=no
<span class="org-variable-name">RefuseManualStop</span>=no RefuseManualStop=no
<span class="org-variable-name">Wants</span>=network-online.target Wants=network-online.target
<span class="org-variable-name">After</span>=network-online.target After=network-online.target
<span class="org-variable-name">Requires</span>=syncmail.service Requires=syncmail.service
[<span class="org-type">Timer</span>] [Timer]
<span class="org-variable-name">Persistent</span>=false Persistent=false
<span class="org-variable-name">OnBootSec</span>=30min OnBootSec=30min
<span class="org-variable-name">OnUnitActiveSec</span>=300min OnUnitActiveSec=300min
<span class="org-variable-name">AccuracySec</span>=10min AccuracySec=10min
<span class="org-variable-name">Unit</span>=syncmail.service Unit=syncmail.service
[<span class="org-type">Install</span>] [Install]
<span class="org-variable-name">WantedBy</span>=default.target WantedBy=default.target
</pre> </pre>
</div> </div>
</div> </div>
@ -573,38 +369,38 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<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-org57d88e9" class="outline-3"> <div id="outline-container-orgc941c47" class="outline-3">
<h3 id="org57d88e9">Service</h3> <h3 id="orgc941c47">Service</h3>
<div class="outline-text-3" id="text-org57d88e9"> <div class="outline-text-3" id="text-orgc941c47">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Synchronize calendars and contacts Description=Synchronize calendars and contacts
<span class="org-variable-name">Documentation</span>=https://vdirsyncer.readthedocs.org/ Documentation=https://vdirsyncer.readthedocs.org/
<span class="org-variable-name">Wants</span>=network-online.target Wants=network-online.target
<span class="org-variable-name">After</span>=network-online.target After=network-online.target
[<span class="org-type">Service</span>] [Service]
<span class="org-variable-name">ExecStart</span>=/usr/bin/vdirsyncer --verbosity <span class="org-string">"ERROR"</span> sync ExecStart=/usr/bin/vdirsyncer --verbosity "ERROR" sync
<span class="org-variable-name">Type</span>=oneshot Type=oneshot
</pre> </pre>
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orge9865a6" class="outline-3"> <div id="outline-container-orgb5a6f5c" class="outline-3">
<h3 id="orge9865a6">Timer</h3> <h3 id="orgb5a6f5c">Timer</h3>
<div class="outline-text-3" id="text-orge9865a6"> <div class="outline-text-3" id="text-orgb5a6f5c">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Synchronize vdirs Description=Synchronize vdirs
[<span class="org-type">Timer</span>] [Timer]
<span class="org-variable-name">OnBootSec</span>=5m OnBootSec=5m
<span class="org-variable-name">OnUnitActiveSec</span>=15m OnUnitActiveSec=15m
<span class="org-variable-name">AccuracySec</span>=5m AccuracySec=5m
[<span class="org-type">Install</span>] [Install]
<span class="org-variable-name">WantedBy</span>=timers.target WantedBy=timers.target
</pre> </pre>
</div> </div>
</div> </div>
@ -615,20 +411,20 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<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-org79ab33b" class="outline-3"> <div id="outline-container-org10e8ec0" class="outline-3">
<h3 id="org79ab33b">Service</h3> <h3 id="org10e8ec0">Service</h3>
<div class="outline-text-3" id="text-org79ab33b"> <div class="outline-text-3" id="text-org10e8ec0">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=SSH key agent Description=SSH key agent
[<span class="org-type">Service</span>] [Service]
<span class="org-variable-name">Type</span>=simple Type=simple
<span class="org-variable-name">Environment</span>=SSH_AUTH_SOCK=%t/ssh-agent.socket Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
<span class="org-variable-name">ExecStart</span>=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[<span class="org-type">Install</span>] [Install]
<span class="org-variable-name">WantedBy</span>=default.target WantedBy=default.target
</pre> </pre>
</div> </div>
</div> </div>
@ -639,19 +435,19 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<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-org94eb997" class="outline-3"> <div id="outline-container-orgd482b17" class="outline-3">
<h3 id="org94eb997">Service</h3> <h3 id="orgd482b17">Service</h3>
<div class="outline-text-3" id="text-org94eb997"> <div class="outline-text-3" id="text-orgd482b17">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Powertop tunings Description=Powertop tunings
[<span class="org-type">Service</span>] [Service]
<span class="org-variable-name">ExecStart</span>=/usr/bin/powertop --auto-tune ExecStart=/usr/bin/powertop --auto-tune
<span class="org-variable-name">RemainAfterExit</span>=true RemainAfterExit=true
[<span class="org-type">Install</span>] [Install]
<span class="org-variable-name">WantedBy</span>=multi-user.target WantedBy=multi-user.target
</pre> </pre>
</div> </div>
</div> </div>
@ -662,25 +458,25 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
<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-org206b59c" class="outline-3"> <div id="outline-container-orgb1764a7" class="outline-3">
<h3 id="org206b59c">Service</h3> <h3 id="orgb1764a7">Service</h3>
<div class="outline-text-3" id="text-org206b59c"> <div class="outline-text-3" id="text-orgb1764a7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-conf">[<span class="org-type">Unit</span>] <pre class="src src-conf">[Unit]
<span class="org-variable-name">Description</span>=Mopidy music server Description=Mopidy music server
<span class="org-variable-name">After</span>=avahi-daemon.service After=avahi-daemon.service
<span class="org-variable-name">After</span>=dbus.service After=dbus.service
<span class="org-variable-name">After</span>=network.target After=network.target
<span class="org-variable-name">After</span>=nss-lookup.target After=nss-lookup.target
<span class="org-variable-name">After</span>=pulseaudio.service After=pulseaudio.service
<span class="org-variable-name">After</span>=remote-fs.target After=remote-fs.target
<span class="org-variable-name">After</span>=sound.target After=sound.target
[<span class="org-type">Service</span>] [Service]
<span class="org-variable-name">ExecStart</span>=/usr/bin/mopidy --config ~/.config/mopidy/mopidy.conf ExecStart=/usr/bin/mopidy --config ~/.config/mopidy/mopidy.conf
[<span class="org-type">Install</span>] [Install]
<span class="org-variable-name">WantedBy</span>=multi-user.target WantedBy=multi-user.target
</pre> </pre>
</div> </div>
</div> </div>
@ -689,7 +485,7 @@ mu index --maildir=~/.mail $<span class="org-variable-name">opt_verbose</span> $
</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-05-26 mar. 08:40</p>
</div> </div>
</body> </body>
</html> </html>

View File

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