Hosting local https with trusted cert from Cloudflare with Caddy
Caddy and tools needed for xcaddy
Install caddy from the docs: caddyserver.com/docs/install
Install Go
I did this just using snaps
Install git as well
Install caddy from the docs: caddyserver.com/docs/install
I did this just using snaps
Install git as well
Jotting down some examples of different ways to handle events in Spring Boot
Entities, i.e. pojos annotated with @Entity
, can utilize the following methods with annotations to manage life cycle events of the entity. JPA defines several lifecycle events that occur during an entity's persistence operations. You can use annotations to specify methods that should be executed when these events occur.
@PrePersist
: Called before the entity is persisted (inserted into the database).@PostPersist
: Called after the entity is persisted.@PreUpdate
: Called before the entity is updated in the database.@PostUpdate
: Called after the entity is updated.@PreRemove
: Called before the entity is removed from the database.@PostRemove
: Called after the entity is removed.@PostLoad
: Called after the entity is loaded from the database.Install Caddy on your server.
https://caddyserver.com/docs/install
Edit the Caddy file
Just a note to self, that when installing the developer edition of MS SQL, TCP is not enabled, by default, so you cannot connect to the instance via the port, 1433, until you open Sql Server Configuration Manager
, find SQL Server Network Configuration
and enable TCP/IP
. You can now connect.
Two factor authentication for Sudo access gives you an awesome security enhancement so that a hacker still will not be able to use sudo, i.e. admin privileges, even if they have discovered your password.
I haven't tested this yet but this should get me there to using Firebase as an auth provider for Angular/SpringBoot.
These are notes I ook on the flutter fireship io tutorial.
To create new project
To check flutters compatibility with all build modes, run
Download Immich Distribution
. When finished it will run on port 80, i.e. localhost
. The persisted locations are found in
i.e. you'll see the pgsql
and upload
folder here.
To see the snap variables run
The app data for immich resides in /DATA/AppData/big-bear-immich
.
In here we have the pgdata folder and upload folder.