Merge branch 'main' into add_opengraph

This commit is contained in:
tom 2021-10-01 19:29:00 +00:00
commit d8d9f081ee
4 changed files with 13 additions and 6 deletions

View File

@ -17,6 +17,7 @@ My Fanless OpenBSD Desktop https://jcs.org/2021/07/19/desktop
Bluetooth audio on OpenBSD https://jcs.org/2020/11/18/openbsd_btaudio
Installing OpenBSD on Linode https://text.causal.agency/027-openbsd-linode.txt
Why OpenBSD Rocks https://why-openbsd.rocks/fact
bcallah@ interview https://www.bsdnow.tv/422
Communities
-----------
@ -25,3 +26,7 @@ List various communitis around OpenBSD :
* [Mailing lists (of course)](https://www.openbsd.org/mail.html)
* IRC: #OpenBSD on irc.libera.chat
* XMPP : OpenBSD on openbsd@chat.si3t.ch ?
Artworks
--------
https://bsd.network/@prahou/107026745346972847

View File

@ -1,5 +1,7 @@
<!-- SECTION -->
<div class="puffies" aria-hidden="true">🐡🐡🐡</div>
<h1>Shell tips</h1>
<p>
<p>OpenBSD 7.0 comes with a new utility named <em>timeout</em> to run a command and stop it after an user defined time. The <a class="permalink" href="https://man.openbsd.org/timeout">man page</a> is available for full information.
While it was possible to achieve this in shell using a child process sleeping for some time and stopping the main process if it wasn't finished yet, <em>timeout</em> makes this job very easy.
One simple real world use case would be a lazy site-to-site synchronization using a rsync job run every night when the Internet uplink can be fully used and stop it right before people will need the network. Such a scenario can be done with <code>timeout 8h rsync -a /data/ remote:/data/</code> and started from a cron job at 00h00. In this case rsync would run at midnight and <em>timeout</em> would stop it at 8h00 if the job is not finished.
</p>

View File

@ -2,5 +2,5 @@
<div class="puffies" aria-hidden="true">🐡🐡🐡</div>
<h1>Reader comments</h1>
<p>Nice!
<em>Said by jcs@openbsd</em>
<em>- jcs@openbsd</em>
</p>

View File

@ -1,7 +1,7 @@
<!-- SECTION>
<!-- SECTION-->
<div class="puffies" aria-hidden="true">🐡🐡🐡</div>
<h1>Quote</h1>
<blockquote>
glub.
-- Puffy
</blockquote-->
Boredom is a powerful driving force.
-- solene@openbsd</em>
</blockquote>