摘要: ttylinux的官方网址:http://ttylinux.net/简单翻译一下:你当前访问的是ttylinux的主页,一个针对多种CPU架构的极小的GNU/Linux系统。最小的ttylinux系统仅有8MB大小,可以运行在具有28MB内存的i486机器上,不但如此系统还提供了完整的命令行环境,并... 阅读全文
posted @ 2014-12-31 16:57 csulennon 阅读(25949) 评论(1) 推荐(0) 编辑
摘要: 在虚拟机上安装Ubuntu14.04 后安装ibus输入法,万万没想到在切换输入法的时候居然出错了!无语了,再网上查了一下,这个错误出现的还是比较少的。先说Ubuntu输入法(ibus)安装的一般步骤吧。一、安装语言包System Settings-->Language Support-->Inst... 阅读全文
posted @ 2014-12-31 01:50 csulennon 阅读(14498) 评论(3) 推荐(0) 编辑
摘要: 刚接触Ruby,发现Ruby真心强大,搞了那么久的Java了,已经被Java的繁琐的语法整的无语透顶了,尤其的Java异常,设计出来就是个失败呀!Ruby目前更新到了2.x了,社区也很活跃,开发效率和Java相比不是搞了一个级别。 先从感性上对比一下Ruby和Java的编码效率,Java真是弱到爆... 阅读全文
posted @ 2014-12-28 21:39 csulennon 阅读(1469) 评论(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 阅读(175098) 评论(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 阅读(676) 评论(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 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 在Ubuntu下做Android开发, 使用adb devices调试的时候出现在面的错误:这个问题之前就出现过的,突然就忘了,Mark一下。在网上找了一下,基本上是一些比较麻烦的办法,但是在我的记忆中这个问题应该是很快就能解决的问题。跟着异常的提示想了一下$ adb devices* daemon... 阅读全文
posted @ 2014-07-08 22:09 csulennon 阅读(22954) 评论(0) 推荐(0) 编辑
摘要: 等我以后挣钱了一定买正版!最近学习Win32编程,为了锻炼自己,在网上下载了一个VC6.0作为开发工具,应该是兼容性的问题吧,VC6 经常闹毛病。今天导入资源的时候VC6出现崩溃的现象。马上寻求度娘很多人说是因为Office 2007 或者Office 2010所致,奈何又不想卸掉2010,只好据需... 阅读全文
posted @ 2014-06-14 03:42 csulennon 阅读(1710) 评论(1) 推荐(0) 编辑
摘要: 换了64位的系统,配置好之后运行之前的程序,竟然给我抛出这个错误。应该是我的opencv没有安装对吧。系统报错 无法启动此程序,因为计算机中丢失opencv_core249.dll。请尝试重新安装改程序已解决此问题 那就是缺少opencv_core249.dll动态链接库了。 【解决方法】 1 在安装目录下找到这个链接库 (但是不知道为什么我引... 阅读全文
posted @ 2014-06-08 11:25 csulennon 阅读(94303) 评论(4) 推荐(1) 编辑
摘要: 在做Android平台开发的时候,经常会遇到安卓原生控件无法满足需求的情况,安卓允许开发者去继承已经存在的控件或者实现你自己的控件。先来看一下效果图采用直接集成View类,重写onDrow方法绘制。下面附上主要代码。1 新建一个类CircleView 继承自View 1 package com.l... 阅读全文
posted @ 2014-06-07 16:16 csulennon 阅读(12221) 评论(0) 推荐(0) 编辑