logo

blog

My little blog can’t be this cute! git clone https://hacktivis.me/git/blog.git
commit: 5490b02ae911d086ba6636cd2156e2b840e1da5d
parent cbc5a7511eb89c35f16f8b4e0f04a1be908319a1
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  7 Mar 2019 01:54:49 +0100

Fix wrong title and syntax errors

Diffstat:

Marticles/All Communities Are Broken.shtml2+-
Mcoding style.shtml4++--
Mp-MakingAnOSHWLaptop.html2+-
Mprojects/Open-Source Software and Hardware Laptop.shtml12++++++------
Mprojets/Laptop au matériel et logiciels libre.shtml12++++++------
5 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/articles/All Communities Are Broken.shtml b/articles/All Communities Are Broken.shtml @@ -4,7 +4,7 @@ <!--#include file="/templates/head.shtml" --> <meta property="og:type" content="article"/> <meta property="og:title" content="All Communities Are Broken"/> - <title>Politique de CW — Cyber-habitat de lanodan</title> + <title>All Communities Are Broken — Cyber-habitat de lanodan</title> <link rel="prev" href="/articles/Politique%20de%20CW"> <link rel="next" href="/articles/J%E2%80%99ai%20chang%C3%A9%20de%20cl%C3%A9%20OpenPGP"> </head> diff --git a/coding style.shtml b/coding style.shtml @@ -9,7 +9,7 @@ <main> <h1>Coding Style</h1> <p>Done from scratch to note choices done so far instead of copying and modifying after it. This just denotes my preferred coding style but the most important is for a project’s code to be consistent.</p> - <p>And this applies to all programming languages that I use, even if I’ll use C vocabulary when applicable.</li> + <p>And this applies to all programming languages that I use, even if I’ll use C vocabulary when applicable.</p> <h2>Recommended Reading</h2> <p>The following contain good information, some of which is repeated below, some of which is contradicted below.</p> <ul> @@ -20,7 +20,7 @@ <h2>Choices</h2> <ul> <li>Tabs for indentation; space for alignment</li> - <li>C braces break style: Allman when it’s for grouping (ie. C if-else blocks), K&R when the braces are mandatory (ie. C function definition)</li> + <li>C braces break style: Allman when it’s for grouping (ie. C if-else blocks), K&amp;R when the braces are mandatory (ie. C function definition)</li> <li>When using <code>includes</code> or similar, have them sorted (so there is deduplication) and grouped at the start of the file</li> <li>Line-lenght:<ul> <li>Code: 80 soft-limit, 100 hard-limit</li> diff --git a/p-MakingAnOSHWLaptop.html b/p-MakingAnOSHWLaptop.html @@ -1,4 +1,4 @@ -<!doctype html> +<!DOCTYPE html> <html lang="en"> <head> <title>MakingAnOSHWLaptop</title> diff --git a/projects/Open-Source Software and Hardware Laptop.shtml b/projects/Open-Source Software and Hardware Laptop.shtml @@ -13,7 +13,7 @@ <p>Here is the parts I’ve used :</p> <ul> <li>Laptop case(used another one’s case)</li> - <li>OLIMEX</ul> + <li>OLIMEX<ul> <li>A20-OLinuXino-LIME2-4G</li> <li>A20-OLinuXino-LIME2-UEXT</li> <li>SATA-CABLE-SET (data is too short of few cm for me, used spare one)</li> @@ -35,7 +35,7 @@ <li>An A20-OLinuXino (or other board with an allwinner CPU, I use LIME2-4G)</li> <li>(recommended) Serial/UART adapter</li> </ul> - <h3>sunxi u-boot & kernel</h3> + <h3>sunxi u-boot &amp; kernel</h3> <p>I use gentoo so I only have to make u-boot, kernel, put armv7a /armhf stage3. I mainly follow olimex A20-build(found upper).</p> <pre><code>$ export ARCH=arm $ export CROSS_COMPILE=arm-linux-gnueabihf-</code></pre> @@ -48,7 +48,7 @@ $ export CROSS_COMPILE=arm-linux-gnueabihf-</code></pre> $ git clone https://github.com/linux-sunxi/linux-sunxi ; cd linux-sunxi $ wget https://raw.githubusercontent.com/OLIMEX/OLINUXINO/master/SOFTWARE/A20/A20-build/spi-sun7i.c -O drivers/spi/spi-sun7i.c $ wget https://raw.githubusercontent.com/OLIMEX/OLINUXINO/master/SOFTWARE/A20/A20-build/SPI.patch -$ patch -p0 < SPI.patch +$ patch -p0 &lt; SPI.patch $ wget https://raw.githubusercontent.com/OLIMEX/OLINUXINO/master/SOFTWARE/A20/A20-build/a20_olimex_defconfig -O arch/arm/configs/a20_olimex_defconfig $ make a20_olimex_defconfig </code></pre> @@ -57,12 +57,12 @@ $ make a20_olimex_defconfig $ make modules_install</code></pre> <quote>“The uImage file is located in arch/arm/boot/<br /> The kernel modules are located in out/lib/modules/$kernel_version”</quote> — <cite>Olimex</cite> - <h3>Mainline u-boot & kernel</h3> + <h3>Mainline u-boot &amp; kernel</h3> <quote>“(this needs to be written)”</quote> — <cite>netstat(8)</cite> <h3>Gentoo rootfs</h3> <h4>Partitions</h4> <p>Insert your storage device and use <code>dmesg</code> or <code>lsblk</code> to have the <code>/dev/sd*</code> or <code>/dev/mmcblk*</code> it will be noted as <code>/dev/sd×</code> and enter as ⮠(you may need to fix your font) for one-liners</p> - <code># fdisk /dev/sd×</code></pre> + <code># fdisk /dev/sd×</code> <ol> <li>If you have partitions on it, you can delete them with <code>d</code> and then partition number</li> <li>Create the /boot (I recommend using 16M or greater): <code>n⮠p⮠1⮠⮠+16M⮠</code></li> @@ -96,7 +96,7 @@ $ make modules_install</code></pre> <li>GnuSocial :<a href="https://loadaverage.org/tag/MakingAnOSHWLaptop">#MakingAnOSHWLaptop</a></li> <li>Sources<ul> <li>U-boot<ul> - <li><a href="//git.denx.de/u-boot.git">Mainline</li> + <li><a href="//git.denx.de/u-boot.git">Mainline</a></li> <li><a href="https://github.com/linux-sunxi/u-boot-sunxi.git">Sunxi</a></li> </ul></li> <li>Kernel<ul> diff --git a/projets/Laptop au matériel et logiciels libre.shtml b/projets/Laptop au matériel et logiciels libre.shtml @@ -13,7 +13,7 @@ <h2 id="parts">Pièces</h2> <ul> <li>Boitier d’un autre laptop</li> - <li>OLIMEX</ul> + <li>OLIMEX<ul> <li>A20-OLinuXino-LIME2-4G</li> <li>A20-OLinuXino-LIME2-UEXT</li> <li>SATA-CABLE-SET (le cable de donnée est trop court de quelques cm pour moi, j’en ait pris un dans mon stock)</li> @@ -37,7 +37,7 @@ <li>An A20-OLinuXino (or other board with an allwinner CPU, I use LIME2-4G)</li> <li>(recommended) Serial/UART adapter</li> </ul> - <h3>sunxi u-boot & kernel</h3> + <h3>sunxi u-boot &amp; kernel</h3> <p>I use gentoo so I only have to make u-boot, kernel, put armv7a /armhf stage3. I mainly follow olimex A20-build(found upper).</p> <pre><code>$ export ARCH=arm $ export CROSS_COMPILE=arm-linux-gnueabihf-</code></pre> @@ -50,7 +50,7 @@ $ export CROSS_COMPILE=arm-linux-gnueabihf-</code></pre> $ git clone https://github.com/linux-sunxi/linux-sunxi ; cd linux-sunxi $ wget https://raw.githubusercontent.com/OLIMEX/OLINUXINO/master/SOFTWARE/A20/A20-build/spi-sun7i.c -O drivers/spi/spi-sun7i.c $ wget https://raw.githubusercontent.com/OLIMEX/OLINUXINO/master/SOFTWARE/A20/A20-build/SPI.patch -$ patch -p0 < SPI.patch +$ patch -p0 &lt; SPI.patch $ wget https://raw.githubusercontent.com/OLIMEX/OLINUXINO/master/SOFTWARE/A20/A20-build/a20_olimex_defconfig -O arch/arm/configs/a20_olimex_defconfig $ make a20_olimex_defconfig </code></pre> @@ -59,12 +59,12 @@ $ make a20_olimex_defconfig $ make modules_install</code></pre> <quote>“The uImage file is located in arch/arm/boot/<br /> The kernel modules are located in out/lib/modules/$kernel_version”</quote> — <cite>Olimex</cite> - <h3>Mainline u-boot & kernel</h3> + <h3>Mainline u-boot &amp; kernel</h3> <quote>“(this needs to be written)”</quote> — <cite>netstat(8)</cite> <h3>Gentoo rootfs</h3> <h4>Partitions</h4> <p>Insert your storage device and use <code>dmesg</code> or <code>lsblk</code> to have the <code>/dev/sd*</code> or <code>/dev/mmcblk*</code> it will be noted as <code>/dev/sd×</code> and enter as ⮠(you may need to fix your font) for one-liners</p> - <code># fdisk /dev/sd×</code></pre> + <code># fdisk /dev/sd×</code> <ol> <li>If you have partitions on it, you can delete them with <code>d</code> and then partition number</li> <li>Create the /boot (I recommend using 16M or greater): <code>n⮠p⮠1⮠⮠+16M⮠</code></li> @@ -98,7 +98,7 @@ $ make modules_install</code></pre> <li>GnuSocial :<a href="https://loadaverage.org/tag/MakingAnOSHWLaptop">#MakingAnOSHWLaptop</a></li> <li>Sources<ul> <li>U-boot<ul> - <li><a href="//git.denx.de/u-boot.git">Mainline</li> + <li><a href="//git.denx.de/u-boot.git">Mainline</a></li> <li><a href="https://github.com/linux-sunxi/u-boot-sunxi.git">Sunxi</a></li> </ul></li> <li>Kernel<ul>