Skip to content

Instantly share code, notes, and snippets.

View x4d3's full-sized avatar

Xavier Delamotte x4d3

View GitHub Profile
@x4d3
x4d3 / groups_delete.md
Created March 27, 2026 09:15
Deletion Previous Specs

A user should be able to right-click on a manual group.

The user will have to right-click on the group on the LHS of the UI and click on the delete group option. The user should be presented with a confirmation dialog before deletion takes place.

Upon successful deletion, the selection in the LHS should move to next group above in the list and the RHS view refreshed to match the new selection.

The root group can never be deleted.

If the group has been granted some role over some other group, then these roles are also lost in the deletion process.

@x4d3
x4d3 / kz-vs-rs.md
Created May 17, 2025 11:17
Comparaison between Serbian and Cyrillic alphabet

πŸ‡·πŸ‡Έ Serbian vs πŸ‡°πŸ‡Ώ Kazakh β€” Alphabet Correspondence Table

# Serbian Cyrillic Serbian Latin Kazakh Cyrillic Kazakh Latin (2021 reform) Notes
1 А A А A Same
2 Π‘ B Π‘ B Same
3 Π’ V Π’ V Same
4 Π“ G Π“ G Same
5 Π” D Π” D Same
@x4d3
x4d3 / generate_unicode.rb
Last active April 7, 2024 11:40
Unicode
# Define the file path to save the output
output_file = "unicode_characters.txt"
# Open the file in write mode
File.open(output_file, "w") do |file|
# Define Unicode script ranges
script_ranges = {
"Basic Latin" => (0x0000..0x007F),
"Latin-1 Supplement" => (0x0080..0x00FF),
"Latin Extended-A" => (0x0100..0x017F),
@x4d3
x4d3 / add_aliases.sh
Last active February 26, 2024 08:27
Git Last Branches
git config --global alias.lb "for-each-ref --count=30 --sort=-committerdate refs/heads/ --format='%(refname:short)'"
C:\Users\xdelamotte\.jdks\temurin-11.0.21\bin\java.exe -Dmaven.multiModuleProjectDirectory=C:\Users\xdelamotte\repo\stats-flink -Djansi.passthrough=true "-Dmaven.home=C:\Users\xdelamotte\AppData\Local\Programs\IntelliJ IDEA Ultimate\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Users\xdelamotte\AppData\Local\Programs\IntelliJ IDEA Ultimate\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=C:\Users\xdelamotte\AppData\Local\Programs\IntelliJ IDEA Ultimate\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Users\xdelamotte\AppData\Local\Programs\IntelliJ IDEA Ultimate\lib\idea_rt.jar=63670:C:\Users\xdelamotte\AppData\Local\Programs\IntelliJ IDEA Ultimate\bin" -Dfile.encoding=UTF-8 -classpath "C:\Users\xdelamotte\AppData\Local\Programs\IntelliJ IDEA Ultimate\plugins\maven\lib\maven3\boot\plexus-classworlds-2.7.0.jar;C:\Users\xdelamotte\AppData\Local\Programs\IntelliJ IDEA Ultimate\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2023
@x4d3
x4d3 / example.md
Last active December 11, 2023 13:28
Example Markdown
@x4d3
x4d3 / process_links.rb
Created July 16, 2023 14:08
Process Links to follow redirection
@x4d3
x4d3 / Bohemian.cs
Created November 15, 2022 18:17
Bohemian Rhapsody in C#
try
{
Assert(Life.Real);
Assert(Life.Fantasy);
}
catch (LandSlideException ex)
{
#region Reality
while (true)
{