Command the world! 命令整个世界
2009-06-03 20:24
387 查看
每当我们打开电脑,我们可能经常会做一些习惯性的动作。例如查一下邮件啦,看看新闻啦,观察一下股票走向啦。仔细想一下就发现,这里面有很多动作是我们每天都会重复的。有没有可能更方便一点呢?
有。很简单,身为程序员的我们,为每种固定的操作写个小程序就好了。但这样一来会带来几个问题:
1. 小程序写多了,很难统一管理。而且有些带参数的程序(例如按照一定股票编号去查询价格的程序),使用起来并不一定方便。
2. 我们可能经常使用不同的电脑,那么要同步这些小程序会非常头疼。
3. 你也写,我也写,大家写了大量重复的小程序,很浪费资源。
为了应对这些问题,我提出了一个叫JustType的框架,我们可以在http://justtype.cloudapp.net 访问它。
JustType的界面就是一个文本框,一切都在这个文本框中进行。在JustType框架中,每个小程序都对应一个命令,命令可带参数。写好的小程序会保存在服务器,每一个人都可以选择是否要公开自己的小程序。这样大家可以很方便地共享自己的成果。
例如,我们可能在JustType输入以下命令:
google something I want to search
这样就会自动进入google对“something I want to search”的搜索结果页面。
weather guangzhou
这个命令会查询广州的天气预报。
calc 1+2*(3/4)
这个命令能计算表达式的值。
translate English is so difficult.
这个命令会将“English is so difficult"翻译成中文.
note 今晚我要吃大餐。
这个命令会记下一下小便条“今晚我要吃大餐”。
总之,一切都可以在命令中完成。由于我们允许大家自己写命令脚本,所以这个文本框的功能可以无限扩展。
欢迎大家来体验喔! http://justtype.cloudapp.net
相关文章推荐
- 怪咖救世界 Geeks can save the world!
- Love the World——热爱世界
- 设计模式(六)The Command Pattern 命令模式
- 命令模式 The Command Pattern
- Trade and the world economy -- 贸易与世界经济
- Locating files using the find command(linux find命令)
- 命令模式 The Command Pattern
- Leave The World Behind,将世界抛诸脑后
- 潘多拉的世界 The World of Pandora
- 8.2.2 命令设计模式(The command design pattern)
- 统治我们世界的十大真实算法(The real 10 algorithms that dominate our world)
- The World is Flat 世界是平坦的
- 世界是平的(The World Is Flat)
- Opening the World of Multimodality ——进入多模的世界
- How to: Display Command Information in the Status Bar在状态栏中显示命令信息
- 错误解决:SharePoint Designer 2010编辑后,出现数据源控件未能执行插入命令,data source control failed to execute the insert command
- 《The Linux Command Line》 读书笔记03 ls命令与长格式输出解释 文件权限
- 《The Linux Command Line》 读书笔记02 关于命令的命令
- 《世界是平的21世纪简史》The world is flat
- 《The Linux Command Line》中的命令