- 博客(11)
- 资源 (6)
- 收藏
- 关注
原创 Stardict 真人发音配置
转自:http://wiki.ubuntu.org.cn/Stardict安装 WyabdcRealPeopleTTS如果你的源中有该软件包,直接sudo apt-get install wyabdcrealpeopletts没有的话,请到本站ftp 或WyabdcRealPeopleTTS.tar.bz2下载后执行sudo tar -xvf WyabdcRealPeopleTTS.tar.bz2 -C /usr/share发音设置如果您安装的是 ubuntu/gnome, 那么只要安装真人发音包之后 使
2011-01-22 18:14:00 3375
原创 Ubuntu中配置LaTeX中文的方法
转自:http://blog.csdn.net/yangzhuoluo/archive/2010/06/27/5697205.aspxLaTeX 中文文档配置Ubuntu 官方源就带有这个包,只需要 sudo apt-get install latex-cjk-all 即可。安装
2011-01-21 23:00:00 1667
原创 scrollView 横向
如果你把内容包含在ScrollView中,当内容超出高度时会自动出现滚动条。另外,使用控件HorizontalScrollView 来包住你的内容时,如果你的内容假设是一个LinearLayout, 那么当LinearLayout的宽度超过屏幕时, 将会自动产生滚动条,当你拖动鼠标时,效果跟scrollView一样,不过是横向而己
2011-01-21 18:01:00 2496
原创 android 画图画板清空
mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);mCanvas = new Canvas(mBitmap);将canvas里的mBitmap调用eraseColor(int color), color还可以是Color.TRANSPARENT;这样画板就透明了。
2011-01-20 14:48:00 3790 4
原创 python win32com.client IE google 搜索
##!/user/bin/env python# -*- coding: cp936 -*-import timefrom win32com.client import DispatchurlFileName = "urlFile.txt"outputFileName = "result.txt"outputFile = open(outputFileName, 'w')ie = Dispatch("InternetExplorer.Application")ie.visib
2011-01-18 17:13:00 3672
原创 python用win32com模拟浏览器
# -*- coding:UTF-8 -*- #!/user/bin/env python'''Created on 2010-9-1@author: chenzehe'''import win32com.clientfrom time import sleeploginurl='http://passport.cnblogs.com/login.aspx'loginouturl='http://passport.cnblogs.com/logout.aspx'username='XXX'password=
2011-01-18 11:19:00 3480
原创 urllib2 - The Missing Manual
urllib2 TutorialIntroductionFetching URLsDataHeadersHandling ExceptionsURLErrorHTTPErrorError CodesWrapping it UpNumber 1Number 2BadStatusLine and HttpExceptioninfo and geturlOpeners and HandlersBasic AuthenticationProxiesSockets and LayersFootnotes Intro
2011-01-15 14:12:00 812
原创 11 AWESOME DD COMMANDS
dd is a common Unix program whose primary purpose is the low-level copying and conversion of raw data. dd is an application that will “convert and copy a file”according to the referenced manual page for Version 7 Unix and is most likely inspired from DD f
2011-01-14 23:03:00 904
原创 11 NOT SICK LINUX COMMANDS
1) CREATE A PDF VERSION OF A MANPAGEman -t manpage | ps2pdf – filename.pdfQuick and dirty version. I made a version that checks if a manpage exists (but it’s not a oneliner). You must have ps2pdf and of course Ghostscript installed in your box.Enhancement
2011-01-14 23:02:00 574
原创 Google Voice、Voice Search 安装
Google 刚刚一股脑的在 Android Market 里发布了 YouTube,Google Voice 和 Voice Search 的更新,带来了一些变化和性能提升。YouTube 现在可以发表评论还可以查看订阅。Google Voice 和 Voice Search 应用都只是做了一些错误修正以及稳定性和性能方面的改进。所有的更新都可以在 Android Market 上找到(当然需要 Market Enabler 将你伪装成米国人)。
2011-01-12 13:53:00 2094
原创 Android 中ListView内容刷新
转自: http://www.cnblogs.com/moonz-wu/archive/2010/04/18/1714529.html 最近在学习Android的listView控件时遇到了一个问题,如何添加一个Item到ListView中并及时的刷新出来。在网上查了很多帖子,很多人在问,也很多人在解答,但是总的来说都没找到详细的解决方案。对于ListView与数据库的同步,高手们建议使用 ContentProvider对象。但是如果我不使用数据库呢?也有人回答用notifyDataSetChanged()
2011-01-12 10:19:00 1787
Addison.Programming.in.Python.3.Dec.2008
2010-03-17
Subversion 权威指南
2010-03-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人