码迷,mamicode.com
首页 >  
搜索关键字:custom    ( 2797个结果
Build a Custom Android Kernel Guide
1、package to install in ubuntu or Debian$ sudo apt-get install -ybuild-essential kernel-package libncurses5-dev bzip22、Prepare Kernel Source and excut...
分类:移动开发   时间:2014-08-27 16:20:00    阅读次数:207
安装rpm遇到cpio: Digest mismatch
[root@somesystem jvm]# fpm -s dir -t rpm -n "custom-java" -v "1.0.3" -a noarch --prefix=/usr/lib/jvm jdk1.6.0_31 jdk1.7.0_11 Created rpm {:path=>"custom-java-1.0.3-1.noarch.rpm"} [root@somesystem j...
分类:其他好文   时间:2014-08-27 14:54:09    阅读次数:5797
Android 自定义title
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(Res.layout(this, "layout_select")); //软件activity的布局 getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, Res.layout(this, "...
分类:移动开发   时间:2014-08-27 13:02:17    阅读次数:235
C# 特性详解(转)
特性(attribute)是被指定给某一声明的一则附加的声明性信息。在C#中,有一个小的预定义特性集合。在学习如何建立我们自己的定制特性(custom attributes)之前,我们先来看看在我们的代码中如何使用预定义特性。using System;public class AnyClass{ ....
分类:其他好文   时间:2014-08-26 19:00:26    阅读次数:220
坑爹的RMI Socket Facotry
因为产品安全的需求,需要将之前老代码的RMI服务端口绑定到127.0.0.1。解决办法是通过Spring导出服务时设置自己的RMISocketFactory。在验证代码时发现自己实现的RMISocketFactory在有大量RMI请求时,会将造成系统的资源泄漏,导致请求时无法创建本地线程。通过jconsole一看,原..
分类:其他好文   时间:2014-08-24 10:22:53    阅读次数:218
【Struts2系列】Struts2 国际化资源文件的机制原理
【Struts2国际化资源文件定义的3种范围方法】1)全局的国际化资源文件,对所有的Action和View都有效定义方式:在struts.xml中增加全局资源文件定路径定义:<constantname="struts.custom.i18n.resources"value="globalMessage"></constant>对应的资源文件为classpa..
分类:其他好文   时间:2014-08-23 02:27:10    阅读次数:204
在ios项目中使用自定义字体
Custom fonts can make all the difference in the world when you’re trying to convey a specific user experience. Luckily, it’s pretty easy to add your own fonts in your iOS app but there are some ...
分类:移动开发   时间:2014-08-22 16:33:29    阅读次数:395
[Enterprise Library for .NET Framework 2.0]Custom Trace Listener例子演示
1.打开配置文件 2.移除不需要的Block,并添加Log Block 3.添加“Custom Trace Listener” 4.定义Attributes 5.添加定义类库“CustomTraceListenerExtensions” 6.编写代码,如下: using System; using ...
分类:Web程序   时间:2014-08-22 12:24:26    阅读次数:349
Quartz 各种绘制图形用法---实现画图片、写文字、画线、椭圆、矩形、棱形等
// Only override drawRect: if you perform custom drawing.// An empty implementation adversely affects performance during animation.- (void)drawRect:(C...
分类:其他好文   时间:2014-08-21 22:36:55    阅读次数:316
[Enterprise Library for .NET Framework 2.0]自定义日志路径或日志文件名称
有时候,日志输出的时候会根据时间来分类,譬如“20140821\trace.log”,在Enterprise Library中通过工具配置,只能定义日志文件名称,可以通过代码修改FlatFileTraceListenerData实现或Custom Trace Listener方式, 通过代码修改Fl...
分类:Web程序   时间:2014-08-21 18:48:24    阅读次数:376
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!