From fef1a1760f4095a46e4a5a059cac9afcd6433fec Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 2 Apr 2022 20:33:48 +0100 Subject: Publishing new version --- gemfeed/2008-06-26-perl-poetry.html | 2 +- gemfeed/2010-05-09-the-fype-programming-language.html | 2 +- gemfeed/2011-05-07-perl-daemon-service-framework.html | 2 +- gemfeed/2014-03-24-the-fibonacci.pl.c-polyglot.html | 2 +- .../2015-12-05-run-debian-on-your-phone-with-debroid.html | 2 +- .../2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html | 2 +- gemfeed/atom.xml | 12 ++++++------ 7 files changed, 12 insertions(+), 12 deletions(-) (limited to 'gemfeed') diff --git a/gemfeed/2008-06-26-perl-poetry.html b/gemfeed/2008-06-26-perl-poetry.html index 70875e92..b70f7dad 100644 --- a/gemfeed/2008-06-26-perl-poetry.html +++ b/gemfeed/2008-06-26-perl-poetry.html @@ -154,7 +154,7 @@ This is perl, v5.8.8 built for i386-freebsd-64int

More...

Did you like what you saw? Have a look at Codeberg to see my other poems too:

-https://codeberg.org/foozone/perl-poetry
+https://codeberg.org/snonux/perl-poetry

E-Mail me your comments to paul at buetow dot org!

Go back to the main site

Fancy stuff like OOP or Unicode or threading is not planed. But fancy stuff like function pointers and closures may be considered.:)

May the source be with you

You can find all of this on the GitHub page. There is also an "examples" folders containing some Fype scripts!

-https://codeberg.org/foozone/fype
+https://codeberg.org/snonux/fype

E-Mail me your comments to paul at buetow dot org!

Go back to the main site

BTW: You can install as many modules within the same instance as desired. But they are run in sequential order (in future, they can also run in parallel using several threads or processes).

May the source be with you

You can find PerlDaemon (including the examples) at:

-https://codeberg.org/foozone/perldaemon
+https://codeberg.org/snonux/perldaemon

E-Mail me your comments to paul at buetow dot org!

Go back to the main site

You can find the full source code at GitHub:

-https://codeberg.org/foozone/perl-c-fibonacci
+https://codeberg.org/snonux/perl-c-fibonacci

Let's run it with Perl:

 ❯ perl fibonacci.pl.c
diff --git a/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html b/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html
index 065b8552..81c3ec1f 100644
--- a/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html
+++ b/gemfeed/2015-12-05-run-debian-on-your-phone-with-debroid.html
@@ -23,7 +23,7 @@
 

A couple of years have passed since I last worked on Debroid. Currently, I am using the Termux app on Android, which is less sophisticated than a fully blown Debian installation but sufficient for my current requirements. The content of this site may be still relevant, and it would also work with more recent versions of Debian and Android. I would expect that some minor modifications need to be made, though.

Step by step guide

All scripts mentioned here can be found on GitHub at:

-https://codeberg.org/foozone/debroid
+https://codeberg.org/snonux/debroid

First debootstrap stage

This is to be performed on a Fedora Linux machine (could work on a Debian too, but Fedora is just what I use on my Laptop). The following steps prepare an initial Debian base image, which can then be transferred to the phone.

diff --git a/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html b/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html
index acc2e4f6..bd7767e3 100644
--- a/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html
+++ b/gemfeed/2021-06-05-gemtexter-one-bash-script-to-rule-it-all.html
@@ -56,7 +56,7 @@
 

Another benefit of using Gemini is that the Gemtext markup language is easy to parse. As my site is dual-hosted (Gemini+HTTP), I could, in theory, just write a shell script to deal with the conversion from Gemtext to HTML; there is no need for a full-featured programming language here. I have done a lot of Bash in the past, but I am also often revisiting old tools and techniques for refreshing and keeping the knowledge up to date here.

Motivational comic strip

I have exactly done that - I wrote a Bash script, named Gemtexter, for that:

-https://codeberg.org/foozone/gemtexter
+https://codeberg.org/snonux/gemtexter

In short, Gemtexter is a static site generator and blogging engine that uses Gemtext as its input format.

Output formats

Gemtexter takes the Gemntext Markup files as the input and generates the following outputs from it (you find examples for each of these output formats on the Gemtexter GitHub page):

diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 5f65c021..8b229953 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1727,7 +1727,7 @@ Hello World

Another benefit of using Gemini is that the Gemtext markup language is easy to parse. As my site is dual-hosted (Gemini+HTTP), I could, in theory, just write a shell script to deal with the conversion from Gemtext to HTML; there is no need for a full-featured programming language here. I have done a lot of Bash in the past, but I am also often revisiting old tools and techniques for refreshing and keeping the knowledge up to date here.

Motivational comic strip

I have exactly done that - I wrote a Bash script, named Gemtexter, for that:

-https://codeberg.org/foozone/gemtexter
+https://codeberg.org/snonux/gemtexter

In short, Gemtexter is a static site generator and blogging engine that uses Gemtext as its input format.

Output formats

Gemtexter takes the Gemntext Markup files as the input and generates the following outputs from it (you find examples for each of these output formats on the Gemtexter GitHub page):

@@ -3204,7 +3204,7 @@ Notice: Finished catalog run in 206.09 seconds

A couple of years have passed since I last worked on Debroid. Currently, I am using the Termux app on Android, which is less sophisticated than a fully blown Debian installation but sufficient for my current requirements. The content of this site may be still relevant, and it would also work with more recent versions of Debian and Android. I would expect that some minor modifications need to be made, though.

Step by step guide

All scripts mentioned here can be found on GitHub at:

-https://codeberg.org/foozone/debroid
+https://codeberg.org/snonux/debroid

First debootstrap stage

This is to be performed on a Fedora Linux machine (could work on a Debian too, but Fedora is just what I use on my Laptop). The following steps prepare an initial Debian base image, which can then be transferred to the phone.

@@ -3403,7 +3403,7 @@ BEGIN {
 }
 

You can find the full source code at GitHub:

-https://codeberg.org/foozone/perl-c-fibonacci
+https://codeberg.org/snonux/perl-c-fibonacci

Let's run it with Perl:

 ❯ perl fibonacci.pl.c
@@ -3589,7 +3589,7 @@ sub do ($) {
 

BTW: You can install as many modules within the same instance as desired. But they are run in sequential order (in future, they can also run in parallel using several threads or processes).

May the source be with you

You can find PerlDaemon (including the examples) at:

-https://codeberg.org/foozone/perldaemon
+https://codeberg.org/snonux/perldaemon

E-Mail me your comments to paul at buetow dot org!

@@ -4004,7 +4004,7 @@ BB

Fancy stuff like OOP or Unicode or threading is not planed. But fancy stuff like function pointers and closures may be considered.:)

May the source be with you

You can find all of this on the GitHub page. There is also an "examples" folders containing some Fype scripts!

-https://codeberg.org/foozone/fype
+https://codeberg.org/snonux/fype

E-Mail me your comments to paul at buetow dot org!

@@ -4468,7 +4468,7 @@ This is perl, v5.8.8 built for i386-freebsd-64int

More...

Did you like what you saw? Have a look at Codeberg to see my other poems too:

-https://codeberg.org/foozone/perl-poetry
+https://codeberg.org/snonux/perl-poetry

E-Mail me your comments to paul at buetow dot org!

-- cgit v1.2.3