首页 > 其他
Git中关于 git pull 的一些问题
当服务器上面的文件发生修改,然后本地仓库中的相应文件也作了修改,此时使用命令:git pull 的时候会出现如下提示信息:...
分类:其他   时间:2015-01-08 13:23:35    收藏:0  评论:0  赞:0  阅读:259
LinearLayout 布局使用选择器需要注意
相信看到这里已经有很多人遇到了同样的问题了就是使用LinearLayout布局而不能使用选择器的问题其实是可以的ok我下面就说一下怎么使用 其实就是在要使用选择器的LinearLayout布局中加入一个android:clickable="true"就可以实现选择器的功能了 <LinearLayout android:id="@+id/ll" an...
分类:其他   时间:2015-01-08 13:22:55    收藏:0  评论:0  赞:0  阅读:350
codeforces Name That Tune (概率dp)
题意: D - Name That Tune Time Limit:1000MS     Memory Limit:262144KB     64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 499D Appoint description:  System Crawler  (2015...
分类:其他   时间:2015-01-08 13:22:35    收藏:0  评论:0  赞:0  阅读:258
Afinal框架FinalBitmap使用方法
Afinal简介 Afinal 是一个android的sqlite orm 和 ioc 框架。同时封装了android中的http框架,使其更加简单易用; ? 使用finalBitmap,无需考虑bitmap在android中加载的时候oom的问题和快速滑动的时候图片加载位置错位等问题。 ?Afinal的宗旨是简洁,快速。约定大于配置的方式。尽量一行代码完成所有事情。 目前Afin...
分类:其他   时间:2015-01-08 13:22:15    收藏:0  评论:0  赞:0  阅读:437
ArcGIS教程:地统计模拟的示例
由于这两个测量值均支持对在某个特定区域内生活进行感染风险的局部评估,因此,每年超过临界阈值的天数可用来建立显示超过阈值概率的内插地图。...
分类:其他   时间:2015-01-08 13:21:55    收藏:0  评论:0  赞:0  阅读:250
华为机试—输出第n个丑数
#include //判断一个数是否为丑数 bool IsChou(__int64 num) { while(num!=0) { if(num == 1) return 1; else if(num % 2 == 0) num /= 2; else if(num % 3 == 0) num /= 3; else if(num % 5 == 0) nu...
分类:其他   时间:2015-01-08 13:21:25    收藏:0  评论:0  赞:0  阅读:244
【hash_map】hash_map中键为自定义类型的操作
class person { public: string name; int age; person(string s,int i):name(s),age(i){} }; struct person_hash { static const size_t bucket_size = 4; static const size_t min_buckets = 8; //哈希值函...
分类:其他   时间:2015-01-08 13:21:15    收藏:0  评论:0  赞:0  阅读:254
======ImageLoader======
private void initImageLoader(){ ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(this) .threadPriority(Thread.NORM_PRIORITY - 2) .denyCacheImageMultipleSizesInMemory() ...
分类:其他   时间:2015-01-08 13:20:35    收藏:0  评论:0  赞:0  阅读:168
内核启动tick(节拍)值打印
[ 1.235000] UBI: number of user volumes: 1 [ 1.240000] UBI: available PEBs: 0 [ 1.245000] UBI: total number of reserved PEBs: 1964 [ 1.250000] UBI: number of PEBs reserved for bad PEB handling: 19 这样的界面看着貌似很高端;很多人误认为前面是系统启动的时间,其...
分类:其他   时间:2015-01-08 13:19:45    收藏:0  评论:0  赞:0  阅读:418
如何理解 “私有成员只有在声明它们的类和结构体中才是可访问的” ?
通常私有成员(private)只有在声明它们的类和结构体中才是可访问的,如下类:1 class A2 {3 private int i;4 } 只有在A的内部在能访问i,这是众所周知的。 再看下面的类: 1 class B 2 { 3 private int i; 4 vo...
分类:其他   时间:2015-01-08 13:18:35    收藏:0  评论:0  赞:0  阅读:283
hadoop-streaming 配置之---参数分割
map:-D stream.map.output.field.separator=. 定义mapoutput字段的分隔符为. 用户可以自定义分隔符(除了默认的tab)-D stream.num.map.output.key.fields=4 第四个.前面的是key,后面的是value。如果该行......
分类:其他   时间:2015-01-08 13:18:05    收藏:0  评论:0  赞:0  阅读:610
利用mybatis-generator自动生成代码
mybatis-generator 自动生成代码详解
分类:其他   时间:2015-01-08 13:17:35    收藏:0  评论:0  赞:0  阅读:284
实践的精髓
1. 理解问题a. 谁将从问题的解决中获益b. 有哪些是未知的?哪些数据/功能/特征/行为是解决问题必须的c. 问题可以划分吗?是否可以描述更小/更容易理解的问题?d. 问题可以图形化描述吗?可以创建分析模型吗?2. 计划解决方案a. 以前曾经见过类似问题吗?在解决方案中是否隐藏着熟悉的模式?是否已...
分类:其他   时间:2015-01-08 13:17:05    收藏:0  评论:0  赞:0  阅读:229
[leetcode] Triangle
TriangleGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given...
分类:其他   时间:2015-01-08 13:16:25    收藏:0  评论:0  赞:0  阅读:264
CocoaPods安装使用及配置私有库及注意点
如何安装?1.安装ruby环境,添加淘宝ruby镜像$ gem sources --remove https://rubygems.org///等有反应之后再敲入以下命令$ gem sources -a http://ruby.taobao.org/2.查看是否设置成功:$ gem sources ...
分类:其他   时间:2015-01-08 13:16:05    收藏:0  评论:0  赞:0  阅读:258
LintCode-Serialization and Deserialization Of Binary Tree
Design an algorithm and write code to serialize and deserialize a binary tree. Writing the tree to a file is called 'serialization' and reading back f...
分类:其他   时间:2015-01-08 13:15:55    收藏:0  评论:0  赞:0  阅读:1159
[转]在计算机程序中,完成重复的任务有两种方式:递归和迭代(循环)。
在计算机程序中,完成重复的任务有两种方式:递归和迭代(循环)递归的一个例子:从前有座山,山里有座庙,庙里一个老和尚在给小和尚讲故事,内容是“从前有座山,山里有座庙,庙里一个老和尚在给小和尚讲故事,内容是“从前有座山,山里有座庙,庙里一个老和尚在给小和尚讲故事,内容是“......循环的一个例子:炉子...
分类:其他   时间:2015-01-08 13:15:45    收藏:0  评论:0  赞:0  阅读:251
滚动条自动滚到底
设置页面加载时滚动条自动滚到底的方法:jQuery:$(function(){ var h = $(document).height()-$(window).height(); $(document).scrollTop(h);});JavaScript:window.onload = functi...
分类:其他   时间:2015-01-08 13:15:35    收藏:0  评论:0  赞:0  阅读:262
CORS(跨域资源共享)跨域问题及解决
当使用ajax跨域请求时,浏览器报错:XmlHttpRequest error: Origin null is not allowed by Access-Control-Allow-Origin.肯定是跨域的问题,如果用jsonp或者proxy的方式进行修改的话未免需要太大的工程量,所以采用COR...
分类:其他   时间:2015-01-08 13:15:15    收藏:0  评论:0  赞:0  阅读:270
根据select不同的选项实现相应input框添加项的显示
实现效果: @1.单击包时,显示包时的添加项 @2.单击包里程,显示包里程的添加项二 代码实现: 给select添加change事件 获取当前select的value 根据value判断对象显示其添加项框
分类:其他   时间:2015-01-08 13:14:35    收藏:0  评论:0  赞:0  阅读:232
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!