官网源被墙,可以使用一个国内源进行安装,如果不行,可以参考github的wiki 页面。https://github.com/facebook/hhvm/wiki/Mirror以Debian Wheezy安装环境为例。1、修改软件源123 echo "deb http://mirrors.163.c...
分类:
其他好文 时间:
2015-02-04 16:03:30
阅读次数:
155
在github上下了几个开源项目,在导入android studio时出现各种问题,
在网上查询各种资料后一一得以解决,现对个问题点进行简单的总结:
1. gradle project sync failed:
出现此问题的原因是gradle更新失败,在C:\Documents and Settings\user\.gradle\wrapper\dists
目录中可看到需要更新的...
分类:
移动开发 时间:
2015-02-04 12:58:05
阅读次数:
195
http://blog.sina.com.cn/s/blog_6f5b220601013zw3.html非常好的原子操作,不用加锁:__sync_fetch_and_addGCC 提供的原子操作gcc从4.1.2提供了__sync_*系列的built-in函数,用于提供加减和逻辑运算的原子操作。其声...
分类:
编程语言 时间:
2015-02-03 12:44:55
阅读次数:
195
官网源被墙,可以使用一个国内源进行安装,如果不行,可以参考github的wiki页面。https://github.com/facebook/hhvm/wiki/Mirror以debianwheezy安装环境为例。1、修改软件源echo"debhttp://mirrors.163.com/debian/wheezymainnon-freecontrib">/etc/apt/sources.list
echo"d..
分类:
其他好文 时间:
2015-02-02 07:17:44
阅读次数:
579
一、使用NFS在Linux系统之间共享文件资源1、配置NFS服务器端的文件共享权限配置exports文件:[root@clz~]#vim/etc/exports/aa10.35.89.0/26(rw,rsync)查看nfs默认的共享配置:[root@clznfs]#cat/var/lib/nfs/etab
/aa10.35.89.0/26(rw,sync,wdelay,hide,nocrossmnt,secure,root..
分类:
其他好文 时间:
2015-02-01 20:33:05
阅读次数:
305
用过?Sketch?的朋友应该都知道一个叫?Mirror?的功能,它可以将你的设计稿放到手机上预览,为设计师们提高了不少效率。而今天我要介绍的?jimu Mirror?,和?Sketch Mirror?类似,可以将 Android 的 xml 实时...
分类:
移动开发 时间:
2015-02-01 16:16:29
阅读次数:
1973
内地开源镜像网站http://mirrors.163.com/http://mirrors.sohu.com/http://mirror.lzu.edu.cn/http://mirrors.tuna.tsinghua.edu.cn/http://mirrors.xmu.edu.cn/http://m...
分类:
Web程序 时间:
2015-01-31 00:16:41
阅读次数:
112
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
For example, this binary tree is symmetric:
1
/ 2 2
/ \ / 3 4 4 3
But the f...
分类:
编程语言 时间:
2015-01-30 09:04:26
阅读次数:
242
Problem Description
As a unicorn, the ability of using magic is the distinguishing feature among other kind of pony. Being familiar with composition and decomposition is the fundamental course ...
分类:
移动开发 时间:
2015-01-29 12:52:16
阅读次数:
161
1.介质准备注:由于Mysql5.5源码编译采用的CMAKE方式,所以事先下载cmake的安装包和MySQL5.5的安装包下载地址如下:http://mysql.mirror.kangaroot.net/Downloads/MySQL-5.5/http://www.cmake.org/files/v2.8/cmake-2.8.10.2.tar.gz下载完成之后上传到指定的服务器上。2.安装依..
分类:
数据库 时间:
2015-01-29 10:37:29
阅读次数:
264