Skip to content

Instantly share code, notes, and snippets.

View boomsya's full-sized avatar

Nick boomsya

  • Ukraine, Kyiv
  • 02:47 (UTC +03:00)
View GitHub Profile
@boomsya
boomsya / CreateV3KEThumbnail.py
Last active March 3, 2024 08:02
Enabling Ender 3 V3 KE Model Preview (Thumbnail) With Cura 5+
# Cura V3KE Thumbnail creator
# Kolio (boomsya@gmail.com)
#
# This only works with Cura 5.0+
import base64
from UM.Logger import Logger
from cura.Snapshot import Snapshot
from PyQt6.QtCore import QByteArray, QIODevice, QBuffer
@elktros
elktros / Arduino_Interrupts_Button_Interrupt_Debounce.ino
Created June 29, 2018 08:04
Interrupt based Button sketch with debounce for Arduino Interrupts Tutorial.
int ledPin = 13;
int buttonPin = 2;
int ledToggle;
int previousState = HIGH;
unsigned int previousPress;
volatile int buttonFlag;
int buttonDebounce = 20;
void setup()
@odan
odan / xampp_php7_xdebug.md
Last active April 17, 2024 05:36
Installing Xdebug for XAMPP