原题地址:https://oj.leetcode.com/problems/search-a-2d-matrix/题意:Write
an efficient algorithm that searches for a value in anmxnmatrix. This matrix has
the...
分类:
编程语言 时间:
2014-06-29 07:56:13
阅读次数:
321
默认情况下,对象属性是strong的,标量属性是assign的。但是有一个例外,就是对于具有可变副本的属性,我们倾向于将其声明为copy。比如说@interface
Person : NSObject@property (nonatomic,copy) NSString* name; @proper...
分类:
其他好文 时间:
2014-06-29 07:54:44
阅读次数:
444
1. use this persistence.xml - simply copy it
into src/main/resources/META-INF org.hibernate.ejb.HibernatePersistence
jdbc/jbpm-ds ...
分类:
其他好文 时间:
2014-06-29 07:40:54
阅读次数:
1021
这篇文章几乎是对Push SSH public keys to multiple
host的翻译,谢谢该作者。使用SSH登陆、执行命令到远程机器需要输入密码,很多系统需要免输密码访问远程机器,比如hadoop主节点访问子节点时,这时可以使用ssh-copy-id命令将公钥拷贝到远程机器上,比如:
s...
分类:
其他好文 时间:
2014-06-07 10:42:57
阅读次数:
208
window系统hosts文件地址C:\WINDOWS\system32\drivers\etc。将下面的内容copy到host文件中就可以了。#Google
Services START203.208.46.200 0.docs.google.com203.208.46.200 0.driv...
分类:
Web程序 时间:
2014-06-07 09:39:07
阅读次数:
241
原题地址:https://oj.leetcode.com/problems/sudoku-solver/题意:Write
a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are
indicated b...
分类:
编程语言 时间:
2014-06-07 09:30:06
阅读次数:
342
Sublime Text 2 一些设置January 10th, 2013731viewsPosted
in软件Write comment个人的关于Sublime Text
2的一些设置和插件。关于安装:程序主页:https://sublimetext.com/Windows7/8下安装版的配置文件...
分类:
编程语言 时间:
2014-06-05 21:30:48
阅读次数:
452
1.找到app文件的位置 1.1.teminal(终端)相当于windows中的命令行,
Finder->应用程序->实用工具->终端 1.2.在Mac机上显示隐藏文件,
在终端中用如下命令显示和隐藏"隐藏文件"显示:defaults write com.apple.finder AppleShow...
分类:
其他好文 时间:
2014-06-05 19:00:18
阅读次数:
265
使用终端显示隐藏文件的最简单方法是使用终端。只要打开终端(位于应用程序——实用工具),将以下代码复制进去然后回车defaults write
com.apple.finder AppleShowAllFiles -bool YESFinder需要重启才能应用修改,在终端中接着输入killall
Fi...
分类:
其他好文 时间:
2014-06-05 18:16:21
阅读次数:
286