码迷,mamicode.com
首页 > 其他好文
[控件] ColorfulProgressView
ColorfulProgressView效果说明1. 支持颜色定制2. 进度条动画可以自己控制3. 简单易用源码https://github.com/YouXianMing/ColorfulProgressView//// ColorfulProgressView.h// ColorfulPro.....
分类:其他好文   时间:2015-07-13 22:06:50    阅读次数:140
[LeetCode] Majority Element
Question:Given an array of sizen, find the majority element. The majority element is the element that appears more than? n/2 ?times.You may assume tha...
分类:其他好文   时间:2015-07-13 22:06:17    阅读次数:131
[LeetCode] Lowest Common Ancestor of a Binary Tree
Lowest Common Ancestor of a Binary TreeGiven a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.According to thedefin...
分类:其他好文   时间:2015-07-13 22:04:56    阅读次数:126
hdu 4908 BestCoder Sequence 发现M中值是字符串数, 需要预处理
BestCoder SequenceTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 271Accepted Submission(s): 112Pr...
分类:其他好文   时间:2015-07-13 22:06:52    阅读次数:113
Basic View
在 NIO 2 提供的六個檔案系統 metadata 的 view 中,第一個要了解的當然是Basic View,顧名思義,這是所有檔案系統最基礎的部份,各檔案系統共通的部份。看一下下面的範例程式: 1 package idv.steven.nio2.metadata; 2 3 import ja....
分类:其他好文   时间:2015-07-13 22:04:42    阅读次数:112
oGitHub 注册
GitHub 注册要想使用 GitHub 第一步当然是注册 GitHub 账号:1、首先打开https://github.com/pricing进行注册。2、在打开的页面中点击「Sign up now」注册,如图 1.1 所示。图 1.13、在接下来的页面中创建用户名,填写 email 和设定密码,...
分类:其他好文   时间:2015-07-13 22:05:56    阅读次数:120
C10_动态内存分配
//// main.m// C10_动态内存分配//// Created by dllo on 15/7/13.// Copyright (c) 2015年 zhozhicheng. All rights reserved.//#import void func(){ int x=5; int .....
分类:其他好文   时间:2015-07-13 22:04:06    阅读次数:135
Devexpress 汉化
DevExpress是一个比较有名的界面控件套件,提供了一系列的界面控件套件的DotNet界面控件。对于较老的版本(例如之前项目中遇到的dev9),对于汉化(应该说本地化Localization)支持较少。高版本接触较少,不知道后续版本(dev13之后)对于本地化的支持怎么样,所以不做讨论。 ...
分类:其他好文   时间:2015-07-13 22:03:56    阅读次数:221
hbase操作
名称命令表达式 创建表create '表名称','列簇名称1','列簇名称2'....... 添加记录put '表名称', '行名称','列簇名称:','值' 查看记录get '表名称','行名称' 查看表中的记录总数count '表名称' 删除记录delete '表名',行名称','列簇名称' 删...
分类:其他好文   时间:2015-07-13 22:04:03    阅读次数:133
随着通信和编程,它是一门艺术系列6(技术的情况)
1.通信提升到艺术的位置1.1通过几个讨论前。能够提升到艺术的层次,总结例如以下:1、沟通应该慢慢提升到艺术的境地。2、讲话不要像钉钉子,刺伤别人的心。3、沟通不全然靠说话。该自己说话的说话一句都不能少,不该说的一句都不说。4、要了解自己的言默之道,也了解别人的言默之道。5、沟通不是单单分是非,要在...
分类:其他好文   时间:2015-07-13 22:04:24    阅读次数:139
Find Minimum in Rotated Sorted Array II
题目:Follow upfor "Find Minimum in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Suppose a s...
分类:其他好文   时间:2015-07-13 22:02:44    阅读次数:124
OOAD之单例模式Singleton的6种写法
1 主要作用是保证在Java应用程序中,一个类Class只有一个实例存在。一 :第一种 饿汉式(预加载) 1 public class Singleton { 2 private Singleton(){}////在自己内部定义自己一个实例,注意这是private 3 priva...
分类:其他好文   时间:2015-07-13 22:02:48    阅读次数:141
运行环境
App Engine应用响应网络请求。当一个客户端(典型的是用户的Web浏览器)使用HTTP请求(比如获取在URL上的网页)连接上应用的时候,网络请求就开始了。当App Engine接收到请求时,它会从地址的域名中识别应用,.appspot.com子域名(为每个应用免费提供的)或你在Google A...
分类:其他好文   时间:2015-07-13 22:00:52    阅读次数:144
创建仓库
在 GitHub 上创建一个新仓库1、在任意的页面右上角点击+,然后点击新建仓库New repository。2、为你的仓库创建一个简短便于记忆的名字。例如 “hello-world”。3、为你的仓库添加一个描述(非必须的)。例如 “My first repository on GitHub”。4、...
分类:其他好文   时间:2015-07-13 22:02:38    阅读次数:115
Bestcoder Tom and matrix
问题描述Tom放学回家的路上,看到天空中出现一个矩阵。Tom发现,如果矩阵的行、列从0开始标号,第i行第j列的数记为ai,j,那么ai,j=Cji如果i 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include ...
分类:其他好文   时间:2015-07-13 22:03:00    阅读次数:135
LeetCode——Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2015-07-13 22:01:03    阅读次数:106
Combination Sum
题目:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated ...
分类:其他好文   时间:2015-07-13 22:02:26    阅读次数:123
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!