class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
How does it handle xml?
<SomeXml>
<YupItIsAnElement/>
</SomeXml>
package main
import (
"log"
"net/http"
"io/ioutil"
)
func main() {
resp, err := http.Get("https://www.google.com")
if err != nil {
log.Fatal(err)
}
defer resp.Body.Close()
if resp.StatusCode == http.StatusOK {
bodyBytes, err := ioutil.ReadAll(resp.Body)
if err != nil {
log.Fatal(err)
}
log.Printf(string(bodyBytes))
}
}
test
public interface CommonUserProvider {
}
markdown
syntax
- asadsasd
- asdadsasd
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
#!/bin/bash
#coment
if [ -f /dev/null ] ; then
echo "we have null"
fi
or java
var s = "foo";
or yaml
str: hi guy
num: 123
obj:
attr: value
array:
- item1
- item2
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
This is a comment...