linux的touch命令不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件。 1 基本使用 1.命令格式: touch [选项]... 文件... 2.命令参数: -a 或--time=atime或--time=access或--time=use 只更改存取时 ...
分类:
系统相关 时间:
2017-11-04 11:11:41
阅读次数:
230
translate-shell mac安装 $ mkdir tools $ cd tools $ git clone https://github.com/soimort/translate-shell $ cd translate-shell/ $ make [OK] Task build com... ...
分类:
系统相关 时间:
2017-11-03 20:30:34
阅读次数:
280
关于ngnis+naxsi作为WAF。可以参看http://secsky.sinaapp.com/216.html根据这篇文章的指导,成功完成了安装部署。但要注意两个坑。1.nginx需要重新编译,加入模块。注意不要选择makeinstall会全部覆盖。选择make,然后把nginx拷贝到原有目录。编译选择同一版本的安装包。2.在编..
分类:
其他好文 时间:
2017-11-03 15:27:50
阅读次数:
110
最近在React官网学习Handling Events这一章时,有一处不是很明白。代码如下: 注意到在Toggle类的构造函数constructor类中,有一句注释:“This binding is necessary to make `this` work in the callback”,即在构 ...
分类:
其他好文 时间:
2017-11-03 12:56:26
阅读次数:
175
创建型模式 建造者模式 1) Builder:为创建产品各个部分,统一抽象接口。 2) ConcreteBuilder:具体的创建产品的各个部分,部分A, 部分B,部分C。 3) Director:构造一个使用Builder接口的对象。 4) Product:表示被构造的复杂对象。 Concrete ...
分类:
其他好文 时间:
2017-11-03 00:17:14
阅读次数:
184
前面一篇我们接触了CMake,这一篇写写关于ndk-build的使用过程。刚刚用到,想到哪儿写哪儿。 环境背景 Android开发IDE版本:AndroidStudio 2.2以上版本(目前已经升级到2.2.3) 计算机环境:Window 64位系统 Demo工程的创建与设置 1.新建一个工程,并在 ...
分类:
移动开发 时间:
2017-11-03 00:13:37
阅读次数:
256
1. Source build/envsetup.sh VARIANT = user userdebug eng PRODUCT = 各公司产品 2.lunch TARGET_PRODUCT = lunch $1 BUILD_SYSTEM = build/core 2.1 make build/co ...
分类:
移动开发 时间:
2017-11-03 00:12:52
阅读次数:
156
一些简单命令: make telosb docs //生成帮助文档 call AMControl.start() //打开CC2420通信模块 CFLAGS+=-DCC2420_DEF_RFPOWER=1 //发包power CFLAGS+==DCC2420_DEF_CHANNEL=18 //修改频 ...
分类:
其他好文 时间:
2017-11-03 00:10:43
阅读次数:
181
# Resin4安装配置 #centos6 #参考http://467754239.blog.51cto.com/4878013/1558435 #yum -y install gcc gcc-c++ make #安装jdk …… #安装resin wget http://caucho.com/do... ...
分类:
其他好文 时间:
2017-11-02 23:12:26
阅读次数:
217
一、错误提示 Unable to configure the ArcGIS Data Store with the GIS Server. Please make sure that the GIS Server URL is accessible, the account specified ha ...
分类:
其他好文 时间:
2017-11-02 16:00:13
阅读次数:
350