Skip to content

Instantly share code, notes, and snippets.

View jeanres's full-sized avatar

Jeanre Swanepoel jeanres

View GitHub Profile
package lithium.service.user.data.entities;
import javax.validation.ConstraintValidator ;
import javax.validation.ConstraintValidatorContext;
import javax.validation.constraints.Pattern;
public class CustomPatternValidator implements ConstraintValidator<CustomPattern, String> {
public void initialize(CustomPattern parameters) {
System.out.print(parameters);
}
@jeanres
jeanres / cr10smart-2405V1.2-STM32F103.cfg
Created January 11, 2023 17:46 — forked from eropple/cr10smart-2405V1.2-STM32F103.cfg
cr-10 smart/cr-6/ender6/ender7 klipper configs (via Sonic Pad
# !CR-10 Smart
# printer_size: 300x300x400
# version: 3.2
# This file contains pin mappings for the Creality CR-10 Smart
# with a CRC-2405V1.2 board.
# To use this config, during "make menuconfig" select the STM32F103
# with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
# Flash this firmware on the MCU by copying "out/klipper.bin" to an SD