Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3f3137a

Browse files
Merge pull request #158 from Mathys-Gasnier/main
Adding support for sub languages on the "backend"
2 parents 6db694d + f4cb272 commit 3f3137a

23 files changed

+213
-166
lines changed

‎public/consolidated/_index.json

Lines changed: 42 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,72 @@
11
[
22
{
3-
"lang": "C",
4-
"icon": "/icons/c.svg"
3+
"name": "C",
4+
"icon": "/icons/c.svg",
5+
"subLanguages": []
56
},
67
{
7-
"lang": "CPP",
8-
"icon": "/icons/cpp.svg"
8+
"name": "CPP",
9+
"icon": "/icons/cpp.svg",
10+
"subLanguages": []
911
},
1012
{
11-
"lang": "CSHARP",
12-
"icon": "/icons/csharp.svg"
13+
"name": "CSHARP",
14+
"icon": "/icons/csharp.svg",
15+
"subLanguages": []
1316
},
1417
{
15-
"lang": "CSS",
16-
"icon": "/icons/css.svg"
18+
"name": "CSS",
19+
"icon": "/icons/css.svg",
20+
"subLanguages": []
1721
},
1822
{
19-
"lang": "HASKELL",
20-
"icon": "/icons/haskell.svg"
23+
"name": "HASKELL",
24+
"icon": "/icons/haskell.svg",
25+
"subLanguages": []
2126
},
2227
{
23-
"lang": "HTML",
24-
"icon": "/icons/html.svg"
28+
"name": "HTML",
29+
"icon": "/icons/html.svg",
30+
"subLanguages": []
2531
},
2632
{
27-
"lang": "JAVA",
28-
"icon": "/icons/java.svg"
33+
"name": "JAVA",
34+
"icon": "/icons/java.svg",
35+
"subLanguages": []
2936
},
3037
{
31-
"lang": "JAVASCRIPT",
32-
"icon": "/icons/javascript.svg"
38+
"name": "JAVASCRIPT",
39+
"icon": "/icons/javascript.svg",
40+
"subLanguages": []
3341
},
3442
{
35-
"lang": "PYTHON",
36-
"icon": "/icons/python.svg"
43+
"name": "PYTHON",
44+
"icon": "/icons/python.svg",
45+
"subLanguages": []
3746
},
3847
{
39-
"lang": "REGEX",
40-
"icon": "/icons/regex.svg"
48+
"name": "REGEX",
49+
"icon": "/icons/regex.svg",
50+
"subLanguages": []
4151
},
4252
{
43-
"lang": "RUBY",
44-
"icon": "/icons/ruby.svg"
53+
"name": "RUBY",
54+
"icon": "/icons/ruby.svg",
55+
"subLanguages": []
4556
},
4657
{
47-
"lang": "RUST",
48-
"icon": "/icons/rust.svg"
58+
"name": "RUST",
59+
"icon": "/icons/rust.svg",
60+
"subLanguages": []
4961
},
5062
{
51-
"lang": "SCSS",
52-
"icon": "/icons/scss.svg"
63+
"name": "SCSS",
64+
"icon": "/icons/scss.svg",
65+
"subLanguages": []
5366
},
5467
{
55-
"lang": "TYPESCRIPT",
56-
"icon": "/icons/typescript.svg"
68+
"name": "TYPESCRIPT",
69+
"icon": "/icons/typescript.svg",
70+
"subLanguages": []
5771
}
5872
]

