转至http://blog.csdn.net/think_soft/article/details/7998478使用Camera功能大多数的Camera功能都是使用Camera.Parameters对象来激活和控制的。首先要通过Camera对象实例的getParameters()方法,来获取这个对...
分类:
其他好文 时间:
2014-12-02 17:04:26
阅读次数:
307
This is a known issue, you can find more in internet.
Excel will treat text(can display with number) more than 11 numbers, it will convert to scientif...
分类:
其他好文 时间:
2014-12-02 17:03:48
阅读次数:
196
效果图:代码:- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. UIView *view=[[UIView alloc]initWithF...
分类:
其他好文 时间:
2014-12-02 17:02:58
阅读次数:
144
1 #!/bin/bash 2 #2014/11/25 pdd 3 4 /data/tomcat-ftp/bin/shutdown.sh>/dev/null 2>&1 5 6 sleep 10 7 8 if ps aux | grep -v grep | grep -q tomcat-ft...
分类:
其他好文 时间:
2014-12-02 17:03:48
阅读次数:
145
1.安装之前确认你已经安装好了mysql 2.连接mysql创建数据库 mysql -u root –pCREATE DATABASE redmine CHARACTER SET utf8;
CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_pa...
分类:
其他好文 时间:
2014-12-02 17:05:02
阅读次数:
204
网上问的问题,大多会提到替换了Fragment而发现之前被替换的仍旧显示在那里。我个人使用android 2.3 +support 开发包,在2.3系统上也出现类似问题。搜了下网上的问题,好像都没有找到解决方法。之后自己摸索。最后发现其实,对于Fragment的替换 JAVA代码基本上没啥,网上都是...
分类:
其他好文 时间:
2014-12-02 17:02:30
阅读次数:
181
电子技术·笔记6(2013-05\06)1、MC9SXS128单片机IO中,PORTE端口的最低两位只能为输入口,所以PORTE端口的数据寄存器最低两位是只读位;PORTJ端口是一个特例,只能对其最低两位和最高两位进行有效操作。两路PIT同时使用时,在中断函数里清中断标志位一定要使用如PITTF=0...
分类:
其他好文 时间:
2014-12-02 17:02:23
阅读次数:
104
1.如果让本页转向新的页面则用: 2.如果需要打开一个新的页面进行转向,则用:
分类:
其他好文 时间:
2014-12-02 17:03:02
阅读次数:
154
现在的界面是越做越长了,不知道你们会有什么绝招来对付这么长的界面,我还是利用listview或者GridView来结合Scrollview来合成。然后,问题来了,如果试这么开始的,总会有滑动冲突的现象产生。那么,该何去何从呢,我也是见别人的参考做的。记下来,今后肯定用的多。package com.....
分类:
其他好文 时间:
2014-12-02 17:03:09
阅读次数:
124
1. [代码]前台repeate中绑定用户控件此乃用户控件~~放在了repeater的ItemTemplate中~2. [代码]后台获取 foreach (RepeaterItem item in repeater的ID.Items){string xxx = ((item.FindControl(...
分类:
其他好文 时间:
2014-12-02 17:02:05
阅读次数:
124
csb文件加载 Node* node = CSLoader::createNode("res/MainScene.csb"); this->addChild(node);Button使用 ui::Button *button = (ui::Button *)node->getChildByName....
分类:
其他好文 时间:
2014-12-02 17:00:51
阅读次数:
116
http://bbs.xiaomi.cn/thread-9693593-1-1.htmlhttp://news.mydrivers.com/1/326/326416.htmhttp://www.eeboard.com/teardown/jhsp1/2/http://www.eepw.com.cn/a...
分类:
其他好文 时间:
2014-12-02 17:01:29
阅读次数:
207
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:
其他好文 时间:
2014-12-02 17:01:01
阅读次数:
123
XSS攻击及防御:http://blog.csdn.net/ghsau/article/details/17027893 Web攻防系列教程之跨站脚本攻击和防范技巧详解:http://www.rising.com.cn/newsletter/news/2012-04-25/11387.html Web安全测试之XSS:htt...
分类:
其他好文 时间:
2014-12-02 16:43:47
阅读次数:
169
场景:
在文本框中打印日志,或向ListCtrl中插入数据时,怎么样可以把滚动条时时滚动到最后一行,这样便可看到添加的新数据内容。
1. 文本框
方法I:
CWnd *pWnd = GetDlgItem(IDC_EDIT1);
HWND g_hLog = pWnd->GetSafeHwnd();
::SendMessage(g_hLog, WM_VSCROLL, MAKEWPA...
分类:
其他好文 时间:
2014-12-02 16:42:26
阅读次数:
199
改了时区之后打cf更辛苦了啊。。。昨天没做,今天补了一下啊。
A. Vanya and Cubes
每次加的数规律性很明显就是:(i+1)*i/2。暴力枚举i就可以得到答案。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include ...
分类:
其他好文 时间:
2014-12-02 16:41:33
阅读次数:
117