- https://github.com/c-bata/go-prompt
- https://godoc.org/github.com/c-bata/go-prompt
- https://go.libhunt.com/go-prompt-alternatives
packager
| #!/bin/bash | |
| cd $(dirname $0) | |
| source /etc/os-release | |
| # install cuda drivers | |
| function install_cuda_drivers() | |
| { | |
| # add key and repository |
| focal https://cloud-images.ubuntu.com/focal/current/ focal-server-cloudimg-amd64.img MD5SUMS | |
| bionic https://cloud-images.ubuntu.com/bionic/current/ bionic-server-cloudimg-amd64.img MD5SUMS | |
| xenial https://cloud-images.ubuntu.com/xenial/current/ xenial-server-cloudimg-amd64-disk1.img MD5SUMS |
| #!/usr/bin/env python3 | |
| # vim: set sw=2 sts=2 expandtab: | |
| # ref https://qiita.com/kakinaguru_zo/items/eda129635816ad871e9d | |
| import cv2 | |
| import sys | |
| import time | |
| import numpy | |
| import socket |
| // vim:set sw=4 sts=4: | |
| package main | |
| import ( | |
| "fmt" | |
| "net" | |
| "os" | |
| "time" | |
| "github.com/hshimamoto/go-session" |
| // uskbdxrdp | |
| // MIT License Copyright(c) 2020 Hiroshi Shimamoto | |
| // vim:set sw=4 sts=4: | |
| package main | |
| import ( | |
| "log" | |
| "net" |
| .* | |
| !.gitignore | |
| *.o | |
| test_dft | |
| test_fft |
| all: | |
| gcc -Wall `pkg-config fuse --cflags --libs` -DFUSE_USE_VERSION=26 elfs.c -o elfs | |
| clean: | |
| rm -f elfs |
| package main | |
| import ( | |
| "os" | |
| "log" | |
| "crypto/tls" | |
| "crypto/x509" | |
| ) | |
| func vpc(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error { |