当我们所写的程序里没用用Nib文件(XIB)时,而是用代码来生成控件对像时是要调用initWithFrame去初始化- (id)initWithFrame:(CGRect)frame{ if(self=[superinitWithFrame:frame]) { // 初始化代码 } retur...
分类:
其他好文 时间:
2015-09-08 10:47:34
阅读次数:
136
想知道你現在所使用的Oracle版本是多少嗎?? 執行以下的SQL語法就行啦!!(擇一)select * from v$version;select * from product_component_version;参考:http://taichitech.blogspot.hk/2007/11/o...
分类:
数据库 时间:
2015-09-08 10:47:01
阅读次数:
196
对下面代码的一些细节,解释下为什么那么做。 1.? char?buf[sizeof(int)?*?8?+?1]?=?""; 这个buf的作用是缓存中间结果,长度没有写死。好处是不同的平台上这段代码都可以执行。 2. if?(base?<?2?||?...
分类:
编程语言 时间:
2015-09-08 09:47:24
阅读次数:
190
/*
定义一个类Demo,其中定义一个求两个数据和的方法,
定义一个测试了Test,进行测试。
变量什么时候定义为成员变量:
如果这个变量是用来描述这个类的信息的,那么,该变量就应该定义为成员变量。
变量到底定...
分类:
其他好文 时间:
2015-09-08 09:45:07
阅读次数:
161
Android:gravity??设置的是控件自身上面内容的位置; Android:layout_gravity??设置的是控件本身与父类控件的位置。
分类:
移动开发 时间:
2015-09-08 09:45:06
阅读次数:
166
android SDK更新资源 转载,用以备份,方便自己查找。再一次感谢原文作者。??原文:http://www.apkbus.com/android-174440-1-1.html 一、Android SDK (Android SDK主安装包,包含SDK Manager、AVD Manager、工具...
分类:
移动开发 时间:
2015-09-08 09:45:23
阅读次数:
334
序 话说今年微软是很给力的,Win10算是吸引了大众的眼球了,而最新的.NET5框架更是OK。 最新的.NET5进行了开源,同时利用NuGet以及Node和Bower进行了跨平台化;这意味这可以直接在Mac或者Linux上使用.NET进行开发...
分类:
Web程序 时间:
2015-09-08 09:45:27
阅读次数:
278
2015年,当马云成为世界首富的时候,你一定会问,互联网为什么会有这么大的动力,可以挣那么多钱?互联网简直就是摇钱树。 互联网除过能赚钱之外,它背后是怎样运行的,你知道吗?现在每个公司几乎都有自己的网站...
分类:
其他好文 时间:
2015-09-08 09:44:11
阅读次数:
158
RunLoop 是 iOS 和 OSX 开发中非常基础的一个概念,这篇文章将从 CFRunLoop 的源码入手,介绍 RunLoop 的概念以及底层实现原理。之后会介绍一下在 iOS 中,苹果是如何利用 RunLoop 实现自动释放池、延迟回调、触摸...
分类:
其他好文 时间:
2015-09-08 09:42:59
阅读次数:
207
这是一篇读书笔记,快速记录各种高效率编程的技巧和方法。这些方法是为了提升编码质量和效率,高质量代码利于后期的维护和更新,毕竟不能一份代码到永远。 由于是记录形式,当然不能把整篇内容都写下来,只记录关...
分类:
移动开发 时间:
2015-09-08 09:43:06
阅读次数:
200
set JAVA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port="9004" -Dcom.sun.management.jmxremote.authenticate="false" -Dcom.sun.management.jmxremote.ssl="false" 9004为远程端口...
分类:
其他好文 时间:
2015-09-08 09:44:21
阅读次数:
159
3、? Canny算法的实现流程 ?? ? ? 由于本文主要目的在于学习和实现算法,而对于图像读取、视频获取等内容不进行阐述。因此选用OpenCV算法库作为其他功能的实现途径(关于OpenCV的使用,作者将另文表述)。首...
分类:
编程语言 时间:
2015-09-08 09:44:50
阅读次数:
322
在android开发过程中,有时会在不同情况下遇到同种问题: [java]?view plaincopy java.lang.IllegalStateException?The?specified?child?already?has?a?parent.?You?must?call?removeView()?on?the...
分类:
其他好文 时间:
2015-09-08 09:43:55
阅读次数:
160
?Great Software Is Not Built, It Is GrownBill de hÓraAS An ARCHiTECT, you are tasked with providing the initial structure and arrangement of software systems that will grow and change over time, will h...
分类:
其他好文 时间:
2015-09-08 09:42:30
阅读次数:
164
?For the End User, the Interface Is the SystemVinayak Hegde
THERE ARE Too MAny good pRoduCTS hidden behind bad user-interfaces. The end user will access the system through its user interface. If the q...
分类:
其他好文 时间:
2015-09-08 09:43:43
阅读次数:
160
?The Importance of ConsomméEben Hewitt
A ConSoMMé iS An ExTREMEly ClARiFiEd BRoTH, usually made with beef or veal, served as a delicate soup. A well-made consommé is perfectly clear. It is considered...
分类:
其他好文 时间:
2015-09-08 09:41:01
阅读次数:
154
?The User Acceptance ProblemNorman CarnovalepEoplE AREn’T AlWAyS HAppy about new systems or major upgrades. This can pose a threat to the successful completion of a project.
It’s not uncommon for peop...
分类:
其他好文 时间:
2015-09-08 09:41:31
阅读次数:
125