Skip to content

Instantly share code, notes, and snippets.

@AndreKR
AndreKR / code.js
Created August 9, 2023 16:01
Find current date in timezone in Javascript
new Date().toLocaleDateString('sv', { timeZone: 'Europe/Berlin' }) // sv = ISO format
@AndreKR
AndreKR / FLSUN-QQ.cfg
Created August 29, 2023 16:08
Klipper config for FLSUN QQ (not QQ-S)
[include fluidd.cfg]
[include mainsail.cfg]
[virtual_sdcard]
path: /home/pi/FLSUN_data/gcodes
on_error_gcode: CANCEL_PRINT
# Comment copied from an old config I found on Facebook:
# > TFT 32 must be connected for Auto-Leveling to work correctly , it is used for +5v pullup z-min pin.
# > The value of z_offset in the [probe] section must be specified individually for your printer, the default value is 0.85
# > Step distance for your extruder must be specified in [extruder] section, the default value is 0.011363 for QQ default extruder.