12 2014 档案

摘要:ttylinux的官方网址:http://ttylinux.net/简单翻译一下:你当前访问的是ttylinux的主页,一个针对多种CPU架构的极小的GNU/Linux系统。最小的ttylinux系统仅有8MB大小,可以运行在具有28MB内存的i486机器上,不但如此系统还提供了完整的命令行环境,并... 阅读全文
posted @ 2014-12-31 16:57 csulennon 阅读(26208) 评论(1) 推荐(0)
摘要:在虚拟机上安装Ubuntu14.04 后安装ibus输入法,万万没想到在切换输入法的时候居然出错了!无语了,再网上查了一下,这个错误出现的还是比较少的。先说Ubuntu输入法(ibus)安装的一般步骤吧。一、安装语言包System Settings-->Language Support-->Inst... 阅读全文
posted @ 2014-12-31 01:50 csulennon 阅读(14569) 评论(3) 推荐(0)
摘要:刚接触Ruby,发现Ruby真心强大,搞了那么久的Java了,已经被Java的繁琐的语法整的无语透顶了,尤其的Java异常,设计出来就是个失败呀!Ruby目前更新到了2.x了,社区也很活跃,开发效率和Java相比不是搞了一个级别。 先从感性上对比一下Ruby和Java的编码效率,Java真是弱到爆... 阅读全文
posted @ 2014-12-28 21:39 csulennon 阅读(1479) 评论(0) 推荐(0)
摘要:Android Studio 1.0 已经放出来了,以后的Android平台开发激昂逐步从Eclipse向Android Studio迁移,为了能不落伍我也特意从Google下载了Android Studio的安装包,并且兴高采烈地创建了我的第一个android项目。但是当运行的时候就他么悲催了。 emulator: ERROR: x86 emulation currently req... 阅读全文
posted @ 2014-12-22 16:00 csulennon 阅读(175520) 评论(22) 推荐(16)
摘要:One measure of ``unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each other. For instance, in the letter sequence ``DAABEC'', this measure is 5, since D is greater than four letters to its right and E is greater than one letter to its right. This measure is called the number of inversions in the sequence. The sequence ``AACEDGG'' has only one inversion (E and D)---it is nearly sorted---while the sequence ``ZWQM'' has 6 inversions (it is as uns 阅读全文
posted @ 2014-12-16 20:27 csulennon 阅读(684) 评论(0) 推荐(0)
摘要:Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the University of Waterloo by dialing the memorable TUT-GLOP. Sometimes only part of the number is used to spell a word. When you get back to your hotel tonight you can order a pizza from Gino's by dialing 310-GINO. Another way to make a telephone number memorable is to group the digits in a memorable way. You could order your 阅读全文
posted @ 2014-12-16 01:21 csulennon 阅读(222) 评论(0) 推荐(0)