Merge branch 'master' of ssh://wpitchoune.net/srv/git/www
authorJean-Philippe Orsini <orsinije@fr.ibm.com>
Sat, 27 May 2017 16:19:35 +0000 (18:19 +0200)
committerJean-Philippe Orsini <orsinije@fr.ibm.com>
Sat, 27 May 2017 16:19:35 +0000 (18:19 +0200)
46 files changed:
src/news/psensor_v1_2_0.adoc [new file with mode: 0644]
src/psensor/build_debian_pkg.adoc [new file with mode: 0644]
src/psensor/index.adoc
src/psensor/raspbian.pbuilderrc [new file with mode: 0644]
src/tricks/index.adoc
src/tricks/raspberry_pi3_change_windows_manager.adoc [new file with mode: 0644]
src/tricks/raspberry_pi3_configure_timezone.adoc [new file with mode: 0644]
src/tricks/raspberry_pi3_configure_wifi.adoc [new file with mode: 0644]
src/tricks/raspberry_pi3_increase_swap_size.adoc
src/tricks/raspberry_pi3_overclock.adoc [new file with mode: 0644]
src/tricks/raspberry_pi3_sound.adoc [new file with mode: 0644]
src/tricks/scan.sh [new file with mode: 0755]
www-update.sh
www/cooking/index.html
www/cooking/nems_au_poulet.html
www/cooking/riz_au_lait.html
www/cooking/semoule_au_lait.html
www/cooking/soupe_choux_vert.html
www/mp3tool/mp3tool.html
www/news/feed.xml
www/news/news.html
www/news/psensor_v1_2_0.html [new file with mode: 0644]
www/ppastats/ppastats.html
www/psensor/NEWS.html
www/psensor/README.html
www/psensor/TODO.html
www/psensor/build_debian_pkg.html [new file with mode: 0644]
www/psensor/contribute.html
www/psensor/faq.html
www/psensor/files/psensor-1.2.0.tar.gz [new file with mode: 0644]
www/psensor/files/psensor-1.2.0.tar.gz.asc [new file with mode: 0644]
www/psensor/index.html
www/psensor/raspbian.pbuilderrc [new file with mode: 0644]
www/psensor/remote.html
www/psensor/ubuntu.html
www/ptask/ptask.html
www/style.css
www/tricks/index.html
www/tricks/letsencrypt_renew.html
www/tricks/raspberry_pi3_change_windows_manager.html [new file with mode: 0644]
www/tricks/raspberry_pi3_configure_timezone.html [new file with mode: 0644]
www/tricks/raspberry_pi3_configure_wifi.html [new file with mode: 0644]
www/tricks/raspberry_pi3_increase_swap_size.html
www/tricks/raspberry_pi3_overclock.html [new file with mode: 0644]
www/tricks/raspberry_pi3_sound.html [new file with mode: 0644]
www/tricks/raspberry_pi3_temperature.html

diff --git a/src/news/psensor_v1_2_0.adoc b/src/news/psensor_v1_2_0.adoc
new file mode 100644 (file)
index 0000000..a42a85d
--- /dev/null
@@ -0,0 +1,13 @@
+= Psensor v1.2.0
+Jean-Philippe Orsini <jeanfi@gmail.com>
+:docinfo2:
+:date: 2017-04-02
+:icons: font
+
+Psensor v1.2.0 has been released.
+
+The source can be download at:
+https://wpitchoune.net/psensor/files
+
+The news can be read at:
+https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html
diff --git a/src/psensor/build_debian_pkg.adoc b/src/psensor/build_debian_pkg.adoc
new file mode 100644 (file)
index 0000000..795b059
--- /dev/null
@@ -0,0 +1,81 @@
+= How to build the Debian package of `psensor` from GIT
+:docinfo2:
+:icons: font
+
+This document is explaining step by step how to build the Debian
+package of psensor directly from the GIT repository.
+
+== Build the Debian package
+
+Install `git-buildpackage`:
+
+----
+sudo apt-get install git-buildpackage
+----
+
+Install all build dependencies (you can get it from
+the variable `Build-depends` of the file `debian/control`):
+
+----
+sudo apt-get install ...
+----
+
+Checkout the source of `psensor` and its packaging:
+
+----
+git clone https://git.wpitchoune.net/psensor-pkg-debian.git
+----
+
+Build the Debian package:
+
+----
+cd psensor-pkg-debian.git
+git-buildpackage
+----
+
+== Build to another Debian distribution
+
+`pbuilder` can be used to build `psensor` to another Debian
+distribution than the one used by the build machine.
+
+Installation of `pbuilder`:
+
+----
+apt-get install pbuilder qemu-user-static
+----
+
+Create the distribution image:
+
+----
+git-pbuilder create --config raspbian.pbuilderrc
+----
+
+The variable `DISTRIBUTION` in the configuration file is specifying
+the distribution target of the build. It might be useful for
+example to check the compilation on the 'testing' flavor of `Debian`.
+
+See a configuration example for `Raspbian`:
+link:raspbian.pbuilderrc[raspbian].
+
+To update the image:
+
+----
+git-pbuilder update
+----
+
+Checkout the source of `psensor` and its packaging:
+
+----
+git clone https://git.wpitchoune.net/psensor-pkg-debian.git
+----
+
+And finally, build the `Debian` package:
+
+----
+git-buildpackage --git-pbuilder
+----
+
+== References
+
+* https://wiki.debian.org/git-pbuilder
+* https://www.debian.org/doc/manuals/maint-guide/build.en.html
\ No newline at end of file
index 8dc0ec0..dac6356 100644 (file)
@@ -106,6 +106,7 @@ Binary packages of `psensor` are available for few Linux distributions:
 * link:ubuntu.html[Psensor on Ubuntu]
 * link:remote.html[Remote monitoring]
 * link:contribute.html[How to contribute to psensor]
+* link:build_debian_pkg.html[How to build the debian package of psensor]
 * link:faq.html[FAQ]
 
 == Contact
diff --git a/src/psensor/raspbian.pbuilderrc b/src/psensor/raspbian.pbuilderrc
new file mode 100644 (file)
index 0000000..d926a37
--- /dev/null
@@ -0,0 +1,18 @@
+# pbuilderrc file for raspbian
+
+# specific to raspbian
+OS=raspbian
+ARCHITECTURE=armhf
+# use the correct keyring for raspbian
+DEBOOTSTRAPOPTS=( '--variant=buildd' '--keyring=/usr/share/keyrings/raspbian-archive-keyring.gpg')
+MIRRORSITE=http://archive.raspbian.org/raspbian/
+
+# debian distribution: sid, jessie, testing
+DISTRIBUTION=testing
+
+COMPONENTS="main"
+
+DEBOOTSTRAP=qemu-debootstrap
+
+# allow network so pbuilder can install build dependencies automaticaly
+USENETWORK=yes
\ No newline at end of file
index 17bed70..cb645e3 100644 (file)
@@ -6,6 +6,11 @@
 
 * link:raspberry_pi3_increase_swap_size.html[Increase swap size]
 * link:raspberry_pi3_temperature.html[How to get the temperature of the Raspberry PI3]
