首页 > 其他
UISegmentControl
创建UISegmentControl对象UISegmentedControl *segmented = [[UISegmentedControl alloc] initWithItems:@[@"北京", @"上海", @"广州"]];segmented.frame = CGRectMake(100...
分类:其他   时间:2016-01-02 20:14:08    收藏:0  评论:0  赞:0  阅读:228
LeetCode 95:Unique Binary Search Trees II
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example, Given n = 3, your program should return all 5 unique BST's shown below. 1 3...
分类:其他   时间:2016-01-02 18:35:48    收藏:0  评论:0  赞:0  阅读:155
Rotate Array leetcode
Rotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4].Note:Try to come...
分类:其他   时间:2016-01-02 18:34:48    收藏:0  评论:0  赞:0  阅读:174
_mkdir
[内容摘要]: C语言 在VS2013环境下使用_mkdir返回值是-1,而且文件夹不存在,#include stdio.h#include direct.hmain(){if (_mkdir("D:\\Program Files\\QET\\bin") == -1)printf("无法创建\n")...
分类:其他   时间:2016-01-02 18:34:38    收藏:0  评论:0  赞:0  阅读:158
2016-1-2 通知机制的学习1:理论知识
1.通知中心:?每一个应用程序都有一个通知中心(NSNotificationCenter)实例,专门负责协助不同对象之间的消息通信?任何一个对象都可以向通知中心发布通知(NSNotification),描述自己在做什么。其他感兴趣的对象(Observer)可以申请在某个特定通知发布时(或在某个特定的...
分类:其他   时间:2016-01-02 18:34:08    收藏:0  评论:0  赞:0  阅读:169
Generative Learning algorithms
"generative algorithm models how the data was generated in order to categorize a signal. It asks the question: based on my generation assumptions, whi...
分类:其他   时间:2016-01-02 18:33:38    收藏:0  评论:0  赞:0  阅读:263
影响布局的inline-block的空白符的问题
昨天切页面时,进行布局时,想改变以下方法换换口味,所以就抛弃了float方法,采用了display:inline-block方法,没想到却随之而来的带来了一个想不通的问题,那就是空白。废话不多说,上代码。inline-block的空白符 li li ...
分类:其他   时间:2016-01-02 18:33:18    收藏:0  评论:0  赞:0  阅读:170
马小烦的2015年书单
2015年12月28日 20:30阅读 47万+这个书单,是马小烦在2015年最喜欢读的十本书。不,准确点说,是马小烦最喜欢让爹妈在2015年读给他听的十本绘本。关于这份书单,有三点说明:一,小孩子率性而直爽,全无成人的腹黑和世故,想说什么就说什么,完全遵从本心。所以这份书单非常纯粹,完全是他自己发...
分类:其他   时间:2016-01-02 18:32:28    收藏:0  评论:0  赞:0  阅读:170
VS插件-Resharper
最近代码因为Resharper出现了点问题,同事问我这个插件有什么用,下面就列几个最近常用的功能。其他功能后续慢慢更新 1.什么是Resharper ReSharper是一个JetBrains公司出品的著名的代码生成工具,其能帮助Microsoft Visual Studio成为一个更佳的IDE。它...
分类:其他   时间:2016-01-02 18:31:38    收藏:0  评论:0  赞:0  阅读:259
配置使用EF常见的一些问题及解决方案
转自http://www.2cto.com/database/201511/449573.html提示未注册,找不到驱动程序No Entity Framework provider found for the ADO.NET provider with invariant name 'System....
分类:其他   时间:2016-01-02 18:31:28    收藏:0  评论:0  赞:0  阅读:288
巨大bug
//数据结构关于课程设计--------图书馆管理系统的设计#include #include #include #include #define _OJ_typedef struct Book{ char title[30]; //ISBN编号书籍的...
分类:其他   时间:2016-01-02 18:30:48    收藏:0  评论:0  赞:0  阅读:133
5、文件过滤器
其实就是筛选你需要的文件啦,可不是windows自带的筛选,而是咱们用代码来实现贴上源码public class Demo { public static void main(String[] args) { File file=new File("E:\\"); ...
分类:其他   时间:2016-01-02 18:30:38    收藏:0  评论:0  赞:0  阅读:171
HDU4876ZCC loves cards(多校题)
ZCC loves cardsTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2362 Accepted Submission(s): 590Pr...
分类:其他   时间:2016-01-02 18:30:28    收藏:0  评论:0  赞:0  阅读:157
flex align-content中的描述的“多根轴线的对齐方式”中的“多根轴线”到底是什么
flex 有两条轴线,根据flex-flow 设置的来判断的,水平为主轴的话,那么值为row,垂直为主轴的话那么为column;其中设置align-items 和 align-content都是来设置交叉轴的。这2个属性设置参数互不影响。align-items :在单根轴线和多根都有效,这轴线我理解...
分类:其他   时间:2016-01-02 18:30:18    收藏:0  评论:0  赞:0  阅读:289
SSDTHook实例--编写稳定的Hook过滤函数
解说怎样写Hook过滤函数,比方NewZwOpenProcess。打开进程。非常多游戏保护都会对这个函数进行Hook。因为我们没有游戏保护的代码,无法得知游戏公司是怎样编写这个过滤函数。我看到非常多奇形怪状的Hook过滤函数的写法。看得蛋痛无比。比方:http://bbs.pediy.com/sho...
分类:其他   时间:2016-01-02 18:29:58    收藏:0  评论:0  赞:0  阅读:788
【转载】Xcode6中添加pch文件
//原文地址:http://www.cnblogs.com/YouXianMing/p/3989155.html1. 新建工程:2. 创建pch文件:cmd+n->other->PCH file->demo.pch->create3. 在setting里面进行设置:product->cmd+f->p...
分类:其他   时间:2016-01-02 18:28:28    收藏:0  评论:0  赞:0  阅读:175
(7)基于hadoop的简单网盘应用实现3
一、login.jsp登陆界面实现解压bootmetro-master.zip,然后将\bootmetro-master\src\下的assets目录复制到project里。bootmetro下载地址:https://github.com/aozora/bootmetro,使用说明:http://w...
分类:其他   时间:2016-01-02 18:28:08    收藏:0  评论:0  赞:0  阅读:266
servlet的转发与重定向
转发和重定向都能让浏览器获得另外一个URL所指向的资源,但两者的内部运行机制有着很大的区别。1、转发:有两种方式获得转发对象(RequestDispatcher):一种是通过HttpServletRequest的getRequestDispatcher()方法获得,一种是通过ServletConte...
分类:其他   时间:2016-01-02 18:27:28    收藏:0  评论:0  赞:0  阅读:166
数学归纳法证明求和公式
计算级数∑最常用的方法是数学归纳法。例如,我们来证明等差级数命题n∑ k 的值等于1/2*n(n+1)k=1容易看出,当n=1时,这一结论是成立的,因此可以归纳假设对n成立,并证明对n+1成立。我们有n+1 n∑ k = ∑ k + (n+1) = 1/2*n(n+1) + (n+1) = 1/.....
分类:其他   时间:2016-01-02 18:27:18    收藏:0  评论:0  赞:0  阅读:208
Ognl
package cn.lyjs.ognl;import org.junit.Test;import ognl.Ognl;import ognl.OgnlContext;import ognl.OgnlException;public class OgnlDemo1 { /** * Og...
分类:其他   时间:2016-01-02 18:26:59    收藏:0  评论:0  赞:0  阅读:197
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!