码迷,mamicode.com
首页 > 其他好文
使用Camera功能 AREA的理解
转至http://blog.csdn.net/think_soft/article/details/7998478使用Camera功能大多数的Camera功能都是使用Camera.Parameters对象来激活和控制的。首先要通过Camera对象实例的getParameters()方法,来获取这个对...
分类:其他好文   时间:2014-12-02 17:04:26    阅读次数:307
Excel scientific notation issue
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
16进制颜色与UIColor互转
效果图:代码:- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view. UIView *view=[[UIView alloc]initWithF...
分类:其他好文   时间:2014-12-02 17:02:58    阅读次数:144
tomcat重启脚本
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
ububru下 redmine安装教程
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 被 Replace后仍旧可见的问题
网上问的问题,大多会提到替换了Fragment而发现之前被替换的仍旧显示在那里。我个人使用android 2.3 +support 开发包,在2.3系统上也出现类似问题。搜了下网上的问题,好像都没有找到解决方法。之后自己摸索。最后发现其实,对于Fragment的替换 JAVA代码基本上没啥,网上都是...
分类:其他好文   时间:2014-12-02 17:02:30    阅读次数:181
电子技术·笔记6(2013-05\06)
电子技术·笔记6(2013-05\06)1、MC9SXS128单片机IO中,PORTE端口的最低两位只能为输入口,所以PORTE端口的数据寄存器最低两位是只读位;PORTJ端口是一个特例,只能对其最低两位和最高两位进行有效操作。两路PIT同时使用时,在中断函数里清中断标志位一定要使用如PITTF=0...
分类:其他好文   时间:2014-12-02 17:02:23    阅读次数:104
button onclick
1.如果让本页转向新的页面则用: 2.如果需要打开一个新的页面进行转向,则用:
分类:其他好文   时间:2014-12-02 17:03:02    阅读次数:154
ListView和Gridview与滚动冲突解决
现在的界面是越做越长了,不知道你们会有什么绝招来对付这么长的界面,我还是利用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
Cocos2dx笔记
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
Populating Next Right Pointers in Each Node II
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攻击及防御链接整理
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
Codeforces Round #280 (Div. 2 A,B,C,D,E)
改了时区之后打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
跑马灯
跑马灯效果...
分类:其他好文   时间:2014-12-02 16:41:50    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!