shithub: sirjofri_de

Download patch

ref: 37d2a7d22b29d10d4bc2e7e05f5b6640b65e03fc
parent: f649e8b75c16916be726453b29e3119ff7943cd9
author: sirjofri <sirjofri@sirjofri.de>
date: Thu Jul 16 03:52:31 EDT 2020

adds quick profile hack

diff: cannot open b/pub/changeblog/1594885496//null: file does not exist: 'b/pub/changeblog/1594885496//null'
--- a/changeblog.ht
+++ b/changeblog.ht
@@ -5,6 +5,7 @@
 <a href="changeblog.pdf">Download pdf</a><br>
 <a href="/changeblog.xml">Feed</a><br>
 <ul>
+<li><a href="/changeblog/1594885496/">Thu, 16 Jul 2020 09:44:56 +0200: lib/profile quick hack</a></li>
 <li><a href="/changeblog/1594881674/">Thu, 16 Jul 2020 08:41:14 +0200: Mail Server Configuration</a></li>
 <li><a href="/changeblog/1593621046/">Wed, 01 Jul 2020 18:30:46 +0200: Guided Replica</a></li>
 <li><a href="/changeblog/1593448779/">Mon, 29 Jun 2020 18:39:39 +0200: 9front on Netcup VPS</a></li>
