摘要: SecureCRT 在 Windows XP 和 Windows 7 中的个人应用数据路径是不同的,在 Windows 7 中,应用数据路径为:C:\Users\\AppData(hidden)\Roaming\VanDyke\Config。 但以上是针对合法安装注册的用户,对于绿色携带版,尤... 阅读全文
posted @ 2014-08-09 21:51 iFantasticMe 阅读(10284) 评论(0) 推荐(0) 编辑
摘要: NotImplemented 是一个非异常对象,NotImplementedError 是一个异常对象。>>> NotImplementedNotImplemented>>> NotImplementedError>>> type(NotImplemented)>>> type(NotImple... 阅读全文
posted @ 2014-08-09 21:05 iFantasticMe 阅读(11029) 评论(0) 推荐(0) 编辑
摘要: SpiderMonkey 是由 Mozilla 开发的 Javascript 引擎,它由 C/C++ 编写而成。Mozilla 在其多个产品中使用了该引擎,包括 Firefox 浏览器。python-spidermonkey 让 Python 程序员可以使用 Python 语法来读写 Javascr... 阅读全文
posted @ 2014-08-09 19:41 iFantasticMe 阅读(805) 评论(0) 推荐(0) 编辑
摘要: 环境:VMWare Player 5.0.2,Ubuntu 13.10VMWare共有3种网络连接模式,分别是: 1. bridged(桥接模式):虚拟机将直接连接到物理局域网,使自身独立于宿主机外,从局域网路由器获取IP。这种方式虚拟OS可以和局域网中其他终端实现互访。桥接模式有一个子选项“Re... 阅读全文
posted @ 2014-08-09 19:25 iFantasticMe 阅读(14827) 评论(0) 推荐(3) 编辑
摘要: 编辑 /etc/network/interfaces 来设置 IP 和 DNS 解析服务器:# interfaces(5) file used by ifup(8) and ifdown(8)auto loiface lo inet loopbackauto eth0iface eth0 inet ... 阅读全文
posted @ 2014-08-09 18:39 iFantasticMe 阅读(733) 评论(0) 推荐(0) 编辑
摘要: 在 Ubuntu 下安装 Node.jssudo apt-get install python-software-properties python g++ makesudo add-apt-repository ppa:chris-lea/node.jssudo apt-get updatesud... 阅读全文
posted @ 2014-08-09 18:24 iFantasticMe 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 在其他语言中十分常见的字符串格式化输出,居然在 Javascript 中不见踪影,于是决定自己实现该方法,以下就是个人编写的最简洁实现:String.prototype.format = function(){ var args = arguments; return this.repl... 阅读全文
posted @ 2014-08-09 18:14 iFantasticMe 阅读(2609) 评论(0) 推荐(0) 编辑
摘要: 在 SublimeText 中直接运行 Python 脚本,出现以下报错提示:Running python -u C:\Documents and Settings\Administrator\桌面\furl.pyTraceback (most recent call last):File ".\s... 阅读全文
posted @ 2014-08-09 17:31 iFantasticMe 阅读(1083) 评论(0) 推荐(0) 编辑