Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 40
  1. Install Podman sudo apt install podman podman-compose Compose can be called as podman-compose with autocomplete.

  2. The poor man's WAF

    Every internet connected server is subject to automated scans and probes from various parties.

  3. The straight forward way to access a remote network is to setup a VPN connection with the router.

  4. Problem LocalForage is a thin wrapper around IndexedDB (and some fallbacks).

  5. Async Python Async frameworks are nowadays the standard for web development with python.

  6. Aquasec Trivy is an open-source vulnerability scanner for dependencies.

  7. Minimalism https://milligram.io/ https://minicss.us/docs.htm https://picnicss.com/documentation Retro https://nostalgic-css.github.io/NES.css/ https://jdan.github.io/98.css/ https://botoxparty.github.io/XP.css/ https://khang-nd.github.io/7.css/ Components…

  8. Using 7zip files as encrypted backups is a quick and dirty workaround for a proper backup solution.

  9. Wayland has the safety feature of clearing the clipboard if you close the source window (where the content was copied from).

  10. The TICK stack v1 did not enforce authentication.

  11. Create a gitlab user “renovate.bot”: External User: Yes Personal projects limit: 0 Can create top level groups: No Impersonate “renovate.bot” (or login as this user) and create a Settings → Access Tokens: Expiration: 1 year (place a reminder to renew this…

  12. The problem In programming there is often a need to run things in parallel, for example: Execution time is optimized if tasks run in parallel A webserver needs to handle multiple requests simultaneously Sending an email in the background should not block…

  13. You must be admin to get a list of all repositories You need a personal access token: Gitlab WebUI → Preferences → Access Tokens → Select scopes: api or read_api → Create personal access token Run the script: import json import requests import csv token =

  14. Counting rows in postgresql is as easy as select count(1) from mytable.

  15. This post will briefly explain the basic components of a geographic information system (GIS) from a technical point of view (for comp sci students).

  16. M$ Office is tightly bundled with Internet Explorer.

  17. Miniflux is a feed reader.

  18. DNS provisioning mostly works out of the box.

  19. Install docker Comes with Docker Compose as $ docker compose sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo…

  20. the problem Connection Pooling is an often overlooked concept when it comes to databases.

  21. Problem SD (or MicroSD) Cards are cheap flash storage.

  22. To realize encrypted data volumes, there are various tools for different use cases: Veracrypt works cross-platform, predefined volume sizes Gocryptfs encrypts transparent, dynamic storage usage Restic encrypts backups, network capable, can do versioning L…

  23. Approach Wireguard is a modern VPN protocol.

  24. Concept A docker-registry stores docker-images, composed of: metadata: image names and tags blobs: actual image contents The most famous public docker-registry is DockerHub.

  25. Scenario Some web hosters only serve static files and allow no config changes to the webserver.

  26. The HTML input element is the principal construct when it comes to site local interactivity from user provided data on the web.

  27. Introduction There are three kinds of private ip ranges: Class CIDR Last IP IPs Typical Usage A 10.0.0.0/8 10.255.255.255 16,777,216 Big Company Network B 172.16.0.0/12 172.31.255.255 1,048,576 Docker Network!

  28. PDF files are still highly popular.

  29. Each docker image has a URI-style name like domain.tld:port/directory/subdir:tag.

  30. The Principle of Least Privilege (PoLP) should also be applied to applications inside a container!

  31. Useful when webpage contains password inputs <script lang="ts"> let warnCapsLockOn: boolean = false function checkCapsLock(e: KeyboardEvent) { warnCapsLockOn = !!

  32. In postgres there is nothing like create table if not exists for enums.

  33. A notebook as mobile device may should behave differently depending on the location.

  34. SSH Tunneling

    SSH allows tcp port forwarding between ssh client and ssh server as part of the encrypted ssh connection.

  35. The ESP8266/ESP32/NodeMCU boards firmware has builtin support to run a http server.

  36. GlusterFs Setup

    GlusterFs is a distributed storage layer based on the rsync algorithm.

  37. Docker (or podman) to the rescue!

  38. If docker swarm rejects to deploy a service because network interface already exists: $ docker service ps stackname_appname --no-trunc Rejected 34 seconds ago "network sandbox join failed: subnet sandbox join failed for "10.0.14.0/24": error creating vxl…

  39. 1. find db byte sizes SELECT datname, pg_size_pretty(pg_database_size(datname)) FROM pg_database ORDER by pg_database_size(datname) DESC; 2. find tables + indices sizes select table_name, pg_size_pretty(pg_total_relation_size(quote_ident(table_name))) fr…

  40. The gitlab docker registry has no cleanup job per default.