浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  12653 随笔 :: 2 文章 :: 617 评论 :: 609万 阅读

11 2012 档案

摘要:#!/usr/bin/env python#encoding=utf-8def unicode2str(input_str): """ 将unicode类型转换为str类型 """ if type(input_str)==type(u""): return input_str.encode("utf-8","ignore") return input_strdef str2unicode(str... 阅读全文
posted @ 2012-11-30 13:23 lexus 阅读(234) 评论(0) 推荐(0) 编辑

摘要:【转】Ubuntu server 9.10更改网卡配置设置IP地址_wapvictory的空间_百度空间【转】Ubuntu server 9.10更改网卡配置设置IP地址(转自百度贴吧) Ubuntu系统装完了后,在图形界面设置网卡的IP,可不是一件简单的事情!接下来,就介绍一下通过其它方式设置网卡的IP地址。以eth0为例1. 以DHCP方式配置网卡 编辑文档/etc/network/inter... 阅读全文
posted @ 2012-11-30 13:18 lexus 阅读(377) 评论(0) 推荐(0) 编辑

摘要:network manager - Have to run sudo dhclient eth0 automatically every boot - Ask UbuntuHave to run sudo dhclient eth0 automatically every boot up vote 0 down votefavoriteI just installed ubuntu 12.04.1... 阅读全文
posted @ 2012-11-30 13:17 lexus 阅读(496) 评论(0) 推荐(0) 编辑

摘要:1 #!/usr/bin/env python 2 #encoding=utf-8 3 a=["zzzz","z","zzzzzzzzzzzzzzz"] 4 def cmp(x,y): 5 if x.__len__()>y.__len__(): 6 return 1 7 elif x.__len__()==y.__len__(): 8 return 0 9 else:10 return -111... 阅读全文
posted @ 2012-11-29 21:30 lexus 阅读(257) 评论(0) 推荐(0) 编辑

摘要:Samba配置初略指南1) 确认系统已经安装Samba软件(rpm -qa samba)2) 修改Samba配置文件:/etc/samba/smb.conf文件,添加如下更改security = share[wangzh] //<-- [share]共享路径名path = /home/wangzh //共享路径绝对路径public = yesonly guest = yeswritable ... 阅读全文
posted @ 2012-11-29 11:14 lexus 阅读(163) 评论(0) 推荐(0) 编辑

摘要:【开源访谈】AVPlayer 作者王功铭访谈实录 - 讨论区 - 开源中国社区【开源访谈】AVPlayer 作者王功铭访谈实录虫虫 发表于 11-27 14:19 昨天(14:19), 14回/1352阅, 最后回答: 昨天(23:21) 讨论区» 技术分享 关于开源访谈开源访谈是开源中国推出的一系列针对国内优秀开源软件作者的访谈,以文字的方式记录并传播。我们希望开源访谈能... 阅读全文
posted @ 2012-11-28 17:46 lexus 阅读(646) 评论(0) 推荐(0) 编辑

摘要:fcppt 0.12.0 发布,C++常用类库 - 开源中国fcppt 0.12.0 改进了 CMake 集成,大大简化了其他基于 CMake 项目使用 fcppt 的便利性;增加了一些新函数,主要在数学计算方面;移除 fcppt.thread ,因为 boost 的原因,boost.thread 已经完成了 fcppt.thread 能做的所有事情;修复了 unique_ptr 的bug。fcp... 阅读全文
posted @ 2012-11-28 17:37 lexus 阅读(266) 评论(0) 推荐(0) 编辑

摘要:CouchDB降临Android CouchDB降临Android 作者 Abel Avram 译者 丁雪丰 发布于 2010年8月20日 领域 运维 & 基础架构, 架构 & 设计, 语言 & 开发 主题 Ruby , CouchDB , Java , 动态语言 , Android , NoSQL , .NET , 数据访问 , 移动 , 操作系统 新浪微博 腾讯微博 豆瓣网... 阅读全文
posted @ 2012-11-28 17:26 lexus 阅读(276) 评论(0) 推荐(0) 编辑

摘要:“求包养”网站暴红美国 女学生用户显著飙升_新闻_腾讯网“求包养”网站暴红美国 女学生用户显著飙升国际花边环球时报 [微博] 任安理 刘皓然2012-11-21 02:55我要分享腾讯微博QQ空间微信朋友新浪微博人人QQ邮箱开心网|xGv00|81d4345ed0b70db9d8e33923520f2229 |xGv00|72ed101822623daec364ba2c1c3141bf10环球时报... 阅读全文
posted @ 2012-11-28 17:17 lexus 阅读(315) 评论(0) 推荐(0) 编辑

摘要:Appcelerator徐旸:新一代移动互联网技术-CSDN.NETppcelerator徐旸:新一代移动互联网技术发表于2012-09-08 14:35| 1588次阅读| 来源CSDN| 0 条评论| 作者夏梦竹SDCC徐旸Appcelerator摘要:Appcelerator云计算平台技术总监兼中国区总裁徐旸带来主题为《新一代移动互联网技术... 阅读全文
posted @ 2012-11-28 16:43 lexus 阅读(335) 评论(0) 推荐(0) 编辑

摘要:C++ cross platform mobile framework only for the UI - Stack Overflow 2 down voteCross mobile is slightly impossible for now. Why not try to code everything in html5? And write platform specific C++ co... 阅读全文
posted @ 2012-11-28 16:07 lexus 阅读(283) 评论(0) 推荐(0) 编辑

摘要:Create native mobile apps for multiple platforms │ HTML5/JavaScript and C++ developer toolsLatest HTML5/JavaScript Resources Working with JavaScript PrototypesThe object hierarchy in JavaScript enable... 阅读全文
posted @ 2012-11-28 16:05 lexus 阅读(132) 评论(0) 推荐(0) 编辑

摘要:Create native mobile apps for multiple platforms │ HTML5/JavaScript and C++ developer toolsLatest C/C++ ResourcesEvent Handling in a MoSync Hybrid AppOne of the unique features of the MoSync SDK is it... 阅读全文
posted @ 2012-11-28 16:05 lexus 阅读(208) 评论(0) 推荐(0) 编辑

摘要:Real Android apps leveraging db4o persistence engine (Part 2) | Architects Zone Real Android apps leveraging db4o persistence engine (Part 2) 11.30.2010 | 4329 views | Tweet inShare0 Tweet 0 inShare s... 阅读全文
posted @ 2012-11-28 16:02 lexus 阅读(244) 评论(0) 推荐(0) 编辑

摘要:Issues with db4o in latest versions of Android?db4o NewsIssues with db4o in latest versions of Android?Posted in [Core Team] By German ViscusoSome people have reported issues after including the db4o ... 阅读全文
posted @ 2012-11-28 15:47 lexus 阅读(176) 评论(0) 推荐(0) 编辑

摘要:Proguard You are here: Platform Specific Issues > Android > Proguard Direct Link to this Article Proguard The Android SDK includes Proguard to shrink the size of the application by removing unused stu... 阅读全文
posted @ 2012-11-28 15:46 lexus 阅读(335) 评论(0) 推荐(0) 编辑

摘要:ProGuard简介Jump to: navigation, search 下载 Proguard是开源的软件,他是基于Java语言写成的,因此他的运行需要Java(JRE1.4或更高版本)运行环境。我们可以从http://Proguard.sourceforge.net 免费下载到。目前的最新版本为Proguard4.5。 介绍 ProG... 阅读全文
posted @ 2012-11-28 15:46 lexus 阅读(326) 评论(0) 推荐(0) 编辑

摘要:Real Android apps leveraging db4o persistence engine (Part 1) | Javalobby Real Android apps leveraging db4o persistence engine (Part 1) 07.19.2010 | 7316 views | Tweet inShare0 This the first delivery... 阅读全文
posted @ 2012-11-28 15:24 lexus 阅读(157) 评论(0) 推荐(0) 编辑

摘要:openintents - Make Android applications work together. - Google Project HostingOpenIntents has been accepted for Google Summer of Code 2012! Previously OpenIntents participated in Google Summer of Co... 阅读全文
posted @ 2012-11-28 15:18 lexus 阅读(33) 评论(0) 推荐(0) 编辑

摘要:java - How to install and use db4o for Android? - Stack Overflow 2 down vote favorite4I have to admit that I'm new to Java and Android. db4o seems to be an excellent DB framework to replace SQLite htt... 阅读全文
posted @ 2012-11-28 15:18 lexus 阅读(247) 评论(0) 推荐(0) 编辑

摘要:openintents - Make Android applications work together. - Google Project HostingOpenIntents has been accepted for Google Summer of Code 2012! Previously OpenIntents participated in Google Summer of Co... 阅读全文
posted @ 2012-11-28 15:17 lexus 阅读(42) 评论(0) 推荐(0) 编辑

摘要:android-passwordsafe - Android Password Safe - Google Project Hosting android-passwordsafe Android Password Safe Project Home Wiki Source Summary People Project Information [Click to star project]... 阅读全文
posted @ 2012-11-28 15:15 lexus 阅读(89) 评论(0) 推荐(0) 编辑

摘要:Android Password ManagerAndroid Password ManagerContentsDetailsSQL Initialization overheadDatabase opening and creation mechanismUpdating and inserting dataFetching all entriesFetching an entry by a f... 阅读全文
posted @ 2012-11-28 15:11 lexus 阅读(302) 评论(0) 推荐(0) 编辑

摘要:DB4O on Android | Beijing 经验 开放 dB4O 开发 聚会 Party Open | - 好看簿图片博客:用照片记录生活 阅读全文
posted @ 2012-11-28 15:05 lexus 阅读(102) 评论(0) 推荐(0) 编辑

摘要:db4o 转载 - 疯狂 --专注java,开源,架构,项目管理 - BlogJavaAndroid与db4o的完美结合-Password Manager项目简介 这里提供的Password Manager项目是Steven Osborn编写的PasswordSafe(在Apache License下发行)的改写版,目前已经实现了在Android平台下的基本密码管理功能。项目源代码中使用db4o... 阅读全文
posted @ 2012-11-28 14:47 lexus 阅读(206) 评论(0) 推荐(0) 编辑

摘要:Android 使用html做UI的方法---js与java的相互调用 - ysongren的日志 - 网易博客Android 使用html做UI的方法---js与java的相互调用 2010-10-21 22:20:41|分类: android |标签: |字号大中小订阅android中的关键代码:webview.getSettings().setJavaScriptEnabled(true)... 阅读全文
posted @ 2012-11-28 14:35 lexus 阅读(611) 评论(0) 推荐(0) 编辑

摘要:droiddraw - DroidDraw is a graphical user interface (GUI) builder for the Android platform - Google Project HostingDroidDraw is a graphical user interface (GUI) builder for the Android platform.Here i... 阅读全文
posted @ 2012-11-28 14:12 lexus 阅读(30) 评论(0) 推荐(0) 编辑

摘要:droiddraw - DroidDraw is a graphical user interface (GUI) builder for the Android platform - Google Project HostingDroidDraw is a graphical user interface (GUI) builder for the Android platform.Here i... 阅读全文
posted @ 2012-11-28 13:57 lexus 阅读(26) 评论(0) 推荐(0) 编辑