‎public/consolidated/c.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"categoryName": "Basics",
3+
"name": "Basics",
44
"snippets": [
55
{
66
"title": "Hello, World!",
@@ -16,7 +16,7 @@
1616
]
1717
},
1818
{
19-
"categoryName": "Mathematical Functions",
19+
"name": "Mathematical Functions",
2020
"snippets": [
2121
{
2222
"title": "Factorial Function",

‎public/consolidated/cpp.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"categoryName": "Basics",
3+
"name": "Basics",
44
"snippets": [
55
{
66
"title": "Hello, World!",
@@ -16,7 +16,7 @@
1616
]
1717
},
1818
{
19-
"categoryName": "Data Structure Conversion",
19+
"name": "Data Structure Conversion",
2020
"snippets": [
2121
{
2222
"title": "Vector to Queue",
@@ -33,7 +33,7 @@
3333
]
3434
},
3535
{
36-
"categoryName": "Debuging",
36+
"name": "Debugging",
3737
"snippets": [
3838
{
3939
"title": "Vector Print",
@@ -50,7 +50,7 @@
5050
]
5151
},
5252
{
53-
"categoryName": "Math And Numbers",
53+
"name": "Math And Numbers",
5454
"snippets": [
5555
{
5656
"title": "Check Prime Number",
@@ -66,7 +66,7 @@
6666
]
6767
},
6868
{
69-
"categoryName": "String Manipulation",
69+
"name": "String Manipulation",
7070
"snippets": [
7171
{
7272
"title": "Reverse String",

‎public/consolidated/csharp.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"categoryName": "Basics",
3+
"name": "Basics",
44
"snippets": [
55
{
66
"title": "Hello, World!",
@@ -16,7 +16,7 @@
1616
]
1717
},
1818
{
19-
"categoryName": "Guid Utilities",
19+
"name": "Guid Utilities",
2020
"snippets": [
2121
{
2222
"title": "Generate GUID",
@@ -43,7 +43,7 @@
4343
]
4444
},
4545
{
46-
"categoryName": "Jwt Utilities",
46+
"name": "Jwt Utilities",
4747
"snippets": [
4848
{
4949
"title": "Decode JWT",
@@ -70,7 +70,7 @@
7070
]
7171
},
7272
{
73-
"categoryName": "List Utilities",
73+
"name": "List Utilities",
7474
"snippets": [
7575
{
7676
"title": "Swap items at index",
@@ -86,7 +86,7 @@
8686
]
8787
},
8888
{
89-
"categoryName": "String Utilities",
89+
"name": "String Utilities",
9090
"snippets": [
9191
{
9292
"title": "Capitalize first letter",

‎public/consolidated/css.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"categoryName": "Buttons",
3+
"name": "Buttons",
44
"snippets": [
55
{
66
"title": "3D Button Effect",
@@ -42,7 +42,7 @@
4242
]
4343
},
4444
{
45-
"categoryName": "Effects",
45+
"name": "Effects",
4646
"snippets": [
4747
{
4848
"title": "Blur Background",
@@ -83,7 +83,7 @@
8383
]
8484
},
8585
{
86-
"categoryName": "Layouts",
86+
"name": "Layouts",
8787
"snippets": [
8888
{
8989
"title": "CSS Reset",
@@ -146,7 +146,7 @@
146146
]
147147
},
148148
{
149-
"categoryName": "Typography",
149+
"name": "Typography",
150150
"snippets": [
151151
{
152152
"title": "Letter Spacing",

‎public/consolidated/haskell.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"categoryName": "Array Manipulation",
3+
"name": "Array Manipulation",
44
"snippets": [
55
{
66
"title": "Binary Search",
@@ -41,7 +41,7 @@
4141
]
4242
},
4343
{
44-
"categoryName": "Basics",
44+
"name": "Basics",
4545
"snippets": [
4646
{
4747
"title": "Hello, World!",
@@ -58,7 +58,7 @@
5858
]
5959
},
6060
{
61-
"categoryName": "File Handling",
61+
"name": "File Handling",
6262
"snippets": [
6363
{
6464
"title": "Find Files in Directory by Type",
@@ -89,7 +89,7 @@
8989
]
9090
},
9191
{
92-
"categoryName": "Monads",
92+
"name": "Monads",
9393
"snippets": [
9494
{
9595
"title": "Either Monad for Error Handling",
@@ -141,7 +141,7 @@
141141
]
142142
},
143143
{
144-
"categoryName": "String Manipulation",
144+
"name": "String Manipulation",
145145
"snippets": [
146146
{
147147
"title": "CamelCase to snake_case",

‎public/consolidated/html.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"categoryName": "Basic Layouts",
3+
"name": "Basic Layouts",
44
"snippets": [
55
{
66
"title": "Grid Layout with Navigation",

‎public/consolidated/java.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"categoryName": "Basics",
3+
"name": "Basics",
44
"snippets": [
55
{
66
"title": "Hello-World",

‎public/consolidated/javascript.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"categoryName": "Array Manipulation",
3+
"name": "Array Manipulation",
44
"snippets": [
55
{
66
"title": "Partition Array",
@@ -62,7 +62,7 @@
6262
]
6363
},
6464
{
65-
"categoryName": "Basics",
65+
"name": "Basics",
6666
"snippets": [
6767
{
6868
"title": "Hello, World!",
@@ -78,7 +78,7 @@
7878
]
7979
},
8080
{
81-
"categoryName": "Color Manipulation",
81+
"name": "Color Manipulation",
8282
"snippets": [
8383
{
8484
"title": "RGB to Hex Color",
@@ -94,7 +94,7 @@
9494
]
9595
},
9696
{
97-
"categoryName": "Date And Time",
97+
"name": "Date And Time",
9898
"snippets": [
9999
{
100100
"title": "Check Leap Year",
@@ -191,7 +191,7 @@
191191
]
192192
},
193193
{
194-
"categoryName": "Dom Manipulation",
194+
"name": "Dom Manipulation",
195195
"snippets": [
196196
{
197197
"title": "Change Element Style",
@@ -218,7 +218,7 @@
218218
]
219219
},
220220
{
221-
"categoryName": "Function Utilities",
221+
"name": "Function Utilities",
222222
"snippets": [
223223
{
224224
"title": "Compose Functions",
@@ -327,7 +327,7 @@
327327
]
328328
},
329329
{
330-
"categoryName": "Local Storage",
330+
"name": "Local Storage",
331331
"snippets": [
332332
{
333333
"title": "Add Item to localStorage",
@@ -365,7 +365,7 @@
365365
]
366366
},
367367
{
368-
"categoryName": "Mathematical Functions",
368+
"name": "Mathematical Functions",
369369
"snippets": [
370370
{
371371
"title": "Greatest Common Divisor",
@@ -381,7 +381,7 @@
381381
]
382382
},
383383
{
384-
"categoryName": "Number Formatting",
384+
"name": "Number Formatting",
385385
"snippets": [
386386
{
387387
"title": "Convert Number to Currency",
@@ -463,7 +463,7 @@
463463
]
464464
},
465465
{
466-
"categoryName": "Object Manipulation",
466+
"name": "Object Manipulation",
467467
"snippets": [
468468
{
469469
"title": "Check if Object is Empty",
@@ -628,7 +628,7 @@
628628
]
629629
},
630630
{
631-
"categoryName": "String Manipulation",
631+
"name": "String Manipulation",
632632
"snippets": [
633633
{
634634
"title": "Capitalize String",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /