1Spring事务传播行为 所谓事务传播行为就是多个事务方法相互调用时,事务如何在这些方法间传播。Spring支持7种事务传播行为 PROPAGATION_REQUIRED 如果当前没有事务,就新建一个事务,如果已经存在一个事务中,加...
分类:
编程语言 时间:
2014-08-23 17:50:51
阅读次数:
297
l 故障现象:在使用SSH工具远程登录服务器时,出现登陆提示符很久才出现的情况。l 问题查找:可以在ssh命令后面加上“-v“ 参数,输出debug信息定位问题。通常你会看到类似这样的信息:debug1: Next authentication method: gssapi-with-micdebu...
分类:
其他好文 时间:
2014-08-23 17:43:01
阅读次数:
235
https://oj.leetcode.com/problems/edit-distance/Edit DistanceGiven two wordsword1andword2, find the minimum number of steps required to convertword1tow...
分类:
编程语言 时间:
2014-08-23 09:56:50
阅读次数:
213
在网络上可以找到多种指令之间的通讯· $on,$emit,$boardcast (向上或向下冒泡)· 指令return的required (^)向上一个scope通讯,前提要先给scope一个name· 建立一个factory,让需要通讯的指令依赖注入factory服务以上都可以解决通讯问题,但是在...
分类:
其他好文 时间:
2014-08-23 00:57:49
阅读次数:
317
暴力攻击(Brute-force attack)是通过几乎所有可能的字符组合尝试破解密码,或者使用一个字典表,包含几乎所有可能的密码来实现密码破解的方法。如果你的密码很简单,那么很快就会被破解。所以,测试密码是非常重要的。...
分类:
其他好文 时间:
2014-08-22 16:29:39
阅读次数:
221
ERROR: no read quorum in group: required 2, found 0 disksERROR: Could not heartbeat PST for grp 5. Force dismounting the disk group.ERROR: no read quo...
分类:
其他好文 时间:
2014-08-22 12:21:56
阅读次数:
267
leetcode的题目Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You h...
分类:
其他好文 时间:
2014-08-21 22:29:54
阅读次数:
279
把写好的sql脚本,并在mssqlmanager里面编译成功的存储过程脚本复制到vs项目下,出现错误信息如下:SQL71006: Only one statement is allowed per batch. A batch separator, such as 'GO', might be re...
分类:
数据库 时间:
2014-08-21 11:12:33
阅读次数:
1281
登录帐号是定义在服务器(实例)级别,并能被授予进行管理任务、连接、访问数据库等权限的帐号。SQL Server安全模型有两个级别:服务器级别和数据库级别。登录帐号必须先创建在服务器级别。如果需要访问数据库,还需要在数据库级别创建一个用户映射到已有的登录名中。...
分类:
其他好文 时间:
2014-08-20 16:31:22
阅读次数:
279
DescriptionGiven a matrix, the elements of which are all integer number from 0 to 50, you are required to evaluate the square sum of its specified sub...
分类:
其他好文 时间:
2014-08-20 14:03:22
阅读次数:
248