Compare commits
4 commits
Author | SHA1 | Date | |
---|---|---|---|
0abf93d4ae | |||
2ec7ba1b6a | |||
41782effc2 | |||
5f93cb018f |
5 changed files with 124 additions and 57 deletions
|
@ -38,10 +38,6 @@ and PDF files of the links too.
|
||||||
[opengist](https://gist.oe7drt.net/)
|
[opengist](https://gist.oe7drt.net/)
|
||||||
: Selfhosted version of Github gists where I save some random snippets.
|
: Selfhosted version of Github gists where I save some random snippets.
|
||||||
|
|
||||||
[LibreTranslate](https://translate.oe7drt.net/)
|
|
||||||
: I was testing Mastodon again (this time on my local server at home) in a virtual machine.
|
|
||||||
Within that I created another user that runs an instance of LibreTranslate.
|
|
||||||
|
|
||||||
[Mastodon](https://social.oe7drt.net/)
|
[Mastodon](https://social.oe7drt.net/)
|
||||||
: I do some testing on this private instance every now and then and if you need an instance
|
: I do some testing on this private instance every now and then and if you need an instance
|
||||||
to test out a few things feel free to create users over there. It is currently subscribed
|
to test out a few things feel free to create users over there. It is currently subscribed
|
||||||
|
|
|
@ -82,6 +82,17 @@ to reboot without su
|
||||||
|
|
||||||
/etc/polkit-1/rules.d/49-nopasswd_global.rules
|
/etc/polkit-1/rules.d/49-nopasswd_global.rules
|
||||||
|
|
||||||
|
```
|
||||||
|
/* Allow members of the wheel group to execute any actions
|
||||||
|
* without password authentication, similar to "sudo NOPASSWD:"
|
||||||
|
*/
|
||||||
|
polkit.addRule(function(action, subject) {
|
||||||
|
if (subject.isInGroup("wheel")) {
|
||||||
|
return polkit.Result.YES;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
### passwordless ssh login
|
### passwordless ssh login
|
||||||
|
|
||||||
ssh-add -L > .ssh/authorized_keys
|
ssh-add -L > .ssh/authorized_keys
|
||||||
|
@ -104,6 +115,8 @@ can also be done on most installation media that use grub by hitting
|
||||||
|
|
||||||
### Wine
|
### Wine
|
||||||
|
|
||||||
|
#### Default (Arch)
|
||||||
|
|
||||||
Windows tools will require wine, so we install this right now
|
Windows tools will require wine, so we install this right now
|
||||||
|
|
||||||
paru -S wine
|
paru -S wine
|
||||||
|
@ -132,14 +145,18 @@ winetricks -q allfonts
|
||||||
|
|
||||||
adding some .NET frameworks we will mostly use/need
|
adding some .NET frameworks we will mostly use/need
|
||||||
|
|
||||||
|
```
|
||||||
winetricks -q dotnet35sp1
|
winetricks -q dotnet35sp1
|
||||||
winetricks vb6run
|
winetricks vb6run
|
||||||
winetricks vcrun2015
|
winetricks vcrun2015
|
||||||
|
```
|
||||||
|
|
||||||
optional if errors
|
optional if errors
|
||||||
|
|
||||||
|
```
|
||||||
winetricks -q dotnet40
|
winetricks -q dotnet40
|
||||||
winetricks -q dotnet46
|
winetricks -q dotnet46
|
||||||
|
```
|
||||||
|
|
||||||
registering notepad.exe as default application for logfiles
|
registering notepad.exe as default application for logfiles
|
||||||
|
|
||||||
|
@ -147,6 +164,18 @@ create a backup of the wine installation
|
||||||
|
|
||||||
tar -cJf wine-backup\_$(date +%Y-%m-%d-%H-%M-%S)\_initial-setup.tar.xz .wine-winlink
|
tar -cJf wine-backup\_$(date +%Y-%m-%d-%H-%M-%S)\_initial-setup.tar.xz .wine-winlink
|
||||||
|
|
||||||
|
#### Debian
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo dpkg --add-architecture i386
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install wine wine32 fonts-wine
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt install gcc-multilib g++-multilib
|
||||||
|
```
|
||||||
|
|
||||||
### VARA tools
|
### VARA tools
|
||||||
|
|
||||||
vara hf, vara fm
|
vara hf, vara fm
|
||||||
|
|
21
gmid.conf
Normal file
21
gmid.conf
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# create certs for localhost
|
||||||
|
# openssl req -x509 -newkey rsa:4096 -nodes -keyout gmid.key \
|
||||||
|
# -out gmid.pem -days 365 -subj "/CN=localhost"
|
||||||
|
|
||||||
|
protocols "tlsv1.3"
|
||||||
|
|
||||||
|
types {
|
||||||
|
# include "/usr/share/misc/mime.types"
|
||||||
|
include "/usr/share/doc/gmid/mime.types"
|
||||||
|
}
|
||||||
|
|
||||||
|
server "localhost" {
|
||||||
|
listen on * port 1965
|
||||||
|
|
||||||
|
cert "/home/dominic/sites/oe7drt-website/gmid.pem"
|
||||||
|
key "/home/dominic/sites/oe7drt-website/gmid.key"
|
||||||
|
# root "/srv/sites/oe7drt-gemini"
|
||||||
|
root "/home/dominic/sites/oe7drt-website/public"
|
||||||
|
|
||||||
|
lang "en"
|
||||||
|
}
|
|
@ -1,16 +1,75 @@
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<div>
|
<div>
|
||||||
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
||||||
Served> with <a
|
Served> with
|
||||||
class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://archlinux.org/"
|
<a
|
||||||
target="_blank" rel="noopener noreferrer">Arch Linux</a> and <a
|
class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||||||
class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://httpd.apache.org/"
|
href="https://archlinux.org/"
|
||||||
target="_blank" rel="noopener noreferrer">Apache httpd</a> ┊
|
target="_blank"
|
||||||
<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="/feed.xml"
|
rel="noopener noreferrer"
|
||||||
target="_blank" rel="noopener">Atom feed</a> ┊
|
>Arch Linux</a
|
||||||
<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="/feed.json"
|
>
|
||||||
target="_blank" rel="noopener">Json feed</a>
|
and
|
||||||
</p>
|
<a
|
||||||
</div>
|
class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||||||
|
href="https://httpd.apache.org/"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
>Apache httpd</a
|
||||||
|
>
|
||||||
|
┊
|
||||||
|
<a
|
||||||
|
class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||||||
|
href="/feed.xml"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>Atom feed</a
|
||||||
|
>
|
||||||
|
┊
|
||||||
|
<a
|
||||||
|
class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||||||
|
href="/feed.json"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener"
|
||||||
|
>Json feed</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ with resources.Get "js/lightbox.js" }} {{ if hugo.IsDevelopment }} {{ with .
|
||||||
|
| js.Build }}
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
type="text/javascript"
|
||||||
|
src="{{ .RelPermalink }}"
|
||||||
|
data-copy="Copy"
|
||||||
|
data-copied="Copied"
|
||||||
|
></script>
|
||||||
|
{{ end }} {{ else }} {{ $opts := (dict "minify" true "targetPath"
|
||||||
|
"js/lightbox.js") }} {{ with . | js.Build $opts | fingerprint }}
|
||||||
|
<script
|
||||||
|
defer
|
||||||
|
type="text/javascript"
|
||||||
|
src="{{ .RelPermalink }}"
|
||||||
|
data-copy="Copy"
|
||||||
|
data-copied="Copied"
|
||||||
|
integrity="{{ .Data.Integrity }}"
|
||||||
|
></script>
|
||||||
|
{{ end }} {{ end }} {{ end }} {{ with resources.Get "css/lightbox.css" }} {{ if
|
||||||
|
hugo.IsDevelopment }} {{ with . }}
|
||||||
|
<link
|
||||||
|
type="text/css"
|
||||||
|
rel="stylesheet"
|
||||||
|
media="screen,print"
|
||||||
|
href="{{ .RelPermalink }}"
|
||||||
|
/>
|
||||||
|
{{ end }} {{ else }} {{ with . | fingerprint }}
|
||||||
|
<link
|
||||||
|
type="text/css"
|
||||||
|
rel="stylesheet"
|
||||||
|
media="screen,print"
|
||||||
|
href="{{ .RelPermalink }}"
|
||||||
|
integrity="{{ .Data.Integrity }}"
|
||||||
|
/>
|
||||||
|
{{ end }} {{ end }} {{ end }}
|
||||||
|
|
|
@ -1,45 +1,7 @@
|
||||||
{{- if eq .Site.BaseURL "https://oe7drt.com/" }}
|
{{- if eq .Site.BaseURL "https://oe7drt.com/" }} {{ partial
|
||||||
{{ partial "plausible_head.html" . }}
|
"plausible_head.html" . }} {{- end }}
|
||||||
{{- end }}
|
|
||||||
<meta name="fediverse:creator" content="@oe7drt@mastodon.radio" />
|
<meta name="fediverse:creator" content="@oe7drt@mastodon.radio" />
|
||||||
|
|
||||||
{{ with resources.Get "js/lightbox.js" }} {{ if hugo.IsDevelopment }} {{ with .
|
|
||||||
| js.Build }}
|
|
||||||
<script
|
|
||||||
defer
|
|
||||||
type="text/javascript"
|
|
||||||
src="{{ .RelPermalink }}"
|
|
||||||
data-copy="Copy"
|
|
||||||
data-copied="Copied"
|
|
||||||
></script>
|
|
||||||
{{ end }} {{ else }} {{ $opts := (dict "minify" true "targetPath"
|
|
||||||
"js/lightbox.js") }} {{ with . | js.Build $opts | fingerprint }}
|
|
||||||
<script
|
|
||||||
defer
|
|
||||||
type="text/javascript"
|
|
||||||
src="{{ .RelPermalink }}"
|
|
||||||
data-copy="Copy"
|
|
||||||
data-copied="Copied"
|
|
||||||
integrity="{{ .Data.Integrity }}"
|
|
||||||
></script>
|
|
||||||
{{ end }} {{ end }} {{ end }} {{ with resources.Get "css/lightbox.css" }} {{ if
|
|
||||||
hugo.IsDevelopment }} {{ with . }}
|
|
||||||
<link
|
|
||||||
type="text/css"
|
|
||||||
rel="stylesheet"
|
|
||||||
media="screen,print"
|
|
||||||
href="{{ .RelPermalink }}"
|
|
||||||
/>
|
|
||||||
{{ end }} {{ else }} {{ with . | fingerprint }}
|
|
||||||
<link
|
|
||||||
type="text/css"
|
|
||||||
rel="stylesheet"
|
|
||||||
media="screen,print"
|
|
||||||
href="{{ .RelPermalink }}"
|
|
||||||
integrity="{{ .Data.Integrity }}"
|
|
||||||
/>
|
|
||||||
{{ end }} {{ end }} {{ end }}
|
|
||||||
|
|
||||||
<meta
|
<meta
|
||||||
http-equiv="onion-location"
|
http-equiv="onion-location"
|
||||||
content="http://5uxkejb6la7olhncaotybxrscmdlbxwy64ucuyrum4tsgfuoxbyav2qd.onion"
|
content="http://5uxkejb6la7olhncaotybxrscmdlbxwy64ucuyrum4tsgfuoxbyav2qd.onion"
|
||||||
|
|
Loading…
Add table
Reference in a new issue