首页 > 其他
andriod activity
来源:http://www.cnblogs.com/lyp3314/archive/2011/11/10/2244971.htmlhttp://www.ibm.com/developerworks/cn/opensource/os-cn-android-actvt/http://xifangyuhu...
分类:其他   时间:2015-03-23 16:01:25    收藏:0  评论:0  赞:0  阅读:93
LeetCode - Refresh - Single Number II
1 class Solution { 2 public: 3 int singleNumber(int A[], int n) { 4 int ones = 0, twos = 0, threes = 0; 5 for (int i = 0; i < n; ...
分类:其他   时间:2015-03-23 16:01:05    收藏:0  评论:0  赞:0  阅读:84
xUtils框架
我要为大家推荐的是一个Android基于快速开发的一个框架——xUtils,它是在aFinal基础上进行重构和扩展的框架,相比aFinal有很大的改善。同时,如果如果你的应用是基于网络的,那么只要处理得当,它会让你彻底的摆脱各种工具类和重复代码的困扰。好的,废话不多说,程序猿们还是代码说起。 xUt...
分类:其他   时间:2015-03-23 16:00:45    收藏:0  评论:0  赞:0  阅读:266
37.拖曳插件——draggable
拖曳插件draggable的功能是拖动被绑定的元素,当这个jQuery UI插件与元素绑定后,可以通过调用draggable()方法,实现各种拖曳元素的效果,调用格式如下:$(selector). draggable({options})options参数为方法调用时的配置对象,根据该对象可以设置各...
分类:其他   时间:2015-03-23 16:00:05    收藏:0  评论:0  赞:0  阅读:318
WORDPRESS 后台500错误解决方法集合
引自:http://www.guuglc.com/565.html这篇文章本质上我是不可能会写到,就因为7号那天晚上,我准备搬家的时候,发现前台完好,进入后台却500错误。这时我就得急的,毕竟明天我就准备去住校上学了,恐怕没时间在去折腾网站,于是我重新安装WordPress程序,然后还原数据,把图片...
分类:其他   时间:2015-03-23 15:59:45    收藏:0  评论:0  赞:0  阅读:489
2.2.5重写静态变量
1 ";15 }16 }17 class myExtendObject extends myObject{18 public static $myStaticVar = 0;19 function myExtendMethod(){20 echo parent::$myStaticVar . ""....
分类:其他   时间:2015-03-23 15:59:35    收藏:0  评论:0  赞:0  阅读:192
数字旋转矩阵
“螺旋数字方阵”解题报告输入有多组数据,每组只有一行,包含x,y(1 s)时跳出循环。两种算法比较:在处理旋转问题时,算法一思路直接,易于理解,但代码较长;算法二思路巧妙,但有些晦涩难懂——如果你能一次性领会其思路的话,说明你的理解能力高于常人——至少比我强,因为我最初阅读网友wind496的代.....
分类:其他   时间:2015-03-23 15:59:15    收藏:0  评论:0  赞:0  阅读:267
Navicat Premium中文破解版11.0.16安装在10.10.2OS X系统上教程
此链接是Navicat Premium中文破解版11.0.16安装包里面并带有中文汉化包http://pan.baidu.com/s/1ntjz6HF#path=%252F一、Navicat Premium的作用:Navicat Premium for mac是一个可多重连接的数据库管理工具,Nav...
分类:其他   时间:2015-03-23 15:58:45    收藏:0  评论:0  赞:0  阅读:162
LeetCode - Refresh - Simplify Path
I split it in the reverse way. So all the following code should do reverse way. 1 class Solution { 2 public: 3 vector splits(string s) { 4 ...
分类:其他   时间:2015-03-23 15:58:35    收藏:0  评论:0  赞:0  阅读:74
漫画描述HDFS工作原理
作者不详,内容浅显易懂,特拿来与大家分享。
分类:其他   时间:2015-03-23 15:58:05    收藏:0  评论:0  赞:0  阅读:192
两个storyboard,多个storyboard 引用,代码调用
override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. /// 获取两个Tab对应的 Storyboar...
分类:其他   时间:2015-03-23 15:57:45    收藏:0  评论:0  赞:0  阅读:252
目前可选的开源日志收集项目
facebook的scribe。apache的chukwa。linkedin的kafka。cloudera的flume.scribe主页:https://github.com/facebook/scribechukwa主页:http://incubator.apache.org/chukwa/kaf...
分类:其他   时间:2015-03-23 15:57:05    收藏:0  评论:0  赞:0  阅读:257
LeetCode - Refresh - Single Number
You can use a hash map to record the frequencys. Or you can use bit operation.x ^ x = 0. So the only left is the one. 1 class Solution { 2 public: 3 ....
分类:其他   时间:2015-03-23 15:56:35    收藏:0  评论:0  赞:0  阅读:233
Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他   时间:2015-03-23 15:56:25    收藏:0  评论:0  赞:0  阅读:193
getnumdevices.c && setgetdevicetype例程
getnumdevices.c代码 1 /* 文件名: getnumdevices.c 2 * 功能 : 测试函数acc_get_num_devices(.) 3 */ 4 #include 5 #include "openacc.h" 6 int main() 7 { 8 int num = -8...
分类:其他   时间:2015-03-23 15:55:55    收藏:0  评论:0  赞:0  阅读:249
redis安装
-------------------------redis_server--------------------------#Redis need tcl 8.5 or newer#install tclwget http://downloads.sourceforge.net/tcl/tcl8....
分类:其他   时间:2015-03-23 15:55:35    收藏:0  评论:0  赞:0  阅读:330
在Chrome 39中无法使用插件
1.打开插件面板,在地址栏中输入 chrome://plugins 2.找到npScreenCapture插件,点击始终允许选框
分类:其他   时间:2015-03-23 15:55:15    收藏:0  评论:0  赞:0  阅读:293
局部代码块
局部代码块:作用:控制变量的生命周期;在程序中,当我们已经使用完 x 后,并且在接下来的代码中,不会再用到x,那么就没必要让x 在内存中占用空间了,这用情况下,可以使用 局部代码块,将x及其所设计到的区域封装为局部代码块,他们在程序执行中顺序不变,只是在执行完成后消失。构造代码块:作用:它可以给所有...
分类:其他   时间:2015-03-23 15:54:45    收藏:0  评论:0  赞:0  阅读:213
接口中定义变量
接口中的变量:必须为public static final 为什么接口要规定成员变量必须是public static final的呢?首先接口是一种高度抽象的"模版",而接口中的属性也就是’模版’的成员,就应当是所有实现"模版"的实现类的共有特性,所以它是public static的,是所有实现类共...
分类:其他   时间:2015-03-23 15:54:15    收藏:0  评论:0  赞:0  阅读:288
MyBatis之作用域和生命周期(二)
本文转自:MyBatis3用户指南中文版、入门五,关于这个文档我上传的资源里边有,大家可以去下载!http://download.csdn.net/detail/huzheaccp/4177008http://download.csdn.net/detail/huzheaccp/4177008htt...
分类:其他   时间:2015-03-23 15:54:05    收藏:0  评论:0  赞:0  阅读:266
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!