记录学习javascript代码风格 引用文章:
https://github.com/adamlu/javascript-style-guide
https://github.com/airbnb/javascript 1. 使用字面值创建对象 var ite = {};2. 不要使用保留字作为键...
分类:
Web开发 时间:
2014-02-26 13:49:04
收藏:
0 评论:
0 赞:
0 阅读:
354
1.EF中Include方法的使用使用Include方法,告诉EF连接查询哪个外键属性,生成Inner
join连接IQueryable addrs = db.UserAddresses.Include("User");foreach(UsersAddress
add in address){ Co...
分类:
其他 时间:
2014-02-26 13:48:09
收藏:
0 评论:
0 赞:
0 阅读:
307
一、知识点题目:JDBC核心API的使用关键字:JDBC核心API内容:1)加载JDBC驱动:Oracle:Class.forName(“oracle.jdbc.driver.OracleDriver”);MYSQL:Class.forName(“com.mysql.jdbc.Driver”);2)...
分类:
数据库技术 时间:
2014-02-26 13:47:17
收藏:
0 评论:
0 赞:
0 阅读:
427
1、后置通知需求:调用相应业务方法后,完成资源的关闭。a、 在beans.xml中配置 1 ....
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 com.huawei.aop.Test1ServiceInter20
com.huawei.aop.Tes...
分类:
其他 时间:
2014-02-26 13:46:26
收藏:
0 评论:
0 赞:
0 阅读:
271
【Core Graphics Layer Drawing】CGLayer objects
(CGLayerRef data type) allow your application to use layers for drawing.Layers
are suited for the followi...
分类:
Windows开发 时间:
2014-02-26 13:45:32
收藏:
0 评论:
0 赞:
0 阅读:
433
如下面例子所示, 委托
anonDel得到一个匿名委托(即,方法体);匿名方法是用作委托的参数的一段代码Func anonDel = delegate(string param){
param += "hello"; return param; }lambda表达式书写方式Func anonDel ...
分类:
其他 时间:
2014-02-26 13:43:46
收藏:
0 评论:
0 赞:
0 阅读:
175
jQuery domReady
分类:
Web开发 时间:
2014-02-26 13:44:40
收藏:
0 评论:
0 赞:
0 阅读:
313
linux 首先有两个重量级的文本编辑器:vim 和 emacs 此外有如下三种比较好的开放环境:
1.Anjuta Anjuta DevStudio 的官方地址:http://anjuta.sourceforge.net/ 2.Code:: Blocks
Code:: Blocks 的官方地址:h...
分类:
其他 时间:
2014-02-26 13:42:54
收藏:
0 评论:
0 赞:
0 阅读:
304
Q:innodb log
file与binlog的区别在哪里?有人说1。mysql的innodb引擎实际上是包装了inno base存储引擎。而innodb log file是由
inno base自身带来。 而mysql自身因为还有myisam等存储引擎,需要设置自己的日志文件来用于所有的存储引擎...
分类:
数据库技术 时间:
2014-02-26 13:41:54
收藏:
0 评论:
0 赞:
0 阅读:
374
xml代码:java代码:myAuto=(AutoCompleteTextView)findViewById(R.id.myAuto);
//注意这里获取资源的方法 String[] cities=getResources().getStringArray(R.array.cities);
//第二...
分类:
移动平台 时间:
2014-02-26 13:40:59
收藏:
0 评论:
0 赞:
0 阅读:
346
cgi 在2000年或更早的时候用得比较多,
以前web服务器一般只处理静态的请求,如果碰到一个动态请求怎么办呢?web服务器会根据这次请求的内容,然后会fork一个新进程来运行外部c程序
(或perl脚本...), 这个进程会把处理完的数据返回给web服务器,最后web服务器把内容发送给用户,刚才...
分类:
其他 时间:
2014-02-26 13:40:08
收藏:
0 评论:
0 赞:
0 阅读:
231
win7创建 VirtualBox COM 对象失败。 应用程序现在将终止。 Callee
RC: E_NOINTERFACE
(0x80004002)启动VirtualBox提示这个错误,网上有人说删除VirtualBox.xml重启VirtualBox就可以了,可是我在我的系统(Windows
...
分类:
Windows开发 时间:
2014-02-26 13:39:17
收藏:
0 评论:
0 赞:
1 阅读:
2546
A 直接线段树过的 两遍 貌似大多是标记过的。。注意long long 1 #include
2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8
#define LL long long 9 ...
分类:
其他 时间:
2014-02-26 13:38:23
收藏:
0 评论:
0 赞:
0 阅读:
287
首先,vector是序列式容器而set是关联式容器。set包含0个或多个不重复不排序的元素。也就是说set能够保证它里面所有的元素都是不重复的。另外对set容器进行插入时可以指定插入位置或者不指定插入位置。如insert(v.begin(),1),也可以直接用insert(1)。还有一点是set对一...
分类:
其他 时间:
2014-02-26 13:37:30
收藏:
0 评论:
0 赞:
0 阅读:
332
mysql问题之:the security settings could not be
applied to转自:http://www.myexception.cn/mysql/503556.html在安装mysql时,出现“The
security settings could not be ap...
分类:
移动平台 时间:
2014-02-26 13:36:37
收藏:
0 评论:
0 赞:
0 阅读:
653
【网络金融部团队及负责人,太平洋证券股份有限公司】前程无忧官方招聘网站网络金融部团队及负责人
分类:
Web开发 时间:
2014-02-26 13:35:44
收藏:
0 评论:
0 赞:
0 阅读:
469
SQL Server
2008默认是不允许远程连接的,sa帐户默认禁用的,如果想要在本地用SSMS连接远程服务器上的SQL Server 2008,需要做两个部分的配置:1,SQL
Server Management Studio Express(简写SSMS)2,SQL Server 配置管理器/...
分类:
数据库技术 时间:
2014-02-26 13:33:53
收藏:
0 评论:
0 赞:
0 阅读:
352
SuperSaleThere is a SuperSale in a
SuperHiperMarket. Every person can take only one object of each kind, i.e. one
TV, one carrot, but for extra low pr...
分类:
其他 时间:
2014-02-26 13:31:12
收藏:
0 评论:
0 赞:
0 阅读:
303
obj.currentStyle ? obj.currentStyle[attr] :
getComputedStyle(obj)[attr]; =>currentStyle为IEvar scroll =
document.documentElement.scrollTop || document....
分类:
Web开发 时间:
2014-02-26 13:32:59
收藏:
0 评论:
0 赞:
0 阅读:
375
摘要:本文列出几个基本的STL map和STL
set的问题,通过解答这些问题讲解了STL关联容器内部的数据结构,最后提出了关于UNIX/LINUX自带平衡二叉树库函数和map,
set选择问题,并分析了map, set的优势之处。对于希望深入学习STL和希望了解STL map等关联容器底层数据结构...
分类:
其他 时间:
2014-02-26 13:30:18
收藏:
0 评论:
0 赞:
0 阅读:
275