Rulesets
Playground
Snippets
Search
Cookbooks
Docs
Documentation
Tutorials
Dark Mode
Codiga Snippets, page 76
Full list of public snippets in Codiga
Name
Language
Author
Uses
Write JSON
C++
GG
Giovanny Gongora
0
Flatten array
JavaScript
JD
Julien Delange
16
Generate a UUID
JavaScript
JD
Julien Delange
11
Unique elements of array
JavaScript
JD
Julien Delange
8
Sleep
JavaScript
JD
Julien Delange
13
Validate email address
JavaScript
JD
Julien Delange
16
Shuffle an array
JavaScript
JD
Julien Delange
0
Reverse string
Python
JD
Julien Delange
8
Create dictionary from lists
Python
JD
Julien Delange
10
Get occurrences count in list
Python
JD
Julien Delange
6
Split a list into sublists
Python
JD
Julien Delange
0
Split a list into sublists
Python
JD
Julien Delange
2
Filter list
Python
JD
Julien Delange
8
Use slice
Python
JD
Julien Delange
4
Get current dir
C++
GG
Giovanny Gongora
0
Create directory
C++
GG
Giovanny Gongora
0
Random float
C++
GG
Giovanny Gongora
0
Random integer
C++
GG
Giovanny Gongora
1
Bubble Sort
C++
GG
Giovanny Gongora
0
To upper case
C++
GG
Giovanny Gongora
0
To lower case
C++
GG
Giovanny Gongora
0
Celsius to Fahrenheit
C++
GG
Giovanny Gongora
0
Get current day of year
C++
GG
Giovanny Gongora
0
Get current weekday
C++
GG
Giovanny Gongora
0
Get current year
C++
GG
Giovanny Gongora
0
Get month of year
C++
GG
Giovanny Gongora
1
Get day of month
C++
GG
Giovanny Gongora
0
Get current hours
C++
GG
Giovanny Gongora
0
Get current minutes
C
GG
Giovanny Gongora
0
Get current seconds
C++
GG
Giovanny Gongora
0
Reverse a number
C++
GG
Giovanny Gongora
0
Generate random number
C++
GG
Giovanny Gongora
0
Is Palindrome
C++
GG
Giovanny Gongora
0
Even or Odd
C++
GG
Giovanny Gongora
0
Read file
C++
GG
Giovanny Gongora
7
Create file
C++
GG
Giovanny Gongora
1
Lexicographical sorting
C++
GG
Giovanny Gongora
1
Calculate Standard Deviation
C++
GG
Giovanny Gongora
0
Largest Element of array
C++
GG
Giovanny Gongora
3
Reverse string with recursion
C++
GG
Giovanny Gongora
1
Octal to Binary
C++
GG
Giovanny Gongora
0
Binary to Octal
C++
GG
Giovanny Gongora
0
Decimal to Octal
C++
GG
Giovanny Gongora
1
Octal to Decimal
C++
GG
Giovanny Gongora
0
Decimal to Binary
C++
GG
Giovanny Gongora
0
Binary to Decimal
C++
GG
Giovanny Gongora
8
Floyd's Triangle
C
GG
Giovanny Gongora
0
Pascal's Triangle
C
GG
Giovanny Gongora
1
Inverted full pyramid of *
C
GG
Giovanny Gongora
0
Full Pyramid of Numbers
C
GG
Giovanny Gongora
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81