Skip to content

Instantly share code, notes, and snippets.

@R0B3RDV
R0B3RDV / end.gcode
Last active August 12, 2024 22:25
Start and End G-code for Creality Ender 3 V2 on Cura with BL-Touch with the latest Jyers firmware (UBL release)
; --- Start of custom END G-Code for Creality Ender 3 V2 with BL-Touch and latest https://github.com/Jyers/Marlin/releases UBL firmware installed and Cura Slicer ---
M400 ; Wait for current moves to finish
M220 S100 ; Reset Speed factor override percentage to default (100%)
M221 S100 ; Reset Extrude factor override percentage to default (100%)
G91 ; Set coordinates to relative
G1 F2400 E-5 ; Retract filament 5mm at 40mm/s to prevent stringing
G0 F5000 Z20 ; Move Z Axis up 20mm to allow filament ooze freely
@stonehippo
stonehippo / nodejs_raspberry_pi.md
Last active December 23, 2025 18:24
Methods for installing Node.js on Raspberry Pi

Setting Up Node.js On Raspberry Pi

There are several ways that you can set up Node.js on a Raspberry Pi when running Raspbian/Rapberry Pi OS. Depending on your needs, the version of the RPi that you're using, and how you like to manage installs, you have a lot of options.

A brief aside: alternative runtimes

Node.js was an early entrant to the Javascript runtime and I think it's still the most widely used. But it's not the only runtime out there these days. Some of the alternatives might be better choices for your Raspberry Pi setup.

The two other Javascript runtimes I've used are deno and bun. Both are newer than Node.js and have incorporated a modern features nicely, like built-in support for Typescript. They also have a more compact install, since they bundle everything into a single CLI executable.