码迷,mamicode.com
首页 >  
搜索关键字:sample    ( 5142个结果
关于iphone6/5/4s 在iOS8.0系统下 只读@3x图片
've tried in a sample project to use standard, @2x and @3x images, and the iPhone 6+ simulator uses the @3x image. So it would seem that there are @3x images to be done (if the simulator actually replicates the device's behavior). But the strange thing is ...
分类:移动开发   时间:2014-11-19 01:53:31    阅读次数:194
zookeeper搭建
1、解压tar -zxf zookeeper-3.4.6.tar.gz2、修改配置文件[root@cluster3 hadoop]# cd zookeeper-3.4.6/conf/[root@cluster3 conf]# cp zoo_sample.cfg zoo.cfg[root@cluste...
分类:其他好文   时间:2014-11-17 10:40:22    阅读次数:166
ZOJ 3700 Ever Dream(模拟)
Ever Dream Time Limit: 2 Seconds      Memory Limit: 65536 KB ? "Ever Dream" played by Nightwish is my favorite metal music. The lyric (see Sample Input) of this song is much more like a poem. E...
分类:其他好文   时间:2014-11-16 21:47:32    阅读次数:344
微信消息体加密php版
使用wx_sample.php和加密的demo.php拼接而成,微信官方的wiki写的比较烂,难以理解,demo也不是很好,类中使用了空参数过程中赋值,初学者难以理解,不如直接得到加密解密方便。另外逻辑上也先写加密后解密,也和微信处理流程相反,造成理解困难。 <?php /** * wechat php test */ //define your token define("TOKEN...
分类:微信   时间:2014-11-15 17:10:13    阅读次数:347
android 硬件解码学习
FileInputStream in = new FileInputStream("/sdcard/sample.ts");String mimeType = "video/avc";MediaCodec decoder = MediaCodec.createDecoderByType(mimeTy...
分类:移动开发   时间:2014-11-15 11:16:36    阅读次数:151
BZOJ 1303: [CQOI2009]中位数图 【水题】
给出1~n的一个排列,统计该排列有多少个长度为奇数的连续子序列的中位数是b。中位数是指把所有元素从小到大排列后,位于中间的数。Input第一行为两个正整数n和b ,第二行为1~n 的排列。Output输出一个整数,即中位数为b的连续子序列个数。Sample Input7 45 7 2 4 3 1 6...
分类:其他好文   时间:2014-11-14 17:33:12    阅读次数:245
R 语言学习日志 1
1. CSV文件的的读取与写出2. 数据集筛选3. 简单随机抽样 sample函数正文:1. CSV文件的的读取与写出文件读取: df2 newdata newdata manager date country gender age q1 q2 q3 q4 q51 1 2014/10/27 US.....
分类:编程语言   时间:2014-11-14 00:00:59    阅读次数:497
classloader.getresources() 介绍
◆普通情况下,我们都使用相对路径来获取资源,这种灵活性比較大.比方当前类为com/bbebfe/Test.class而图像资源比方sample.gif应该放置在com/bbebfe/sample.gif而假设这些图像资源放置在icons文件夹下,则应该是com/bbebfe/icons/sample...
分类:其他好文   时间:2014-11-13 20:43:55    阅读次数:841
nfs实验文档
有些小伙伴不会搭建yum源,从yum开始;其实只要是文件共享就可以作为yum源(nfs,http,ftp,sample(sample我没试过,但应该也行),本地文件);我们使用最简单的本地的yum源来作为讲解;第一步:挂载光盘;Mount/dev/sr0/mnt然后配置yum文件;cd/mnt/*******(其中这个文件很重..
分类:其他好文   时间:2014-11-13 16:50:56    阅读次数:188
bzoj3393 [Usaco2009 Jan]Laserphones 激光通讯
DescriptionInput第1行输入w和H,之后W行H列输入地图,图上符号意义如题目描述.Output最少的对角镜数量.Sample Input7 8............. C......******.*....*......*...C ..*.........Sample Output3...
分类:其他好文   时间:2014-11-12 22:47:17    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!