--- /dev/null
+++ b/changeblog/1594885496.ht
@@ -1,0 +1,47 @@
+<article>
+<header>
+<h2>lib/profile quick hack</h2>
+<b>Thu, 16 Jul 2020 09:44:56 +0200</b>
+</header>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="line-height: 1.4em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: center;">
+<span style="font-size: 12pt"><b>lib/profile quick hack</b></span></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.42in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+<p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Some smaller change that can change your life.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">There are reasons why you not run </span><span style="font-size: 10pt"><i>rio</i></span><span style="font-size: 10pt"> in your lib/profile. For me the main reason would be: You can no longer use
+commands</span><span style="font-size: 10pt"><tt>rcpu</tt></span><span style="font-size: 10pt">-c
+in your shell. Rio opens and there you are, stuck in front of a gray background.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">My solution:
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>case cpu
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   # … lots of stuff …
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   rcpucmd=&lsquo;{cat /mnt/term/env/cmd &gt;[2]/dev/null}
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   if(~ $#rcpucmd 0)
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>      rio
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   # … lots of stuff …
+</tt></span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Now I can </span><span style="font-size: 10pt"><i>rcpu</i></span><span style="font-size: 10pt"> and have my rio, or </span><span style="font-size: 10pt"><i>rcpu -c command</i></span><span style="font-size: 10pt"> and run the command without leaving my shell.
+</span></p><p style="margin-top: 0; margin-bottom: 0.50in"></p>
+
+</article>
--- /dev/null
+++ b/changeblog/1594885496.ms
@@ -1,0 +1,26 @@
+.HTML lib/profile quick hack
+.TL
+lib/profile quick hack
+.LP
+Some smaller change that can change your life.
+.LP
+There are reasons why you not run \fIrio\fR in your lib/profile. For me the main reason would be: You can no longer use
+.CW rcpu -c commands
+in your shell. Rio opens and there you are, stuck in front of a gray background.
+.LP
+My solution:
+.IP
+.CW
+case cpu
+.br
+   # … lots of stuff …
+.br
+   rcpucmd=`{cat /mnt/term/env/cmd >[2]/dev/null}
+.br
+   if(~ $#rcpucmd 0)
+.br
+      rio
+.br
+   # … lots of stuff …
+.LP
+Now I can \fIrcpu\fR and have my rio, or \fIrcpu -c command\fR and run the command without leaving my shell.
--- a/pub/changeblog.xml
+++ b/pub/changeblog.xml
@@ -8,7 +8,56 @@
 <rights>© Copyright 2020 sirjofri</rights>
 <id>https://sirjofri.de/</id>
 <title>changeblog</title>
-<updated>2020-07-16T09:23:16+02:00</updated>
+<updated>2020-07-16T09:49:36+02:00</updated>
+<entry>
+	<title>lib/profile quick hack</title>
+	<id>https://sirjofri.de/changeblog/1594885496/</id>
+	<link href="https://sirjofri.de/changeblog/1594885496/"/>
+	<updated>2020-07-16T09:44:56+02:00</updated>
+	<content><![CDATA[<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="line-height: 1.4em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: center;">
+<span style="font-size: 12pt"><b>lib/profile quick hack</b></span></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.42in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+<p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Some smaller change that can change your life.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">There are reasons why you not run </span><span style="font-size: 10pt"><i>rio</i></span><span style="font-size: 10pt"> in your lib/profile. For me the main reason would be: You can no longer use
+commands</span><span style="font-size: 10pt"><tt>rcpu</tt></span><span style="font-size: 10pt">-c
+in your shell. Rio opens and there you are, stuck in front of a gray background.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">My solution:
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>case cpu
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   # … lots of stuff …
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   rcpucmd=&lsquo;{cat /mnt/term/env/cmd &gt;[2]/dev/null}
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   if(~ $#rcpucmd 0)
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>      rio
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   # … lots of stuff …
+</tt></span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Now I can </span><span style="font-size: 10pt"><i>rcpu</i></span><span style="font-size: 10pt"> and have my rio, or </span><span style="font-size: 10pt"><i>rcpu -c command</i></span><span style="font-size: 10pt"> and run the command without leaving my shell.
+</span></p><p style="margin-top: 0; margin-bottom: 0.50in"></p>
+
+]]></content>
+</entry>
+
 <entry>
 	<title>Mail Server Configuration</title>
 	<id>https://sirjofri.de/changeblog/1594881674/</id>
--- /dev/null
+++ b/pub/changeblog/1594885496/index.html
@@ -1,0 +1,84 @@
+<!doctype html>
+<html lang="en">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>sirjofri • changeblog/1594885496</title>
+<style type="text/css">
+body {
+	font-family: sans-serif;
+	max-width: 960px;
+	margin: auto;
+	padding: 10px;
+}
+</style>
+</head>
+<body>
+<header>
+<h1>changeblog/1594885496</h1>
+<nav>
+<a href="/">start</a> •
+<a href="/changeblog/">changeblog</a> •
+<a href="/files/">files</a> •
+<a href="/imprint/">imprint</a>
+</nav>
+</header>
+<main>
+<article>
+<header>
+<h2>lib/profile quick hack</h2>
+<b>Thu, 16 Jul 2020 09:44:56 +0200</b>
+</header>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="line-height: 1.4em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: center;">
+<span style="font-size: 12pt"><b>lib/profile quick hack</b></span></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+
+<p style="margin-top: 0; margin-bottom: 0.42in"></p>
+<p style="margin-top: 0; margin-bottom: 0.21in"></p>
+<p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="margin-top: 0; margin-bottom: 0.50in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Some smaller change that can change your life.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">There are reasons why you not run </span><span style="font-size: 10pt"><i>rio</i></span><span style="font-size: 10pt"> in your lib/profile. For me the main reason would be: You can no longer use
+commands</span><span style="font-size: 10pt"><tt>rcpu</tt></span><span style="font-size: 10pt">-c
+in your shell. Rio opens and there you are, stuck in front of a gray background.
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">My solution:
+</span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>case cpu
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   # … lots of stuff …
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   rcpucmd=&lsquo;{cat /mnt/term/env/cmd &gt;[2]/dev/null}
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   if(~ $#rcpucmd 0)
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>      rio
+</tt></span></p><p style="line-height: 1.2em; margin-left: 1.35in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt"><tt>   # … lots of stuff …
+</tt></span></p><p style="margin-top: 0; margin-bottom: 0.05in"></p>
+<p style="line-height: 1.2em; margin-left: 1.00in; text-indent: 0.00in; margin-right: 1.00in; margin-top: 0; margin-bottom: 0; text-align: justify;">
+<span style="font-size: 10pt">Now I can </span><span style="font-size: 10pt"><i>rcpu</i></span><span style="font-size: 10pt"> and have my rio, or </span><span style="font-size: 10pt"><i>rcpu -c command</i></span><span style="font-size: 10pt"> and run the command without leaving my shell.
+</span></p><p style="margin-top: 0; margin-bottom: 0.50in"></p>
+
+</article>
+</main>
+<hr>
+<footer>
+<a href="/">start</a> •
+<a href="/changeblog/">changeblog</a> •
+<a href="/imprint/">imprint (german)</a>
+<br>
+© Copyright 2020 sirjofri
+</footer>
+</body>
+</html>
binary files a/pub/changeblog/changeblog.pdf b/pub/changeblog/changeblog.pdf differ
--- a/pub/changeblog/index.html
+++ b/pub/changeblog/index.html
@@ -31,6 +31,7 @@
 <a href="changeblog.pdf">Download pdf</a><br>
 <a href="/changeblog.xml">Feed</a><br>
 <ul>
+<li><a href="/changeblog/1594885496/">Thu, 16 Jul 2020 09:44:56 +0200: lib/profile quick hack</a></li>
 <li><a href="/changeblog/1594881674/">Thu, 16 Jul 2020 08:41:14 +0200: Mail Server Configuration</a></li>
 <li><a href="/changeblog/1593621046/">Wed, 01 Jul 2020 18:30:46 +0200: Guided Replica</a></li>
 <li><a href="/changeblog/1593448779/">Mon, 29 Jun 2020 18:39:39 +0200: 9front on Netcup VPS</a></li>