pre-commit

This commit is contained in:
Sacha Ligthert 2025-01-20 23:29:30 +01:00
parent bd7c00b9eb
commit 1173d1c5c4
10 changed files with 17 additions and 26 deletions

6
.gitignore vendored
View File

@ -12,8 +12,8 @@ crash.log
crash.*.log
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json
@ -47,4 +47,4 @@ hugo.darwin
hugo.linux
# Temporary lock file while building
/.hugo_build.lock
/.hugo_build.lock

View File

@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer

View File

@ -18,10 +18,6 @@ tasks:
cmds:
- terraform apply
destroy:
cmds:
- terraform destroy
fmt:
cmds:
- terraform fmt
@ -34,7 +30,3 @@ tasks:
cmds:
- pre-commit autoupdate
- pre-commit run --all-files
cleanup:
cmds:
- rm -rf .terraform* terraform.*

6
site/.gitignore vendored
View File

@ -24,8 +24,8 @@ crash.log
crash.*.log
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json
@ -45,4 +45,4 @@ override.tf.json
# Ignore CLI configuration files
.terraformrc
terraform.rc
terraform.rc

View File

@ -3,4 +3,3 @@ title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

View File

@ -29,4 +29,4 @@ theme = "m10c"
# darkColor = "#ffffff"
# lightColor = "#000000"
# lightestColor = "#000000"
# primaryColor = "#000000"
# primaryColor = "#000000"

View File

@ -18,7 +18,7 @@ Around this time I bought a cheap PC, installed OpenBSD on it, chucked it into a
I briefly ran a small hosting company on several FreeBSD servers. The OS is great, the experience was valuable, but not worth repeating.
## My carreer and Windows ( ~2007 - 2018)
During this period I didn't touch any of the BSDs (except for OS X). It was around this time [Ubuntu](https://ubuntu.com/) started to become my goto Linux flavour for both personal and professional projects. Anything related to work ended up becoming an Ubuntu server, any remote server or laptop for personal use ended up running Ubuntu.
During this period I didn't touch any of the BSDs (except for OS X). It was around this time [Ubuntu](https://ubuntu.com/) started to become my goto Linux flavour for both personal and professional projects. Anything related to work ended up becoming an Ubuntu server, any remote server or laptop for personal use ended up running Ubuntu.
And running Ubuntu made sense, you installed it on something and you had a functioning desktop server instantly available. Updates of packages? Just run `apt`, easy! Upgrade to a new version of Ubuntu, run `do-release-upgrade` and hope it doesn't break! Packages, by the boatload and available at your fingertips. Problems? Chances are you aren't alone and a nifty search on your favorite search-engine would have an answer for you. Even software not in the repos catered to you with their own repos. And it was great!
@ -29,7 +29,7 @@ During this time I wasn't sitting still:
* I got certified with Linux ([LPIC1](https://www.lpi.org/our-certifications/lpic-1-overview)), [BSD Specialist](https://www.lpi.org/our-certifications/bsd-overview), [Solaris 10](https://education.oracle.com/oracle-solaris/solaris-10-administration/product_296), VMware 4, VMware 5 and also some AWS. I liked it, it may have been more of a hobby, because I doubt some of it was useful for my then employer.
* At work I briefly ran a [Fedora](https://getfedora.org/) install as my main desktop, while it worked, I wasn't really happy with it. I felt weird using it, and it felt out of place. Also the software seemed outdated. Luckily this was a short-lived experiment.
* My remote unix box moved from data center to data center to data center, enjoying different hardware and newer Ubuntu installs during this time.
* For several years I was running a VMware ESXi 4 server (colocated in [Eweka](https://www.eweka.nl/) when they still did colocation) with on it VMs running Ubuntu, [Solaris](https://www.oracle.com/solaris/solaris11/), briefly OpenBSD, and as one would expect my remote unix box.
* For several years I was running a VMware ESXi 4 server (colocated in [Eweka](https://www.eweka.nl/) when they still did colocation) with on it VMs running Ubuntu, [Solaris](https://www.oracle.com/solaris/solaris11/), briefly OpenBSD, and as one would expect my remote unix box.
While Windows was my main OS for my gaming, [ArmA 3](https://arma3.com/) and [Flightsim](https://www.falcon-bms.com/) [habbits](https://www.digitalcombatsimulator.com/en/). I still ran different flavours of Unix. Ubuntu being my mainstay.
@ -63,4 +63,4 @@ So I got some 1TB SSD M2 on sale, replaced the old one, installed Manjaro, and h
## In conclusion
As my career progressed, technology progressed, my desire to work with unix and to play video games remained throughout the years. And as everything changed, doors opened and I stepped through. What the future brings, I do now know. But where I sit I am sitting very comfortably.
PS: I forgot to mention that I've been working with a Mac Mini and MacBook Pros in a professional capacity for the past 17 years. Technically its based on BSD, so I think I am good. 😅
PS: I forgot to mention that I've been working with a Mac Mini and MacBook Pros in a professional capacity for the past 17 years. Technically its based on BSD, so I think I am good. 😅

View File

@ -8,14 +8,14 @@ As some of you might know I have played a lot of video games, and as you can see
# Existing lists and sites
* https://github.com/Trilarion/opensourcegames
* https://libregamewiki.org/Main_Page
* https://libregamewiki.org/Main_Page
* https://osgameclones.com/
* https://github.com/ligurio/awesome-ttygames
* https://trilarion.github.io/opensourcegames/
* https://github.com/leereilly/games
# Personal favorites
* [OpenMW](https://openmw.org/), it is technically an engine reimplementation of _The Elder Scroll: Morrowind_ but I cannot get enough of it. With v0.48 on the horizon I am curious what the future will bring. 2090 will see its v1.0 release. ;-)
* [OpenMW](https://openmw.org/), it is technically an engine reimplementation of _The Elder Scroll: Morrowind_ but I cannot get enough of it. With v0.48 on the horizon I am curious what the future will bring. 2090 will see its v1.0 release. ;-)
* [Veloren](https://veloren.net/), Cube world botched it, but Veloren (just released v0.14) picked up that banner and seem to be doing it right. It is still early days, but is fun to play already.
* [Beyond All Reason](https://www.beyondallreason.info/), if you like Supreme Commander or games with a streaming economy then this game is for you.
* [OpenRA](https://www.openra.net/), again an engine reimplementation that turned into its own thing. Like the old '90s C&C games? Then this is for you.
* [OpenRA](https://www.openra.net/), again an engine reimplementation that turned into its own thing. Like the old '90s C&C games? Then this is for you.

View File

@ -48,7 +48,7 @@ This part is based on an [blog post on the AWS blog about exactly what I need](h
Easy peasy.
# Terraform
# Terraform
Terraform allows me to do essentially the above in AWS and create all the things automagically from the commandline. I've written [HCL](https://gitea.ligthert.net/Sacha/blog.ligthert.net/src/branch/trunk/terraform.tf) that allows me todo just that. I executed this from the commandline and it created what I needed in one go.
# Wrapping up
@ -61,4 +61,4 @@ The only thing that needs to happen is actually uploading these files.
aws s3 sync public/ s3://blog.ligthert.net/ --delete
```
Easy!
Easy!

View File

@ -15,7 +15,7 @@ provider "aws" {
region = "eu-west-1"
}
# Global for Certificates
# Global for Certificates
provider "aws" {
region = "us-east-1"
alias = "global"