首页 > 2014年07月16日 > 全部分享
多视图控制器编写
#import "AppDelegate.h"#import "FisrtViewController.h"@interface AppDelegate () @end@implementation AppDelegate - (BOOL)applicat...
分类:其他   时间:2014-07-16 18:15:44    收藏:0  评论:0  赞:0  阅读:340
了解javascript中的this --实例篇
对javascript this的赋值有了深一层的理解后,看一下比较复杂的情况,this的应用篇参考《对javascript this的理解》.#demo1 1 var name="window"; 2 var object = { 3 name:"me", 4 getname:(f...
分类:编程语言   时间:2014-07-16 18:15:52    收藏:0  评论:0  赞:0  阅读:256
BT5升级MSF至Git更新的方法
由于Kali在虚拟机的运行效率实在让人不敢恭维,于是决心将BT5中的MSF进行升级,升级的主要目的是,BT5R3内置的MSF是用SVN进行更新, 但是新版本的MSF已经停止通过SVN更新,改用Git,必须重新安装。网上找了很多办法,看见帖子里明明升级成功,但是自己总是不成功,卡在pg (0.15.0...
分类:其他   时间:2014-07-16 18:16:01    收藏:0  评论:0  赞:0  阅读:424
linux简介
引用:http://www.cnblogs.com/vamei/archive/2012/09/19/2692452.htmlLinux架构我以下图为基础,说明Linux的架构(architecture)。(该图参考《Advanced Programming in Unix Environment》...
分类:系统服务   时间:2014-07-16 18:16:08    收藏:0  评论:0  赞:0  阅读:366
ruby 访问权限
###################### 访问权限#####################class HeidSoft##默认方法 def method1 ##### endprotected def method2 ##### endpri...
分类:其他   时间:2014-07-16 18:16:24    收藏:0  评论:0  赞:0  阅读:358
C++ TR1 Function Bind
C++ 11 tr1 boost bind function
分类:编程语言   时间:2014-07-16 18:16:40    收藏:0  评论:0  赞:0  阅读:292
CodeForces 86D(Yandex.Algorithm 2011 Round 2)
思路:莫队算法,离线操作,将所有询问的左端点进行分块(分成sqrt(n) 块每块sqrt(n)个),用左端点的块号进行排序小的在前,块号相等的,右端点小的在前面。 这样要是两个相邻的查询在同一块内左端点每次最多移动sqrt(n) n次的话效率为nsqrt(n) ,对于同一块内右端点为有序的那么最多移...
分类:其他   时间:2014-07-16 18:16:33    收藏:0  评论:0  赞:0  阅读:423
[leetcode]Word Search
Word SearchGiven a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, wh...
分类:其他   时间:2014-07-16 18:16:48    收藏:0  评论:0  赞:0  阅读:314
这些英文名不要随便乱取!(转载)
这些英文名不要随便乱取!现在很多中国人,尤其是年轻人,都有英文名字。一方面是为了赶时髦,另一方面为了方便和外国人交流。不幸的是,在母语是英语的人看来,他们为自己取的名字很多都很好笑,有时候很滑稽。一些英国人列出了他们在中国遇到的有趣的名字。Peter Pan or other fictional c...
分类:其他   时间:2014-07-16 18:17:02    收藏:0  评论:0  赞:0  阅读:1171
Maven 常用命令及作用
mvn clean、mvn package、mvn clean install -e、mvn dependency:analyze、mvn denpendency:tree -Dincludes=*:junit -Dverbose、mvn help:effective-pom/mvn help:ef...
分类:其他   时间:2014-07-16 18:16:56    收藏:0  评论:0  赞:0  阅读:943
Windows7下U盘安装Ubuntu14.04双系统
参考:http://jingyan.baidu.com/article/76a7e409bea83efc3b6e1507.html参考:http://blog.sina.com.cn/s/blog_82da6afa0100v18v.html参考:http://bujingyun23.blog.163...
分类:Windows开发   时间:2014-07-16 18:17:10    收藏:0  评论:0  赞:0  阅读:507
Tuples are immutable
A tuple is a sequence of values. The values can be any type, and they are indexed by integers, so in that respect tuples are a lot like lists. The imp...
分类:其他   时间:2014-07-16 18:17:18    收藏:0  评论:0  赞:0  阅读:415
Running your own dnsmasq with libvirtd
Running your own dnsmasq with libvirtd On linux host servers, libvirtd uses dnsmasq to service the virtual networks, such as the default network. A ne...
分类:其他   时间:2014-07-16 18:17:33    收藏:0  评论:0  赞:0  阅读:318
顾沛《抽象代数》1.4"群的同态与同构"习题解答
习题:7.请把定理1.4.10改写成更一般的语言来叙述,第一句是:"设$f$是群$G_{1}$到$G_{2}$的满同态,且$H<G_{1}$,并记$N={\rm Ker}f$,则……"解答 与该定理类似的我们有:(1)$HN$是$G_{1}$中包含$N$的子群且$$HN=f^{-1}(f(H))$....
分类:其他   时间:2014-07-16 18:17:56    收藏:0  评论:0  赞:0  阅读:947
《算法导论》中parallel for 的时间复杂度
最近在看《算法导论》,看到多线程算法这章中,有一个parallelfor循环的例子,如下:parallelfori=1tonparallelforj=1toncij=0fork=1toncij=cij+aik+bkj书上说的时间复杂度为O(lgn)+O(lgn)+O(n)=O(n);也就是说一个pa...
分类:其他   时间:2014-07-16 18:17:49    收藏:0  评论:0  赞:0  阅读:382
Setting up libvirt for TLS (Encryption & Authentication)
Setting up libvirt for TLS (Encryption & Authentication) Setting up your virtualisation infrastructure for Transport Layer Security (TLS) isn't very d...
分类:其他   时间:2014-07-16 18:17:41    收藏:0  评论:0  赞:0  阅读:457
Android 讯飞语音之语音合成(在线有声朗读)
在线语音合成的使用方法:首先下载相关的sdk,这个网址里有多种版本,我选择的Android。http://open.voicecloud.cn/index.php/services/voicebase?type=tts&tab_index=1需要注意的是,最好先创建应用,审核通过后会返回一个APPI...
分类:移动平台   时间:2014-07-16 18:18:04    收藏:0  评论:0  赞:0  阅读:1084
《C语言编写 学生成绩管理系统》
/* (程序头部凝视開始)* 程序的版权和版本号声明部分* Copyright (c) 2011, 烟台大学计算机学院学生 * All rights reserved.* 文件名: 学生成绩管理系统 * 作 者: 刘江波 * 完毕日期: 2012 年 6 月 23 日* 版 本 号: v.623 *...
分类:编程语言   时间:2014-07-16 18:18:13    收藏:0  评论:0  赞:0  阅读:258
this关键字
思考:如果同一个类的两个对象调用类的同一个方法,如何才能让这两个对象都能调用此方法。为了能用简便、面向对象的语法编写代码——即“发送消息给对象”,编译器幕后将所操作对象的引用作为第一个参数传递给被调用方法。1. 作用:1.1 表示当前对象的引用:(this的用法和其它对象引用并没有不同) this....
分类:其他   时间:2014-07-16 18:18:21    收藏:0  评论:0  赞:0  阅读:441
TOP N问题的若干实现
问题描述:在长度为n的序列中,找出其最大的N个数1.冒泡排序每冒泡一次,可将最大的数放到序列尾部,冒泡N次即可。时间复杂度:O(N*n)空间复杂度:O(1)2.扫描数组,将最大的N个数存在缓存中,当有更大的数到来时替换缓存中的数TOP_N(A,N) n = length of A cre...
分类:其他   时间:2014-07-16 18:18:28    收藏:0  评论:0  赞:0  阅读:336
3404条   上一页 1 ... 71 72 73 74 75 ... 171 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!