摘要:def is_chinese_or_space(str): """ >>> is_chinese_or_space(u"中国 人") True >>> is_chinese_or_space(u"中国 人1") False >>> is_chinese_or_space(u"华为huawei") False >>> is_chinese_or_space(u"游泳裤xxxl") False "... 阅读全文
posted @ 2012-11-28 11:14 lexus 阅读(233) 评论(0) 推荐(0) 编辑

摘要:javamelody - monitoring of JavaEE applications - Google Project HostingThe goal of JavaMelody is to monitor Java or Java EE application servers in QA and production environments. It is not a tool to s... 阅读全文
posted @ 2012-11-28 10:59 lexus 阅读(80) 评论(0) 推荐(0) 编辑

摘要:汉字 - 维基百科,自由的百科全书Unicode范围U+4E00至U+9FFF U+3400至U+4DBF(扩展A) 阅读全文
posted @ 2012-11-28 10:43 lexus 阅读(139) 评论(0) 推荐(0) 编辑

摘要:如何判断一个unicode字符是否是中文? - Nokia Developer Community - Discussions汉字的unicode编码范围是4e00-9fa5用这个判断 阅读全文
posted @ 2012-11-28 10:15 lexus 阅读(233) 评论(0) 推荐(0) 编辑

摘要:感谢您使用八爪推送! 访问www.ibazhua.com 就可以将电脑中的文件直接推送到手机,不止是文字,还可以发送图片、视频、Word、PDF等各种本地文件。 免费发送,高速便捷 ************** 有任何问题或意见,请联系我们 电话:4000900666 邮箱:bazhua_support@igexin.com QQ群:232488210 阅读全文
posted @ 2012-11-28 09:03 lexus 阅读(316) 评论(0) 推荐(0) 编辑

摘要:《如何写Makefile》,作者:jenimils,原文链接:http://www.cnblogs.com/L-hq815/archive/2012/11/22/2783188.html 分享自:博客园Android客户端(http://android.walkingp.com/cnblogs/) 阅读全文
posted @ 2012-11-28 08:47 lexus 阅读(173) 评论(0) 推荐(0) 编辑

摘要:《Data Structures with C++ Using STL Chapter 3算法概述---笔记》,作者:茉莉花茶,原文链接:http://www.cnblogs.com/ycxgmail/archive/2012/11/26/2789597.html 分享自:博客园Android客户端(http://android.walkingp.com/cnblogs/) 阅读全文
posted @ 2012-11-28 08:44 lexus 阅读(110) 评论(0) 推荐(0) 编辑

摘要:《Data Structures with C++ Using STL Chapter 3算法概述---笔记》,作者:茉莉花茶,原文链接:http://www.cnblogs.com/ycxgmail/archive/2012/11/26/2789597.html 分享自:博客园Android客户端(http://android.walkingp.com/cnblogs/) 阅读全文
posted @ 2012-11-28 08:44 lexus 阅读(162) 评论(0) 推荐(0) 编辑

摘要:《OpenCV 2.4+ C++ SVM文字识别》,作者:Justany_WhiteSnow,原文链接:http://www.cnblogs.com/justany/archive/2012/11/27/2789767.html 分享自:博客园Android客户端(http://android.walkingp.com/cnblogs/) 阅读全文
posted @ 2012-11-28 08:41 lexus 阅读(810) 评论(0) 推荐(0) 编辑

摘要:《用Xwt构建跨平台应用程序》,原文链接:http://news.cnblogs.com/n/165101/ 分享自:博客园Android客户端(http://android.walkingp.com/cnblogs/) 阅读全文
posted @ 2012-11-28 08:30 lexus 阅读(317) 评论(0) 推荐(0) 编辑

摘要:《凡客诚品-工作经历 程序员你有一个感恩的心吗?》,作者:dz45693,原文链接:http://www.cnblogs.com/majiang/archive/2012/11/27/2791720.html 分享自:博客园Android客户端(http://android.walkingp.com/cnblogs/) 阅读全文
posted @ 2012-11-28 08:27 lexus 阅读(161) 评论(0) 推荐(0) 编辑

摘要:《凡客诚品-工作经历 程序员你有一个感恩的心吗?》,作者:dz45693,原文链接:http://www.cnblogs.com/majiang/archive/2012/11/27/2791720.html 分享自:博客园Android客户端(http://android.walkingp.com/cnblogs/) 阅读全文
posted @ 2012-11-28 08:27 lexus 阅读(132) 评论(0) 推荐(0) 编辑

摘要:《凡客诚品-工作经历 程序员你有一个感恩的心吗?》,作者:dz45693,原文链接:http://www.cnblogs.com/majiang/archive/2012/11/27/2791720.html 分享自:博客园Android客户端(http://android.walkingp.com/cnblogs/) 阅读全文
posted @ 2012-11-28 08:27 lexus 阅读(167) 评论(0) 推荐(0) 编辑

摘要:编码转换:UTF-8 BOM to GBK http://my.oschina.net/ypimgt/blog/89598 阅读全文
posted @ 2012-11-28 01:25 lexus 阅读(334) 评论(0) 推荐(0) 编辑

摘要:理解并解决GBK转UTF-8奇数中文乱码 http://my.oschina.net/liubinbin/blog/91817 阅读全文
posted @ 2012-11-28 01:17 lexus 阅读(469) 评论(0) 推荐(0) 编辑

摘要:R语言最好的IDE——RStudio http://my.oschina.net/u/236959/blog/92088 阅读全文
posted @ 2012-11-28 01:15 lexus 阅读(336) 评论(0) 推荐(0) 编辑

摘要:常用汉字的unicode 编码 http://my.oschina.net/Boston/blog/92273 阅读全文
posted @ 2012-11-28 01:11 lexus 阅读(253) 评论(0) 推荐(0) 编辑

摘要:>>> a=set()>>> a.add(1)>>> aset([1])>>> for idx,elem in enumerate(a):... print idx,elem... 0 1 阅读全文
posted @ 2012-11-27 20:17 lexus 阅读(129) 评论(0) 推荐(0) 编辑

摘要:>>> a=set()>>> a.add(1)>>> aset([1])>>> for idx,elem in enumerate(a):... print idx,elem... 0 1 阅读全文
posted @ 2012-11-27 20:17 lexus 阅读(174) 评论(0) 推荐(0) 编辑

摘要:1 #!/usr/bin/env python 2 #encoding=utf-8 3 class A(object): 4 def __init__(self): 5 print "a init" 6 print self.__class__ 7 8 def do(self): 9 print self.__class__.__name__10 class B(A):11 def __ini... 阅读全文
posted @ 2012-11-27 16:18 lexus 阅读(375) 评论(0) 推荐(0) 编辑

摘要:class B: passb=B()print b.__class__.__name__ 阅读全文
posted @ 2012-11-27 13:34 lexus 阅读(338) 评论(0) 推荐(0) 编辑

摘要:排序算法稳定性_百度百科 排序算法稳定性 目录 概念 判断方法 常见排序算法的稳定性 编辑本段概念 假定在待排序的记录序列中,存在多个具有相同的关键字的记录,若经过排序,这些记录的相对次序保持不变,即在原序列中,ri=rj,且ri在rj之前,而在排序后的序列中,ri仍在rj之前,则称这种排序算法是稳定的;否则称为不稳定的。 编辑本段判断方法 对于不稳定的排序算法,只要举出一个实例,即可说明... 阅读全文
posted @ 2012-11-27 13:12 lexus 阅读(193) 评论(0) 推荐(0) 编辑

摘要:C++ 基础 - woaidongmao - C++博客C++ 基础 阅读全文
posted @ 2012-11-27 13:10 lexus 阅读(175) 评论(0) 推荐(0) 编辑

摘要:STL stable_sort 稳定排序 - woaidongmao - C++博客STL stable_sort 稳定排序所谓稳定排序,是指对一个序列进行排序之后,如果两个元素的值相等,则原来乱序时在前面的元素现在(排好序之后)仍然排在前面。STL中提供stable_sort()函数来让我们进行稳定排序。为了更好的说明稳定排序的效果,我们定义了一个结构体元素,一个value成员和一个index成... 阅读全文
posted @ 2012-11-27 13:09 lexus 阅读(393) 评论(0) 推荐(0) 编辑

摘要:简明 Python 教程简明 Python 教程 下一页简明 Python 教程 Swaroop, C. H. 著 沈洁元译 www.byteofpython.info版本:1.20 A Byte of Python Copyright © 2003-2005 Swaroop C H 简明 Python 教程 《简明 Python 教程》为 "A Byte of Python" 的唯一指定简体中文... 阅读全文
posted @ 2012-11-27 10:34 lexus 阅读(270) 评论(0) 推荐(0) 编辑

摘要:简明 Python 教程 / 面向对象的编程 / 类与对象的方法简明 Python 教程第11章 面向对象的编程上一页 类与对象的方法 下一页类与对象的方法我们已经讨论了类与对象的功能部分,现在我们来看一下它的数据部分。事实上,它们只是与类和对象的名称空间 绑定 的普通变量,即这些名称只在这些类与对象的前提下有效。有两种类型的 域 ——类的变量和对象的变量,它们根据是类还是对象 拥有 这个变量而区... 阅读全文
posted @ 2012-11-27 10:32 lexus 阅读(216) 评论(0) 推荐(0) 编辑

摘要:简明 Python 教程 / 面向对象的编程 / 继承简明 Python 教程第11章 面向对象的编程上一页 继承 下一页继承面向对象的编程带来的主要好处之一是代码的重用,实现这种重用的方法之一是通过 继承 机制。继承完全可以理解成类之间的 类型和子类型 关系。假设你想要写一个程序来记录学校之中的教师和学生情况。他们有一些共同属性,比如姓名、年龄和地址。他们也有专有的属性,比如教师的薪水、课程和假... 阅读全文
posted @ 2012-11-27 10:31 lexus 阅读(183) 评论(0) 推荐(0) 编辑

摘要:对于Python继承问题全解析 - 51CTO.COM这一点十分重要——Python不会自动调用基本类的constructor,你得亲自专门调用它。我们还观察到我们在方法调用之前加上类名称前缀, 阅读全文
posted @ 2012-11-27 10:23 lexus 阅读(151) 评论(0) 推荐(0) 编辑

摘要:python super() - 漩涡鸣人 - 博客园python super()一、问题的发现与提出在Python类的方法(method)中,要调用父类的某个方法,在Python 2.2以前,通常的写法如代码段1:代码段1:class A:def __init__(self):print "enter A"print "leave A"class B(A):def __init__(self):... 阅读全文
posted @ 2012-11-27 10:18 lexus 阅读(249) 评论(0) 推荐(0) 编辑

摘要:python Property属性用法 - 漩涡鸣人 - 博客园python Property属性用法假设定义了一个类:C,该类必须继承自object类,有一私有变量_xclass C: def __init__(self): self.__x=None 1.现在介绍第一种使用属性的方法: 在该类中定义三个函数,分别用作赋值、取值和删除变量(此处表达也许不很清晰,请看示例) def getx(se... 阅读全文
posted @ 2012-11-27 10:10 lexus 阅读(300) 评论(0) 推荐(0) 编辑

摘要:对python中property函数的理解 - A.TNG(阿唐)的博客:人生路漫漫,快乐先行 - 博客频道 - CSDN.NET对python中property函数的理解 分类: 1.7 Python 2008-03-01 17:46 6266人阅读 评论(0) 收藏 举报对python中property函数的理解下载了python-twitter-0.5的代码,想学... 阅读全文
posted @ 2012-11-27 10:09 lexus 阅读(724) 评论(0) 推荐(0) 编辑

摘要:Python的property - 北极神话的日志 - 网易博客Python的property 2008-02-23 21:41:08|分类: python |标签: |字号大中小订阅property([fget[, fset[, fdel[, doc]]]])Return a property attribute for new-style classes (classes that deri... 阅读全文
posted @ 2012-11-27 10:06 lexus 阅读(442) 评论(0) 推荐(0) 编辑

摘要:百度移动平台系统手机扫描二维码可直接下载空间客户端 阅读全文
posted @ 2012-11-27 10:01 lexus 阅读(160) 评论(0) 推荐(0) 编辑

摘要:Python 3程序开发指南 (第二版) 中文PDF下载 Programming in Python 3, 2rd Ed - Python - 大家论坛 -Python 3程序开发指南 (第二版) 中文PDF下载 Programming in Python 3, 2rd Editi 编辑推荐 在本书中,一流的Python程序员Mark Summerfield展示了如何充分利用Python 3... 阅读全文
posted @ 2012-11-27 09:56 lexus 阅读(2659) 评论(0) 推荐(0) 编辑

摘要:51CTO移动客户端可以在线下载安装啦 - 51CTO博客开发 - 51CTO技术博客51CTO移动客户端可以在线下载安装啦2012-11-09 14:10:48标签:51CTO 51CTO客户端下载地址: Android版>> iphone版>>大家还可以直接在APP store/安智市场里搜索“51CTO”,直接在线安装哦!亲爱的广大网友: 51CTO移动客户端发布了,大家可以下载使用... 阅读全文
posted @ 2012-11-27 09:54 lexus 阅读(264) 评论(0) 推荐(0) 编辑

摘要:多态_python的小窝_百度空间 多态 什么是多态(Polymorphism)?按字面的意思就是“多种形状”。引用Charlie Calverts对多态的描述——多态性是允许你将父对象设置成为和一个或更多的他的子对象相等的技术,赋值之后,父对象就可以根据当前赋值给它的子对象的特性以不同的方式运作(摘自“Delphi4 编程技术内幕”)。简单的说,就是一句话:允许将子类类型的指针赋值给父类类型的指... 阅读全文
posted @ 2012-11-27 09:49 lexus 阅读(195) 评论(0) 推荐(0) 编辑

摘要:Python Module of the Week - Python Module of the WeekPyMOTW »Python Module of the WeekThe Python Module of the Week series, or PyMOTW, is a tour of the Python standard library through short examples. ... 阅读全文
posted @ 2012-11-26 14:46 lexus 阅读(777) 评论(0) 推荐(0) 编辑

摘要:Standard Exception Classes in Python 1.5Standard Exception Classes in Python 1.5(updated for Python 1.5.2 -baw)User-defined Python exceptions can be either strings or Python classes. Since classes ha... 阅读全文
posted @ 2012-11-26 14:00 lexus 阅读(265) 评论(0) 推荐(0) 编辑

摘要:Standard Exception Classes in Python 1.5Fatal BreakageMore serious is breaking error handling code. This usually happens because the error handling code expects the exception or the value associated ... 阅读全文
posted @ 2012-11-26 14:00 lexus 阅读(203) 评论(0) 推荐(0) 编辑

摘要:Area under a curve [Home] How to calculate areas under a function graph.This topic is part of the TCS FREE high school mathematics 'How-to Library', and will help you to calculate area... 阅读全文
posted @ 2012-11-26 13:15 lexus 阅读(388) 评论(0) 推荐(0) 编辑

摘要:Python 处理 ini 格式文件 | ConfigParser的使用 [Python俱乐部]Python 处理 ini 格式文件 | ConfigParser的使用ini文件格式概述ini 文件是文本文件,ini文件的数据格式一般为:[Section1 Name] KeyName1=value1 KeyName2=value2 ... [Section2 Name] KeyName1... 阅读全文
posted @ 2012-11-26 11:43 lexus 阅读(308) 评论(0) 推荐(0) 编辑

摘要:125 def load_conf_from_file(self,ini_file):126 """127 从配置文件加载参数128 """129 key_fist_part=""130 for line in codecs.open(ini_file,"r","utf-8"):131 #忽略#注释行132 if line.strip()=="" or line.strip()[0]=="#":1... 阅读全文
posted @ 2012-11-26 11:40 lexus 阅读(234) 评论(0) 推荐(0) 编辑

摘要:ini文件_百度百科ini文件目录 简介 INI文件名 格式 节 参数(键=值) 注解 ini文件实例 展开简介 .ini 文件是Initialization File的缩写,即初始化文件。是windows的系统配置文件所采用的存储格式,统管windows的各项配置,一般用户就用windows提供的各项图形化管理界面就可实现相同的配置了,但在某些情况,还是要直接编辑.ini才方便,一般只有很熟悉w... 阅读全文
posted @ 2012-11-26 10:41 lexus 阅读(198) 评论(0) 推荐(0) 编辑

摘要:。。。 阅读全文
posted @ 2012-11-25 23:17 lexus 阅读(215) 评论(0) 推荐(0) 编辑

摘要:PyTables - Getting the most *out* of your dataWhat is PyTables?PyTables is a package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data... 阅读全文
posted @ 2012-11-25 19:06 lexus 阅读(626) 评论(0) 推荐(0) 编辑

摘要:HI,我正在使用360安全浏览器安卓版(http://mse.360.cn),看到一篇不错内容分享给你:【Solidot | 巴西秘鲁反对亚马逊申请.Amazon顶级域名】,http://internet.solidot.org/article.pl?sid=12/11/22/0948208&from=rss 阅读全文
posted @ 2012-11-25 18:39 lexus 阅读(420) 评论(0) 推荐(0) 编辑

摘要:使用metawebblog API小柯帮了大忙3 阅读全文
posted @ 2012-11-25 18:27 lexus 阅读(148) 评论(0) 推荐(0) 编辑

摘要:GnuTLS 3.1.5 发布,TLS加密协议库 http://www.oschina.net/news/35094/gnutls-3-1-5 阅读全文
posted @ 2012-11-25 18:23 lexus 阅读(268) 评论(0) 推荐(0) 编辑

摘要:GnuTLS 3.1.5 发布,TLS加密协议库 http://www.oschina.net/news/35094/gnutls-3-1-5 阅读全文
posted @ 2012-11-25 18:22 lexus 阅读(248) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 18:15 lexus 阅读(142) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 18:12 lexus 阅读(111) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 13:12 lexus 阅读(141) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 13:11 lexus 阅读(116) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 13:10 lexus 阅读(140) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 13:08 lexus 阅读(125) 评论(0) 推荐(0) 编辑

摘要:Toasts | Android DevelopersThe BasicsFirst, instantiate a Toast object with one of the makeText() methods. This method takes three parameters: the application Context, the text message, and the durati... 阅读全文
posted @ 2012-11-25 13:04 lexus 阅读(216) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 13:01 lexus 阅读(118) 评论(0) 推荐(0) 编辑

摘要:OSCHINA Android 客户端 - 手机相关软件 - 开源中国 OSCHINA Android 客户端 logo OSCHINA Android 客户端 分享到 新浪微博腾讯微博 已用 +20 收藏+103 这是 OSCHINA 官方开发的 Android 客户端软件,采用原生 API 开发,非 HTML 模式。 采用 GPL 授权协议,鼓励你在这基础上进行修改和完善,并与大家分享你的版... 阅读全文
posted @ 2012-11-25 12:41 lexus 阅读(401) 评论(0) 推荐(0) 编辑

摘要:Sending Content to Other Apps | Android DevelopersSending Content to Other AppsPrevious Next Get startedThis lesson teaches you toSend Text ContentSend Binary ContentSend Multiple Pieces of Content Yo... 阅读全文
posted @ 2012-11-25 11:46 lexus 阅读(258) 评论(0) 推荐(0) 编辑

摘要:Customize "share picture via" menu on Android (Android Intent Filters) eggie5.comCustomize "share picture via" menu on Android (Android Intent Filters) Alex Egg, 2010-11-13 2011-06-14 ... 阅读全文
posted @ 2012-11-25 11:44 lexus 阅读(383) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 11:43 lexus 阅读(116) 评论(0) 推荐(0) 编辑

摘要:maven-android-plugin - (renamed to android-maven-plugin) Easy to use Maven plugin for Android™! - Google Project HostingAndroid Maven PluginEasy to use Maven plugin for Android!Welcome to Android Mave... 阅读全文
posted @ 2012-11-25 11:37 lexus 阅读(370) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 11:34 lexus 阅读(116) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 11:28 lexus 阅读(160) 评论(0) 推荐(0) 编辑

摘要:android-logging-log4j - Logging with Log4J in Android | providing LogCat appender, configuration facade and slf4j support - Google Project HostingLogging with Log4J in AndroidWhy logging with log4j in... 阅读全文
posted @ 2012-11-25 11:25 lexus 阅读(146) 评论(0) 推荐(0) 编辑

摘要:android-logging-log4j - Logging with Log4J in Android | providing LogCat appender, configuration facade and slf4j support - Google Project HostingLogging with Log4J in AndroidWhy logging with log4j in... 阅读全文
posted @ 2012-11-25 11:25 lexus 阅读(105) 评论(0) 推荐(0) 编辑

摘要:jmetaweblog - Java MetaWeblog API - Google Project HostingJava MetaWeblog API is a MetaWeblog API implementation in Java.This project utilizes the Apache XMLRPC library, and it also shares Apache Lice... 阅读全文
posted @ 2012-11-25 11:19 lexus 阅读(48) 评论(0) 推荐(0) 编辑

摘要:android-apktool - A tool for reverse engineering Android apk files - Google Project HostingIt is a tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearl... 阅读全文
posted @ 2012-11-25 10:54 lexus 阅读(205) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 10:52 lexus 阅读(113) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 10:35 lexus 阅读(89) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 10:08 lexus 阅读(112) 评论(0) 推荐(0) 编辑

摘要:haha 阅读全文
posted @ 2012-11-25 10:06 lexus 阅读(121) 评论(0) 推荐(0) 编辑

摘要:知识扩充:企业博客、MetaWeblog 和 XML-RPC知识扩充:企业博客、MetaWeblog 和 XML-RPC使用 XML 标准和开源工具创建、格式化和发布文档William von Hagen, 系统管理员,作家, WordSmithsWilliam von Hagen 担任 UNIX 系统管理员已经超过 20 年,并从 1993 年开始成为 Linux 爱好者。Bill 是一些图书的... 阅读全文
posted @ 2012-11-25 09:44 lexus 阅读(241) 评论(0) 推荐(0) 编辑

摘要:用java程序向wordpress发布文章 - Voland.com.cn用java程序向wordpress发布文章2010-05-13, Posted in 人生百味 | 14 回复java向wordpress发布文章也成?当然成!不仅能发布文章,读写都不成问题,还很方便,这些便利得益于XML-RPC协议。WordPress提供了XML-RPC API使得第三方的可以与之通信来发布和修改博客。我... 阅读全文
posted @ 2012-11-25 09:42 lexus 阅读(720) 评论(0) 推荐(0) 编辑

摘要:JAVA : Using Metaweblog API | CodingXJAVA : Using Metaweblog API I was interested in this API since a long time but I didn't take time to write a post on it ! The purpose of this article is to show ho... 阅读全文
posted @ 2012-11-25 09:33 lexus 阅读(296) 评论(0) 推荐(0) 编辑

摘要:MetaWeblog API in Java at indiWiz.comMetaWeblog API in Javawith one commentRecently we were assigned with the task of writing code to remotely insert an entry to a blog. And we had to select the Blogg... 阅读全文
posted @ 2012-11-25 09:21 lexus 阅读(617) 评论(0) 推荐(0) 编辑

摘要:ws-xmlrpc - Apache XML-RPCApache XML-RPC is a Java implementation of XML-RPC, a popular protocol that uses XML over HTTP to implement remote procedure calls.Version 3 of Apache XML-RPC is still compli... 阅读全文
posted @ 2012-11-25 09:21 lexus 阅读(190) 评论(0) 推荐(0) 编辑

摘要:Pebble - OverviewWhat is Pebble?Pebble is a lightweight, open source, Java EE blogging tool. It's small, fast and feature-rich with unrivalled ease of installation and use. Blog content is stored as X... 阅读全文
posted @ 2012-11-25 09:17 lexus 阅读(171) 评论(0) 推荐(0) 编辑

摘要:mlzboy/nlpserverCreate a new repository on the command linetouch README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/mlzboy/nlpserver.git git pus... 阅读全文
posted @ 2012-11-24 03:40 lexus 阅读(231) 评论(0) 推荐(0) 编辑

摘要:ZINTERSTORE — Redis 命令参考ZINTERSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]计算给定的一个或多个有序集的交集,其中给定 key 的数量必须以 numkeys 参数指定,并将该交集(结果集)储存到 destination 。默认情况... 阅读全文
posted @ 2012-11-23 15:01 lexus 阅读(538) 评论(0) 推荐(0) 编辑

摘要:这个代码测试可行 Python发送带附件的Email | 代码回音 Python发送带附件的Email 2010-10-07 前面介绍了使用Python发送Email,不过发送的只是文本,那如何发送附件呢,比如文本、视频等。这里我们需要python提供的email模块。 emial模块用来处理邮件消息,包括MIME和其他基于RFC 2822 的消息文档。使用这些模块来定义邮件的内容,是非常简单的。... 阅读全文
posted @ 2012-11-22 13:31 lexus 阅读(318) 评论(0) 推荐(0) 编辑

摘要:Sendmail with Attachment script - 徐明的博客Sendmail with Attachment script四月 24th, 2008This is the python script for linux sendmail programe or with smtp server.You can use it free.It's simple ,but suppor... 阅读全文
posted @ 2012-11-22 11:05 lexus 阅读(399) 评论(0) 推荐(0) 编辑

摘要:18.1.11. email: Examples — Python v2.7.3 documentationemail: Examples¶Here are a few examples of how to use the email package to read, write, and send simple email messages, as well as more complex MI... 阅读全文
posted @ 2012-11-22 11:02 lexus 阅读(202) 评论(0) 推荐(0) 编辑

摘要:用python 发送邮件 - xiaofeng1982的日志 - 网易博客用python 发送邮件 2010-10-31 12:17:38|分类: python |标签: |字号大中小订阅一直再找linux下 用shell 发送邮件的方法。找了好长时间也没有找到,最终决点用python 的email模块发送邮件,在网上找了一下代码。转自:李卫公的长安城http://blog.donews.com... 阅读全文
posted @ 2012-11-22 10:58 lexus 阅读(290) 评论(0) 推荐(0) 编辑

摘要:11,14s/mail_/self.mail_/g 阅读全文
posted @ 2012-11-22 10:37 lexus 阅读(138) 评论(0) 推荐(0) 编辑

摘要:11月25日(周日)下午在奥林匹克森林公园白领协会相亲活动,这次是纯相亲专场噢!还有专业婚恋咨询师到场给大家配对哈,心动了没?那就一起行动起来吧!信息如下: 聚会时间:11月25日下午2:00-5:00 (最好早点去哦,地方稍微有些难找,1点半左右在森林公园南门集合一起走,别迟到哦)聚会地址: 奥林匹克森林公园南园洼里湖畔 皇明微排馆 电话:010-64529307 联系人:鞠双188107506... 阅读全文
posted @ 2012-11-22 10:13 lexus 阅读(288) 评论(0) 推荐(0) 编辑

摘要:Python list of class attributes - Pythonimportinspect classaClass: aMember=1 defaFunc(): pass inst=aClass() printinspect.getmembers(inst) 阅读全文
posted @ 2012-11-21 15:42 lexus 阅读(231) 评论(0) 推荐(0) 编辑

摘要:Python list of class attributes - Pythonimportinspect classaClass: aMember=1 defaFunc(): pass inst=aClass() printinspect.getmembers(inst) 阅读全文
posted @ 2012-11-21 15:41 lexus 阅读(220) 评论(0) 推荐(0) 编辑

摘要:Python类中的私有成员(私有函数,私有变量) [Python俱乐部]Python类中的私有成员(私有函数,私有变量)Python中默认的成员函数,成员变量都是公开的(public),而且python中没有类似public,private等关键词来修饰成员函数,成员变量。在python中定义私有变量只需要在变量名或函数名前加上 ”__“两个下划线,那么这个函数或变量就会为私有的了。在内部,pyt... 阅读全文
posted @ 2012-11-21 15:39 lexus 阅读(888) 评论(0) 推荐(0) 编辑

摘要:Wombat vim colorscheme – customized - ChronosboxWombat vim colorscheme – customizedby Felipe 'chronos' Prenholato on Sunday, 30 October/2011, under Colorscheme, Tips, VIM - Vi IMprovededNota: Hi my de... 阅读全文
posted @ 2012-11-21 11:01 lexus 阅读(252) 评论(0) 推荐(0) 编辑

摘要:vim配置文件收集(作为c/c++和脚本开发的环境) - StamHe的专栏 - 博客频道 - CSDN.NET vim配置文件收集(作为c/c++和脚本开发的环境) 分类: Linux系统配置 2009-03-04 23:28 3430人阅读 评论(0) 收藏 举报vim配置文件收集(作为c/c++和脚本开发的环境)http://forum.ubuntu.org.cn... 阅读全文
posted @ 2012-11-21 10:58 lexus 阅读(239) 评论(0) 推荐(0) 编辑

摘要:twilight256.vim - A color scheme that imitates the Twilight theme for TextMate : vim onlinetwilight256.vim : A color scheme that imitates the Twilight theme for TextMate script karmaRating 25/13, ... 阅读全文
posted @ 2012-11-21 10:34 lexus 阅读(332) 评论(0) 推荐(0) 编辑

摘要:vi/vim使用进阶: 乱花渐欲迷人眼 – 语法高亮 | 易水博客下载截止到2005年3月所有colorscheme的汇总,你可以在其中找到一个自己喜欢的。安装colorscheme时,只需要把它们拷贝到.vim/color目录下就行了。 阅读全文
posted @ 2012-11-21 10:24 lexus 阅读(169) 评论(0) 推荐(0) 编辑

摘要:vim配色方案colorscheme设置_Web开发_web前端_web后端_linux_ubuntu学习_百度空间vim配色方案colorscheme设置记录一下备忘:编辑当前用户目录下的.vimrc文件,在里面添加配色设置:cdsudo vi .vimrc添加:colorscheme desert查看系统当前版本vim所预装的配色文件:cd /usr/share/vim/vim72/color... 阅读全文
posted @ 2012-11-21 10:11 lexus 阅读(296) 评论(0) 推荐(0) 编辑

摘要:vimcolorschemetest - Vim Color Scheme Test - Google Project HostingSummaryVim Color Scheme Test showcases the color schemes that are available in vim.org using examples in several file types.Last Upda... 阅读全文
posted @ 2012-11-21 10:08 lexus 阅读(154) 评论(0) 推荐(0) 编辑

摘要:我的vim colorscheme - 白色之夜 - 博客园我的vim colorschemeyerik_day.vim 样例yerik_night.vim 样例猛击这里下载 阅读全文
posted @ 2012-11-21 10:05 lexus 阅读(246) 评论(0) 推荐(0) 编辑

摘要:alias name 阅读全文
posted @ 2012-11-21 10:04 lexus 阅读(172) 评论(0) 推荐(0) 编辑

摘要:Ubuntu Gutsy-配置VIM下面的Python环境_Ubuntu高地_百度空间不知道为什么,我的vi安装了vim-python以后依然没有语法加亮和自动缩进功能,使用起来非常的不顺手。今天下定决心,自己Google一下,终于搞定。完成以后有一下功能:1、Python语法加亮2、自动缩进3、自动补全4、自动完成哈哈,用起来是否顺手。在这里记录一下,配置过程。1、安装软件包,最好安装vim-f... 阅读全文
posted @ 2012-11-21 00:00 lexus 阅读(290) 评论(0) 推荐(0) 编辑

摘要:Python VIM 开发环境配置 [Python俱乐部]Python VIM 开发环境配置1. VIM python 自动补全插件:pydiction这是一个相当不错的 Python 代码自动完成的脚本。可以实现下面python代码的自动补全:简单python关键词补全python 函数补全带括号python 模块补全python 模块内函数,变量补全from module import sub... 阅读全文
posted @ 2012-11-20 23:47 lexus 阅读(413) 评论(0) 推荐(0) 编辑

摘要:but i didn't suite the operate idionsit's integraltice suggest is great 阅读全文
posted @ 2012-11-20 23:35 lexus 阅读(141) 评论(0) 推荐(0) 编辑

摘要:Wing IDE Pro v. 4.1.9-1 Python - Wingware Python IDE4.1.9-1 Installers Patches Docs Source Python Python must be installed separately, if you don't already have it.Python1.5.2Python 1.5.2 inst... 阅读全文
posted @ 2012-11-20 23:24 lexus 阅读(233) 评论(0) 推荐(0) 编辑

摘要:使用maven开发的项目,如何更方便地提取第三方包 - 莫正华 - 博客频道 - CSDN.NET 使用maven开发的项目,如何更方便地提取第三方包 2010-06-14 18:18 1985人阅读 评论(1) 收藏 举报 如果你的项目使用maven构建的话,当项目要上线,部署到服务器上去的时候或许会碰见这样的问题。问题就是,服务器上没有maven的环境,也就是说,项目所依赖到的那些仓库(rep... 阅读全文
posted @ 2012-11-20 16:06 lexus 阅读(542) 评论(0) 推荐(0) 编辑

摘要:SLF4J Error CodesFailedto load class org.slf4j.impl.StaticLoggerBinderThis error is reported when the org.slf4j.impl.StaticLoggerBinder class could not be loaded into memory. This happens when no app... 阅读全文
posted @ 2012-11-20 15:40 lexus 阅读(233) 评论(0) 推荐(0) 编辑

摘要:maven加载自己的包 | zlmind个人博客要引入外部的包,最好是将这些外部包发布到仓库,以Maven的方式来管理这些外部包 mvn install:install-file -Dfile=外部包的路径-DgroupId=外部包的groupId-DartifactId=外部包的artifactId-Dversion=外部包的版本号-Dpackaging=jar整理如下mvn install:i... 阅读全文
posted @ 2012-11-20 09:14 lexus 阅读(229) 评论(0) 推荐(0) 编辑

摘要:The Stanford NLP (Natural Language Processing) GroupStanford Word Segmenter Download | Mailing Lists | Release history Tokenization of raw text is a standard pre-processing step for many NLP tasks. Fo... 阅读全文
posted @ 2012-11-20 09:04 lexus 阅读(534) 评论(0) 推荐(0) 编辑

摘要:Thrift java服务器与客户端示例 - john c - 博客园Thrift java服务器与客户端示例Posted on 2011-06-19 03:04 john c 阅读(3540) 评论(0) 编辑 收藏 简单的实现一个PING的功能1.安装thrifthttp://thrift.apache.org/download/人人网镜像下载:http://labs.renren.com/... 阅读全文
posted @ 2012-11-20 09:00 lexus 阅读(364) 评论(0) 推荐(0) 编辑

摘要:四号程序员 – Linux下编译Thrift 0.7.0Linux下编译Thrift 0.7.0Aug30th2011Leave a CommentWritten by coder4对与版本更新频繁的项目一直都没有好感。比如Cassandra,比如Thrift,天天更新的能靠谱么…… Anyway,用什么不是我能决定的了,还是老老实实编译Thrift吧……需求就是,至少(也只需要)支持C++和Py... 阅读全文
posted @ 2012-11-20 08:59 lexus 阅读(285) 评论(0) 推荐(0) 编辑

摘要:GrepCode: stanford-corenlp-1.3.3.jar - Java Project - Source Code Stanford CoreNLP provides a set of natural language analysis tools which can take raw English language text input and give the base fo... 阅读全文
posted @ 2012-11-20 02:40 lexus 阅读(433) 评论(0) 推荐(0) 编辑

摘要:Apache ThriftExampleApache Thrift allows you to define data types and service interfaces in a simple definition file. Taking that file as input, the compiler generates code to be used to easily build ... 阅读全文
posted @ 2012-11-20 02:12 lexus 阅读(225) 评论(0) 推荐(0) 编辑

摘要:tkang's blogcars, s/w engineering, economics, and beer!!!Tuesday, July 13, 2010Thrift Server-Client in Python1. Write Thrift stub code[tkang@neb005 thrift]$ vi helloworld.thrift?1234567891011const str... 阅读全文
posted @ 2012-11-20 02:10 lexus 阅读(164) 评论(0) 推荐(0) 编辑

摘要:thrift 开发教程 - nick的日志 - 网易博客thrift 开发教程 2011-05-27 15:27:29|分类: thrift |标签: |字号大中小订阅1 编写thrift文件(如aa.thrift)namespace java com.tv189.uc.thriftnamespace cpp thrift.vdbnamespace rb thrift.vdbnamespace ... 阅读全文
posted @ 2012-11-20 01:25 lexus 阅读(500) 评论(0) 推荐(0) 编辑

摘要:Thrift - GeilThingsThriftFrom GeilThingsJump to: navigation, search Thrift General Version 0.9.0 Stable 0.9.0 Function Remote procedure call framework Scripts Links Website Thrift Wikipedia T... 阅读全文
posted @ 2012-11-20 01:11 lexus 阅读(1721) 评论(0) 推荐(0) 编辑

摘要:四步完成跨平台调用——thrift的开发应用 - Birdshover - 博客园四步完成跨平台调用——thrift的开发应用一、安装thrift首先,你要有个Linux平台,反正安装好了就行,用不着太多的东西。thrift这个东东可以在http://www.thrift-rpc.org/下载。具体在http://www.thrift-rpc.org/?p=thrift.git;a=shortlo... 阅读全文
posted @ 2012-11-20 01:05 lexus 阅读(331) 评论(0) 推荐(0) 编辑

摘要:google proto buffer使用 - MR_H - 博客园google proto buffer使用听说google proto buffer(以下简称protobuf)已经很久了,但是一直没有尝试使用它。其中一个原因是,项目组自己写了个打包和解包的工具,而且代码也简单,可以很方便的扩展到自动生成xml之类的配置文件,已经能很好的符合项目的需要。但是最近发现protobuf有个很不错的功... 阅读全文
posted @ 2012-11-20 00:37 lexus 阅读(391) 评论(0) 推荐(0) 编辑

摘要:Thrift的简单使用 - Season In The Code - 博客频道 - CSDN.NET Thrift的简单使用 分类: Facebook技术 2010-02-04 19:24 3658人阅读 评论(0) 收藏 举报Thrift( http://github.com/facebook/thrift )是一个跨语言服务部署架构,2007年由Facebook开发,之后在2008年加到... 阅读全文
posted @ 2012-11-20 00:34 lexus 阅读(326) 评论(0) 推荐(0) 编辑

摘要:Thrift java服务器与客户端示例 - john c - 博客园Thrift java服务器与客户端示例Posted on 2011-06-19 03:04 john c 阅读(3540) 评论(0) 编辑 收藏 简单的实现一个PING的功能1.安装thrifthttp://thrift.apache.org/download/人人网镜像下载:http://labs.renren.com/... 阅读全文
posted @ 2012-11-20 00:27 lexus 阅读(258) 评论(0) 推荐(0) 编辑

摘要:在Maven中怎么配置外部Jar - 刘刚的空间 - ITeye技术网站在Maven中怎么配置外部Jar 博客分类:Maven假设我们有一个Maven的project,其中有些Jar包不是来自Maven库的,是存在本地的某些Jar文件,比如说在project下有一个lib,里面放了一些额外需要的Jar。默认情况下,如果用mvn 命令去编译或运行它,并且其中有使用到这些外部jar的类,那么可能报x... 阅读全文
posted @ 2012-11-19 20:17 lexus 阅读(1105) 评论(0) 推荐(0) 编辑

摘要:JSON-RPC 2.0 : Java Server FrameworkJSON-RPC 2.0 ServerSimple and efficient Java framework for processing JSON-RPC 2.0 requests and notificationsNo complicated J2EE and Spring stuff, just POJOsWith me... 阅读全文
posted @ 2012-11-19 18:28 lexus 阅读(1139) 评论(0) 推荐(0) 编辑

摘要:python-json-rpc – JSON-RPCJSON-RPC for python ¶There are two implementations hosted on json-rpc.org: The old one which has support for JSON-RPC over TCP and HTTP. And there is the rewrite of JSON-RPC ... 阅读全文
posted @ 2012-11-19 18:07 lexus 阅读(1808) 评论(0) 推荐(0) 编辑

摘要:gnucom.cc — Using the Stanford Parser with Jython.gnucom.ccCode snippets and more…Using the Stanford Parser with Jython.The following code is a Jython adaptation of the example Java code that comes wi... 阅读全文
posted @ 2012-11-19 17:49 lexus 阅读(369) 评论(0) 推荐(0) 编辑

摘要:python模块——logging - 望仔的日志 - 网易博客python模块——logging 2011-12-07 17:20:17|分类: python |标签: |字号大中小订阅#encoding=utf-8import logging#日志调试函数def debug_log(msg='',filename=''): if msg=='': print 'msg is empty' r... 阅读全文
posted @ 2012-11-19 16:51 lexus 阅读(204) 评论(0) 推荐(0) 编辑

摘要:python模块——logging - 望仔的日志 - 网易博客默认的levelroot logger默认的level是logging.WARNING 阅读全文
posted @ 2012-11-19 16:50 lexus 阅读(378) 评论(0) 推荐(0) 编辑

摘要:Python的logging模块 - sislcb - 博客园Python的logging模块转载自:http://gashero.yeax.com/?p=16翻译:gashero <harry.python@gmail.com>目录1简介-Python文档 2各种Handler的子类 2.1TimedRotatingFileHandler 1简介-Python文档从Python2.3版本中开始引... 阅读全文
posted @ 2012-11-19 16:06 lexus 阅读(199) 评论(0) 推荐(0) 编辑

摘要:老鱼 » Python的日志系统Python的日志系统27 03月, 2008 (14:03) | 可爱的Python 如果使用Python写一个比较大型的程序,你一定会用上日志系统。特别是Python这样的动态语言,很多错误都只能在运行的时候才能发现,一个好的日志系统对于Python程序相当重要。最简单的解决方案当然是直接使用print输出运行信息。但是这样太简单了,没有分级功能,如果在发布的... 阅读全文
posted @ 2012-11-19 15:55 lexus 阅读(409) 评论(0) 推荐(0) 编辑

摘要:python的logging模块【zz】-海 的 声音-我的搜狐1) logging.StreamHandler使用这个Handler可以向类似与sys.stdout或者sys.stderr的任何文件对象(file object)输出信息。它的构造函数是:StreamHandler([strm])其中strm参数是一个文件对象。默认是sys.stderr 阅读全文
posted @ 2012-11-19 15:40 lexus 阅读(1845) 评论(0) 推荐(0) 编辑

摘要:Python模块学习 ---- logging 日志记录(一) - 成长的点滴,记录与分享 - 博客频道 - CSDN.NETStreamHandlerpython的logging模块【zz】-海 的 声音-我的搜狐python的logging模块【zz】分类: 学术交流 2011-02-12 13:33 如果使用Python写一个比较大型的程序,你一定会用上日志系统。特别是Py... 阅读全文
posted @ 2012-11-19 15:30 lexus 阅读(382) 评论(0) 推荐(0) 编辑

摘要:class A():Python: 使用装饰器“@”取得函数执行时间 - oldJ的学习笔记 - 博客频道 - CSDN.NETPython: 使用装饰器“@”取得函数执行时间 分类: Python 2009-10-14 12:53 752人阅读 评论(0) 收藏 举报 Python中可以使用装饰器对函数进行装饰(或说包装),利用这个特性,可以很方便、简洁地解决一些问题,比如获得函数执行时间的问题... 阅读全文
posted @ 2012-11-19 15:21 lexus 阅读(1649) 评论(0) 推荐(0) 编辑

摘要:#!/usr/bin/env python#encoding=utf-8class A(): def __init__(self): self.a="bb" print "A"class B(A): def __init__(self): A.__init__(self) print self.a print "B"B() 阅读全文
posted @ 2012-11-19 14:35 lexus 阅读(208) 评论(0) 推荐(0) 编辑

摘要:#!/usr/bin/env python#encoding=utf-8class A(): def __init__(self): self.a="bb" print "A"class B(A): def __init__(self): #A.__init__(self) print "B"B() 阅读全文
posted @ 2012-11-19 14:29 lexus 阅读(218) 评论(0) 推荐(0) 编辑

摘要:关于PYTHON里SUPER使用时报的typeerror错误 - dongua的日志 - 网易博客关于PYTHON里SUPER使用时报的typeerror错误 2009-08-25 17:16:08|分类: 开发 |标签: |字号大中小订阅使用super函数时,报错:TypeError: super() argument 1 must be type, not classobj查了下原因,了解到... 阅读全文
posted @ 2012-11-19 14:13 lexus 阅读(178) 评论(0) 推荐(0) 编辑

摘要:YuYii - 博客园关于PYTHON里SUPER使用时报的typeerror错误使用super函数时,报错:TypeError: super() argument 1 must be type, not classobj查了下原因,了解到PYTHON里的SUPER只能用在新式类中,不能用于以前的经典类,如果基类是经典类则会出这个错。新式类:就是所有类都必须继承的类,如果什么都不想继承,就继承到o... 阅读全文
posted @ 2012-11-19 14:10 lexus 阅读(257) 评论(0) 推荐(0) 编辑

摘要:python多线程学习 - Rollen Holt - 博客园python多线程学习今天在学习尝试学习python多线程的时候,突然发现自己一直对super的用法不是很清楚,所以先总结一些遇到的问题。当我尝试编写下面的代码的时候:?123456789class A():def __init__( self ):print "A"class B( A ):def __init__( self ):s... 阅读全文
posted @ 2012-11-19 14:07 lexus 阅读(245) 评论(0) 推荐(0) 编辑

摘要:vs2012中文旗舰版下载|Visual Studio 2012 简体中文正式版下载(MSDN官方原版)_711软件站 Visual Studio 2012 简体中文正式版(MSDN官方原版) (下载 21039 次) 更新时间:2012-08-16 软件大小:1638 MB 界面语言:简体中文 运行环境:Win7/Win8 授权方式:试用版 官方网站:微软 VS 2012下载 软件简介 软件截图... 阅读全文
posted @ 2012-11-18 11:21 lexus 阅读(628) 评论(0) 推荐(0) 编辑

摘要:Source Insight 3.5.54官方正式版序列号 - 『 KEY and PATCH 』 - 赢政天下 - YingZheng.com - Powered by Discuz![转帖] Source Insight 3.5.54官方正式版序列号 [复制链接] .pls .avatar img, .bui .m img { width: 120px;height:120px; } --... 阅读全文
posted @ 2012-11-18 11:09 lexus 阅读(866) 评论(0) 推荐(0) 编辑

摘要:mmap_百度百科 mmap 百科名片 mmap将一个文件或者其它对象映射进内存。文件被映射到多个页上,如果文件的大小不是所有页的大小之和,最后一个页不被使用的空间将会清零。 目录 mmap函数 条件 参数 返回说明 mmap设备操作 mmap集成环境 其他 *.mmap文件扩展名 展开 mmap函数 #include <sys/mman.h> void *mmap(void *start... 阅读全文
posted @ 2012-11-16 17:43 lexus 阅读(644) 评论(0) 推荐(0) 编辑

摘要:摇一摇传图让好友也能摇到网页摇到图片后,还能发出邀请让好友也能摇到你的网页 阅读全文
posted @ 2012-11-16 17:33 lexus 阅读(198) 评论(0) 推荐(0) 编辑

摘要:8.3. collections — High-performance container datatypes — Python v2.7.3 documentationOrderedDict Examples and Recipes¶Since an ordered dictionary remembers its insertion order, it can be used in conju... 阅读全文
posted @ 2012-11-16 14:51 lexus 阅读(220) 评论(0) 推荐(0) 编辑

摘要:vi技巧 - ArduousBonze的专栏 - 博客频道 - CSDN.NET vi技巧 分类: UNIX/LINUX编程 2009-03-19 11:52 193人阅读 评论(0) 收藏 举报vi的复制粘贴命令vi编辑器有3种模式:命令模式、输入模式、末行模式。掌握这三种模式十分重要: 命令模式:vi启动后默认进入的是命令模式,从这个模式使用命令可以切换到另外两种... 阅读全文
posted @ 2012-11-16 13:57 lexus 阅读(257) 评论(0) 推荐(0) 编辑

摘要:【博客园客户端】博客园Android客户端更新:离线下载、本地收藏、RSS阅读 - walkingp - 博客园【博客园客户端】博客园Android客户端更新:离线下载、本地收藏、RSS阅读如果还不知道这个应用的,请看前一篇文章《博客园Android客户端正式发布》。距离上次发布应用已经过去了三个多月,突然发现时间过得很快,这段时间里大概花了一个月的时间把代码基本重写了一遍并把主要的功能加上了,因... 阅读全文
posted @ 2012-11-16 10:38 lexus 阅读(434) 评论(0) 推荐(0) 编辑

摘要:#!/usr/bin/env python#encoding=utf-8import redis,codecs,sys,time,datetime,doctest,rereload(sys)sys.setdefaultencoding('utf8')class Unbuffered: def __init__(self, stream): self.stream = stream def writ... 阅读全文
posted @ 2012-11-15 21:58 lexus 阅读(377) 评论(0) 推荐(0) 编辑

摘要:python判断有中文字符的方法_镜中望_百度空间python判断有中文字符的方法看下面的一段代码:>>> a='haha'>>> len(a)4>>> b='哈哈'>>> len(b)4>>> c=unicode(a,'gb2312')>>> len(c)4>>> d=unicode(b,'gb2312')>>> len(d)2>>> print a,b,c,dhaha 阅读全文
posted @ 2012-11-15 19:51 lexus 阅读(521) 评论(0) 推荐(0) 编辑

摘要:alphanumeric是什么意思_alphanumeric在线翻译_英语_读音_用法_例句_海词词典alphanumeric 英 [ˌælfənjuː'merɪk] 美 [ˌælfənuː'merɪk] 词形变化:alphanumericalalphanumericallyalphamericalphanumeric是什么意思,词典释义与在线翻译:坚持一个月,听懂CNN基本释义adj.含有字母... 阅读全文
posted @ 2012-11-15 19:03 lexus 阅读(670) 评论(0) 推荐(0) 编辑

摘要:string.clear() - liuyy的专栏 - 博客频道 - CSDN.NET string.clear() 分类: 关于C++ 2010-01-23 13:55 1236人阅读 评论(0) 收藏 举报 今天看了一段的代码。发现好多的东西平时都没有用过。我们来看看这个吧,是string中的一些函数。它存在C++ library内.<string>被包含进来,在其... 阅读全文
posted @ 2012-11-15 17:49 lexus 阅读(551) 评论(0) 推荐(0) 编辑

摘要:银麦衣南拓拔武麻谭于云羊舌井卜农太叔子车聂隋北堂窦太史强令狐耶律闫法魏司空薛汝鄢亓官宰父冉温王洪况后柏查即墨柯柴柳有琴黄方石龙龚东郭焦第五路冼鞠冷明哲张简冯孟孙殷段俞季保门钟离闵冀许闻屈乐正乌雅花游芦司马屠翟帅壤驷师周江万俟翁蓝汪尉迟池席汤明党常沈完颜鲍鲁沙敖木唐顾韦朱项虞南门钱袁盛哥舒钟占卢南宫莫宗卫穆谈危寇华谷饶单涂钦王子卓谢卞巫崔左丘萧牟廖练高牛胡廉吴涂徐巩公孙蔡吕左邢向吉蔺仇齐漆雕范姜晏施... 阅读全文
posted @ 2012-11-15 17:05 lexus 阅读(335) 评论(0) 推荐(0) 编辑

摘要:华社网 > 百家姓姓氏分类索引: 阅读全文
posted @ 2012-11-15 15:00 lexus 阅读(278) 评论(0) 推荐(0) 编辑

摘要:string.clear() - liuyy的专栏 - 博客频道 - CSDN.NET string.clear() 分类: 关于C++ 2010-01-23 13:55 1236人阅读 评论(0) 收藏 举报 今天看了一段的代码。发现好多的东西平时都没有用过。我们来看看这个吧,是string中的一些函数。它存在C++ library内.<string>被包含进来,在其... 阅读全文
posted @ 2012-11-15 13:24 lexus 阅读(420) 评论(0) 推荐(0) 编辑

摘要:GCC中使用hash_map_学着站在巨人的肩膀上_百度空间GCC中使用hash_maphash_map就是利用hash表实现的一个map,在查找是具有更快的效率,前提是你使用了适当的hash函数。hash_map不是STL中的一部分,但大多数C/c++的编译器都提供了这个容器。GCC也不例外,我在winds下使用的IDE是code blocks,它使用的编译器就是GCC。因为hash_map不是... 阅读全文
posted @ 2012-11-15 13:02 lexus 阅读(720) 评论(0) 推荐(0) 编辑

摘要:613 def test_sorted():614 a=[('a',[1,2]),("b",[0,2]),("c",[-1,3])]615 def cmp(x,y):616 if x[1][1]<y[1][1]:617 return 1618 elif x[1][1]>y[1][1]:619 return -1620 else:621 if x[1][0]<y[1][0]:622 return 1... 阅读全文
posted @ 2012-11-15 10:19 lexus 阅读(254) 评论(0) 推荐(0) 编辑

摘要:vim 查找选中文本_Chris!_百度空间Check this Vim tip: Search for visually selected textOr you can simply yank the selected text with y and go to search mode /, then you can paste the last yanked text with Ctrl+R ... 阅读全文
posted @ 2012-11-15 09:48 lexus 阅读(509) 评论(0) 推荐(0) 编辑

摘要:Python: sorted - 司徒正美 - 博客园Python: sortedsorted 是 python的内置函数,可以用来对列表和字典进行排序。以下是两个例子:1、对列表排序>>> elist = [1,5,3,7]>>> sorted(elist)[1, 3, 5, 7]2、对字典排序>>> edict = {"ok":1,"no":2}>>> sorted(edict.items()... 阅读全文
posted @ 2012-11-13 19:20 lexus 阅读(254) 评论(0) 推荐(0) 编辑

摘要:>>> a{'a': [1, 3], 'b': [2, 4]}>>> a.items()[('a', [1, 3]), ('b', [2, 4])]>>> sorted(a.items(),key=lambda x:x[1][2])Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>... 阅读全文
posted @ 2012-11-13 19:19 lexus 阅读(214) 评论(0) 推荐(0) 编辑

摘要:python内置函数sorted排序用法 - 阿义的专栏 - 博客频道 - CSDN.NETpython内置函数sorted排序用法 分类: python 2011-06-14 11:43 1700人阅读 评论(0) 收藏 举报 Python: sort,sorted,OrderedDict的用法–2011 年 05 月 13 日 20:58fromhttp://stq... 阅读全文
posted @ 2012-11-13 19:16 lexus 阅读(262) 评论(0) 推荐(0) 编辑

摘要:doctestusingpython ./export.py -vverbose args show the test detail good for uPython doctest - 朝着梦想 渐行前进 - 博客频道 - CSDN.NETPython doctest 分类: Python 2011-11-24 17:18 481人阅读 评论(0) 收藏 举报>>> ... 阅读全文
posted @ 2012-11-13 19:05 lexus 阅读(341) 评论(0) 推荐(0) 编辑

摘要:来解决 阅读全文
posted @ 2012-11-13 10:22 lexus 阅读(274) 评论(0) 推荐(0) 编辑

摘要:关于我们 数据堂 Datatang,科研数据共享平台,实验数据,科研数据,科学数据,统计数据,企业数据,行业数据,生活数据,数据集,免费下载科研数据共享---功在当代,利在千秋“科学就是数据,数据就是科学。”一份近期出版的《科学》杂志在社论中指出,“数据推动着科学的发展。”在科研领域,通过传感器、试验仪器、监测设备、计算机等形式产生的数据,其规模和复杂度呈指数级增长,同时,大量基于海量科研数据的应... 阅读全文
posted @ 2012-11-13 09:59 lexus 阅读(1216) 评论(0) 推荐(0) 编辑

摘要:Linux 的权限_linux_百度空间是 0666(每个人可读和可写),它比我们希望的具有更多的权限。幸运的是 阅读全文
posted @ 2012-11-12 20:04 lexus 阅读(185) 评论(0) 推荐(0) 编辑

摘要:用man来查找c函数库 - 追寻前人的脚步 - 博客园付你一世安然用man来查找c函数库今天又学习了当写程序要查找函数的时候可以用到强大的man使用man时可以指定不同的section来浏览,各个section意义如下:1 - commands2 - system calls3 - library calls4 - special files5 - file formats and convert... 阅读全文
posted @ 2012-11-12 19:55 lexus 阅读(257) 评论(0) 推荐(0) 编辑

摘要:【入门】用Linux中man命令查询C函数 - Aniao的专栏 - 博客频道 - CSDN.NET 【入门】用Linux中man命令查询C函数 分类: C/C++ in Unix/Linux 2010-01-10 10:49 636人阅读 评论(0) 收藏 举报 大家都知道在Unix/Linux中有个man命令,可以查询常用的命令,函数。可是对于我们这样只知道用"ma... 阅读全文
posted @ 2012-11-12 19:48 lexus 阅读(474) 评论(0) 推荐(0) 编辑

摘要:ubuntu中安装man手册查看函数原型 - ubuntulover的专栏 - 博客频道 - CSDN.NET ubuntu中安装man手册查看函数原型 分类: linux使用 2010-02-28 22:50 1916人阅读 评论(0) 收藏 举报 前几天看书,看到用man命令可以查看c语言库函数的函数原型,就今天试了试。可是不行。提示没有我要查找的那个条目。上网搜解... 阅读全文
posted @ 2012-11-12 19:47 lexus 阅读(262) 评论(0) 推荐(0) 编辑

摘要:c++中c_str()用法,越详细越好。_百度知道 c++中c_str()用法,越详细越好。 2009-7-3 21:22 提问者: 涵藕丝 | 浏览次数:10834次 c++中c_str()用法,越详细越好。 问题补充: 错,我说的是c++函数库中的c_str()不要为了骗分;就对科学不负责任。 我来帮他解答 满意回答 2009-7-3 22:06 热心网友 语法: const char ... 阅读全文
posted @ 2012-11-12 19:18 lexus 阅读(435) 评论(0) 推荐(0) 编辑

摘要:understand for c++ - 必应 BingUnderstand Your Codewww.scitools.comUnderstand is a static analysis tool for maintaining, measuring, & analyzing critical or large code bases. ... C, C++, C#, Objective C, ... 阅读全文
posted @ 2012-11-12 18:03 lexus 阅读(284) 评论(0) 推荐(0) 编辑

摘要:SciTools.com - Customer SupportFrequently Asked Questions Understand 1. What are the system requirements for Understand? 2. How do I reset Understand to the default settings? 3. Can ... 阅读全文
posted @ 2012-11-12 18:00 lexus 阅读(493) 评论(0) 推荐(0) 编辑

摘要:可爱的 Python: 自然语言工具包入门可爱的 Python: 自然语言工具包入门在计算语言学中使用 PythonDavid Mertz, Ph.D. (mertz@gnosis.cx), 开发者, Gnosis Software, Inc.David Mertz 根本不知道他一直在写 散文。 您可以通过 mertz@gnosis.cx 与 David 联系;... 阅读全文
posted @ 2012-11-12 17:13 lexus 阅读(290) 评论(0) 推荐(0) 编辑

摘要:PypeRypeRPypeR (PYthon-piPE-R, originally names as Rinpy - R in Python) allows people to use R in Python through PIPE.The package can be downloaded at: PyPI - the Python Package Index. SourceForge Wh... 阅读全文
posted @ 2012-11-12 17:01 lexus 阅读(428) 评论(0) 推荐(0) 编辑

摘要:让R与Python共舞 | Jeff的妙想奇境← ubuntu9.10下python访问Sql server的解决方案以后就使用Chrome书签了! →让R与Python共舞Posted on 2010-02-08 by jeffR(又称R语言)是一款开源的跨平台的数值统计和数值图形化展现工具。通俗点说,R是用来做统计和画图的。R拥有自己的脚本语言和大量的统计、图形库(得益于开源社区),这让她看起... 阅读全文
posted @ 2012-11-12 16:46 lexus 阅读(236) 评论(0) 推荐(0) 编辑

摘要:very goodVim基本操作 - KlniuWikiVim基本操作来自KlniuWiki跳转到: 导航, 搜索目录[隐藏]1 打开文件2 模式3 光标移动4 退出Vi5 重复操作6 自动补齐7 插入8 删除9 更改字符10 定位及文件状态11 可视模式12 键盘宏操作13 恢复误操作14 查找与替换15 剪切、复制与粘贴16 分割窗口17 缩进缩出18 多标签编辑19 外部命令、文件保存与删除... 阅读全文
posted @ 2012-11-12 16:26 lexus 阅读(244) 评论(0) 推荐(0) 编辑

摘要:永无止境地追求着 » vim的配置管理和部署vim的配置管理和部署2012年5月17日 | 分类: 兴趣所在 | 标签: vim插件的管理和部署一直是让人纠结的事情,前段时间xtao同学推荐我使用spf13-vim项目,让这件事情变得简单可依赖了。spf13-vim是一个.vimrc+vundle的集合,主流的.vimrc的配置都基本包含在内了,如果还有其他特殊需求,也可以通过.vimrc.l... 阅读全文
posted @ 2012-11-12 16:22 lexus 阅读(385) 评论(0) 推荐(0) 编辑

摘要:永无止境地追求着 » vim visual blockvim visual block2009年5月2日 | 分类: 兴趣所在 | 标签: vi, vim 1.进入visual模式 visual模式有三种,一种是默认的visual模式,在normal模式下按下”v”就可以进入。一种是visual line模式,按下”V”可以进入。另一种是今天要讲的visual block模式,按下Ctrl-V... 阅读全文
posted @ 2012-11-12 16:20 lexus 阅读(340) 评论(0) 推荐(0) 编辑

摘要:永无止境地追求着 » ssh实现端口转发ssh实现端口转发2012年6月14日 | 分类: 生活感悟 | 标签: 记录一下这个简单的方法,这样就可以把一些内网机器的服务暴露到公网上去了。内网机器:view sourceprint?1#把gw的port转发到内网机器的hostport2ssh -CNfg -R port:localhost:hostport [user@]gw-ipgw:view... 阅读全文
posted @ 2012-11-12 16:20 lexus 阅读(192) 评论(0) 推荐(0) 编辑

摘要:VIM 必知必会12大类型操作 - Claire_level的个人页面 - 开源中国社区 VIM 必知必会12大类型操作 vi 基本操作 1、插入 i 在光标前插入 I 在行首插入 a 在光标后插入 A 在行末插入 o 在下一行插入 O 在上一行插入 r 输入替换光标位置字符 R 进入输入替换模式,输入时替换光标后字符 u 撤销上一步,在没有保存文件时一直有用 ESC 退出编辑模式 2、保存 :... 阅读全文
posted @ 2012-11-12 16:16 lexus 阅读(281) 评论(0) 推荐(0) 编辑

摘要:VIM 奇技淫巧_八月初十_百度空间VIM 奇技淫巧常用技巧1. 如果想不退出vi而查看UNIX系统的有关信息,输入“:shell ”即可进入vi以前的shell环境,“exit”退回到vi编辑状态。2. shift+ZZ 保存后自动退 和 :wq 是一样的3. 直接运行命令,不退出VI :! 命令 Demo::! ls4. 将其他文件内容导入当前编辑文件中,:r 文件名 Demo::r /etc... 阅读全文
posted @ 2012-11-12 16:10 lexus 阅读(371) 评论(0) 推荐(0) 编辑

摘要:简明 Vim 练级攻略 | 酷壳简明 Vim 练级攻略简明 Vim 练级攻略 | 酷壳 - CoolShell.cn简明 Vim 练级攻略2011年9月7日 陈皓 发表评论 阅读评论 134,269 人阅读 vim的学习曲线相当的大(参看各种文本编辑器的学习曲线),所以,如果你一开始看到的是一大堆VIM的命令分类,你一定会对这个编辑器失去兴趣的。下面的文章翻译自《Learn Vim Pro... 阅读全文
posted @ 2012-11-12 15:36 lexus 阅读(156) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示