add symlinks and tidy uptime.sh
This commit is contained in:
parent
0018df46c9
commit
48de610c78
|
@ -0,0 +1 @@
|
||||||
|
./env.sh
|
|
@ -11,10 +11,9 @@
|
||||||
|
|
||||||
<p>here are some scripts i've been playing with</p>
|
<p>here are some scripts i've been playing with</p>
|
||||||
|
|
||||||
<?php foreach (glob("*") as $cgi) {
|
<?php foreach (glob("*.sh") as $cgi) {
|
||||||
$cgi = basename($cgi);
|
$cgi = basename($cgi); ?>
|
||||||
if ($cgi === "index.php") continue; ?>
|
<p><a href="<?=$cgi?>.txt">-></a> <a href="<?=$cgi?>"><?=$cgi?></a></p>
|
||||||
<p>-> <a href="<?=$cgi?>"><?=$cgi?></a></p>
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<p>sources available on <a href="https://tildegit.org/ben/tilde/src/branch/master/cgi-bin">tildegit</a></p>
|
<p>sources available on <a href="https://tildegit.org/ben/tilde/src/branch/master/cgi-bin">tildegit</a></p>
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
./info.sh
|
|
@ -0,0 +1 @@
|
||||||
|
./ip.sh
|
|
@ -0,0 +1 @@
|
||||||
|
./loadavg.sh
|
|
@ -0,0 +1 @@
|
||||||
|
./sysinfo.sh
|
|
@ -0,0 +1 @@
|
||||||
|
./tagline.sh
|
|
@ -0,0 +1 @@
|
||||||
|
./teapot.sh
|
|
@ -7,7 +7,7 @@ printf '{"hostname": "%s", "uptime": "%s", "since": "%s", "users": "%s"}\n' \
|
||||||
"$(hostname)" \
|
"$(hostname)" \
|
||||||
"$(uptime | sed -e "s/.* up *//" -e "s/ *days, */d/" -e "s/:/h/" -e "s/,.*/m/")" \
|
"$(uptime | sed -e "s/.* up *//" -e "s/ *days, */d/" -e "s/:/h/" -e "s/,.*/m/")" \
|
||||||
"$(uptime -s)" \
|
"$(uptime -s)" \
|
||||||
"$(online-users)"
|
"$(who | grep -v tmux | cut -d' ' -f1 | sort -u | wc -l)"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
./uptime.sh
|
|
@ -296,9 +296,10 @@ or open a github issue and i'll get back to you as soon as i can.</p>
|
||||||
<div class="feed">
|
<div class="feed">
|
||||||
<h3>live feels-sharing:</h3>
|
<h3>live feels-sharing:</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li><a href="https://tilde.team/~maleza/feels">~maleza</a> 2020-06-07 at 18:19 (utc-4)</li>
|
||||||
|
<li><a href="https://tilde.team/~leea/blog">~leea</a> 2020-05-24 at 08:17 (utc-4)</li>
|
||||||
<li><a href="https://tilde.team/~lukewarmcat/blog">~lukewarmcat</a> 2020-05-03 at 16:52 (utc-4)</li>
|
<li><a href="https://tilde.team/~lukewarmcat/blog">~lukewarmcat</a> 2020-05-03 at 16:52 (utc-4)</li>
|
||||||
<li><a href="https://tilde.team/~lickthecheese/blog">~lickthecheese</a> 2020-04-13 at 20:50 (utc-4)</li>
|
<li><a href="https://tilde.team/~lickthecheese/blog">~lickthecheese</a> 2020-04-13 at 20:50 (utc-4)</li>
|
||||||
<li><a href="https://tilde.team/~leea/blog">~leea</a> 2020-03-12 at 19:16 (utc-4)</li>
|
|
||||||
<li><a href="https://tilde.team/~mayhair/feels">~mayhair</a> 2019-09-12 at 09:02 (utc-4)</li>
|
<li><a href="https://tilde.team/~mayhair/feels">~mayhair</a> 2019-09-12 at 09:02 (utc-4)</li>
|
||||||
<li><a href="https://tilde.team/~amedrado/feels">~amedrado</a> 2019-07-31 at 14:43 (utc-4)</li>
|
<li><a href="https://tilde.team/~amedrado/feels">~amedrado</a> 2019-07-31 at 14:43 (utc-4)</li>
|
||||||
<li><a href="https://tilde.team/~ben/feels">~ben</a> 2019-07-24 at 16:58 (utc-4)</li>
|
<li><a href="https://tilde.team/~ben/feels">~ben</a> 2019-07-24 at 16:58 (utc-4)</li>
|
||||||
|
@ -311,7 +312,6 @@ or open a github issue and i'll get back to you as soon as i can.</p>
|
||||||
<li><a href="https://tilde.team/~firepal/blog">~firepal</a> </li>
|
<li><a href="https://tilde.team/~firepal/blog">~firepal</a> </li>
|
||||||
<li><a href="https://tilde.team/~stern/blog">~stern</a> </li>
|
<li><a href="https://tilde.team/~stern/blog">~stern</a> </li>
|
||||||
<li><a href="https://tilde.team/~ngp/feels">~ngp</a> </li>
|
<li><a href="https://tilde.team/~ngp/feels">~ngp</a> </li>
|
||||||
<li><a href="https://tilde.team/~notopygos/feels">~notopygos</a> </li>
|
|
||||||
<li><a href="https://tilde.team/~jackomix/blog">~jackomix</a> </li>
|
<li><a href="https://tilde.team/~jackomix/blog">~jackomix</a> </li>
|
||||||
<li><a href="https://tilde.team/~kneezle/feelsblog">~kneezle</a> </li>
|
<li><a href="https://tilde.team/~kneezle/feelsblog">~kneezle</a> </li>
|
||||||
<li><a href="https://tilde.team/~anelki/blog">~anelki</a> </li>
|
<li><a href="https://tilde.team/~anelki/blog">~anelki</a> </li>
|
||||||
|
|
Loading…
Reference in New Issue