This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:context="http://www.springframework.org/schema/context" | |
xmlns:p="http://www.springframework.org/schema/p" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd | |
http://www.springframework.org/schema/context | |
http://www.springframework.org/schema/context/spring-context-3.1.xsd"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*JS自带函数 | |
concat | |
将两个或多个字符的文本组合起来,返回一个新的字符串。 | |
var a = "hello"; | |
var b = ",world"; | |
var c = a.concat(b); | |
alert(c); | |
//c = "hello,world" | |
indexOf | |
返回字符串中一个子串第一处出现的索引(从左到右搜索)。如果没有匹配项,返回 -1 。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.blogjava.net/killme2008/archive/2012/04/17/374936.html | |
我发现很多人没办法高效地解决问题的关键原因是不熟悉工具,不熟悉工具也还罢了,甚至还不知道怎么去找工具,这个问题就大条了。我想列下我能想到的一个Java程序员会用到的常用工具。 | |
一、编码工具 | |
1.IDE:Eclipse或者IDEA,熟悉尽可能多的快捷键,《Eclipse常见快捷键列表》 | |
2.插件: | |
(1) Findbugs,在release之前进行一次静态代码检查是必须的 | |
(2) Clover,关心你的单元测试覆盖率 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [Dictionary,output] = KSVD(... | |
Data,... % an nXN matrix that contins N signals (Y), each of dimension n. | |
param) | |
% ========================================================================= | |
% K-SVD algorithm | |
% ========================================================================= | |
% The K-SVD algorithm finds a dictionary for linear representation of | |
% signals. Given a set of signals, it searches for the best dictionary that | |
% can sparsely represent each signal. Detailed discussion on the algorithm | |
% and possible applications can be found in "The K-SVD: An Algorithm for |