KeyCloak vs Authelia

1.1k 记录 Leave a Comment
Category Detailed KeyCloak Authelia Star Github 14,776 15,346 Technical Language Java Go Database for dev H2 (file and memory) SQLite Database MariaDB, MSSQL, MySQL,Oracle, PostgreSQL MySQL, PostgreSQL Cache for dev local Memory Cache Infinispan Redis Redis Sentinel Connections Protocols OpenID Connect, OAuth …

Special Character and Symbol Names on Keyboard

55 记录 Leave a Comment
~: tilde `: push, open quote, left quote, grave, back quote !: bang, exclamation @: at #: hash, sharp $: dolor %: percent ^: caret, circumflex &: and *: star, asterisk (: left parenthesis ): right parentthesis -: dash, hyphen, minus _: underscore +: plus =: equal {: curly bracket, open brace }: curly brack…

How to assert if Python enum contains specific string key or value

158 Uncategorized Leave a Comment
To assert if Python enum contains specific string key or value, we need helper function. class BaseEnum(Enum): @classmethod def has_name(cls, name): return name in cls._member_names_ @classmethod def has_value(cls, value): return value in cls._value2member_map_ class StatusEnum(str, BaseEnum): PUBLISHED = 1 PEN…

Spring Boot + Thymeleaf form validation error not displaying

549 Uncategorized Leave a Comment
Check these by these steps. Make sure BindingResult just follows up with the object variable @PostMapping("/save") public String save(@Valid Product product, BindingResult bindingResult, RedirectAttributes attributes) { // th:object = "${product}" } Here, it follows up producrt object. use @…

How to use Gmail to send email in Python

177 Uncategorized Leave a Comment
1 Add "App password" Go to Google account "Security", navigate to "Signing in to Google" and click "App passwords". Then select a type, here we use "Mail" and custom the device name. Type device name as "airflow", or you can choose any other name. Then…

Copy and paste not working in VMWare Fusion

3.8k Uncategorized Leave a Comment
Confirm vmware tools had installed, if your vm is ubuntu, use: # ubuntu desktop $ apt install open-vm-tools-desktop open-vm-tools # ubuntu server: $ apt install open-vm-tools Turn on copy and paste Shut down the Virtual Machine, from the Menu select Virtual Machine -> Isolation -> Check Enable Copy and P…

ffmpeg common commands

307 Uncategorized Leave a Comment
Download video with .m3u8 link Download full video ffmpeg -i "https://this-is-your-url-of.m3u8" -c copy -bsf:a aac_adtstoasc "output.mp4" Download specific time range: ffmpeg -ss 04:05:25 -to 04:15:00 -i "https://this-is-your-url-of.m3u8" -c copy -bsf:a aac_adtstoasc "output-c…
« Previous Page   Next Page »