This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # !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 |