0%

“rsync” could not be found on your PATH

有以下几种解决方案:

  • 下载cwRsync,解压后放到PATH中
  • 安装cygwin,在cygwin里运行vagrant up
  • 修改C:\Users{your_username}.vagrant.d\boxes\{your_os}}\{your_os_version}\virtualbox\Vagrantfile 文件,把rsync替换为virtualbox
    1
    config.vm.synced_folder ".", "/vagrant", type: "virtualbox"

Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem “vboxsf” is not available.

1
vagrant plugin install vagrant-vbguest
Read more »

在Github上发现了一个Java模板引擎性能对比,传统的模板引擎性能表现一般,尤其是Thymeleaf 2,表现更是大跌眼镜。Fork后,把所有模板引擎版本更新后再跑,Thymeleaf 3稍有改善,但是仍旧惨不忍睹。究其原因,很可能是因为只有Thymeleaf采取的是DOM方式,来作为模板语言导致的。

Read more »

如果同时安装了YarnHadoop,那么在你运行yarnpkg命令时,如

1
yarn --version

你会发现这个诡异问题

1
2
3
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

因为它和Hadoop Yarn名字重复了,而两者都在PATH里。Github上也有这个Issue,有人在备注里提议改名为nyarn,但是没有采纳,而是给了一个yarnpkg的别名…

最近入手了HDX7,按照xda上的教程磕磕绊绊的解锁了bootloader,因为xda的教程有些地方并没有介绍清楚,所以整理了一下我的解锁流程

root

安装一键root软件,一键root

安装驱动

Read more »