Minecraft Tekkit Server

Minecraft
Server
Tekkit SMP (2025)
Server Status
Checking server status...
Server Address
Loading server data...
Players Online
Loading player data...
Minecraft
Server
Tekkit SMP (2025) 2
Server Status
Checking server status...
Server Address
Loading server data...
Players Online
Loading player data...

Vision

Python

Car tracking project in Python with CV2 & Yolo.

Live car tracking app

Snowflake

Snowflake

An example project setup for managing Snowflake resources using Terraform.

Terraform Snowflake GitHub repository

Mac Dev Setup

Setup Repository

Kubernetes

Kubernetes

# set default namespace (no need to supply -n namespace every time)
kubectl config set-context --current --namespace=namespace

# exec into a pod
kubectl exec --stdin --tty <pod> -- /bin/bash

# exec into MariaDB pod
kubectl exec --stdin --tty mariadb-cli -- /bin/bash

# port forward to localhost
kubectl port-forward <pod> 8080 -n namespace
kubectl port-forward svc/kafka-connect 8083 -n namespace

# scale deployment (with xargs)
kubectl scale deployment/kafka-connect --replicas=0
kubectl get deployment -n namespace | grep APPNAME | cut -d' ' -f 1 | xargs kubectl scale --replicas=1 deployment -n namespace

# delete pods in Error state
kubectl get pods | grep Error | cut -d' ' -f 1 | xargs kubectl delete pod
kubectl get pods -n namespace | grep Error | cut -d' ' -f 1 | xargs kubectl delete pod -n namespace

# delete pvc with specific name
kubectl get pvc | grep custom-pod-v1-0 | cut -d' ' -f 1 | xargs kubectl delete pvc

# pod readiness gate info
kubectl get pod metabase-58cd4fc47b-b6pd7 -o yaml | grep -B7 'type: target-health'
                
kubectl quick reference

Nginx


nginx -t
nginx -T
nginx -s reload

cat /etc/nginx/nginx.conf
cat /etc/nginx/sites-enabled/default
ls /etc/nginx/sites-enabled/

ps -C nginx -f

service nginx status

sudo ufw allow 80
sudo ufw status

# Nginx configuration example
# Default server configuration
server {
    listen 80 default_server;
    return 444;
}

# You can move that to a different file under sites-available/ and symlink that
# to sites-enabled/ to enable it.
server {
        listen 8000;
        listen [::]:8000;

        server_name sub.domain.net _;

        root /var/www/sub.domain.net;
        index index.html;

        location / {
                try_files $uri $uri/ =404;
        }
}

mkdir /etc/nginx/sites-available/sub.domain.net
nano /etc/nginx/sites-available/sub.domain.net/index.html
                
Nginx configuration helper