hashlib的md5和sha1等的运用 import hashlib print(hashlib.algorithms_available) print(hashlib.algorithms_guaranteed) #MD5 import hashlib hash_object = hashlib.md5(b‘Hello World‘) print(hash_object.he...
分类:
其他好文 时间:
2014-11-25 23:56:30
阅读次数:
456
World Wind Java 使用IconLayer图层类表现点和多点数据,使用RenderableLayer图层表现线和面数据,一个图层只能对应一组shape文件。World Wind Java首先使用ShapefileLoader类完成对shape文件的读取和加载,再通过createLayerFromSource方法创建RenderableLayer,最后将创建的Layer加在layers上...
分类:
编程语言 时间:
2014-11-25 23:52:46
阅读次数:
250
在网页中使用Bootstrap
我们创建了一个最简单的基本模版
Bootstrap
Hello, world!
1.首先我们可以将Bootstrap的样式文件引用到网页中
2.如果你需要使用Bootstrap架...
分类:
其他好文 时间:
2014-11-25 18:37:39
阅读次数:
114
;博客测试data segment tab db 'hello world$'data ends code segment assume cs:code, ds:data start: ...
分类:
其他好文 时间:
2014-11-25 18:17:24
阅读次数:
178
第一个程序://第一个hello world程序。class HelloWorld{ public static void main(String[] args) { System.out.println("Hello World!"); } ...
分类:
其他好文 时间:
2014-11-25 18:16:10
阅读次数:
155
Scala创建以及实例化的方式:
//创建一个长度为3的字符串数组,并逐个赋值,然后打印输出结果
val greetStrings = new Array[String](3)
greetStrings(0)="Hello"
greetStrings(1)=","
greetStrings(2)="world\n"
for(i <- 0 to 2){
print(greetStrings(i)...
分类:
编程语言 时间:
2014-11-25 12:55:03
阅读次数:
232
/*
*Author : DavidLin
*Date : 2014-11-22pm
*Email : linpeng1577@163.com or linpeng1577@gmail.com
*world : the city of SZ, in China
*Ver : 000.000.001
*history :...
分类:
系统相关 时间:
2014-11-24 20:54:08
阅读次数:
237
/*
*Author : DavidLin
*Date : 2014-11-22pm
*Email : linpeng1577@163.com or linpeng1577@gmail.com
*world : the city of SZ, in China
*Ver : 000.000.001
*h...
分类:
系统相关 时间:
2014-11-24 20:53:32
阅读次数:
336
Dinner
时间限制:100 ms | 内存限制:65535 KB
难度:1
描述Little A is one member of ACM team. He had just won the gold in World Final. To celebrate, he decided to invite all to have one meal. As bowl, ...
分类:
其他好文 时间:
2014-11-24 15:25:14
阅读次数:
203
package main
import (
"fmt"
"io/ioutil"
"net/http"
"net/url"
"strings"
)
func main() {
v := url.Values{}
v.Set("huifu", "hello world")
body := ioutil.NopCloser(strings.NewReader(v.Encode(...
分类:
Web程序 时间:
2014-11-24 12:09:30
阅读次数:
148