+* link:raspberry_pi3_configure_timezone.html[How to configure the timezone of the Raspberry PI3]
+* link:raspberry_pi3_overclock.html[Overclocking of the Raspberry PI3]
+* link:raspberry_pi3_change_windows_manager.html[Change the windows manager of the Raspberry PI3]
+* link:raspberry_pi3_configure_wifi.html[Configure the Wifi]
+* link:raspberry_pi3_sound.html[Configure sound]
 
 == https://letsencrypt.org[Let's Encrypt]
 
diff --git a/src/tricks/raspberry_pi3_change_windows_manager.adoc b/src/tricks/raspberry_pi3_change_windows_manager.adoc
new file mode 100644 (file)
index 0000000..9327b90
--- /dev/null
@@ -0,0 +1,6 @@
+= Raspberry PI - Change windows manager
+:docinfo2:
+:icons: font
+
+
+sudo update-alternatives --config x-session-manager
\ No newline at end of file
diff --git a/src/tricks/raspberry_pi3_configure_timezone.adoc b/src/tricks/raspberry_pi3_configure_timezone.adoc
new file mode 100644 (file)
index 0000000..f4a3857
--- /dev/null
@@ -0,0 +1,10 @@
+= Raspberry PI - configure the timezone
+:docinfo2:
+:icons: font
+
+Configure the timezone of the Raspberry:
+----
+sudo dpkg-reconfigure tzdata
+----
+
+then reply to the questions.
diff --git a/src/tricks/raspberry_pi3_configure_wifi.adoc b/src/tricks/raspberry_pi3_configure_wifi.adoc
new file mode 100644 (file)
index 0000000..f8d485a
--- /dev/null
@@ -0,0 +1,47 @@
+= Raspberry PI - Configure the Wifi
+:docinfo2:
+:icons: font
+
+For WPA Wifi, edit the file `/etc/wpa_supplicant/wpa_supplicant.conf`
+as root.
+
+Example:
+
+```
+ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
+update_config=1
+country=FR
+
+network={
+       ssid="MY_SSID"
+       psk="MY_PASSWORD"
+       key_mgmt=WPA-PSK
+}
+```
+
+Replace `MY_SSID` by the name of the Wifi network and `MY_PASSWORD`
+by the password of the Wifi network.
+
+Multiple networks can be declared, the one with higher priority will
+be used if possible:
+
+```
+ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
+update_config=1
+country=FR
+
+network={
+       ssid="MY_SSID"
+       psk="MY_PASSWORD"
+       key_mgmt=WPA-PSK
+       priority=2
+}
+
+network={
+       ssid="MY_SSID2"
+       psk="MY_PASSWORD2"
+       key_mgmt=WPA-PSK
+       priority=1
+}
+
+```
index aa542aa..dea4d01 100644 (file)
@@ -5,20 +5,23 @@
 == Stop the swap
 
 ----
-dphys-swapfile swapoff
+sudo dphys-swapfile swapoff
 ----
 
 == Modify the size of the swap
 
 As `root`, edit the file `/etc/dphys-swapfile` and modify
-the variable `dphys-swapfile`:
+the variable `CONF_SWAPSIZE`:
 
 ----
 CONF_SWAPSIZE=1024
 ----
 
+To modify the swap file, edit the variable `CONF_SWAPFILE`, and run
+`dphys-swapfile setup` which will create and initialize the file.
+
 == Start the swap
 
 ----
-dphys-swapfile swapon
+sudo dphys-swapfile swapon
 ----
\ No newline at end of file
diff --git a/src/tricks/raspberry_pi3_overclock.adoc b/src/tricks/raspberry_pi3_overclock.adoc
new file mode 100644 (file)
index 0000000..56c6cd7
--- /dev/null
@@ -0,0 +1,7 @@
+= Raspberry PI - Overclocking
+:docinfo2:
+:icons: font
+
+== Reference
+
+http://www.jackenhack.com/raspberry-pi-3-overclocking/
\ No newline at end of file
diff --git a/src/tricks/raspberry_pi3_sound.adoc b/src/tricks/raspberry_pi3_sound.adoc
new file mode 100644 (file)
index 0000000..85ac504
--- /dev/null
@@ -0,0 +1,21 @@
+= Raspberry PI - Configure the sound
+:docinfo2:
+:icons: font
+
+== Output to the headphones
+
+By default it appears that the default output of the sound
+is automatic, it means that if HDMI supports audio it will
+use it.
+
+To change the audio output:
+
+----
+sudo amixer -c 0 cset numid=3 <output>
+----
+
+where <output> can be:
+
+* 0: auto
+* 1: headphones
+* 2: hdmi
\ No newline at end of file
diff --git a/src/tricks/scan.sh b/src/tricks/scan.sh
new file mode 100755 (executable)
index 0000000..e60a84c
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+set -e
+
+if [ -z "$1" ]
+then
+    FILE_BASE="file"
+else
+    FILE_BASE="$1"
+fi
+
+STR_DATE=`date +"%Y_%m_%d"`
+TIFF_FILE="$FILE_BASE"_"$STR_DATE.tiff"
+PNG_FILE="$FILE_BASE"_"$STR_DATE.png"
+
+echo "Scan to temporary file: $TIFF_FILE"
+
+scanimage > $TIFF_FILE
+
+convert $TIFF_FILE $PNG_FILE
+
+echo "Converted to $PNG_FILE"
+
+rm $TIFF_FILE
index fed5d14..a067f27 100755 (executable)
@@ -56,6 +56,8 @@ asciidoctor $OPTS src/psensor/index.adoc -D www/psensor/
 asciidoctor $OPTS src/psensor/ubuntu.adoc -D www/psensor/
 asciidoctor $OPTS src/psensor/remote.adoc -D www/psensor
 asciidoctor $OPTS src/psensor/contribute.adoc -D www/psensor/
+asciidoctor $OPTS src/psensor/build_debian_pkg.adoc -D www/psensor/
+cp src/psensor/raspbian.pbuilderrc www/psensor
 
 OPTS="-a linkcss -a stylesheet=../style.css"
 
