vmhgfs-fuse .host:/$(vmware-hgfsclient) ~/some_mountpoint
sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
Add the following line to your /etc/fstab
:
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0
powershell "Get-ChildItem | % {$_.LastWriteTime = '01/01/1993 12:00:00'}" |
echo YourPass | sudo openconnect -u YourUsername --authgroup=DEFAULT -b --passwd-on-stdin --cafile=/path/to/ca.crt --servercert=YourServerCert --pfs Server:Port |
#!/bin/zsh | |
#################################################### | |
## Notice : use for development environment only. ## | |
#################################################### | |
#Update all images | |
docker images --format "{{.Repository}}:{{.Tag}}" | grep -v "<none>" | xargs -L1 docker pull |
const asyncAction = ( name )=>{ | |
return new Promise(( resolve , reject )=>{ | |
setTimeout(()=>{ | |
resolve("kk , promise resolved "+ name +" !"); | |
//reject("rejected") | |
},3000); | |
}); | |
}; | |
(async ()=>{ |
https://go.microsoft.com/fwlink/?LinkID=825636&clcid=0x409 |
# View all network interfaces | |
ip a | |
# View all interfaces traffic-volume | |
ip -s link show | |
# Find your gateway IP | |
ip route | |
ip route | grep default |
# check the existing permissions , the command will show you the current file permissions like 100644 | |
git ls-files --stage | |
# update the file permission | |
git update-index --chmod=+x 'name-of-shell-script' | |
# check-in the files | |
git commit -m "Made a file executable" |