Dirk

joined 1 year ago
[–] [email protected] 4 points 21 hours ago

Make sure that, whatever switch you want to get, the switch supports simulating output (edit simulation/storing) and USB devices. Otherwise every switching action would cause disconnect and connect actions on the hosts.

[–] [email protected] 9 points 3 days ago

If a function takes all types of variables it's your own fault!

[–] [email protected] 22 points 1 week ago

This is why you can't have shit in Ohio.

[–] [email protected] 1 points 1 week ago

Those formats are not for humans to read or write. Those are for parsers to interpret.

[–] [email protected] 4 points 1 week ago
[–] [email protected] 5 points 1 week ago

You host it locally and use a web browser to access it.

[–] [email protected] 70 points 2 weeks ago (2 children)

30 days paid vacation + bank holidays + regional holidays + 0.5 days of vacation each on Christmas and new years eve + generally not having to work on weekends + generally not having to work longer than 8 hours a day + public transport ticket paid by the company.

Cannot complain.

[–] [email protected] 30 points 3 weeks ago (3 children)

In German you can use “Guten Tag” as greeting when you see meet someone. When writing mail, you can also use it as greeting even if it is not that common, to use “Guten Tag” in written conversations.

BUT: When you use “Guten Tag” at the END it’s like a “Fuck off!” (regardless of written or in verbal communication) without being an insult.

[–] [email protected] 9 points 3 weeks ago (1 children)

A great passive-aggressive way of saying “As I already told you, you dumb pile of bull feces” is “As mentioned in my last mail, …”

[–] [email protected] 19 points 4 weeks ago (5 children)

I remember ZoneMinder.

A full-featured, open source, state-of-the-art video surveillance software system.

https://zoneminder.com/

Is this still a thing nowadays?

[–] [email protected] 2 points 4 weeks ago

Every scifi movie. Ever.

 

I'm currently researching the best method for running a static website from Docker.

The site consists of one single HTML file, a bunch of CSS files, and a few JS files. On server-side nothing needs to be preprocessed. The website uses JS to request some JSON files, though. Handling of the files is doing via client-side JS, the server only need to - serve the files.

The website is intended to be used as selfhosted web application and is quite niche so there won't be much load and not many concurrent users.

I boiled it down to the following options:

  1. BusyBox in a selfmade Docker container, manually running httpd or The smallest Docker image ...
  2. php:latest (ignoring the fact, that the built-in webserver is meant for development and not for production)
  3. Nginx serving the files (but this)

For all of the variants I found information online. From the options I found I actually prefer the BusyBox route because it seems the cleanest with the least amount of overhead (I just need to serve the files, the rest is done on the client).

Do you have any other ideas? How do you host static content?

 
 

Currently I’m planning to dockerize some web applications but I didn’t find a reasonably easy way do create the images to be hosted in my repository so I can pull them on my server.

What I currently have is:

  1. A local computer with a directory where the application that I want to dockerize is located
  2. A “docker server” running Portainer without shell/ssh access
  3. A place where I can upload/host the Docker images and where I can pull the images from on the “Docker server”
  4. Basic knowledge on how to write the needed Dockerfile

What I now need is a sane way to build the images WITHOUT setting up a fully featured Docker environment on the local computer.

Ideally something where I can build the images and upload them but without that something “littering Docker-related files all over my system”.

Something like a VM that resets on every start maybe? So … build the image, upload to repository, close the terminal window, and forget that anything ever happened.

What is YOUR solution to create and upload Docker images in a clean and sane way?

 
 
 

Are we still doing ancient memes?

view more: next ›