码迷,mamicode.com
首页 >  
搜索关键字:HERE    ( 6715个结果
关闭对话框,OnClose和OnCancel
我们知道,在对话框中,屏蔽ESC键自己主动退出能够选择重载OnCancel为哑函数的方法: void CXXXXDlg::OnCancel() { // TODO: Add your specialized code here and/or call the base class //CD...
分类:其他好文   时间:2014-07-22 22:56:35    阅读次数:194
在SAE上部署ThinkOX社交框架
鉴于本次RC版对SAE做了一系列的兼容,且在SAE上部署还是与OT有略微不同的,所以整理了一下具体的部署方法。 1.下载网站安装包:here? 2.在本地安装ThinkOX 3.安装完毕后,将所安装好的网站数据库导出备用 4.确保...
分类:其他好文   时间:2014-07-21 10:14:32    阅读次数:194
SPOJ 10234. Here Be Dragons
The Triwizard Tournament's third task is to negotiate a corridor of many segments, and reach the other end. The corridor is N segments long. The ith s...
分类:其他好文   时间:2014-07-21 09:02:45    阅读次数:217
【LeetCode】【Python题解】Reverse Integer
Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers. Have you thought about this? Here are some good questions to ask before c...
分类:编程语言   时间:2014-07-20 22:12:03    阅读次数:251
css 清除浮动的各种方法
1.为什么要清除浮动在网页中,DIV一般都是嵌套的,外面称为窗口,里面的DIV存放内容,如果不浮动的话,如下面这段代码 Content here 本来我们期望看到的是,外面背景为#ccc的层包含了里面背景为#333的层,但实际上,外面的层在显示的时候高度几乎为0,这就是因为里面的层用了浮动,但如果....
分类:Web程序   时间:2014-07-19 21:37:40    阅读次数:248
ajaxFileUpload 异步上传文件简单使用
Insert title here $(function(){ //点击打开文件选择器 $("#upload").on('click', function() { $('#fileTo...
分类:其他好文   时间:2014-07-19 02:26:46    阅读次数:222
Summation of Four Primes(歌德巴赫猜想)
Summation of Four Primes  题目链接:click here~ 题目要求:           给出一个整数要你将其拆成由四个素数组成的数。如果,不能拆则输出“Impossible.” 思路解析:         根据题目给出的两个猜想,可以得到。如果,一个数是奇数的话则其一定可以拆成一个奇数+一个偶数的形式,而一个数是偶数的话可拆的就有两种奇数+奇数/偶数+偶...
分类:其他好文   时间:2014-07-18 12:35:29    阅读次数:258
[POJ 1390]Blocks
Description Some of you may have played a game called 'Blocks'. There are n blocks in a row, each box has a color. Here is an example: Gold, Silver, Silver, Silver, Silver, Bronze, Bronze, Bronze, Go...
分类:其他好文   时间:2014-07-18 11:23:05    阅读次数:280
ping wget curl
ping -n 1 -w 10000 224.0.0.0 模拟sleep wget ifconfig.me/ip -q -O - 获取你的外部ip地址 wget -S -O/dev/null "INSERT_URL_HERE" 2>&1 | grep Server 查看服务器软件(比如 Apache...
分类:其他好文   时间:2014-07-16 16:58:53    阅读次数:186
代码编写横屏的UIView
- (id)initWithFrame:(CGRect)frame{ if(self= [superinitWithFrame:frame]) { // Important here, rotate THIS UIView [selfsetCenter:CGPointMake(160...
分类:其他好文   时间:2014-07-16 15:26:52    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!