DescriptionConflicts are everywhere in the
world, from the young to the elderly, from families to countries. Conflicts
cause quarrels, fights or even ...
分类:
其他好文 时间:
2014-06-07 04:23:10
阅读次数:
213
开放服务网关倡议(OSGi)定义了开发和部署模块应用程序和库的体系结构。作为介绍OSGi的第一篇文章,本文旨在让你了解OSGi开发的一些概念,并向你展示了如何使用Eclipse的OSGi容器(Equinox)实现建立一个简单的Hello World应用。此外还简要介绍了使用OSGi构建面向服务的应用程序以及OSGi的servicefactory和servicetracker类。
OSGI(Open Services Gateway Initiative),也叫JAVA动态模块系统,定义了一套模块应用开发的...
分类:
其他好文 时间:
2014-06-05 12:33:11
阅读次数:
379
【开胃小菜】
当提到python中strip方法,想必凡接触过python的同行都知道它主要用来切除空格。有以下两种方法来实现。
方法一:用内置函数
#
if __name__ == '__main__':
str = ' Hello world '
print '[%s]' %str.strip()
#
方法二:调用string模块中方法
#
import s...
分类:
编程语言 时间:
2014-06-05 09:27:48
阅读次数:
330
----------------------------------------------------hello world-------------------------------------------
linux 创建如下文件 vim hello
#! /bin/bash //告诉Shell 使用哪个Shell 程序
#Display a line //#表示...
分类:
其他好文 时间:
2014-06-05 02:41:41
阅读次数:
393
原创地址: http://www.cnblogs.com/Alandre/
(泥沙砖瓦浆木匠),需要转载的,保留下! Thanks
The reasonable man adapts himself to the world;the unreasonable one persists in trying to adapt the world to himself. —萧...
分类:
编程语言 时间:
2014-06-04 22:51:46
阅读次数:
457
perl重点基础知识整理#若无特殊说明,以下都是基于ubuntu
13.04版本1:终端下运行perl脚本:step1:在桌面新建一个perl脚本,输入:#! /usr/bin/perlprint "hello
world!";step2:打开终端:hqh@ubuntu:~$ cd ~/...
分类:
其他好文 时间:
2014-05-31 04:29:18
阅读次数:
331
http://world.openwebglobe.org/http://cesiumjs.org/demos.htmlhttp://www.webglearth.com/#ll=30.84991,-85.83333;alt=185032;h=0.060;t=1.248http://www.chro...
分类:
Web程序 时间:
2014-05-30 18:43:13
阅读次数:
285
不能免俗,先打印个helloworld出来,c代码的函数hello.c#include int
helloworld(){ printf("hello world!"); return 0;}然后编译成动态链接库 gcc hello.c -fPIC
-shared -o libhello...
分类:
编程语言 时间:
2014-05-30 02:08:52
阅读次数:
467
题目描述SH likes traveling around the world. When he
arrives at a city, he will ask the staff about the number of cities that
connected with this city dir...
分类:
其他好文 时间:
2014-05-29 21:47:24
阅读次数:
381
The sound of a mosquito can mean trouble in many
parts of the world.The bite of a mosquito can be deadly.Today, we will hear
about some of the disease...
分类:
其他好文 时间:
2014-05-29 18:03:42
阅读次数:
246