index 937dc37..9dd99ed 100644 (file)
@@ -1,12 +1,13 @@
 <!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 charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
 <title>Recettes de cuisine</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">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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>
@@ -15,8 +16,6 @@
 <h1>Recettes de cuisine</h1>
 </div>
 <div id="content">
-<div id="preamble">
-<div class="sectionbody">
 <div class="ulist">
 <ul>
 <li>
 </ul>
 </div>
 </div>
-</div>
-</div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-12-18 18:07:34 UTC
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
 </body>
index 4ce0636..80e34ad 100644 (file)
@@ -52,7 +52,7 @@
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-10-02 16:02:23 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
 </body>
index 2a2fd89..9811e8a 100644 (file)
@@ -70,7 +70,7 @@
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-11 10:24:45 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
 </body>
index 3da9425..78d1dc0 100644 (file)
@@ -83,7 +83,7 @@ et 12cl de crème liquide</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-11 10:29:11 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
 </body>
index 58327de..683a86d 100644 (file)
@@ -1,12 +1,13 @@
 <!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 charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
 <title>Soupe au choux vert</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">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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>
@@ -16,7 +17,7 @@
 </div>
 <div id="content">
 <div class="sect1">
-<h2 id="_ingr_dients">Ingrédients</h2>
+<h2 id="_ingrédients">Ingrédients</h2>
 <div class="sectionbody">
 <div class="ulist">
 <ul>
@@ -48,7 +49,7 @@
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-12-18 18:07:34 UTC
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
 </body>
index 9fa64de..d04c49a 100644 (file)
@@ -172,7 +172,7 @@ binary packages, see the â€˜Download Links’ section of this page.</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-06-15 10:46:45 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
 </body>
index e0216a6..3978a08 100644 (file)
@@ -5,6 +5,80 @@
     <link>https://wpitchoune.net/news/feed.xml</link>\r
     <description>News of the wpitchoune.net website.</description>\r
     <item>\r
+      <title>New website</title>\r
+      <link>https://wpitchoune.net/news/new_website.html</link>\r
+      <description>&lt;div class="paragraph"&gt;\r
+&lt;p&gt;After being bored with Wordpress for years, the &lt;a href="http://wpitchoune.net"&gt;wpitchoune.net&lt;/a&gt;\r
+website is changing. It is now based on &lt;a href="http://asciidoctor.org"&gt;Asciidoctor&lt;/a&gt; and\r
+a simple shell script to generate it.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;With the help of &lt;a href="http://atom.io"&gt;Atom&lt;/a&gt; and a couple of addons dedicated to\r
+Asciidoctor, it is easy and quick to write content. I am happy to no\r
+more have to worry about the painful admistration of Wordpress,\r
+upgrading it, taking care of security, spamming of comments and bot\r
+account creation, and backup of databases.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;If you want to know how the website is built, everything is on\r
+a GIT repository: &lt;a href="http://git.wpitchoune.net/gitweb/?p=www.git" class="bare"&gt;http://git.wpitchoune.net/gitweb/?p=www.git&lt;/a&gt;.\r
+It is simple, really simple&amp;#8230;&amp;#8203; but enough for my needs.&lt;/p&gt;\r
+&lt;/div&gt;</description>\r
+      <pubDate>Mon, 13 Jun 2016 22:00:00 GMT</pubDate>\r
+      <guid isPermaLink="false">https://wpitchoune.net/news/new_website.html</guid>\r
+      <dc:date>2016-06-13T22:00:00Z</dc:date>\r
+    </item>\r
+    <item>\r
+      <title>Psensor v1.2.0</title>\r
+      <link>https://wpitchoune.net/news/psensor_v1_2_0.html</link>\r
+      <description>&lt;div class="paragraph"&gt;\r
+&lt;p&gt;Psensor v1.2.0 has been released.&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The source can be download at:\r
+&lt;a href="https://wpitchoune.net/psensor/files" class="bare"&gt;https://wpitchoune.net/psensor/files&lt;/a&gt;&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The news can be read at:\r
+&lt;a href="https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html" class="bare"&gt;https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html&lt;/a&gt;&lt;/p&gt;\r
+&lt;/div&gt;</description>\r
+      <pubDate>Fri, 03 Feb 2017 23:00:00 GMT</pubDate>\r
+      <guid isPermaLink="false">https://wpitchoune.net/news/psensor_v1_2_0.html</guid>\r
+      <dc:date>2017-02-03T23:00:00Z</dc:date>\r
+    </item>\r
+    <item>\r
+      <title>Call for contributions for the translation of psensor</title>\r
+      <link>https://wpitchoune.net/news/call_contribution.html</link>\r
+      <description>&lt;div class="paragraph"&gt;\r
+&lt;p&gt;The version 1.2.0 of psensor is going to be released in the coming\r
+weeks. This release will include many changes which impact the\r
+translations. If you want to contribute to the translation of psensor\r
+it is now the good timeframe. See the\r
+&lt;a href="https://wpitchoune.net/psensor/contribute.html"&gt;instructions&lt;/a&gt;.&lt;/p&gt;\r
+&lt;/div&gt;</description>\r
+      <pubDate>Mon, 13 Jun 2016 22:00:00 GMT</pubDate>\r
+      <guid isPermaLink="false">https://wpitchoune.net/news/call_contribution.html</guid>\r
+      <dc:date>2016-06-13T22:00:00Z</dc:date>\r
+    </item>\r
+    <item>\r
+      <title>RSS Feed</title>\r
+      <link>https://wpitchoune.net/news/added_rss_feed.html</link>\r
+      <description>&lt;div class="paragraph"&gt;\r
+&lt;p&gt;It is now possible to follow news and announces of the\r
+website with the following RSS feed:\r
+&lt;a href="https://wpitchoune.net/news/feed.xml" class="bare"&gt;https://wpitchoune.net/news/feed.xml&lt;/a&gt;&lt;/p&gt;\r
+&lt;/div&gt;\r
+&lt;div class="paragraph"&gt;\r
+&lt;p&gt;Under the bridge it is automaticaly generated\r
+with a very simple program from Asciidoctor\r
+documents. You can get the sources\r
+from the GIT repository: &lt;a href="https://git.wpitchoune.net/asciidoctor_to_rss.git" class="bare"&gt;https://git.wpitchoune.net/asciidoctor_to_rss.git&lt;/a&gt; .&lt;/p&gt;\r
+&lt;/div&gt;</description>\r
+      <pubDate>Sun, 03 Jul 2016 22:00:00 GMT</pubDate>\r
+      <guid isPermaLink="false">https://wpitchoune.net/news/added_rss_feed.html</guid>\r
+      <dc:date>2016-07-03T22:00:00Z</dc:date>\r
+    </item>\r
+    <item>\r
       <title>Asciidoctor to RSS</title>\r
       <link>https://wpitchoune.net/news/asciidoctor_to_rss.html</link>\r
       <description>&lt;div id="preamble"&gt;\r
