09 2013 档案
摘要:arch 64位下直接运行android emulator会出现错误:“Failed to start emulator: Cannot run program "xxxx/sdk/tools/emulator": error=2, No such file or directory这时要解开/etc/pacman.conf里的multilib的注释执行pacman -Syu然后安装lib32-glibclib32-libstdc++5或者还有:lib32-libncurseslib32-zlib
阅读全文
摘要:如果运行locale-gen命令出现以下的错误“locale alias file `/usr/share/locale/locale.alias' not found: No such file or directory可以将/usr/share/X11/locale/locale.alias 复制到该目录下即可
阅读全文
摘要:Permission denied (publickey).fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.出现上面的错误是,可能是因为你没有使用ssh或者是bitbucket/github端没有设置对应的公钥,如何生成key具体可以参考:http://blog.aboutc.net/opensuse/37/github-bitbucket-connect-via-ssh-keys大致步骤:ssh-k
阅读全文
摘要:转自:博客园Wayouhttp://www.cnblogs.com/Wayou/p/javascript_arguments_passing_with_reference.html变量1.JavaScript hoisting>>请看例子,我们拿Chrome的console作为JS的运行环境。上面直接执行console.log(a), 不带一点悬念地抛出了not defined 错误。这是预料之中的。看下面进化后的代码:之前变量没有定义的错误没了,取而代之的是告诉我们a的值是 'undefined'。先不管a的值缘何为 'undefined' 了,至
阅读全文