Content update and a few changes
Big Makefile update Small summary and table of contents update Also some content, apprentice and matrix(.org)
This commit is contained in:
parent
d21051adde
commit
cbbe8dfbb6
25
Makefile
25
Makefile
@ -1,4 +1,6 @@
|
|||||||
.PHONY: help build create debug clean
|
.PHONY: help build create debug clean up down
|
||||||
|
|
||||||
|
BASE := --baseURL http://1313.proxy.blacktarheroin.no/
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo '= Make targets:'
|
@echo '= Make targets:'
|
||||||
@ -7,25 +9,32 @@ help:
|
|||||||
@echo 'check: like create but production environment'
|
@echo 'check: like create but production environment'
|
||||||
@echo 'debug: like create without drafts and with --debug'
|
@echo 'debug: like create without drafts and with --debug'
|
||||||
@echo 'clean: deletes the public/ folder'
|
@echo 'clean: deletes the public/ folder'
|
||||||
|
@echo 'There is also "up" and "down" these starts or kills a languagetool api'
|
||||||
|
@echo 'docker container, port 8010, localhost'
|
||||||
|
|
||||||
|
LANGTOOL := silviof/docker-languagetool:latest
|
||||||
|
DOCK := docker # maybe podman?
|
||||||
|
|
||||||
|
up:
|
||||||
|
$(DOCK) run --rm -dn langtool p127.0.0.1:8010:8010 $(LANGTOOL)
|
||||||
|
down:
|
||||||
|
$(DOCK) kill langtool
|
||||||
|
pull:
|
||||||
|
$(DOCK) pull $(LANGTOOL)
|
||||||
|
|
||||||
HUGO := hugo --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints # --templateMetrics --cleanDestinationDir --gc
|
HUGO := hugo --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints # --templateMetrics --cleanDestinationDir --gc
|
||||||
SERV := server --bind 0.0.0.0 --liveReloadPort 80 --appendPort=false --disableFastRender --printMemoryUsage --noHTTPCache --renderToDisk --navigateToChanged
|
SERV := server $(BASE) --bind 0.0.0.0 --liveReloadPort 80 --appendPort=false --disableFastRender --printMemoryUsage --noHTTPCache --renderToDisk --navigateToChanged
|
||||||
DEV := $(HUGO) -e dev $(SERV)
|
DEV := $(HUGO) -e dev $(SERV)
|
||||||
|
|
||||||
build: clean_pub
|
build: clean_pub
|
||||||
$(HUGO) -e prod
|
$(HUGO) -e prod
|
||||||
|
|
||||||
check: clean_pub
|
check: clean_pub
|
||||||
$(HUGO) -e prod $(SERV)
|
$(HUGO) -e prod $(SERV)
|
||||||
|
|
||||||
create:
|
create:
|
||||||
$(DEV) -D
|
$(DEV) -D
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
$(DEV) --debug
|
$(DEV) --debug
|
||||||
|
|
||||||
clean: clean_pub
|
clean: clean_pub
|
||||||
rm -fr resources/ hugo_stats.json
|
rm -fr resources/ hugo_stats.json .hugo_build.lock
|
||||||
|
|
||||||
clean_pub:
|
clean_pub:
|
||||||
rm -fr public/
|
rm -fr public/
|
||||||
|
@ -15,10 +15,13 @@ body {
|
|||||||
}
|
}
|
||||||
a:hover %headings {
|
a:hover %headings {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
color: blue;
|
color: cyan;
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
color: cyan;
|
||||||
|
}
|
||||||
|
a li {
|
||||||
color: lime;
|
color: lime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
28
content/blog/apprentice/_index.en.md
Normal file
28
content/blog/apprentice/_index.en.md
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
---
|
||||||
|
date: 2022-04-05T18:33:08Z
|
||||||
|
draft: false
|
||||||
|
aliases: []
|
||||||
|
categories: ["apprentice", "indices", "meta"]
|
||||||
|
series: ["apprentice"]
|
||||||
|
tags: ["apprentice"]
|
||||||
|
toc: false
|
||||||
|
title: IT Apprentice
|
||||||
|
description: This part of my blog is a collection of things I've learned as an apprentice working in IT.
|
||||||
|
---
|
||||||
|
|
||||||
|
This section of my blog serves as an index of technologies I've learned or became better at as an apprentice working in IT. :grinning:
|
||||||
|
|
||||||
|
It also serves the purpose of the required documentation Apprentices in Norway are supposed to do. :flushed:
|
||||||
|
|
||||||
|
Here are lists of stuff I'll be writing about here;
|
||||||
|
|
||||||
|
### Programs
|
||||||
|
- Wordpress :shit:
|
||||||
|
- FreeRADIUS :crystal_ball:
|
||||||
|
- Postgres :floppy_disk:
|
||||||
|
- Ansible :gun:
|
||||||
|
|
||||||
|
### Operating Systems/Networking devices
|
||||||
|
- Debian :dolls:
|
||||||
|
- Mikrotik :package:
|
||||||
|
- Cisco Meraki :cloud:
|
16
content/blog/liveusb.en.md
Normal file
16
content/blog/liveusb.en.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
date: 2022-04-09T21:56:08Z
|
||||||
|
draft: true
|
||||||
|
aliases: []
|
||||||
|
categories: ["tech"]
|
||||||
|
series: ["opsec"]
|
||||||
|
tags: ["tech", "devices"]
|
||||||
|
toc: true
|
||||||
|
git:
|
||||||
|
url: https://git.sivert.pw/siv/liveusb
|
||||||
|
name: Live usb
|
||||||
|
title: Custom encrypted persistence live usb
|
||||||
|
description: Make your own encrypted persistence live usb with any Linux OS!
|
||||||
|
---
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
date: 2022-04-07T22:00:52Z
|
date: 2022-04-07T22:00:52Z
|
||||||
draft: true
|
draft: false
|
||||||
aliases: []
|
aliases: []
|
||||||
categories: ["tech", "docker"]
|
categories: ["tech", "docker"]
|
||||||
series: ["opsec", "docker"]
|
series: ["opsec", "docker"]
|
||||||
@ -11,4 +11,16 @@ title: Matrix, secure and decentralized communications
|
|||||||
description: Matrix is an open communications system using HTTPS APIs, it's fully federated. So anyone can host their own server and join any public matrix chat room!
|
description: Matrix is an open communications system using HTTPS APIs, it's fully federated. So anyone can host their own server and join any public matrix chat room!
|
||||||
---
|
---
|
||||||
|
|
||||||
Matrix is in my opinion super cool. It's a community driven chat system that supports end to end encryption and it's even possible to run it peer to peer if all parties host their own matrix "homeserver".
|
Matrix is in my opinion super cool.
|
||||||
|
It's a community driven chat system that supports end to end encryption and it's even possible to run it peer to peer if all parties host their own matrix "homeserver".
|
||||||
|
There are an absolutely insane amount of these "homeservers".
|
||||||
|
|
||||||
|
It's recommended you choose one that you trust but any server with the exception of the official matrix.org server should be alright.
|
||||||
|
The official is always under heavy load and will appear even more sluggish than most servers.
|
||||||
|
There is also the OpSec point of view where your only option really is to host your own server.
|
||||||
|
|
||||||
|
Feel free to join my very own matrix homeserver @ [gay.nigga.no](https://matrix.to/#/#lobby:gay.nigga.no).
|
||||||
|
|
||||||
|
One of the many alternatives in [joinmatrix.org's homeserver list](https://joinmatrix.org/servers/) or even one from the bigger [Tatsumo matrix server list](https://tatsumoto-ren.github.io/blog/list-of-matrix-servers.html).
|
||||||
|
|
||||||
|
And if you're already on the bandwagon, send me a message!~ [@ack:gay.nigga.no](https://matrix.to/#/@ack:gay.nigga.no).
|
||||||
|
@ -9,10 +9,6 @@
|
|||||||
{{ i18n "modified" }} {{ $lastmod }}
|
{{ i18n "modified" }} {{ $lastmod }}
|
||||||
{{ end }}<br />
|
{{ end }}<br />
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
|
{{ if .Truncated }}{{ i18n "readMore" }}...{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ if .Truncated }}
|
|
||||||
<div>
|
|
||||||
<a href='{{ .RelPermalink }}'>{{ i18n "readMore" }}…</a>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
</article>
|
</article>
|
@ -1,8 +1,13 @@
|
|||||||
<aside id='meta'>
|
<aside id='meta'>
|
||||||
<header>
|
<header>
|
||||||
<h4>{{ or (.Param "tit") .Title }}</h4>
|
<h4>{{ or (.Param "tit") .Title }}</h4>
|
||||||
{{ i18n "wordCount" .WordCount }}.
|
<p>
|
||||||
{{ i18n "readingTime" .ReadingTime }}.
|
{{ i18n "readingTime" .ReadingTime }}.
|
||||||
|
{{ i18n "wordCount" .WordCount }}.
|
||||||
|
</p>
|
||||||
|
{{ with .Param "git" }}
|
||||||
|
<p>Check out the git repo; <a href='{{ .url }}'>{{ .name }}</a>!</p>
|
||||||
|
{{ end }}
|
||||||
</header>
|
</header>
|
||||||
{{ .TableOfContents }}
|
{{ .TableOfContents }}
|
||||||
{{ partial "i18n/list.html" . }}
|
{{ partial "i18n/list.html" . }}
|
||||||
|
Loading…
Reference in New Issue
Block a user