@@ -185,61 +259,5 @@ compatible with RSS v2.0.&lt;/p&gt;
       <guid isPermaLink="false">https://wpitchoune.net/news/asciidoctor_to_rss.html</guid>\r
       <dc:date>2016-07-10T22:00:00Z</dc:date>\r
     </item>\r
-    <item>\r
-      <title>Call for contributions for the translation of psensor</title>\r
-      <link>https://wpitchoune.net/news/call_contribution.html</link>\r
-      <description>&lt;div class="paragraph"&gt;\r
-&lt;p&gt;The version 1.2.0 of psensor is going to be released in the coming\r
-weeks. This release will include many changes which impact the\r
-translations. If you want to contribute to the translation of psensor\r
-it is now the good timeframe. See the\r
-&lt;a href="https://wpitchoune.net/psensor/contribute.html"&gt;instructions&lt;/a&gt;.&lt;/p&gt;\r
-&lt;/div&gt;</description>\r
-      <pubDate>Mon, 13 Jun 2016 22:00:00 GMT</pubDate>\r
-      <guid isPermaLink="false">https://wpitchoune.net/news/call_contribution.html</guid>\r
-      <dc:date>2016-06-13T22:00:00Z</dc:date>\r
-    </item>\r
-    <item>\r
-      <title>RSS Feed</title>\r
-      <link>https://wpitchoune.net/news/added_rss_feed.html</link>\r
-      <description>&lt;div class="paragraph"&gt;\r
-&lt;p&gt;It is now possible to follow news and announces of the\r
-website with the following RSS feed:\r
-&lt;a href="https://wpitchoune.net/news/feed.xml" class="bare"&gt;https://wpitchoune.net/news/feed.xml&lt;/a&gt;&lt;/p&gt;\r
-&lt;/div&gt;\r
-&lt;div class="paragraph"&gt;\r
-&lt;p&gt;Under the bridge it is automaticaly generated\r
-with a very simple program from Asciidoctor\r
-documents. You can get the sources\r
-from the GIT repository: &lt;a href="https://git.wpitchoune.net/asciidoctor_to_rss.git" class="bare"&gt;https://git.wpitchoune.net/asciidoctor_to_rss.git&lt;/a&gt; .&lt;/p&gt;\r
-&lt;/div&gt;</description>\r
-      <pubDate>Sun, 03 Jul 2016 22:00:00 GMT</pubDate>\r
-      <guid isPermaLink="false">https://wpitchoune.net/news/added_rss_feed.html</guid>\r
-      <dc:date>2016-07-03T22:00:00Z</dc:date>\r
-    </item>\r
-    <item>\r
-      <title>New website</title>\r
-      <link>https://wpitchoune.net/news/new_website.html</link>\r
-      <description>&lt;div class="paragraph"&gt;\r
-&lt;p&gt;After being bored with Wordpress for years, the &lt;a href="http://wpitchoune.net"&gt;wpitchoune.net&lt;/a&gt;\r
-website is changing. It is now based on &lt;a href="http://asciidoctor.org"&gt;Asciidoctor&lt;/a&gt; and\r
-a simple shell script to generate it.&lt;/p&gt;\r
-&lt;/div&gt;\r
-&lt;div class="paragraph"&gt;\r
-&lt;p&gt;With the help of &lt;a href="http://atom.io"&gt;Atom&lt;/a&gt; and a couple of addons dedicated to\r
-Asciidoctor, it is easy and quick to write content. I am happy to no\r
-more have to worry about the painful admistration of Wordpress,\r
-upgrading it, taking care of security, spamming of comments and bot\r
-account creation, and backup of databases.&lt;/p&gt;\r
-&lt;/div&gt;\r
-&lt;div class="paragraph"&gt;\r
-&lt;p&gt;If you want to know how the website is built, everything is on\r
-a GIT repository: &lt;a href="http://git.wpitchoune.net/gitweb/?p=www.git" class="bare"&gt;http://git.wpitchoune.net/gitweb/?p=www.git&lt;/a&gt;.\r
-It is simple, really simple&amp;#8230;&amp;#8203; but enough for my needs.&lt;/p&gt;\r
-&lt;/div&gt;</description>\r
-      <pubDate>Mon, 13 Jun 2016 22:00:00 GMT</pubDate>\r
-      <guid isPermaLink="false">https://wpitchoune.net/news/new_website.html</guid>\r
-      <dc:date>2016-06-13T22:00:00Z</dc:date>\r
-    </item>\r
   </channel>\r
 </rss>\r
index 2f62719..6e345db 100644 (file)
 </div><div id='content'>
                        <article>
                                <header>
+                                       <h1><a href='https://wpitchoune.net/news/psensor_v1_2_0.html'>Psensor v1.2.0</a></h1>
+<div class='date'>2017-04-02</div>
+                               </header>
+<div class="paragraph">
+<p>Psensor v1.2.0 has been released.</p>
+</div>
+<div class="paragraph">
+<p>The source can be download at:
+<a href="https://wpitchoune.net/psensor/files" class="bare">https://wpitchoune.net/psensor/files</a></p>
+</div>
+<div class="paragraph">
+<p>The news can be read at:
+<a href="https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html" class="bare">https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html</a></p>
+</div>                 </article>
+                       <article>
+                               <header>
                                        <h1><a href='https://wpitchoune.net/news/asciidoctor_to_rss.html'>Asciidoctor to RSS</a></h1>
 <div class='date'>2016-11-07</div>
                                </header>
@@ -208,18 +224,6 @@ from the GIT repository: <a href="https://git.wpitchoune.net/asciidoctor_to_rss.
 </div>                 </article>
                        <article>
                                <header>
-                                       <h1><a href='https://wpitchoune.net/news/call_contribution.html'>Call for contributions for the translation of psensor</a></h1>
-<div class='date'>2016-14-06</div>
-                               </header>
-<div class="paragraph">
-<p>The version 1.2.0 of psensor is going to be released in the coming
-weeks. This release will include many changes which impact the
-translations. If you want to contribute to the translation of psensor
-it is now the good timeframe. See the
-<a href="https://wpitchoune.net/psensor/contribute.html">instructions</a>.</p>
-</div>                 </article>
-                       <article>
-                               <header>
                                        <h1><a href='https://wpitchoune.net/news/new_website.html'>New website</a></h1>
 <div class='date'>2016-14-06</div>
                                </header>
