core data在给我们带来方便的同时,也给我们带来一个小小的困扰,就是如何实时获取调试信息,并打印? 答案很简单,只要我们在xcode中做一个小小的设置。 1. 在 Xcode, 在 Product menu 下 选中 Edit Scheme. 2. ...
分类:
其他好文 时间:
2014-07-22 22:38:12
阅读次数:
207
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他好文 时间:
2014-07-22 22:37:33
阅读次数:
191
这里的{1}表示接收前面action里通过通配符传来的值,例如你配置的是<action?name="*Crud"?class="example.Crud"?method="{1}">?,然后调用***/editCrud.action,则method里获得的值是edit,将会调用这个actio...
分类:
其他好文 时间:
2014-07-22 22:32:54
阅读次数:
220
BeanFactory.java的代码package com.itAOP;import java.io.IOException;import java.io.InputStream;import java.util.Properties;/* * 整体的工作原理是这样的: * 工厂类BeanFact...
分类:
编程语言 时间:
2014-07-22 22:32:34
阅读次数:
270
Wavio Sequence
Wavio is a sequence of integers. It has some interesting properties.
· Wavio is of odd length i.e. L = 2*n + 1.
· The first (n+1) integers of Wavio sequence makes a strictly i...
分类:
其他好文 时间:
2014-07-22 14:36:14
阅读次数:
248
题目:Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorte....
分类:
编程语言 时间:
2014-07-22 00:35:34
阅读次数:
290
切换到 root 账号升级和更新整个系统:$ sudo -i# apt-get update# apt-get upgrade安装 Node.js 运行环境:# apt-get install g++ make python python-software-properties# add-apt-r...
分类:
Web程序 时间:
2014-07-22 00:14:37
阅读次数:
212
Log4j 2.0在最近迎来了重大的版本升级。解决了1.x中死锁bug之外,性能也有10倍的提升。
同样的在最新版本中的新特性中。配置文件也不仅仅局限于xml和java特性文件properties。更是支持json和yaml的配置文件。
日志的使用在我们日常开发中经常用到。也有很多的高手遇到过日志死锁问题。在2.0中引入了异步日志处理。死锁问题得以解决。
好吧,介绍了这么多,进入它的hell...
分类:
其他好文 时间:
2014-07-21 15:36:05
阅读次数:
239
TannerToolsv16Win641CD集成电路设计环境TannerToolsPro是一套以布局为主的软体(L-Edit,L-Edit/DRC,L-Edit/Extract),配合电路图的绘图输入软体(S-Edit)与电路层次的模拟软体(T-Spice),构成了一套IC设计系统。TannerToolsPro工具,它可提供完整的集成电路设计环境,帮助初学者..
5. 配置源数据库服务器(dbsid2)传输进程extract
(1)添加名字为source1的进程
GGSCI (host2) 19> add extract source1,sourceistable
EXTRACT added.
(3) 修改source1参数
GGSCI (host2) 20> edit params source1
添加如下,并且保存
extract source1
setenv (NLS_LANG=AMERICAN_AMERICA.A...
分类:
数据库 时间:
2014-07-20 15:23:51
阅读次数:
345