Skip to content

Instantly share code, notes, and snippets.

@suliang20
suliang20 / open-vm-tools-vmware-ubuntu-sharing.md
Created September 5, 2019 12:10 — forked from darrenpmeyer/open-vm-tools-vmware-ubuntu-sharing.md
open-vm-tools and VMWare Shared Folders for Ubuntu guests

(NB: adapted from this Ask Ubuntu thread -- tested to work with Ubuntu 16 LTS branches and Ubuntu 17.10)

Unlike using VMWare Tools to enable Linux guest capabilities, the open-vm-tools package doesn't auto-mount shared VMWare folders. This can be frustrating in various ways, but there's an easy fix.

TL;DR

Install open-vm-tools and run:

sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
@suliang20
suliang20 / 注册激活
Created June 16, 2018 17:32
各种注册激活码
Xshell 5 商业版 注册码:101210-450789-147200
Xftp 5 注册码:101210-450789-147200
Xmanager 5 注册码:101210-450789-147200
VMWare 12 Pro 注册码:
5A02H-AU243-TZJ49-GTC7K-3C61N
AG1N8-DZZ53-484QP-0YN5C-QQ0F2
GG59U-DVZD5-M854Y-NYN7C-P3KW4
@suliang20
suliang20 / multi_accout.md
Created May 17, 2017 09:06 — forked from yeungeek/multi_accout.md
Git多帐号配置

在使用git,gitlab的时候,会在.ssh目录下生成对应rsa文件,那如果是有多个配置,该怎么处理?

如何生成ssh密钥,可以参考 generating-ssh-keys
##1. 多帐号配置 需要在.ssh目录下,增加config配置,config可以配置多个git的帐号

 #Host myhost(这里是自定义的host简称,以后连接远程服务器就可以用命令ssh myhost)[注意下面有缩进]
     #User 登录用户名(如:git)
     #HostName 主机名可用ip也可以是域名(如:github.com或者bitbucket.org)
     #Port 服务器open-ssh端口(默认:22,默认时一般不写此行
@suliang20
suliang20 / PhpStorm Keymap
Created February 8, 2017 03:08 — forked from niweea/PhpStorm Keymap
PhpStorm快捷键
### Editing ###
`Ctrl + Space` 基本代码完成(任意类的,方法的或者变量的名称)
`Ctrl + Shift + Enter` 补全当前语句
`Ctrl + P` Parameter info (within method call arguments)
`Ctrl + Q` 快速查找文档
`Ctrl + 鼠标滑过` 简明信息查看
`Ctrl + F1` 在插入符号处显示错误或者警告信息
`Alt + Insert` 生成代码...(Getters,Setters,Constructors)
`Ctrl + O` 重写方法
`Ctrl + I` 实现方法