|
1 | 1 | [
|
| 2 | + { |
| 3 | + "language": "cpp", |
| 4 | + "categoryName": "Basics", |
| 5 | + "snippets": [ |
| 6 | + { |
| 7 | + "title": "Hello, World!", |
| 8 | + "description": "Prints Hello, World! to the terminal.", |
| 9 | + "code": [ |
| 10 | + "#include <iostream> // Includes the input/output stream library", |
| 11 | + "", |
| 12 | + "int main() { // Defines the main function", |
| 13 | + " std::cout << \"Hello, World!\" << std::endl; // Outputs Hello, World! and a newline", |
| 14 | + " return 0; // indicate the program executed successfully", |
| 15 | + "}" |
| 16 | + ], |
| 17 | + "tags": [ |
| 18 | + "cpp", |
| 19 | + "printing", |
| 20 | + "hello-world", |
| 21 | + "utility" |
| 22 | + ], |
| 23 | + "author": "James-Beans" |
| 24 | + } |
| 25 | + ] |
| 26 | + }, |
2 | 27 | {
|
3 | 28 | "language": "cpp",
|
4 | 29 | "categoryName": "String Manipulation",
|
|
348 | 373 | }
|
349 | 374 | ]
|
350 | 375 | },
|
| 376 | + { |
| 377 | + "language": "javascript", |
| 378 | + "categoryName": "Basics", |
| 379 | + "snippets": [ |
| 380 | + { |
| 381 | + "title": "Hello, World!", |
| 382 | + "description": "Prints Hello, World! to the terminal.", |
| 383 | + "code": [ |
| 384 | + "console.log(\"Hello, World!\"); // Prints Hello, World! to the console" |
| 385 | + ], |
| 386 | + "tags": [ |
| 387 | + "javascript", |
| 388 | + "printing", |
| 389 | + "hello-world", |
| 390 | + "utility" |
| 391 | + ], |
| 392 | + "author": "James-Beans" |
| 393 | + } |
| 394 | + ] |
| 395 | + }, |
351 | 396 | {
|
352 | 397 | "language": "javascript",
|
353 | 398 | "categoryName": "Array Manipulation",
|
|
922 | 967 | }
|
923 | 968 | ]
|
924 | 969 | },
|
| 970 | + { |
| 971 | + "language": "python", |
| 972 | + "categoryName": "Basics", |
| 973 | + "snippets": [ |
| 974 | + { |
| 975 | + "title": "Hello, World!", |
| 976 | + "description": "Prints Hello, World! to the terminal.", |
| 977 | + "code": [ |
| 978 | + "print(\"Hello, World!\") # Prints Hello, World! to the terminal." |
| 979 | + ], |
| 980 | + "tags": [ |
| 981 | + "python", |
| 982 | + "printing", |
| 983 | + "hello-world", |
| 984 | + "utility" |
| 985 | + ], |
| 986 | + "author": "James-Beans" |
| 987 | + } |
| 988 | + ] |
| 989 | + }, |
925 | 990 | {
|
926 | 991 | "language": "python",
|
927 | 992 | "categoryName": "String Manipulation",
|
|
1416 | 1481 | }
|
1417 | 1482 | ]
|
1418 | 1483 | },
|
| 1484 | + { |
| 1485 | + "language": "rust", |
| 1486 | + "categoryName": "Basics", |
| 1487 | + "snippets": [ |
| 1488 | + { |
| 1489 | + "title": "Hello, World!", |
| 1490 | + "description": "Prints Hello, World! to the terminal.", |
| 1491 | + "code": [ |
| 1492 | + "fn main() { // Defines the main running function", |
| 1493 | + " println!(\"Hello, World!\"); // Prints Hello, World! to the terminal.", |
| 1494 | + "}" |
| 1495 | + ], |
| 1496 | + "tags": [ |
| 1497 | + "rust", |
| 1498 | + "printing", |
| 1499 | + "hello-world", |
| 1500 | + "utility" |
| 1501 | + ], |
| 1502 | + "author": "James-Beans" |
| 1503 | + } |
| 1504 | + ] |
| 1505 | + }, |
1419 | 1506 | {
|
1420 | 1507 | "language": "rust",
|
1421 | 1508 | "categoryName": "String Manipulation",
|
|
0 commit comments