Wind__Fantasy

导航

[置顶] [原创]在线视频下载(Using Python / Bash / C / Reguar Expressions)

摘要: Windows上下载在线视频不是很难, 可以安装爱酷等对应在线视频(这里是优酷)的官方下载工具, 更通用地, 可以使用硕鼠下载, 这个软件我没用过, 但我需要使用硕鼠官方网站http://www.flvcd.com(支持70多个在线视频网站的解析, 好强大的说)的视频解析作为代理将某个在线视... 阅读全文

posted @ 2012-01-30 14:00 Wind__Fantasy 阅读(4464) 评论(3) 推荐(1) 编辑

[置顶] [JavaScript]偶自己的JavaScript扩展库(一点一点完善中...)

摘要: 所有的对内置对象扩展的方法都是以x(stands for 'extend')开头, 非扩展内置对象的方法按英文原意命名, 然后命名空间为wf(stands for wind fantasy) Object.prototype.xattach = function (obj, nooverwrite... 阅读全文

posted @ 2011-11-23 16:23 Wind__Fantasy 阅读(364) 评论(0) 推荐(0) 编辑

2012年5月28日

Win7下CygWin的Bash启动脚本备份副本(仅供自己使用)

摘要: alias grep='grep --color=auto' alias ls='ls --color' alias gb='git branch' gc='git checkout' gl='git log' ga='git add' gd='git diff' gs='git status' ... 阅读全文

posted @ 2012-05-28 12:59 Wind__Fantasy 阅读(542) 评论(0) 推荐(0) 编辑

2012年2月21日

[短文本]免费版google翻译(PHP)

摘要: google翻译api要收费了, 所以想法写了个免费版本的google翻译: source=$source; $this->target=$target; $this->text=$text; $this->holder=array(); $this->url=str_replace(array... 阅读全文

posted @ 2012-02-21 15:38 Wind__Fantasy 阅读(1017) 评论(2) 推荐(0) 编辑

2011年12月8日

mac osx 获取内网ip的方法

摘要: (1) ping -c 1 $(hostname) | grep -m 1 -oP '(\d+\.)+\d+' # ping selfhost and catch the first matched ip (2) host $(hostname) | grep -oP '(\d+\.)+\d+' ... 阅读全文

posted @ 2011-12-08 10:07 Wind__Fantasy 阅读(538) 评论(0) 推荐(0) 编辑