Skip to content

Instantly share code, notes, and snippets.

View fcaldarelli's full-sized avatar

Fabrizio Caldarelli fcaldarelli

View GitHub Profile
https://www.dnb.com/de-de/upik-en.html
@fcaldarelli
fcaldarelli / install-kubernetes-debian.md
Last active August 10, 2024 15:52
Install Kubernetes on Debian

Install Kubernetes on Debian (>= 11)

The goal of this tutorial is to install a kubernetes cluster using Debian 11 or above.

This tutorial covers also as creating a single node cluster (step 7).

1. Prerequisites

Before starting the installation process, ensure you have:

ps -o pid,ppid,user,%cpu,%mem,etime,comm -p 73451
https://www.mail-tester.com/
[Unit]
Description=App myapp
After=network.target
[Service]
User=myapp
LimitNOFILE=infinity
LimitNPROC=infinity
LimitCORE=infinity
Restart=always
# Generated by iptables-save v1.8.9 (nf_tables) on Fri Feb 16 19:53:48 2024
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -j REJECT --reject-with tcp-reset
-A INPUT -m state --state INVALID -j DROP
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/top/public;
index index.html index.htm index.php;
server_name _;
import java.util.Arrays;
import java.util.Collections;
import java.util.stream.Collectors;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.http.HttpMethod;
import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.cors.UrlBasedCorsConfigurationSource;
https://cellular.fm/2022/08/03/install-windows-11-arm-vmware-fusion-apple-silicon-m1-m2-mac-macbook-air-pro-imac-macstudio-video/
networksetup -listallnetworkservices
sudo networksetup -setdnsservers Ethernet 8.8.8.8 8.8.4.4