Rulesets
Playground
Snippets
Search
Cookbooks
Docs
Documentation
Tutorials
Dark Mode
Codiga Snippets, page 87
Full list of public snippets in Codiga
Name
Language
Author
Uses
Calculate SHA-256 digest
Rust
GG
Giovanny Gongora
1
Sort in parallel
Rust
GG
Giovanny Gongora
0
Mutate in parallel
Rust
GG
Giovanny Gongora
1
Pass data between threads
Rust
GG
Giovanny Gongora
0
Spawn short lived thread
Rust
GG
Giovanny Gongora
0
Bold text terminal
Rust
GG
Giovanny Gongora
0
Print text terminal
Rust
GG
Giovanny Gongora
1
Basic CLI
Rust
GG
Giovanny Gongora
1
Sort a vector of floats
Rust
GG
Giovanny Gongora
0
Sort a vector of nums
Rust
GG
Giovanny Gongora
0
Generate passwords restricted
Rust
GG
Giovanny Gongora
0
Generate password
Rust
GG
Giovanny Gongora
0
Random numbers in range
Rust
GG
Giovanny Gongora
0
Generate random numbers
Rust
GG
Giovanny Gongora
0
Decompress file
Rust
GG
Giovanny Gongora
0
Compress directories
Rust
GG
Giovanny Gongora
0
HTML Hyper link
HTML
j
jessinspector
4
Simple HTML table
HTML
j
jessinspector
5
Ordered HTML List
HTML
j
jessinspector
3
Unordered HTML List
HTML
j
jessinspector
18
Write generic dockerfile
Docker
JD
Julien Delange
0
Generic dockerfile
Docker
JD
Julien Delange
7
Read JSON file
Python
JD
Julien Delange
95
Read XML path into a dictionary
Python
JD
Julien Delange
5
Create Enumeration
Python
JD
Julien Delange
3
Generic exception
Python
JD
Julien Delange
12
Initialize array
Python
JD
Julien Delange
53
Get environment variable
Python
JD
Julien Delange
10
Split string into an array
Python
JD
Julien Delange
0
Convert string to int
Python
JD
Julien Delange
11
Load YAML file
Python
JD
Julien Delange
30
Send email with SMTPlib
Python
JD
Julien Delange
3
Filter elements in a list
Python
JD
Julien Delange
11
Generic unittest file
Python
JD
Julien Delange
28
Insert data into MySQL
Python
JD
Julien Delange
16
Log an information message
Python
JD
Julien Delange
32
Logging error
Python
JD
Julien Delange
42
Query MySQL database
Python
JD
Julien Delange
50
Logging debug
Python
JD
Julien Delange
48
Connect to MySQL database
Python
JD
Julien Delange
47
Inheritance Snippet
JavaScript
JR
Jose Romero
64
Reverse a string
Java
JD
Julien Delange
61
Palindrome
Java
JD
Julien Delange
4
HTTP get request
Java
JD
Julien Delange
8
Decode base64
Java
JD
Julien Delange
7
Encode String in Base64
Java
JD
Julien Delange
5
Parse integer from string
Java
JD
Julien Delange
0
Create Singleton class
Java
JD
Julien Delange
101
Get current timestamp
Java
JD
Julien Delange
64
Append text in file
Java
JD
Julien Delange
4
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
82
83
84
85
86
87
88