码迷,mamicode.com
首页 > 其他好文
NSString / NSData / char* 类型之间的转换
NSString / NSData / char* 类型之间的转换转自:http://www.cnblogs.com/pengyingh/articles/2341880.html1. NSString转化为UNICODE String:(NSString*)fname = @“Test”;char...
分类:其他好文   时间:2014-12-22 12:43:02    阅读次数:175
HP服务器收集磁盘日志
系统下安装如下ACU工具按照下面命令来收集 HP Array Configuration Utility CLI for Linux 64-bit http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetai...
分类:其他好文   时间:2014-12-22 12:41:23    阅读次数:1822
【LeetCode】Majority Element
Majority ElementGiven an array of sizen, find the majority element. The majority element is the element that appears more than? n/2 ?times.You may ass...
分类:其他好文   时间:2014-12-22 12:42:30    阅读次数:152
1.1 合用weightSum属性和layout_weight属性
《打造高质量Android应用:Android开发必知的50个诀窍》第1章活用布局,本章将介绍Android布局相关的一些窍门和建议。通过本章,读者不仅可以学习如何从零开始创建特定类型的布局,还可以学到如何改进和优化现有布局。本节为大家介绍合用weightSum属性和layout_weight属性。...
分类:其他好文   时间:2014-12-22 12:41:19    阅读次数:169
Andriod学习之SharedPreferences
介绍了Andriod开发中SharedPreferences存储方式的基本使用。
分类:其他好文   时间:2014-12-22 12:39:08    阅读次数:220
Singleton
单态定义:Singleton模式主要作用是保证在Java应用程序中,一个类Class只有一个实例存在。 在很多操作中,比如建立目录 数据库连接都需要这样的单线程操作。还有, singleton能够被状态化; 这样,多个单态类在一起就可以作为一个状态仓库一样向外提供服务,比如,你要论坛中的帖子计数器,...
分类:其他好文   时间:2014-12-22 12:41:59    阅读次数:145
获取电池用电情况
以下摘自:http://blong.com/Articles/DelphiXE6AndroidActivityResult/ActivityResult.htmunitShowBatteryUsageActivity;interfaceprocedureShowBatteryUsage;implem...
分类:其他好文   时间:2014-12-22 12:40:58    阅读次数:136
微软职位内部推荐-Software Engineer II-Search
微软近期Open的职位:Do you want to work on a fast-cycle, high visibility, hardcore search team with ambitious goals? Internet search is one of the highest imp...
分类:其他好文   时间:2014-12-22 12:39:16    阅读次数:164
hadoop datanode 启动出错
FATAL org.apache.hadoop.hdfs.server.datanode.DataNode: Initialization failed for block pool Block pool BP-336454126-127.0.0.1-1419216478581 (storage i...
分类:其他好文   时间:2014-12-22 12:38:22    阅读次数:183
2014年12程序设计竞赛A题Team
input:输入一个整数你(nint cont[100000][100000]={0};//记录队员之间的关系//cont[i][j]如果为1,表示i,j是好盆友;为1表示i,j不是好盆友int teamN,opN;//队员人数,操作次数void D(int x,int y){ cont[x]...
分类:其他好文   时间:2014-12-22 12:36:54    阅读次数:169
20141219
6.android学习网站:http://wear.techbrood.com/index.htmlhttp://stackoverflow.com/7.Android 系统属性SystemProperty分析http://www.cnblogs.com/bastard/archive/2012/1...
分类:其他好文   时间:2014-12-22 12:39:12    阅读次数:172
CHANGE USER WHEN I CONNECT TO TEAM FOUNDATION SERVER
Question:I USE TEAM EXPLORER TO CONECT TO TEAM FOUNDATION SERVER 2010,BUT I DO NOT LOGIN OUT, AND CONNECT WITH OTHER LOGIN,when I use team foundation ...
分类:其他好文   时间:2014-12-22 12:38:51    阅读次数:184
抽象工厂
先来理解一下抽象类这个概念吧,声明方法的存在而不去实现它的类被叫做抽像类(abstract class),它用于要创建一个体现某些基本行为的类,并为该类声明方法,但不能在该类中实现该类的情况。不能创建abstract 类的实例。然而可以创建一个变量,其类型是一个抽像类,并让它指向具体子类的一个实例。...
分类:其他好文   时间:2014-12-22 12:36:29    阅读次数:216
label 标签的用法,点label选中单选、复选框或文本框
拥有的权限 添加权限单击lable 标签 checkbox 也被选中, 只要两个id 一直就可以
分类:其他好文   时间:2014-12-22 12:36:30    阅读次数:225
[转载]建立时间和保持时间
http://referencedesigner.com/tutorials/si/si_02.phpThe Concept of Setup and Hold Time can be best understood with the picture shown below.The curve sh...
分类:其他好文   时间:2014-12-22 12:37:15    阅读次数:193
一台电脑同时配置2个tomcat
1.使用压缩版的tomcat不能使用安装版的。 2.第一个tomcat的配置不变。 3.增加环境变量CATALINA_HOME2,值为新的tomcat的地址;增加环境变量CATALINA_BASE2,值为新的tomcat的地址。 4.修改新的tomcat中的startup.bat,把其中的CATAL...
分类:其他好文   时间:2014-12-22 12:35:15    阅读次数:189
Initialize the Storage Emulator by Using the Command-Line Tool
http://msdn.microsoft.com/en-us/library/azure/gg433132.aspxTo initialize the storage emulatorClick theStartbutton or press theWindowskey. Begin typing...
分类:其他好文   时间:2014-12-22 12:36:22    阅读次数:132
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!