原文链接 : Architecting An Investigation into Flow and Mortar
译者 : sundroid( chaossss 协同翻译)
校对者: chaossss、Mr.Simple
状态 : 完成
“在 App 开发过程中尽可能使用 Fragment 替代 Activity”,Google 官方的这个建议无疑让万千 Android 开发者开始关注、使用...
分类:
其他好文 时间:
2015-04-04 12:21:44
阅读次数:
178
基本文件配置lineCap定义上下文中线的端点:butt端点是垂直于线段边缘的平直边缘round端点是在线段边缘处以线宽为直径的半圆square:端点是在选段边缘处以线宽为长,以一般线宽为宽的矩形lineJoin定义了两条线相交产生的拐角miter 在连接外边缘盐城详解bevel。连接处是一个对角线...
分类:
Web程序 时间:
2015-04-03 10:49:56
阅读次数:
162
Implement int sqrt(int x).
Compute and return the square root of x.
题意:求平方根。
思路:二分求解。
class Solution {
public:
int sqrt(int x) {
if (x <= 1) return x;
int left = 1, right = x;
wh...
分类:
其他好文 时间:
2015-04-02 15:10:13
阅读次数:
109
卡方分布(chi-square distribution, χ²-distribution)是概率论与统计学中常用的一种概率分布。k个独立的标准正态分布变量的平方和服从自由度为k的卡方分布。卡方分布是一种特殊的伽玛分布,是统计推断中应用最为广泛的概率分布之一,例如假设检验和置信区间的计算。若k个随机变量、……、是相互独立,符合标准正态分布的随机变量(数学期望为0、方差为1),则随机变量Z的平方和被...
分类:
其他好文 时间:
2015-04-01 17:54:00
阅读次数:
496
Sqrt(x)问题:Implementint sqrt(int x).Compute and return the square root ofx.思路: 二分查找我的代码:public class Solution { public int sqrt(int x) { if(...
分类:
其他好文 时间:
2015-03-31 23:38:21
阅读次数:
202
http://www.cnblogs.com/wwcherish/archive/2012/09/18/2690336.htmlcss3激发想象/css3各种图形#square { width: 100px; height: 100px; background: red; }#rectangle {...
分类:
Web程序 时间:
2015-03-31 19:31:07
阅读次数:
213
1、root权限2、查看当前操作系统 支不支持中文 locale -a3、[root@mts /]# vim /etc/sysconfig/i18n LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16"将LANG="en_US.UTF-8" 换成 LAN...
分类:
编程语言 时间:
2015-03-31 17:17:34
阅读次数:
191
题目描述:
Implement int sqrt(int x).
Compute and return the square root of x.
题目翻译:输入x,返回sqrt(x);
C语言版:
int mySqrt(int x) {
int t, l, r, mid;
l = 1;
r = x>>1;
if (x <...
分类:
其他好文 时间:
2015-03-31 12:48:22
阅读次数:
125
首先,还是回顾一下windows系统密码Hash的一些知识吧:(下面这段来自网络) 首先介绍一下windows密码Hash: 早期SMB协议在网络上传输明文口令。后来出现"LAN Manager Challenge/Response"验证机制,简称LM,它是如此简单以至很容易被破解。微软提出了Win...
1162. Sudoku
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB , Special Judge
Description
Sudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 sm...
分类:
其他好文 时间:
2015-03-31 09:02:53
阅读次数:
124