Spring AOP 用户可能会经常使用 execution切入点指示符。执行表达式的格式如下: execution(modifiers-pattern? ret-type-pattern declaring-type-pattern? name-pattern(param-pattern) thr...
分类:
编程语言 时间:
2014-11-25 17:48:08
阅读次数:
212
为了能让类的成员变量正确的被外接访问,我们需要设置set和get方法。[objc]view plaincopy@property(nonatomic,retain)NSString*test1;@property(nonatomic,copy)NSString*test2;成员变量的属性不同(ret...
分类:
移动开发 时间:
2014-11-25 15:59:57
阅读次数:
180
今天想在我的RedHat上装个CodeBlock,费了挺多时间的。装到要吃晚饭的时候终于成功了,于是决定写篇文章记录下我的安装过程。 因为安装过程非常“曲折”,所以这篇文章也记录了很多我试错的过程,很多步骤在后面看...
分类:
其他好文 时间:
2014-11-24 20:58:58
阅读次数:
431
红帽(Red Hat)在2004年发起NetworkManager项目,该项目的目的是让linux用户能名更容易的应对现在网络管理的需求,尤其是无线网络的管理。NetworkManager采取了一种取巧的方法,当某连接不可用或在无线网络上漫游,它会尝试选择目前可用的连接中最好的进行连接。它优先使用以太网类型的连接,然后使用“已知“的无线网络,最后才使用有SSID但用户未尝连接过的无线网络。当连接W...
分类:
Web程序 时间:
2014-11-24 12:00:07
阅读次数:
344
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.
For example,
Given:
s1 = "aabcc",
s2 = "dbbca",
When s3 = "aadbbcbcac", return true.
When s3 = "aadbbbaccc", ret...
分类:
其他好文 时间:
2014-11-24 10:16:50
阅读次数:
182
首先声明我是一个linux大菜鸟,之所以学这个,一个是好玩,另外做DL的一些软件如Caffe要在这个平台上运行,所以没事就鼓捣鼓捣。linux是一种内核,市场上支持这种内核的操作系统有ubantu,red hat,fedoracore等等。在这些linux发型版本中,ubantu绝对是佼佼者,那么....
class Solution { public: vector > ThreeSum(int a[], int n, int target) { vector > ret; for (int i = 0; i 0 && a[i] == a[i - 1]...
分类:
其他好文 时间:
2014-11-23 17:22:59
阅读次数:
232
首先看一下官方文档,里面有所有快捷键http://www.djcbsoftware.nl/code/mu/mu4e/MSGV-Keybindings.html#MSGV-Keybindings然后看一下如何打开附件M-Ret Ret就是Enter键如何保存呢?e 键即可。如何设置保存目录呢?;; save attachment to my desktop (this can also be a f...
分类:
其他好文 时间:
2014-11-23 13:13:10
阅读次数:
150
# 题目 Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", return true. When s3 = "aadbbbaccc", ret...
分类:
其他好文 时间:
2014-11-22 23:23:11
阅读次数:
404
php中jsonp输出时一般用下面的格式:callbackname('json string');如果中间的json string中含有单引号,这个输出就是有问题的,调用方一般是无法处理的,所以我们要对单引号进行转义。如果是用json_encode方式生成可以用下面的方式转义:$ret = json...
分类:
Web程序 时间:
2014-11-22 17:16:44
阅读次数:
183