Virtio So-called "full virtualization" is a nice feature because it allows you to run any operating system virtualized. However, it's slow because the...
分类:
其他好文 时间:
2014-07-16 18:20:33
阅读次数:
214
If you played with the Fibonacci function, you might have noticed that the bigger the argument you provide, the longer the function takes to run. Furt...
分类:
其他好文 时间:
2014-07-16 18:14:59
阅读次数:
278
比较C#中的readonly与constC#中有两种常量类型,分别为readonly(运行时常量)[read-run]与const(编译时常量)[const-compile],本文将就这两种类型的不同特性进行比较并说明各自的适用场景。工作原理 readonly为运行时常量,程序运行时进行赋值,赋值完...
分类:
其他好文 时间:
2014-07-16 17:55:52
阅读次数:
179
#mf:mult file
#liba: liaxxx.a
#libso:libxxx.so
run:main
./main
mfo:add.c main.c
gcc -c add.c main.c
mfe:mfo
gcc -o main add.o main.o
libo:add.c
gcc -c add.c...
分类:
其他好文 时间:
2014-07-16 17:11:20
阅读次数:
165
这节内容,我们一起来利用SKAction的来为熊猫创建动画,我们将学会通过纹理组产生动画,使用永远循环的SKAction让熊猫不停的跑动。要点:枚举的使用:用来记录熊猫的动作状态 enum Status:Int{ case run=1,jump,jump2,roll //当run被赋值为1的时候,....
分类:
其他好文 时间:
2014-07-16 17:06:05
阅读次数:
181
什么是静默安装?既是可以在不提示用户的情况下,进行APK的安装。
有的时候,根据业务需求,需要实现静默安装APK,但是Android提供的安装接口是需要提示用户的前提下安装。
以下提供一个静默安装的解决方案(通过执行命令行的方式实现,需ROOT权限):
new Thread() {
public void run() {
Process process = null;
...
分类:
移动开发 时间:
2014-07-16 14:08:27
阅读次数:
259
升级python版本后,运行yum
# yum -y install openssl
提示如下:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Pl...
分类:
编程语言 时间:
2014-07-16 14:04:47
阅读次数:
193