转载自:http://wowubuntu.com/markdown/basic.html Markdown: Basics (快速入门) / (点击查看完整语法说明) Getting the Gist of Markdown's Formatting Syntax 此页提供了 Markdown 的简 ...
分类:
其他好文 时间:
2018-01-25 13:08:28
阅读次数:
222
1,hashlib模块 摘要算法 import hashlib md5 = hashlib.md5() md5.update('how to use md5 in python hashlib?') print md5.hexdigest() 计算结果如下: d26a53750bc40b38b65a ...
分类:
编程语言 时间:
2018-01-24 19:55:06
阅读次数:
247
Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operations include Push ( ...
分类:
其他好文 时间:
2018-01-24 16:56:53
阅读次数:
186
函数 函数一词来源于数学,但编程中的「函数」概念,与数学中的函数是有很大不同的,具体区别,我们后面会讲,编程中的函数在英文中也有很多不同的叫法。在BASIC中叫做subroutine(子过程或子程序),在Pascal中叫做procedure(过程)和function,在C中只有function,在J ...
分类:
编程语言 时间:
2018-01-24 16:53:21
阅读次数:
176
1.安装eclipse(略); 2.安装jdk(略); 3.安装SDK 我下载的SDK是这样的: SDK Readme: Welcome to the Android SDK! The Android SDK archive initially contains only the basic SDK ...
分类:
移动开发 时间:
2018-01-24 15:33:51
阅读次数:
222
用apache发布svn除了安装svn外,还需要安装httpd的模块yuminstallmod_dav_svn-y把项目文件的拥有者改成apachecd/application/svndata/chown-Rapache:apachesadoc安装完毕后编辑vim/etc/httpd/conf.d/subversion.conf<Location/svn/>DAVsvnSVNParen
分类:
Web程序 时间:
2018-01-22 14:09:46
阅读次数:
207
一、测试环境 与log4j(一)——为什么要使用log4j?一样,这里不再重述 二、老规矩,先来个例子,然后再聊聊感受 三:感受 1)上面的代码将几种常用的日志输出风格都列出来了,感兴趣的话,可以将注释解注,试验一下效果 2)通过试验,我也将每种风格的日志信息都是输出什么也简单的列举了一下,总的感觉 ...
分类:
其他好文 时间:
2018-01-22 13:09:10
阅读次数:
168
该库的中心组件是basic_ptree类模板。该类的实例是属性树。对 key 和 data_type进行参数化; 总之,就是,模版编程那一套ptree, wptree, iptree和wiptree都是basic_ptree的typedef,使用预定义的模板参数组合核心,就是:basic_ptree... ...
分类:
其他好文 时间:
2018-01-22 00:08:14
阅读次数:
290
微信小程序wxss设置样式 对于以前搞客户端开发的来说,有着客户端的逻辑,就是不知道怎么设置样式,把对应的控件显示出来 一、wxml 界面结构wxmL比较容易理解,主要是由八大类基础组件构成: 一、视图容器(View Container): 二、基础内容(Basic Content) 组件名 说明 ...
分类:
微信 时间:
2018-01-21 16:18:33
阅读次数:
1716
from timeit import Timerimport time# l = []# k = []# s_time = time.time()# for i in range(1000):# l.append(i)# e_time = time.time()# f_time = s_time-e ...
分类:
其他好文 时间:
2018-01-21 12:38:43
阅读次数:
153