- Install lxrunoffline (*)
choco install lxrunoffline
- List installed distros:
wsl -l -v
NAME STATE VERSION
package main | |
import ( | |
"fmt" | |
"log" | |
"os" | |
"strings" | |
"github.com/go-git/go-billy/v5/memfs" | |
gogit "github.com/go-git/go-git/v5" |
{ | |
"Service with constructor": { | |
"prefix": "service", | |
"body": [ | |
"type $1 struct {", | |
"}\n", | |
"func New${1/(.*)/${1:/capitalize}/}() (*$1, error) {", | |
"\treturn &$1{}, nil", | |
"}", | |
], |
choco install lxrunoffline
wsl -l -v
NAME STATE VERSION
#!/usr/bin/python | |
import csv | |
# input text you want to search | |
text = input("Input to search: ") | |
with open("/path/to/my/file.csv", "r") as f: | |
csv_file = csv.reader(f, delimiter=",") | |
# iterate over the csv list |
package retrier | |
import ( | |
"time" | |
"github.com/pkg/errors" | |
) | |
type backoffRetrier struct { | |
initialDelay time.Duration |