Skip to content

Instantly share code, notes, and snippets.

View georgebent's full-sized avatar

Yuriy Kr georgebent

View GitHub Profile
@georgebent
georgebent / openssl.txt
Last active July 3, 2019 15:14
Openssl commands
// make p12 certificate from files
openssl pkcs12 -export -in client.crt -inkey client.key -certfile ca.crt -out client01.p12 -passout pass:pass
@georgebent
georgebent / docker-clear.txt
Created May 13, 2023 10:12
Docker clear containers
docker system df
docker ps --size
docker container ls -a
docker container rm 4f6468cfddb2
@georgebent
georgebent / line-reader.go
Last active June 17, 2023 16:03
Golang line convert: "1 / 3500 then go to Point_282" >>> 282 (get numcer from end)
package main
import (
"fmt"
"os"
"regexp"
"strconv"
)
func main() {