@ -1,12 +1,5 @@
|
||||
---
|
||||
title: "Welcome to my personal website! :tada:"
|
||||
description: "This is a demo of the Congo theme for Hugo."
|
||||
---
|
||||
+++
|
||||
title = "OE7DRT"
|
||||
description = "my personal website"
|
||||
|
||||
{{< lead >}}
|
||||
amateur radio station OE7DRT, dominic
|
||||
{{< /lead >}}
|
||||
|
||||
welcome all!
|
||||
|
||||
good to be herea gain...
|
||||
+++
|
||||
|
@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Lab599 Discovery TX-500
|
||||
date: 2022-11-04 15:13:43
|
||||
#lastmod: 2022-11-12T19:51:31+01:00
|
||||
showBreadcrumbs: true
|
||||
# showReadingTime: false
|
||||
# showWordCount: false
|
||||
|
||||
---
|
||||
|
@ -0,0 +1,10 @@
|
||||
+++
|
||||
title = "LICENSE"
|
||||
date = "2022-12-04T18:15:03+01:00"
|
||||
|
||||
feed_exclude = true
|
||||
draft = true
|
||||
|
||||
+++
|
||||
|
||||
Licensed as [CC BY-NC-ND 4.0](https://creativecommons.org/licenses/by-nc-nd/4.0/).
|
@ -1,45 +0,0 @@
|
||||
+++
|
||||
title = "Using VARA with pat"
|
||||
summary = """**pat** is known as Winlink replacement for Linux. Now it also
|
||||
supports connections via VARA"""
|
||||
date = "2022-09-25T09:49:24+02:00"
|
||||
#lastmod = ""
|
||||
categories = ["amateur-radio"]
|
||||
tags = []
|
||||
|
||||
+++
|
||||
|
||||
I'm using zsh (not bash).
|
||||
|
||||
~~~console
|
||||
$ env WINEPREFIX=/home/dominic/.wine WINEARCH=win32 wine wineboot
|
||||
$ env WINEPREFIX=/home/dominic/.wine WINEARCH=win32 wine winecfg
|
||||
|
||||
$ env WINEPREFIX=/home/dominic/.wine WINEARCH=win32 winetricks sound=alsa
|
||||
$ env WINEPREFIX=/home/dominic/.wine WINEARCH=win32 winetricks allfonts
|
||||
|
||||
$ tar -cJf wine-backup-$(date +%Y-%m-%d-%H%M%S).tar.xz .wine/
|
||||
|
||||
$ #copy files to %WINDIR%/system32 -> create self-extracting archive...
|
||||
~~~
|
||||
|
||||
run my self-extracting archive after installing vb6run
|
||||
|
||||
- <a href="/files/VARA_files_drt.exe" onclick="window.fathom.trackGoal('HU5DDDJF', 0);">VARA_files_drt.exe</a>
|
||||
|
||||
when running winecfg check if Win7 is selected.
|
||||
|
||||
Using WINEARCH=win32 makes the windows 32bit -- most verbs from winetricks only
|
||||
install 32bit versions, so this is reason for 32bit windows...
|
||||
|
||||
run wine Download/VARA_Setup
|
||||
|
||||
run wine .wine/drive_c/VARA/VARA.exe
|
||||
|
||||
should work...
|
||||
|
||||
nt4 pdh files taken from: http://download.microsoft.com/download/winntsrv40/update/5.0.2195.2668/nt4/en-us/nt4pdhdll.exe
|
||||
|
||||
sources: https://groups.io/g/VARA-MODEM/topic/installing_winlink_express/80678030
|
||||
-- 73's de ON4AIN - Jan
|
||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 153 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 151 KiB |
@ -0,0 +1,22 @@
|
||||
+++
|
||||
title = "Change git submodule URL"
|
||||
summary = """Another thing I forget constantly when using git:
|
||||
Changing the remote URL of a submodule"""
|
||||
date = "2022-12-01T20:08:17+01:00"
|
||||
#lastmod = ""
|
||||
categories = ["computerstuff"]
|
||||
tags = ["til-git","reminders"]
|
||||
|
||||
+++
|
||||
|
||||
If the location (URL) of the submodule has changed, then you can simply:
|
||||
|
||||
1. Modify the <kbd>.gitmodules</kbd> file in the repo root to use the new URL.
|
||||
2. Delete the submodule folder in the repo `rm -rf .git/modules/<submodule>`.
|
||||
3. Delete the submodule folder in the working directory `rm -rf <submodule>`.
|
||||
4. Run `git submodule sync`.
|
||||
5. Run `git submodule update`.
|
||||
|
||||
More complete info can be found elsewhere:
|
||||
|
||||
<https://stackoverflow.com/questions/913701/changing-remote-repository-for-a-git-submodule>
|
@ -0,0 +1,112 @@
|
||||
+++
|
||||
title = "Installing hugo on Linux"
|
||||
summary = """This is how I install hugo nowadays. Although that routine might
|
||||
change anytime."""
|
||||
date = "2022-12-04T18:04:34+01:00"
|
||||
lastmod = "2022-12-04T23:29:01+01:00"
|
||||
categories = ["computerstuff"]
|
||||
tags = ["linux","gohugo"]
|
||||
|
||||
draft = true
|
||||
[sitemap]
|
||||
priority = 1.0
|
||||
|
||||
+++
|
||||
|
||||
## Build from source
|
||||
|
||||
To build Hugo from source you must:
|
||||
|
||||
- Install Git
|
||||
- Install Go version 1.18 or later
|
||||
- Update your PATH environment variable as described in the Go documentation
|
||||
|
||||
The install directory is controlled by the GOPATH and GOBIN environment variables. If GOBIN is set, binaries are installed to that directory. If GOPATH is set, binaries are installed to the bin subdirectory of the first directory in the GOPATH list. Otherwise, binaries are installed to the bin subdirectory of the default GOPATH ($HOME/go or %USERPROFILE%\go).
|
||||
|
||||
Then build and test:
|
||||
|
||||
~~~console
|
||||
$ go install -tags extended github.com/gohugoio/hugo@latest
|
||||
$ hugo version
|
||||
~~~
|
||||
|
||||
## Using hugo theme as module...
|
||||
|
||||
### Quick start using Hugo
|
||||
|
||||
Note: Ensure you have Go and Hugo installed, and that you have created a new Hugo project before proceeding.
|
||||
|
||||
From your project directory, initialise Hugo Modules:
|
||||
|
||||
~~~console
|
||||
$ hugo mod init github.com/<username>/<repo-name>
|
||||
~~~
|
||||
|
||||
Create config/_default/module.toml and add the following:
|
||||
|
||||
~~~toml
|
||||
[[imports]]
|
||||
path = "github.com/jpanther/congo/v2"
|
||||
~~~
|
||||
|
||||
Start your server using hugo server and the theme will be downloaded automatically.
|
||||
|
||||
In the root folder of your website, delete the config.toml file that was generated by Hugo. Copy the *.toml config files from the theme into your config/_default/ folder.
|
||||
|
||||
{{< alert >}}
|
||||
Note: Do not overwrite the module.toml file you created above!
|
||||
{{< /alert >}}
|
||||
|
||||
You will find these theme config files in the Hugo cache directory, or download a copy from GitHub.
|
||||
|
||||
Follow the Getting Started instructions to configure your website.
|
||||
|
||||
## use Atom feeds
|
||||
|
||||
|
||||
Define an appropriate media type and corresponding output format in config.toml:
|
||||
|
||||
```toml
|
||||
[mediaTypes]
|
||||
[mediaTypes."application/atom"]
|
||||
suffix = "xml"
|
||||
|
||||
[outputFormats.Atom]
|
||||
mediaType = "application/atom"
|
||||
baseName = "index"
|
||||
isPlainText = false
|
||||
```
|
||||
|
||||
Tell Hugo to produce the home page in Atom and HTML formats, also in config.toml:
|
||||
|
||||
```toml
|
||||
[outputs]
|
||||
home = [ "HTML", "Atom" ]
|
||||
```
|
||||
|
||||
Put an index.atom.xml template file in your layouts directory. You can use the attached one as a starting point, don't forget to edit the author element appropriately or make it take the values from your config.
|
||||
|
||||
```xml
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}</title>
|
||||
<link rel="self" href="{{ .Permalink }}"/>
|
||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
|
||||
<author>
|
||||
<name>YOUR NAME HERE</name>
|
||||
<email>YOUR EMAIL ADDRESS</email>
|
||||
<uri>DEFINITIVE URI OF YOUR WEB SITE</uri>
|
||||
</author>
|
||||
<id>{{ .Permalink }}</id>
|
||||
{{ range first 15 .Data.Pages }}
|
||||
<entry>
|
||||
<title>{{ .Title }}</title>
|
||||
<link rel="alternate" href="{{ .Permalink }}"/>
|
||||
<id>{{ .Permalink }}</id>
|
||||
<published>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</published>
|
||||
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
|
||||
<summary>{{ .Summary | html }}</summary>
|
||||
</entry>
|
||||
{{ end }}
|
||||
</feed>
|
||||
```
|
||||
source: <https://gist.github.com/lpar/7ded35d8f52fef7490a5be92e6cd6937>
|
@ -0,0 +1,38 @@
|
||||
{{- $pctx := . -}}
|
||||
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
|
||||
{{- $pages := $pctx.RegularPages -}}
|
||||
{{- $limit := .Site.Config.Services.RSS.Limit -}}
|
||||
{{- if ge $limit 1 -}}
|
||||
{{- $pages = $pages | first $limit -}}
|
||||
{{- end -}}
|
||||
{{- printf "<feed xmlns=\"http://www.w3.org/2005/Atom\">" | safeHTML }}
|
||||
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link rel="self" href="{{ .Permalink }}"/>
|
||||
<updated>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
|
||||
<author>
|
||||
<name>Dominic Reich “OE7DRT”</name>
|
||||
<email>dominic@oe7drt.com</email>
|
||||
<uri>https://oe7drt.com</uri>
|
||||
</author>
|
||||
<id>{{ .Permalink }}</id>
|
||||
{{ range $pages }}{{ if ne .Params.feed_exclude true }}
|
||||
<entry>
|
||||
<title>{{ .Title }}</title>
|
||||
<author>
|
||||
<name>Dominic Reich “OE7DRT”</name>
|
||||
<email>dominic@oe7drt.com</email>
|
||||
<uri>https://oe7drt.com</uri>
|
||||
</author>
|
||||
<link rel="alternate" href="{{ .Permalink }}"/>
|
||||
<id>{{ .Permalink }}</id>
|
||||
<published>{{ .Date.Format "2006-01-02T15:04:05-0700" | safeHTML }}</published>
|
||||
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-0700" | safeHTML }}</updated>
|
||||
{{ if .Site.Params.rssFullContent }}
|
||||
<summary>{{ .Content | html }}</summary>
|
||||
{{ else }}
|
||||
<summary>{{ .Summary | htmlUnescape | markdownify }}</summary>
|
||||
{{ end }}
|
||||
</entry>
|
||||
{{ end }}{{ end }}
|
||||
</feed>
|
@ -0,0 +1,6 @@
|
||||
User-agent: *
|
||||
Sitemap: {{ "sitemap.xml" | absLangURL }}
|
||||
|
||||
Disallow: /cgi-bin/
|
||||
Disallow: /tags/
|
||||
{{ range where .Data.Pages "Params.robotsdisallow" true }}Disallow: {{ .RelPermalink }}{{ end }}
|
@ -0,0 +1,11 @@
|
||||
{{ "<?" | safeHTML }}xml-stylesheet type="text/xsl" href="{{ "/sitemap.xsl" | absURL }}"{{ "?>" | safeHTML }}
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{{ range .Data.Pages }}
|
||||
<url>
|
||||
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
|
||||
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
|
||||
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
|
||||
<priority>{{ .Sitemap.Priority }}</priority>{{ end }}
|
||||
</url>
|
||||
{{ end }}
|
||||
</urlset>
|
@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet version="2.0"
|
||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
|
||||
xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
|
||||
<xsl:template match="/">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>XML Sitemap</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<style type="text/css">
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
color: #242628;
|
||||
}
|
||||
a {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
table {
|
||||
border: none;
|
||||
border-collapse: collapse;
|
||||
width: 100%
|
||||
}
|
||||
th {
|
||||
text-align: left;
|
||||
padding-right: 30px;
|
||||
font-size: 11px;
|
||||
}
|
||||
thead th {
|
||||
border-bottom: 1px solid #7d878a;
|
||||
cursor: pointer;
|
||||
}
|
||||
td {
|
||||
font-size:11px;
|
||||
padding: 5px;
|
||||
}
|
||||
tr:nth-child(odd) td {
|
||||
background-color: rgba(0,0,0,0.04);
|
||||
}
|
||||
tr:hover td {
|
||||
background-color: #e2edf2;
|
||||
}
|
||||
|
||||
#content {
|
||||
margin: 0 auto;
|
||||
padding: 2% 5%;
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.desc {
|
||||
margin: 18px 3px;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
.desc a {
|
||||
color: #5ba4e5;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<h1>XML Sitemap</h1>
|
||||
<p class="desc">
|
||||
This is a sitemap generated by <a href="https://gohugo.io">Hugo</a> to allow search engines to discover this blog's content.
|
||||
</p>
|
||||
<p class="desc">
|
||||
The xsl style is based on <a href="https://ghost.org">Ghost</a>.
|
||||
</p>
|
||||
<table id="sitemap" cellpadding="3">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="75%">URL (<xsl:value-of select="count(sitemap:urlset/sitemap:url)"/> total)</th>
|
||||
<th title="Priority" width="5%">Prio</th>
|
||||
<th title="Change Frequency" width="5%">Ch. Freq.</th>
|
||||
<th title="Last Modification Time" width="15%">Last Modified</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<xsl:variable name="lower" select="'abcdefghijklmnopqrstuvwxyz'"/>
|
||||
<xsl:variable name="upper" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
|
||||
<xsl:for-each select="sitemap:urlset/sitemap:url">
|
||||
<tr>
|
||||
<td>
|
||||
<xsl:variable name="itemURL">
|
||||
<xsl:value-of select="sitemap:loc"/>
|
||||
</xsl:variable>
|
||||
<a href="{$itemURL}">
|
||||
<xsl:value-of select="sitemap:loc"/>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="concat(sitemap:priority*100,'%')"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="concat(translate(substring(sitemap:changefreq, 1, 1),concat($lower, $upper),concat($upper, $lower)),substring(sitemap:changefreq, 2))"/>
|
||||
</td>
|
||||
<td>
|
||||
<xsl:value-of select="concat(substring(sitemap:lastmod,0,11),concat(' ', substring(sitemap:lastmod,12,5)))"/>
|
||||
</td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|