--- /dev/null
+../cooking/docinfo.html
\ No newline at end of file
--- /dev/null
+= Tricks
+:docinfo2:
+:icons: font
+
+Raspberry PI:
+
+* link:raspberry_pi3_increase_swap_size.html[Increase swap size]
+
--- /dev/null
+= Raspberry PI increase swap size
+:docinfo2:
+:icons: font
+
+1. Stop the swap
+
+----
+dphys-swapfile swapoff
+----
+
+2. Modify the size of the swap
+
+As `root`, edit the file `/etc/dphys-swapfile` and modify
+the variable `dphys-swapfile`:
+
+----
+CONF_SWAPSIZE=1024
+----
+
+3. Start the swap
+
+----
+dphys-swapfile swapon
+----
\ No newline at end of file
asciidoctor $OPTS src/cooking/semoule_au_lait.adoc -D www/cooking/
asciidoctor $OPTS src/cooking/nems_au_poulet.adoc -D www/cooking/
asciidoctor $OPTS src/cooking/soupe_choux_vert.adoc -D www/cooking/
+
+for i in src/tricks/*.adoc
+do
+ asciidoctor $OPTS $i -D www/tricks
+done
+ "<li><a href='https://wpitchoune.net/ppastats'>PPAstats</a></li>"
+ "<li><a href='https://wpitchoune.net/psensor'>psensor</a></li>"
+ "<li><a href='https://wpitchoune.net/ptask'>ptask</a></li>"
+ + "<li><a href='https://wpitchoune.net/tricks'>tricks</a></li>"
+ "<li><a href='https://wpitchoune.net/news/feed.xml'><i class='fa fa-rss' aria-hidden='true'></i></a></li>"
+ "</ul></nav>";
--- /dev/null
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta name="generator" content="Asciidoctor 0.1.4">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<title>Tricks</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.1/css/font-awesome.min.css">
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
+<script src="../nav.js"></script>
+</head>
+<body class="article">
+<div id="header">
+<h1>Tricks</h1>
+</div>
+<div id="content">
+<div id="preamble">
+<div class="sectionbody">
+<div class="paragraph">
+<p>Raspberry PI:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p><a href="raspberry_pi3_increase_swap_size.html">Increase swap size</a></p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2016-12-21 20:44:44 UTC
+</div>
+</div>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta name="generator" content="Asciidoctor 0.1.4">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<title>Raspberry PI increase swap size</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.2.1/css/font-awesome.min.css">
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
+<script src="../nav.js"></script>
+</head>
+<body class="article">
+<div id="header">
+<h1>Raspberry PI increase swap size</h1>
+</div>
+<div id="content">
+<div id="preamble">
+<div class="sectionbody">
+<div class="olist arabic">
+<ol class="arabic">
+<li>
+<p>Stop the swap</p>
+</li>
+</ol>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>dphys-swapfile swapoff</pre>
+</div>
+</div>
+<div class="olist arabic">
+<ol class="arabic">
+<li>
+<p>Modify the size of the swap</p>
+</li>
+</ol>
+</div>
+<div class="paragraph">
+<p>As <code>root</code>, edit the file <code>/etc/dphys-swapfile</code> and modify
+the variable <code>dphys-swapfile</code>:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>CONF_SWAPSIZE=1024</pre>
+</div>
+</div>
+<div class="olist arabic">
+<ol class="arabic">
+<li>
+<p>Start the swap</p>
+</li>
+</ol>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>dphys-swapfile swapon</pre>
+</div>
+</div>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2016-12-21 23:53:00 UTC
+</div>
+</div>
+</body>
+</html>
\ No newline at end of file