码迷,mamicode.com
首页 >  
搜索关键字:simple example    ( 24106个结果
golang中的检验hash
1.对字符串进行hash大家可以看一下, SHA1 HashesGo by Example写道:The pattern for generating a hash is sha1.New(), sha1.Write(bytes), then sha1.Sum([]byte{}). 附上golang代...
分类:其他好文   时间:2014-06-18 16:07:48    阅读次数:294
根据多字段去重
有重复数据主要有一下几种情况:1.存在两条完全相同的纪录 这是最简单的一种情况,用关键字distinct就可以去掉 example: select distinct * from table(表名) where (条件)2.存在部分字段相同的纪录(有主键id即唯一键) 如果是这种...
分类:其他好文   时间:2014-06-18 15:08:18    阅读次数:173
python2.7中可以使用到的一些模块地址
1、reportlab:由很多部分组成且允许用户使用多种方法创建输出,地址:下载ReportLabhttps://pypi.python.org/simple/reportlab/http://www.reportlab.com/software/opensource/rl-toolkit/down...
分类:编程语言   时间:2014-06-18 14:22:27    阅读次数:313
[LeetCode OJ] Symmetric Tree
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:其他好文   时间:2014-06-18 13:29:31    阅读次数:214
android XML解析器全解案例
1.使用pull解析 1 package com.example.myxml; 2 3 import java.io.InputStream; 4 import java.util.ArrayList; 5 import java.util.List; 6 7 import org.xmlpul.....
分类:移动开发   时间:2014-06-18 13:28:17    阅读次数:228
[Android]用图库打开指定的文件夹,没错是第一个画面直接是图库的文件夹画面
参考了这个里面的代码http://bbs.csdn.net/topics/380084274一直报错06-16 23:58:50.698 26148-26161/com.example.myapplication.app W/ContentResolver﹕ Failed to get type f...
分类:移动开发   时间:2014-06-18 12:52:30    阅读次数:267
使用Sharesdk实现第三方平台登录(qq,新浪微博)
首先到sharesdk开放píng台下载demo ,以下要用到的文件来自于 simple里面第一步:导入官方的jar包 第二步:添加ShareSDK.xml文件并修改相关píng台key第三步:AndroidManifest.xml文件中添加 ...
分类:其他好文   时间:2014-06-17 20:18:34    阅读次数:198
TextView不用获取焦点也能实现跑马灯
1.写一个类继承TextView[java]view plaincopypackagecom.example.tt;importandroid.content.Context;importandroid.graphics.Rect;importandroid.util.AttributeSet;im...
分类:其他好文   时间:2014-06-17 15:43:33    阅读次数:264
Git使用总结
一、Git的特性Speed 速度(git是用c语言写的。一般都是提交到本地)Simple designStrong support for non-linear development (thousands of parallel branches)(强有力的支持非线性开发)Fully distri...
分类:其他好文   时间:2014-06-17 14:03:06    阅读次数:303
requerjs 合并 优化配置
/* * This is an example build file that demonstrates how to use the build system for * require.js. * * THIS BUILD FILE WILL NOT WORK. It is referencin...
分类:Web程序   时间:2014-06-17 13:06:47    阅读次数:369
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!