@@ -240,6 +244,18 @@ account creation, and backup of databases.</p>
 a GIT repository: <a href="http://git.wpitchoune.net/gitweb/?p=www.git" class="bare">http://git.wpitchoune.net/gitweb/?p=www.git</a>.
 It is simple, really simple&#8230;&#8203; but enough for my needs.</p>
 </div>                 </article>
+                       <article>
+                               <header>
+                                       <h1><a href='https://wpitchoune.net/news/call_contribution.html'>Call for contributions for the translation of psensor</a></h1>
+<div class='date'>2016-14-06</div>
+                               </header>
+<div class="paragraph">
+<p>The version 1.2.0 of psensor is going to be released in the coming
+weeks. This release will include many changes which impact the
+translations. If you want to contribute to the translation of psensor
+it is now the good timeframe. See the
+<a href="https://wpitchoune.net/psensor/contribute.html">instructions</a>.</p>
+</div>                 </article>
 </div>
 <footer>
         <ul>
diff --git a/www/news/psensor_v1_2_0.html b/www/news/psensor_v1_2_0.html
new file mode 100644 (file)
index 0000000..1a25643
--- /dev/null
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link rel="stylesheet" href="https://wpitchoune.net/style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
+<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
+<script src="https://wpitchoune.net/nav.js"></script>
+<title>Psensor v1.2.0</title>
+</head>
+<body>
+<div id='header'>
+<h1>Psensor v1.2.0</h1>
+</div><div id='content'>
+<div class='date'>2017-04-02</div><div class="paragraph">
+<p>Psensor v1.2.0 has been released.</p>
+</div>
+<div class="paragraph">
+<p>The source can be download at:
+<a href="https://wpitchoune.net/psensor/files" class="bare">https://wpitchoune.net/psensor/files</a></p>
+</div>
+<div class="paragraph">
+<p>The news can be read at:
+<a href="https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html" class="bare">https://wpitchoune.net/gitweb/?p=psensor.git;a=blob_plain;f=NEWS.html</a></p>
+</div></div><footer>
+        <ul>
+                <li><i class="fa fa-rss" aria-hidden="true"></i>
+                        Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
+                </li>
+
+                <li><i class="fa fa-envelope" aria-hidden="true"></i>
+                    Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
+                </li>
+
+                <li><i class="fa fa-git-square" aria-hidden="true"></i>
+                    Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
+                </li>
+        </ul>
+</footer>
+       </body>
+</html>
\ No newline at end of file
index 18ad72f..5096ea3 100644 (file)
@@ -140,7 +140,7 @@ git-buildpackage</pre>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-06-14 21:30:49 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
 </body>
index d5f9e7e..2e25d48 100644 (file)
 </div>
 <div id="content">
 <div class="sect1">
