.\VBoxManage.exe modifymedium disk "C:\ubuntu-18.04-amd64-disk001.vmdk" --compact
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Compact medium operation for this format is not implemented yet!
root@homestead:/var/www# df -h
Filesystem Size Used Avail Use% Mounted on
udev 967M 0 967M 0% /dev
tmpfs 200M 6.7M 193M 4% /run
/dev/mapper/homestead--vg-root 18G 4.3G 13G 27% /
tmpfs 997M 8.0K 997M 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 997M 0 997M 0% /sys/fs/cgroup
/dev/mapper/homestead--vg-mysql--master 9.8G 246M 9.1G 3% /homestead-vg/master
vagrant 119G 101G 19G 85% /vagrant
var_www_example_ 119G 101G 19G 85% /var/www/example
var_www_example.test_ 119G 101G 19G 85% /var/www/example.test
var_www_example_www_ 119G 101G 19G 85% /var/www/example.kz/www
var_www_example.ru_www 119G 101G 19G 85% /var/www/example.ru/www
var_www_example.kz_www_ 119G 101G 19G 85% /var/www/example.kz/www
var_www_example.ru_www 119G 101G 19G 85% /var/www/example.ru/www
var_www_example.ru_www_ 119G 101G 19G 85% /var/www/example.ru/www
var_www_example.ru_www 119G 101G 19G 85% /var/www/example.ru/www
var_www_example.ru_www 119G 101G 19G 85% /var/www/example.ru/www
var_www_example.ru_www 119G 101G 19G 85% /var/www/example.ru/www
var_www_example_www_ 119G 101G 19G 85% /var/www/example/www
var_www_example_www_ 119G 101G 19G 85% /var/www/example.com/www
tmpfs 200M 0 200M 0% /run/user/1000
package main
import (
"net/http"
"strings"
"net/url"
)
func sayHello(w http.ResponseWriter, r *http.Request) {
name := "World"
url := strings.Trim(r.RequestURI, "/")
if len(url) > 0 {
name = strings.Split(url, "/")[0]
name = strings.ToUpper(name[0:1]) + name[1:] // change first symbol to Uppercase
}
w.Write([]byte("Hello, " + url.QueryUnescape(name) + "!"))
}
func main() {
http.HandleFunc("/", sayHello)
err := http.ListenAndServe(":9001", nil)
if err != nil {
panic(err.Error())
}
}
./index.go:6:5: imported and not used: "net/url"
./index.go:16:35: url.QueryUnescape undefined (type string has no field or method QueryUnescape)