09 April 2023
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque vel diam purus. Curabitur ut nisi lacus.
Nam id nisl quam. Donec a lorem sit amet libero pretium vulputate vel ut purus. Suspendisse leo arcu, mattis et imperdiet luctus, pulvinar vitae mi. Quisque fermentum sollicitudin feugiat. Mauris nec leo ligula. Vestibulum tristique odio ut risus ultricies a hendrerit quam iaculis. Duis tempor elit sit amet ligula vehicula et iaculis sem placerat. Fusce dictum, metus at volutpat lacinia, elit massa auctor risus, id auctor arcu enim eu augue. Donec ultrices turpis in mi imperdiet ac venenatis sapien sodales.
class Circle {
constructor(radius) {
this.radius = radius;
}
/**
* Calculate the circumference of the circle.
*
* @return {number}
*/
circumference() {
return 2 * Math.PI * this.radius;
}
}
const c = new Circle(0.5);
console.log(c.circumference()); // 3.1415...
<!DOCTYPE html>
<html lang="en">
<head>
<title>Example</title>
<link rel="stylesheet" href="style.css"/>
</head>
<body id="home">
<!-- Todo: write actual content -->
<div>Lorem ipsum dolor sit amet</div>
</body>
</html>
import java.util.ArrayList;
import java.util.List;
@Name("program")
public class Program {
public static void main(String[] args) {
List<String> valid = new ArrayList<>();
for (int i = 0; i < args.length; i++) {
String arg = args[i];
if (isValid(arg)) {
valid.add(arg);
}
}
}
/**
* Check if an argument is valid.
*
* @param arg The argument to check.
* @return Whether the argument is valid.
*/
private static boolean isValid(String arg) {
return true; // Todo: Do actual check.
}
}
main {
background-image: url('some/image.jpg');
}
.list > .row {
display: flex;
color: #6a8759;
}
/* Small screen rules */
@media screen and (max-width: 800px) {
.row {
flex-direction: column !important;
}
}
{
"ok": true,
"list": [
1,
2,
3
],
"string": "This is JSON",
"nested": {
"object": false
}
}
{
"ok": true,
"list": [
1,
2,
3
],
"string": "This is JSON",
"nested": {
"object": false
}
}
# A comment
version: '3.7'
services:
rabbitmq:
image: rabbitmq:3.7-management
ports:
- 15672:15672
- 5672:5672
In consequat imperdiet nunc quis bibendum. Nulla semper, erat quis ornare tristique, lectus massa posuere libero, ut vehicula lectus nunc ut lorem. Aliquam erat volutpat.