45 lines
728 B
Markdown
45 lines
728 B
Markdown
---
|
|
title: "It's Alive!"
|
|
date: 2021-03-30T20:14:33+01:00
|
|
draft: true
|
|
---
|
|
|
|
# Welcome To My Blog
|
|
|
|
Here's a snippet of Go.
|
|
|
|
```go
|
|
func str2int(strnum string) int {
|
|
i, err := strconv.Atoi(strnum)
|
|
if err != nil {
|
|
return 9999
|
|
}
|
|
return i
|
|
}
|
|
```
|
|
|
|
Here's a snippet of Java Springboot.
|
|
|
|
```java
|
|
@RestController
|
|
@RequestMapping(value = "/hello")
|
|
public class TrainerController {
|
|
|
|
@GetMapping
|
|
public String helloWorld(){
|
|
return "Hello, World!";
|
|
}
|
|
}
|
|
```
|
|
|
|
Here's a snippet of Python.
|
|
|
|
```python
|
|
def test_firefox_browser(headless):
|
|
bd = BrowserDriver().get("firefox", headless=headless)
|
|
bd.get('https://test.io')
|
|
assert "QA Testing as a Service | test IO" == bd.title
|
|
bd.quit()
|
|
```
|
|
|