Compare commits
3 Commits
62c2b065f4
...
7717483821
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7717483821 | ||
|
|
9bdd31ac5f | ||
|
|
8958ac83c5 |
29
.devcontainer/devcontainer.json
Normal file
29
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||||
|
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
||||||
|
{
|
||||||
|
"name": "Debian",
|
||||||
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/go:1": {
|
||||||
|
"version": "latest"
|
||||||
|
},
|
||||||
|
"ghcr.io/devcontainers/features/hugo:1": {
|
||||||
|
"extended": true,
|
||||||
|
"version": "latest"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
|
// "features": {},
|
||||||
|
|
||||||
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
|
// "forwardPorts": [],
|
||||||
|
|
||||||
|
// Configure tool-specific properties.
|
||||||
|
// "customizations": {},
|
||||||
|
|
||||||
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||||
|
// "remoteUser": "root"
|
||||||
|
}
|
||||||
27
.gitea/workflows/ci.yml
Normal file
27
.gitea/workflows/ci.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Build and push latest
|
||||||
|
run-name: Build and push latest
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: gitea.ref == 'refs/heads/master'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Login to registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.skullnet.me
|
||||||
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: "git.skullnet.me/erki/embeddingcpp:latest"
|
||||||
|
file: Dockerfile
|
||||||
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
FROM alpine:3.20 AS build
|
||||||
|
|
||||||
|
RUN apk add --update hugo
|
||||||
|
|
||||||
|
WORKDIR /opt/hugoapp
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN hugo
|
||||||
|
|
||||||
|
FROM nginx:1.27.1-alpine
|
||||||
|
|
||||||
|
WORKDIR /usr/share/nginx/html
|
||||||
|
|
||||||
|
COPY --from=build /opt/hugoapp/public .
|
||||||
|
|
||||||
|
EXPOSE 80/tcp
|
||||||
@ -3,3 +3,12 @@ languageCode = 'en-us'
|
|||||||
title = 'Embedding C++'
|
title = 'Embedding C++'
|
||||||
theme = 'beautifulhugo'
|
theme = 'beautifulhugo'
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
series = 'series'
|
||||||
|
tag = 'tags'
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = 'Rusted Skull'
|
||||||
|
website = 'https://git.skullnet.me'
|
||||||
|
github = 'skull132'
|
||||||
|
|
||||||
|
|||||||
@ -4,6 +4,6 @@ date: 2023-07-16T11:31:41+03:00
|
|||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
||||||
Buttes.
|
This is the blog of a random Estonian systems engineer, AKA Rusted Skull or Skull132.
|
||||||
|
|
||||||
This is a butte.
|
You can find clustered series down below.
|
||||||
|
|||||||
21
content/posts/001-ros2-localhost.md
Normal file
21
content/posts/001-ros2-localhost.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
title: "Running ROS2 with localhost only."
|
||||||
|
date: 2024-05-22T21:36:00+03:00
|
||||||
|
draft: false
|
||||||
|
summary: "Ever had ROS2 DoS your router accidentally? Want to learn how to stop that from happening? Well, here you are."
|
||||||
|
author: "Rusted Skull"
|
||||||
|
series: []
|
||||||
|
tags: ["Random"]
|
||||||
|
---
|
||||||
|
|
||||||
|
Recently I had the requirement to run ROS2 with a specific automotive stack on a PC that's connected to my home network.
|
||||||
|
Following the 3rd reinstall due to my evolving need to use a GPU, everything was roughly up and running. I started the stack,
|
||||||
|
and to my surprise, everything worked.
|
||||||
|
|
||||||
|
That is, until I stopped paying attention, forgot what my PC was doing, and noticed that
|
||||||
|
my phone was having trouble staying on WiFi. The router was seemingly losing its uplink connection, and the ISP saw a similar effect
|
||||||
|
on their end. Following some cable replacements and router reboots, I was headed towards a full router reset per the advice of the ISP tech.
|
||||||
|
I didn't get quite that far, however: everything started working after I unplugged my computer from the router. I revive the computer,
|
||||||
|
and see the ROS2 stack still running there. Welp, couplrit found. Now, what do we do about it?
|
||||||
|
|
||||||
|
|
||||||
@ -4,7 +4,8 @@ date: 2023-07-16T13:39:31+03:00
|
|||||||
draft: false
|
draft: false
|
||||||
summary: "This is safsdfan test."
|
summary: "This is safsdfan test."
|
||||||
author: "Rusted Skull"
|
author: "Rusted Skull"
|
||||||
series: "Tutorial"
|
series: ["Tutorial"]
|
||||||
|
tags: ["Generic", "Memes"]
|
||||||
---
|
---
|
||||||
|
|
||||||
welcome to test.
|
welcome to test.
|
||||||
|
|||||||
11
content/posts/second-post.md
Normal file
11
content/posts/second-post.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: "Second post"
|
||||||
|
date: 2024-05-22T21:36:00+03:00
|
||||||
|
draft: false
|
||||||
|
summary: "This is the second test. Woopie!"
|
||||||
|
author: "Rusted Skull"
|
||||||
|
series: ["Tutorial"]
|
||||||
|
tags: ["Generic", "Memes"]
|
||||||
|
---
|
||||||
|
|
||||||
|
And here we go.
|
||||||
@ -14,10 +14,12 @@
|
|||||||
<hr class="small" />
|
<hr class="small" />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span class="subtitle">Series</span>
|
<span class="subtitle">Series:</span>
|
||||||
{{ range (.Pages.ByParam "series") }}
|
<ul>
|
||||||
{{ . }}
|
{{ range $name, $taxonomy := .Site.Taxonomies.series }}
|
||||||
{{ end }}
|
<li><a href="{{ "/series/" | relLangURL }}{{ $name | urlize }}">{{ $name }}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
<hr class="small" />
|
<hr class="small" />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user