由于自带的libmcrypt 可能版本低 另外通过brew安装的也不管用得去下载libmcrypt后编译安装tar zxvf libmcrypt-2.5.8.tar.gzcd libmcrypt-2.5.8/./configure --disable-posix-threads --enable-s...
分类:
Web程序 时间:
2014-12-10 12:31:21
阅读次数:
163
ADC实验原理图:1.ADC配置函数 /* enable adc1 and config adc1 to dma mode */ ADC1_Init();/** * @brief ADC1初始化 * @param 无 * @retval 无 */void ADC1_Init(void){...
分类:
其他好文 时间:
2014-12-10 12:27:42
阅读次数:
189
Linux下内置命令和外部命令1、linux的命令可以分为内部命令和外部命令:内部命令在系统启动时就调入内存,是常驻内存的,所以执行效率高。而外部命令是系统的软件功能,用户需要时才从硬盘中读入内存。enable既可以查看内部命令,同时也可以判断是否为内部命令。[root@localhost ~]# ...
分类:
系统相关 时间:
2014-12-10 12:07:31
阅读次数:
204
Hi, I find GYP's bug when dealing with GYP_DEFINES env variables override.
I was having a successfully android build, and i wanted to enable profiler support, so i followed the
http://www.chromi...
分类:
其他好文 时间:
2014-12-10 10:50:08
阅读次数:
172
Mongoose allows you to easily select resources by ID from your MongoDB. This is an important aspect to creating an API.Server.js'use strict';var expre...
分类:
其他好文 时间:
2014-12-10 07:05:18
阅读次数:
253
1.Enable-Migrations (创建迁移目录:Migrations,如果有多个数据上下文可以用 -ContextTypeName 命令迁移对应的数据上下文 ) 2.Add-Migration (创建一个迁移文件) 3.update-database(启动迁移,生成数据库) 4.inst.....
分类:
其他好文 时间:
2014-12-09 15:12:58
阅读次数:
156
先写在这里吧,之后再改进~~ package mysql_conn;
use DBI;
use strict;
sub new{
my $class = shift();
print ("CLASS=$class\n");
my $self={};
$self->{"location"} = shift();
$self->{"db_name"} = shi...
分类:
数据库 时间:
2014-12-08 23:12:03
阅读次数:
540
1.变量声明作用域(function(){ var a = b = 5;})();alert(b); //5b默认是全局变量,没有显示的用window.b 引用,如果采用严格模式 'use strict'(function(){ 'use strict' var a = window...
分类:
其他好文 时间:
2014-12-08 13:42:20
阅读次数:
134
本文参考了一下资源和博客,在此提出表示感谢: http://my.oschina.net/u/209016/blog/290067 http://ubuntuhandbook.org/index.php/2014/10/enable-flash-chromium-browser-ubu...
分类:
系统相关 时间:
2014-12-07 13:44:29
阅读次数:
199
如果编写的判断式不满足strict weak ordering,就会出现Invalid operator< assertion error错误。网页:http://support.microsoft.com/kb/949171VS(其他编译器还没试过)中,sort函数要求比较函数是strict we...
分类:
其他好文 时间:
2014-12-06 20:13:54
阅读次数:
182