project.properties
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To...
分类:
移动开发 时间:
2015-06-02 20:14:31
阅读次数:
143
[root@desktop2 ~]# fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes ? ?Device Boot? ? ? Start?...
分类:
移动开发 时间:
2015-06-02 09:34:04
阅读次数:
283
1、概念Define a one-to-many dependency between objects so that when one object changes state,all its dependents are notified and updated automatically.(定义对象间一种一对多的依赖关系,使得每当一个对象改变状态,则所有依赖于它的对象都会得到通知并被自动更新。...
分类:
其他好文 时间:
2015-06-01 22:38:12
阅读次数:
111
傻傻分不清楚。“git add .”是我常用的添加命令,添加完后来个“git status ”总是有那么几次发现有不想添加的东西。好多人用reset,nonono,这样不好会有个head错误爆出。看了下status的说明发现了两句话:...# Changes to be committed:# .....
分类:
其他好文 时间:
2015-06-01 18:30:33
阅读次数:
160
在上一篇中讲解了,如何让一个WCF服务实现多个WCF数据契约,本篇介绍一个数据契约上的Name属性。先看一下,废话不多说,先看一下Demo。
1、数据契约
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Se...
分类:
其他好文 时间:
2015-06-01 11:36:07
阅读次数:
118
# What is the difference between utm_source, utm_campaign and utm_medium? ## utm_source: As the name suggests this custom variable allows marketers to track the source that is sending the visits. I...
分类:
其他好文 时间:
2015-05-31 17:01:28
阅读次数:
120
在前面编译完整个android后,现在开始可以编译指定模块
cd ~/android
执行
. ./build/envsetup.sh
有下面命令
- croot: Changes directory to the top of the tree.
- m: Makes from the top of the tree.
-...
分类:
移动开发 时间:
2015-05-31 16:55:19
阅读次数:
116
C#的图像裁剪很容易操作,这里给个实现的例子
关键是需要处理鼠标的事件和一些更新
实现鼠标移动的代码.注意更新不要全部重画,只有选择矩形部分重画
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
if (Track_move)
end...
观察者模式的英文原文是:Define a one-to-many dependency between objects so that when one object changes state, all its depedents are notified and updated automaticlly.意思是:定义对象间的一种一对多的依赖关系,使得每当一个对象改变状态,所有依赖于它的对象都会...
分类:
其他好文 时间:
2015-05-31 09:28:52
阅读次数:
104
通过查看TortoiseGit属性,我们得知,灰色对号代表的是assume-valid,也就是git中assume-unchanged的意思,通过如下步骤,可以去掉该灰色对号:
对于untrack的文件,我们可以创建.gitignore文件。
对于已经track的文件,我们可以这样做:git update-index –assume-unchanged 这样,即使已经更改了文件,用git sta...
分类:
其他好文 时间:
2015-05-28 18:04:43
阅读次数:
346