When you know that a certain condition will not change throughout the life of the program, it makes sense to test the condition only once. Browser sni...
分类:
编程语言 时间:
2014-06-18 22:35:12
阅读次数:
341
今天为了熟悉axiLite的自定义ip核设计, 把LED和SW的往AXI总线输入输出定义在一个ip核中, BD设计如下: ip核顶层文件(增加了LED_Out和SW_In的定义)mygpio_v1.0.v: module mygpio_v1_0 # ( // Users to add paramet...
分类:
其他好文 时间:
2014-06-18 17:36:35
阅读次数:
299
最近在网上查找了很多的ef5实现left join的方法,很遗憾没有找到满意的结果,经过自己的研究终于发现了点眉目,所以分享一下
EF5: var x = ef.SYS_MODULE.GroupJoin(ef.SYS_ROLEMODULES, m => m.MKID, n => n.MKID, (w, c) =>
new { A = c, v = w });
说明:上...
分类:
Web程序 时间:
2014-06-18 12:16:35
阅读次数:
283
Back to READMEGetting StartedThis page tells you how to install Native Client and run demos, both in and outside of the browser. On Linux and Mac OS X...
分类:
其他好文 时间:
2014-06-17 21:25:23
阅读次数:
418
贴一下代码,例子是从别人那里直接抄来的:-module(myudp).-export([start/0, client/1]).%% Serverstart() -> spawn(fun() -> server(4000) end). server(Port) -> {ok, So...
分类:
其他好文 时间:
2014-06-17 21:07:49
阅读次数:
225
2014-06-14 BaoXinjian一、摘要何谓Entity Object User’s Guide中有比较形象的描述:针对表、视图、快照封装商业规则、可用于多种客户端(不仅限于OA Framework),并包含所有的针对这些数据库对象的验证及行为。EO在Module中的地位:从图上可看出,E...
分类:
其他好文 时间:
2014-06-17 20:44:20
阅读次数:
277
我这里用到的nginx为最新版的nginx所以我使用了最新的插件nginx_upstream_check_module-master.zipcdnginx-1.7.1patch-p1</tmp/nginx_upstream_check_module-master/check_1.5.12+.patchnginx-V./configure--prefix=/usr/local/nginx--with-http_stub_status_module--with-h..
分类:
其他好文 时间:
2014-06-17 17:17:22
阅读次数:
337
今天按照《机器学习实战》学习k-邻近算法,输入KNN.classify0([0,0],group,labels,3)的时候总是报如下的错误:Traceback(mostrecentcalllast):File"<pyshell#75>",line1,in<module>KNN.classify0([0,0],group,labels,3)File"KNN.py",line16,inclassify0diffMat=til..
分类:
其他好文 时间:
2014-06-17 17:05:39
阅读次数:
235
两个与hal有关的结构体hw_module_t,hw_device_t一、jni和hal之间的关系Tip:几种app,jni,hal,framework之间的关系框架这篇文章用的框架是第二种框架的编写,他们的关系如下;可以看出jni主要通过pModule和pdevice来获取hal中的变量来操作hal层二、jni操作hal获取hal层:1、jni获..
分类:
移动开发 时间:
2014-06-16 15:17:59
阅读次数:
374
{{ message}} var app = angular.module('firstapp', []);创建了一个module实例,第一个参数为 module名字,第二个参数为依赖数组。app.factory('message', function(){ r...
分类:
Web程序 时间:
2014-06-15 14:23:00
阅读次数:
380