启动apache的时候出现下面的问题问题:(98)Addressalreadyinuse:make_sock:couldnotbindtoaddress0.0.0.0:80原因:80端口被占用解决方案:killall-9httpd/usr/local/apache2/bin/apachetclstart
分类:
系统相关 时间:
2015-09-09 19:48:55
阅读次数:
155
Gulp vs Grunt前端工程的构建工具对比1. Grunt -> Gulp早些年提到构建工具,难免会让人联想到历史比较悠久的Make,Ant,以及后来为了更方便的构建结构类似的Java项目而出现的Maven。Node催生了一批自动化工具,像Bower,Yeoman,Grunt等。而如今前端提到...
分类:
其他好文 时间:
2015-09-09 19:11:39
阅读次数:
192
//创建一个文件数据库 DB db = DBMaker.newFileDB(file).make(); HTreeMap urlData = db.createHashMap("pages").make();当数据量大时需要间断性的commit存盘,db.commit();
分类:
数据库 时间:
2015-09-09 09:46:30
阅读次数:
204
下载地址https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-ce-7.10.4~omnibus-1.x86_64.rpmhttps://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.gz安装直接configure;make;makeinstall此处略或者参考官方https://about.gitlab.com/downloads/#centos62.
分类:
其他好文 时间:
2015-09-08 23:41:51
阅读次数:
249
yum -y install gcc automake autoconf libtool make cmake yum -y install gcc gcc-c++ glibc glibc-devel yum -y install libmcrypt-devel mhash-devel libxslt-devel libjpeg libjpeg-devel libpng libpng-...
分类:
Web程序 时间:
2015-09-08 20:28:42
阅读次数:
170
1.虽然能编译出程序,但是会提示错误。目前暂未解决make: sinclude: Command not foundmake: *** [test] Error 1272. 后续主要要修改的部分:1>PROGRAM := hello # 设置运行程序名2> SRCDIRS := . # 源程序位于当...
分类:
编程语言 时间:
2015-09-08 19:55:31
阅读次数:
510
With Angular, most of the time you're specifying a templateUrl for your directives and states/routes. This means you need to make sure that you're loa...
分类:
Web程序 时间:
2015-09-08 18:35:30
阅读次数:
157
What's the difference between map and flatmap? First, let's show what map is. To show that, I need a source stream, so I'm going to make an interval. ...
分类:
Web程序 时间:
2015-09-07 21:08:21
阅读次数:
498
1.安装前装备 1.1已经安装gcc(gcc-c++) make automake 1.2下载cmake:http://www.cmake.org/files/v2.8/cmake-2.8.8.tar.gz 1.3下载mysql:http://fossies.org/unix/misc/mys...
分类:
数据库 时间:
2015-09-07 19:34:32
阅读次数:
280
来自SO顶得最多的答案:http://stackoverflow.com/questions/4556467/git-pull-or-git-merge-between-master-and-development-branches This workflow works best for me: git checkout -b develop ...make some ...
分类:
其他好文 时间:
2015-09-07 16:58:11
阅读次数:
136