Skip to content

Instantly share code, notes, and snippets.

View gigi81's full-sized avatar

Luigi Grilli gigi81

View GitHub Profile
@SilentEchoGM
SilentEchoGM / start.gcode
Last active August 21, 2023 16:24
Ender 3 V2 w/ BLTouch for PrusaSlicer - Start G-code
G91 ; use relative positioning
G0 Z5; move Z up 5mm prior to homing
M117 Heating bed and hot end... ; Message
M140 S[first_layer_bed_temperature] ; set bed temp
M104 S80 ; set hot end to a relatively low temp to save time after levelling
M190 S[first_layer_bed_temperature] ; wait for bed temp
M117 Waiting for bed expansion ; Message
G4 S60 ; wait 1 minute for the bed to expand
@Sherex
Sherex / README.md
Last active February 18, 2025 22:34
A script for the Wireguard config options PostUp/PostDown entries. It will allow peers to connect to the Wireguard interface and do IP forwarding (port forwarding will be added later)

IfScript

Hi, I made this for my use-case, but feel free to use it :)
This is currently only handling the NAT side of things, not PAT!
The from-to port options is just a placeholder it will use the first port specified.

route_port 80 80 tcp $vpn_ip $server_ip

How to use?

Download and make executable