我今天才意识到,Google 域用户 Google Drive 共享设置里的 People at some domain find and view / find and edit,指的是用 link 去 find。我一直误以为是可以按 keyword 去 find,或许它会自动出现在域内所有用户的 Shared with me 列表里。
如果做域内用户共享,应该手动发送 link 给他们;任何一个用户访问过该 link 以后,他的账号会出现在 Who has access 列表里。
如果手动添加用户账号在 Who has access 里,他才能在 Shared with me 里看到该共享资源。这大概是 Shared with me 之所以叫 Shared with me 而不叫 Shared with us 的原因吧。
My client is asking a way to manage 3 WordPress sites in one place. I could use WordPress multisite feature by creating a network of sites. However, I felt difficult to control those sites when WordPress multisite was turned on. I would rather have those sites installed into separate databases but have a SSO feature. It is actually what my client is asking for.
I started looking for a social login plugin for WordPress. I shortlisted four plugins.
Social Login
Social Login for wordpress (LoginRadius)
Social Login & Social Sharing by Janrain (Janrain Engage)
WordPress Social Login (WP Social Login)
All installation, I found the first three plugins require create an account with a federal login service provider site of the author, I assume. Although a basic account accommodate 2,500 users or less is free, I do not want to create such an account. It adds risk – everyone can not login if the federal login service provider server is down. Meanwhile, social login is to eliminate create more and more account. I do not want to achieve this goal by creating an intermediate account myself.
Luckily, I have the forth plugin – WordPress Social Login. It asks me to create Application ID and Applicate Secret with each login service provider. That is what I was expecting.
It is a coincidence that all the first three social login plugins sit themselves in a top level menu in WordPress sidebar. Are they so important? I am not an aggressive person and I do not like aggressive software.
WP Social Login modestly sit under Setting menu. That is the way I like!
I am looking for a suitable hardware for Hotel TV project, so I am keen to know the candidate devices performance. Raspberry Pi Model B has been already ruled out. At moment the first choice is FX5. As comparison, I benchmark all android devices I got.
KuYouLe FX5: AnTuTu Benchmark 5215. It is very disappointing as it does not meet what manufacturer claimed benchmarch.
接着又试着把坏掉的虚拟机的硬盘文件 vhd 挂到另一台虚拟机下,直接在它的 Windows DOS 里执行
chkdsk c: /f
这跟故障修复台环境不同,chkdsk 能接受的参数也不同。这次修理快了很多,提示了一堆 Index 错误,看不懂,也不知修复了没有,看重启,仍是黑屏。
之后又尝试种种工具,无一有效。直到看到一个论坛的角落里(因为我花了几小时才看到,所以是角落)有人说,”YET ANOTHER Microsoft screw up”。一语惊醒梦中人!
那人建议试试 BIOS 重置、测试下内存(换下有问题的内存条)。我的是虚拟机,没有 BIOS 重置一说。我就新建了一个虚拟机,加载既有的 vhd,mamma mia,重见 Windows 的徽标在飘扬,舒了口气。
但是,我高兴得太早了,我很快发现此 Windows 非彼 Windows——我忘了这是虚拟机。刚才新建的虚拟机,加载的 vhd 文件,是有问题的虚拟机下的硬盘的最初状态!最初状态非常健康。这也是之前种种努力,把它挂载到其他虚拟机下尝试修复,修复时没发现问题,l_intl.nls 文件也在,而在有问题的虚拟机下真正加载的不单是这个 vhd,而是一个 Current State。修来修去,修的都不是 Current State。
明白这个道理之后,剩下的事情就很简单了。
我赶紧把 Current State 生成一个独立的 vhd 文件。在有问题的虚拟机的目录里,找到 [虚拟机名].vbox 来查看一下,从中找到 Current State 对应的文件名,我的是 {991f2a80-9fbe-48b5-9c02-27f745bdf81c}.vhd。这个 vhd 不是独立的,它是从最初状态,经过一次次 Snapshot (如果有的话),diff 得到的 Current State。
I remember in Fedora 16, desktop sharing is pre-installed with the system. Now I am on Fedora 18, and I want to use it as a VNC server. I don’t want to install tigervnc-server. I just want to use the same one comes with Fedora 16.
On Fedora project site, it still says
To activate desktop sharing, select System > Preferences > Internet and Network > Remote Desktop from the user menu.
However, in Fedora 18, the path has changed, so I thought the name of desktop sharing might have changed as well, but I assumed it should be pre-installed in Fedora 18. It took me hours trying to find remote desktop before I found somewhere it says remote desktop comes in Vino. I could not remember what Vino was, but afterwards was quite simple:
yum install vino
Then I found Desktop Sharing in Internet (no longer in Preferences).
P.S. After I wrote this post, I realised I learned Vino 4 years ago! But I totally forgot it.
关注 Raspberry Pi 有段时间了,最近碰到一位教授,在 University of Lincoln 教书,说他就是教学生们玩 Raspberry Pi;而我也在想,Hotel TV project 是不是也可以在 Raspberry Pi 上实现。兴趣加需求,就买了一套 Raspberry Pi development kit 测试。今天货到了。
我虽事先知道 Raspberry Pi 只有信用卡大小,见到实物还是再次震惊她的小巧玲珑——鄙视一下其他 PC 厂商。