3d design macropad2

Download design for free here , Order kit here

this macropad using arduino pro micro, rotary encoder, and also mechanical switch

PTEG Filament Temperature

Catatan temperature 3d printer menggunakan ender5pro

Filament yang digunakan sunlu dan creality

  • Warna kuat (kuning, merah, dll) transparent 245 derajat keatas
  • Warna tidak transparant (putih, hitam) 235 derajat maks 240
    • Fan speed 40
    • Speed 60
    • Outer & Inner Speed 40
    • Retract 4.5 Speed 50

Akan terus diupdate apabila mencoba filament baru 🙂

Virtual Host Forward IP in Nginx

This article is a continuation of the previous post about local dns using pihole, so i forward all my domain and subdomain to my nginx VM at my home, from nginx VM i forwarded all domain using virtualhost to other machine/ip, and it’s working very well.

This is my code at nginx side i put in /etc/nginx/sites-available/ and /etc/nginx/sites-enabled/

server {
    listen 443 ssl;
        server_name pihole.my.home;
        ssl_certificate /etc/ssl/my.home.crt;
        ssl_certificate_key /etc/ssl/my.home.key;

        location / {
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Forwarded-Host $http_host;
        access_log /var/log/nginx/pihole.access.log;
        error_log /var/log/nginx/pihole.error.log error;

Pihole as local dns

Raspberry pi as WAP and openvpn client

This is my setup for using raspberry as secure like home wireless access point, this raspberry pi can using LAN and Wifi as WAN connection and also the other wifi as Wifi Access Point, for secure network i installed openvpn in my home lab and raspberry pi as openvpn client, so whenever i connected to this raspberry pi i feel like at home :).

set datetime as default current timestamp for flask model

Try this it will work guaranteed 😀

created_on = db.Column(db.DateTime, server_default=db.func.now())