+<h2 id="_v1_2_1">v1.2.1</h2>
+<div class="sectionbody">
+<div class="ulist">
+<ul>
+<li>
+<p>documentation files are generated with asciidoctor instead of
+asciidoc.</p>
+</li>
+<li>
+<p>added support of BCM2835 which is mostly used in the Raspberry PI3.</p>
+</li>
+<li>
+<p>Fresh install of 1.2.0 complains about missing sensor config
+keys. (LP: #1650378)</p>
+</li>
+<li>
+<p>Fixed hide on startup preference (Francis Chin). (LP: #1642029).</p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+<div class="sect1">
 <h2 id="_v1_2_0">v1.2.0</h2>
 <div class="sectionbody">
 <div class="ulist">
@@ -69,6 +92,10 @@ and default-sensor-alarm-enabled.</p>
 <li>
 <p>Added Polish translation (hawkeye116477).</p>
 </li>
+<li>
+<p>Fixed GtkDialog mapped without a transient parent (Francis
+Chin). (LP: #1642696).</p>
+</li>
 </ul>
 </div>
 </div>
@@ -1967,9 +1994,8 @@ Initial release</pre>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-10-02 16:03:41 CEST
+Last updated 2017-02-16 20:22:50 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index af4b650..7ba1961 100644 (file)
@@ -7,6 +7,7 @@
 <meta name="generator" content="Asciidoctor 1.5.4">
 <title>Psensor README</title>
 <link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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>
 <script src="https://apis.google.com/js/platform.js" async defer>
 <body class="article">
 <div id="header">
 <h1>Psensor README</h1>
+<div id="toc" class="toc">
+<div id="toctitle">Table of Contents</div>
+<ul class="sectlevel1">
+<li><a href="#_introduction">Introduction</a></li>
+<li><a href="#_installation_using_distribution_packages">Installation Using Distribution Packages</a>
+<ul class="sectlevel2">
+<li><a href="#_debian">Debian</a></li>
+<li><a href="#_ubuntu">Ubuntu</a></li>
+</ul>
+</li>
+<li><a href="#_installation_from_source_archive">Installation From Source Archive</a>
+<ul class="sectlevel2">
+<li><a href="#_compilation_prerequisites">Compilation Prerequisites</a></li>
+<li><a href="#_compilation_and_installation_steps">Compilation and Installation Steps</a></li>
+<li><a href="#_ati_amd_gpu_support">ATI/AMD GPU Support</a></li>
+</ul>
+</li>
+<li><a href="#_contact">Contact</a></li>
+</ul>
+</div>
 </div>
 <div id="content">
 <div class="sect1">
@@ -82,7 +103,7 @@ http://hostname:3131.</p>
 <table>
 <tr>
 <td class="icon">
-<div class="title">Warning</div>
+<i class="fa icon-warning" title="Warning"></i>
 </td>
 <td class="content">
 psensor-server does not provide any way to restrict the connection
@@ -211,7 +232,7 @@ modern GNU/Linux distribution.</p>
 <p>help2man (optional, required to produce the manpage)</p>
 </li>
 <li>
-<p>asciidoc (optional, required to produce the html version of the
+<p>asciidoctor (optional, required to produce the html version of the
 faq)</p>
 </li>
 <li>
@@ -322,9 +343,8 @@ have extracted the ATI ADL SDK. Other steps are indentical.</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-08-23 03:41:38 CEST
+Last updated 2017-02-10 00:47:57 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index 949c322..b3c5d50 100644 (file)
@@ -39,9 +39,8 @@ lm-sensor.</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-08-23 03:41:38 CEST
+Last updated 2016-12-18 19:12:21 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
diff --git a/www/psensor/build_debian_pkg.html b/www/psensor/build_debian_pkg.html
new file mode 100644 (file)
index 0000000..9982389
--- /dev/null
@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>How to build the Debian package of psensor from GIT</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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>
+<script src="https://apis.google.com/js/platform.js" async defer>
+</script>
+</head>
+<body class="article">
+<div id="header">
+<h1>How to build the Debian package of <code>psensor</code> from GIT</h1>
+</div>
+<div id="content">
+<div id="preamble">
+<div class="sectionbody">
+<div class="paragraph">
+<p>This document is explaining step by step how to build the Debian
+package of psensor directly from the GIT repository.</p>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_build_the_debian_package">Build the Debian package</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>Install <code>git-buildpackage</code>:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo apt-get install git-buildpackage</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Install all build dependencies (you can get it from
+the variable <code>Build-depends</code> of the file <code>debian/control</code>):</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo apt-get install ...</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Checkout the source of <code>psensor</code> and its packaging:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>git clone https://git.wpitchoune.net/psensor-pkg-debian.git</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Build the Debian package:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>cd psensor-pkg-debian.git
+git-buildpackage</pre>
+</div>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_build_to_another_debian_distribution">Build to another Debian distribution</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p><code>pbuilder</code> can be used to build <code>psensor</code> to another Debian
+distribution than the one used by the build machine.</p>
+</div>
+<div class="paragraph">
+<p>Installation of <code>pbuilder</code>:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>apt-get install pbuilder qemu-user-static</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Create the distribution image:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>git-pbuilder create --config raspbian.pbuilderrc</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>The variable <code>DISTRIBUTION</code> in the configuration file is specifying
+the distribution target of the build. It might be useful for
+example to check the compilation on the 'testing' flavor of <code>Debian</code>.</p>
+</div>
+<div class="paragraph">
+<p>See a configuration example for <code>Raspbian</code>:
+<a href="raspbian.pbuilderrc">raspbian</a>.</p>
+</div>
+<div class="paragraph">
+<p>To update the image:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>git-pbuilder update</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Checkout the source of <code>psensor</code> and its packaging:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>git clone https://git.wpitchoune.net/psensor-pkg-debian.git</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>And finally, build the <code>Debian</code> package:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>git-buildpackage --git-pbuilder</pre>
+</div>
+</div>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_references">References</h2>
+<div class="sectionbody">
+<div class="ulist">
+<ul>
+<li>
+<p><a href="https://wiki.debian.org/git-pbuilder" class="bare">https://wiki.debian.org/git-pbuilder</a></p>
+</li>
+<li>
+<p><a href="https://www.debian.org/doc/manuals/maint-guide/build.en.html" class="bare">https://www.debian.org/doc/manuals/maint-guide/build.en.html</a></p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2017-01-29 00:41:01 CET
+</div>
+</div>
+</body>
+</html>
\ No newline at end of file
index b9f2a2f..32acdac 100644 (file)
@@ -185,9 +185,8 @@ and released under GPL v2 license.</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-04 09:56:32 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index bd98119..aa69bf3 100644 (file)
 <body class="article">
 <div id="header">
 <h1>Psensor Frequently Asked Questions</h1>
+<div id="toc" class="toc">
+<div id="toctitle">Table of Contents</div>
+<ul class="sectlevel1">
+<li><a href="#S_NoSensors">No sensors or only cpu usage is displayed</a></li>
+<li><a href="#S_ATIMonitoring">How to monitor an ATI card using the Catalyst driver?</a></li>
+<li><a href="#S_WrongTemperature">The reported temperature is obviously wrong</a></li>
+<li><a href="#S_WhatIsTheSensor">What is the sensors XXXX?</a></li>
+<li><a href="#S_BugReport">How to report a bug?</a></li>
+<li><a href="#S_SubmitIdea">How to send ideas, questions or comments?</a></li>
+<li><a href="#S_Contribute">How to contribute?</a></li>
+<li><a href="#S_UbuntuInstall">How to install Psensor on Ubuntu?</a></li>
+<li><a href="#S_DebianInstall">How to install Psensor on Debian?</a></li>
+<li><a href="#S_PPA">What is the difference between the 3 Ubuntu PPAs?</a></li>
+<li><a href="#S_ArchLinuxInstall">How to install Psensor on ArchLinux?</a></li>
+<li><a href="#S_OtherInstall">How to install Psensor on my Linux distribution?</a></li>
+<li><a href="#S_LOG">How to log sensors temperatures?</a></li>
+<li><a href="#S_NO_GRAPH_DISPLAYED">No graphs are displayed, but the table of the main window is displaying sensors</a></li>
+<li><a href="#S_autostart">Launch Psensor automaticaly on session startup</a></li>
+<li><a href="#S_disk">How to monitor the temperature of a disk with hddtemp?</a></li>
+<li><a href="#S_SimilarSoft">Is there any other similar softwares?</a></li>
+<li><a href="#S_HideSensor">Is it possible to hide sensors in the main window?</a></li>
+</ul>
+</div>
 </div>
 <div id="content">
 <div id="preamble">
@@ -453,9 +476,8 @@ of sensors.conf(5).</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-08-23 03:41:38 CEST
+Last updated 2017-02-04 23:14:51 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
diff --git a/www/psensor/files/psensor-1.2.0.tar.gz b/www/psensor/files/psensor-1.2.0.tar.gz
new file mode 100644 (file)
index 0000000..5c38a7b
Binary files /dev/null and b/www/psensor/files/psensor-1.2.0.tar.gz differ
diff --git a/www/psensor/files/psensor-1.2.0.tar.gz.asc b/www/psensor/files/psensor-1.2.0.tar.gz.asc
new file mode 100644 (file)
index 0000000..e4c2cba
--- /dev/null
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iQEcBAABAgAGBQJYleuNAAoJEHM6hmiCo/X2B1EH/27JdCiiKfMSSz9y2+pvfG4O
+scLh/5+QfBN/TsKqU9203Sbc/d1Anovq7uCPNE7P6OCvIn9R+8SadElFyrzdSzfU
+j0EhIkGjjIyN5qzw30ghtiri/HFtS5BC3y0KNZ0dxRvS1opeC23E+sRaAb6S4xwu
+4DraKMzCkN8lFK/BV8k8yFNAl5ZUo9liSDGi4R9iFvqpb8WcFCxFjUnTLs3gFqZB
+4IIGoG1KaOvIDE8Z3VNNRv64jIplhFb3s+Z/M6pN7A0LTfPxYJ/LZdAJt1dzgqmZ
+DYuigRtUTFiUGix3Ly8gMIr54O1eehHWHRaeNgZM7RlMvAWLwMrE6Fc5n0Gh6zo=
+=gBhj
+-----END PGP SIGNATURE-----
index b37e6d3..ba5f0ca 100644 (file)
@@ -207,6 +207,9 @@ don’t hesitate to report it.</p>
 <p><a href="contribute.html">How to contribute to psensor</a></p>
 </li>
 <li>
+<p><a href="build_debian_pkg.html">How to build the debian package of psensor</a></p>
+</li>
+<li>
 <p><a href="faq.html">FAQ</a></p>
 </li>
 </ul>
@@ -246,9 +249,8 @@ or click on:</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-04 09:56:29 CEST
+Last updated 2017-01-24 20:10:44 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
diff --git a/www/psensor/raspbian.pbuilderrc b/www/psensor/raspbian.pbuilderrc
new file mode 100644 (file)
index 0000000..d926a37
--- /dev/null
@@ -0,0 +1,18 @@
+# pbuilderrc file for raspbian
+
+# specific to raspbian
+OS=raspbian
+ARCHITECTURE=armhf
+# use the correct keyring for raspbian
+DEBOOTSTRAPOPTS=( '--variant=buildd' '--keyring=/usr/share/keyrings/raspbian-archive-keyring.gpg')
+MIRRORSITE=http://archive.raspbian.org/raspbian/
+
+# debian distribution: sid, jessie, testing
+DISTRIBUTION=testing
+
+COMPONENTS="main"
+
+DEBOOTSTRAP=qemu-debootstrap
+
+# allow network so pbuilder can install build dependencies automaticaly
+USENETWORK=yes
\ No newline at end of file
index 7bfbfab..3d12355 100644 (file)
@@ -65,9 +65,8 @@ on the desktop computer with the following command line:</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-04 09:56:29 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index cde69cc..338b63e 100644 (file)
@@ -142,9 +142,8 @@ make clean all</pre>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-07-04 09:56:25 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
-Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
 </body>
 </html>
\ No newline at end of file
index d8f1e53..1d01579 100644 (file)
@@ -199,7 +199,7 @@ make clean all</pre>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-06-15 20:33:33 CEST
+Last updated 2016-12-18 19:07:34 CET
 </div>
 </div>
 </body>
index 4574914..fa34a11 100644 (file)
@@ -150,3 +150,11 @@ code {
 img {
        max-width: 100%;
 }
+
+#toc {
+    margin: 0em 2rem 0em 2rem;
+    padding: 1em;
+    background-color: white;
+    border-bottom-left-radius: 4px;
+    border-bottom-right-radius: 4px;
+}
index 4ddef95..5bf8977 100644 (file)
@@ -4,10 +4,10 @@
 <meta charset="UTF-8">
 <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="generator" content="Asciidoctor 1.5.3">
+<meta name="generator" content="Asciidoctor 1.5.4">
 <title>Tricks</title>
 <link rel="stylesheet" href="./../style.css">
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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>
 <li>
 <p><a href="raspberry_pi3_temperature.html">How to get the temperature of the Raspberry PI3</a></p>
 </li>
+<li>
+<p><a href="raspberry_pi3_configure_timezone.html">How to configure the timezone of the Raspberry PI3</a></p>
+</li>
+<li>
+<p><a href="raspberry_pi3_overclock.html">Overclocking of the Raspberry PI3</a></p>
+</li>
+<li>
+<p><a href="raspberry_pi3_change_windows_manager.html">Change the windows manager of the Raspberry PI3</a></p>
+</li>
+<li>
+<p><a href="raspberry_pi3_configure_wifi.html">Configure the Wifi</a></p>
+</li>
+<li>
+<p><a href="raspberry_pi3_sound.html">Configure sound</a></p>
+</li>
 </ul>
 </div>
 </div>
@@ -46,7 +61,7 @@
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2017-01-02 13:49:47 CET
+Last updated 2017-02-16 20:19:30 CET
 </div>
 </div>
 <footer>
index a8db1f7..c5bd3ac 100644 (file)
@@ -27,7 +27,7 @@
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-12-22 00:21:22 UTC
+Last updated 2016-12-22 01:21:22 CET
 </div>
 </div>
 <footer>
diff --git a/www/tricks/raspberry_pi3_change_windows_manager.html b/www/tricks/raspberry_pi3_change_windows_manager.html
new file mode 100644 (file)
index 0000000..a98c8a1
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>Raspberry PI - Change windows manager</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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 - Change windows manager</h1>
+</div>
+<div id="content">
+<div class="paragraph">
+<p>sudo update-alternatives --config x-session-manager</p>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2017-02-10 00:47:11 CET
+</div>
+</div>
+<footer>
+        <ul>
+                <li><i class="fa fa-rss" aria-hidden="true"></i>
+                        Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
+                </li>
+
+                <li><i class="fa fa-envelope" aria-hidden="true"></i>
+                    Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
+                </li>
+
+                <li><i class="fa fa-git-square" aria-hidden="true"></i>
+                    Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
+                </li>
+        </ul>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/www/tricks/raspberry_pi3_configure_timezone.html b/www/tricks/raspberry_pi3_configure_timezone.html
new file mode 100644 (file)
index 0000000..e74f0be
--- /dev/null
@@ -0,0 +1,52 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>Raspberry PI - configure the timezone</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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 - configure the timezone</h1>
+</div>
+<div id="content">
+<div class="paragraph">
+<p>Configure the timezone of the Raspberry:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo dpkg-reconfigure tzdata</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>then reply to the questions.</p>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2017-01-17 23:24:18 CET
+</div>
+</div>
+<footer>
+        <ul>
+                <li><i class="fa fa-rss" aria-hidden="true"></i>
+                        Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
+                </li>
+
+                <li><i class="fa fa-envelope" aria-hidden="true"></i>
+                    Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
+                </li>
+
+                <li><i class="fa fa-git-square" aria-hidden="true"></i>
+                    Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
+                </li>
+        </ul>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/www/tricks/raspberry_pi3_configure_wifi.html b/www/tricks/raspberry_pi3_configure_wifi.html
new file mode 100644 (file)
index 0000000..08d2d1d
--- /dev/null
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>Raspberry PI - Configure the Wifi</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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 - Configure the Wifi</h1>
+</div>
+<div id="content">
+<div class="paragraph">
+<p>For WPA Wifi, edit the file <code>/etc/wpa_supplicant/wpa_supplicant.conf</code>
+as root.</p>
+</div>
+<div class="paragraph">
+<p>Example:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlight"><code>ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
+update_config=1
+country=FR
+
+network={
+       ssid="MY_SSID"
+       psk="MY_PASSWORD"
+       key_mgmt=WPA-PSK
+}</code></pre>
+</div>
+</div>
+<div class="paragraph">
+<p>Replace <code>MY_SSID</code> by the name of the Wifi network and <code>MY_PASSWORD</code>
+by the password of the Wifi network.</p>
+</div>
+<div class="paragraph">
+<p>Multiple networks can be declared, the one with higher priority will
+be used if possible:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre class="highlight"><code>ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
+update_config=1
+country=FR
+
+network={
+       ssid="MY_SSID"
+       psk="MY_PASSWORD"
+       key_mgmt=WPA-PSK
+       priority=2
+}
+
+network={
+       ssid="MY_SSID2"
+       psk="MY_PASSWORD2"
+       key_mgmt=WPA-PSK
+       priority=1
+}</code></pre>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2017-02-12 15:32:35 CET
+</div>
+</div>
+<footer>
+        <ul>
+                <li><i class="fa fa-rss" aria-hidden="true"></i>
+                        Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
+                </li>
+
+                <li><i class="fa fa-envelope" aria-hidden="true"></i>
+                    Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
+                </li>
+
+                <li><i class="fa fa-git-square" aria-hidden="true"></i>
+                    Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
+                </li>
+        </ul>
+</footer>
+</body>
+</html>
\ No newline at end of file
index 3a8e8f8..e8d5eff 100644 (file)
@@ -21,7 +21,7 @@
 <div class="sectionbody">
 <div class="listingblock">
 <div class="content">
-<pre>dphys-swapfile swapoff</pre>
+<pre>sudo dphys-swapfile swapoff</pre>
 </div>
 </div>
 </div>
 <div class="sectionbody">
 <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>
+the variable <code>CONF_SWAPSIZE</code>:</p>
 </div>
 <div class="listingblock">
 <div class="content">
 <pre>CONF_SWAPSIZE=1024</pre>
 </div>
 </div>
+<div class="paragraph">
+<p>To modify the swap file, edit the variable <code>CONF_SWAPFILE</code>, and run
+<code>dphys-swapfile setup</code> which will create and initialize the file.</p>
+</div>
 </div>
 </div>
 <div class="sect1">
@@ -45,7 +49,7 @@ the variable <code>dphys-swapfile</code>:</p>
 <div class="sectionbody">
 <div class="listingblock">
 <div class="content">
-<pre>dphys-swapfile swapon</pre>
+<pre>sudo dphys-swapfile swapon</pre>
 </div>
 </div>
 </div>
@@ -53,7 +57,7 @@ the variable <code>dphys-swapfile</code>:</p>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2016-12-22 00:24:00 UTC
+Last updated 2017-01-13 21:43:43 CET
 </div>
 </div>
 <footer>
diff --git a/www/tricks/raspberry_pi3_overclock.html b/www/tricks/raspberry_pi3_overclock.html
new file mode 100644 (file)
index 0000000..2309cf2
--- /dev/null
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>Raspberry PI - Overclocking</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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 - Overclocking</h1>
+</div>
+<div id="content">
+<div class="sect1">
+<h2 id="_reference">Reference</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p><a href="http://www.jackenhack.com/raspberry-pi-3-overclocking/" class="bare">http://www.jackenhack.com/raspberry-pi-3-overclocking/</a></p>
+</div>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2017-01-28 23:27:08 CET
+</div>
+</div>
+<footer>
+        <ul>
+                <li><i class="fa fa-rss" aria-hidden="true"></i>
+                        Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
+                </li>
+
+                <li><i class="fa fa-envelope" aria-hidden="true"></i>
+                    Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
+                </li>
+
+                <li><i class="fa fa-git-square" aria-hidden="true"></i>
+                    Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
+                </li>
+        </ul>
+</footer>
+</body>
+</html>
\ No newline at end of file
diff --git a/www/tricks/raspberry_pi3_sound.html b/www/tricks/raspberry_pi3_sound.html
new file mode 100644 (file)
index 0000000..af7fc31
--- /dev/null
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="generator" content="Asciidoctor 1.5.4">
+<title>Raspberry PI - Configure the sound</title>
+<link rel="stylesheet" href="./../style.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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 - Configure the sound</h1>
+</div>
+<div id="content">
+<div class="sect1">
+<h2 id="_output_to_the_headphones">Output to the headphones</h2>
+<div class="sectionbody">
+<div class="paragraph">
+<p>By default it appears that the default output of the sound
+is automatic, it means that if HDMI supports audio it will
+use it.</p>
+</div>
+<div class="paragraph">
+<p>To change the audio output:</p>
+</div>
+<div class="listingblock">
+<div class="content">
+<pre>sudo amixer -c 0 cset numid=3 &lt;output&gt;</pre>
+</div>
+</div>
+<div class="paragraph">
+<p>where &lt;output&gt; can be:</p>
+</div>
+<div class="ulist">
+<ul>
+<li>
+<p>0: auto</p>
+</li>
+<li>
+<p>1: headphones</p>
+</li>
+<li>
+<p>2: hdmi</p>
+</li>
+</ul>
+</div>
+</div>
+</div>
+</div>
+<div id="footer">
+<div id="footer-text">
+Last updated 2017-02-16 20:23:53 CET
+</div>
+</div>
+<footer>
+        <ul>
+                <li><i class="fa fa-rss" aria-hidden="true"></i>
+                        Feed: <a href="https://wpitchoune.net/news/feed.xml">RSS 2.0</a>
+                </li>
+
+                <li><i class="fa fa-envelope" aria-hidden="true"></i>
+                    Email: <a href="mailto:jeanfi@gmail.com">jeanfi@gmail.com</a>
+                </li>
+
+                <li><i class="fa fa-git-square" aria-hidden="true"></i>
+                    Source repository: <a href="https://git.wpitchoune.net/gitweb">gitweb</a>
+                </li>
+        </ul>
+</footer>
+</body>
+</html>
\ No newline at end of file
index 08c065f..e3122b7 100644 (file)
@@ -4,10 +4,10 @@
 <meta charset="UTF-8">
 <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="generator" content="Asciidoctor 1.5.3">
+<meta name="generator" content="Asciidoctor 1.5.4">
 <title>Raspberry PI - How to get the temperature</title>
 <link rel="stylesheet" href="./../style.css">
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/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>
@@ -27,7 +27,7 @@
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2017-01-02 14:00:01 CET
+Last updated 2017-01-13 20:53:02 CET
 </div>
 </div>
 <footer>