又帮人修复了下grub,想起以前自己的经历还是比较麻烦,从网上得到的答案几乎都是/boot分区没有独立出来的情况,而我的却是独立出来,当时还费了点时间,现在发出来共享一下。
1、注意:请先看看你的/boot是不是独立的。用df -h可以查看,如果下面没有/boot分区,则表明/boot分区没有独立。
又帮人修复了下grub,想起以前自己的经历还是比较麻烦,从网上得到的答案几乎都是/boot分区没有独立出来的情况,而我的却是独立出来,当时还费了点时间,现在发出来共享一下。
1、注意:请先看看你的/boot是不是独立的。用df -h可以查看,如果下面没有/boot分区,则表明/boot分区没有独立。
Tags: grub
On using “not mainstream” languages
翻译:renewjoy
Adrian: “Our response was:
With PHP people learn that because they want to get jobs.
With Java they learn that because they take computer science courses.
With Python you learn it because you love it. Because you want to experience the beauty. I’m sure it’s the same way for Ruby. If I’m hiring a Python programmer the chances are that the person is good.”
David: “I totally agree.”
Read the rest of this entry »
Tags: django, python, ruby, rubyonraise
Well-Known Users of SQLite
翻译:renewjoy
翻译说明:近日得大牛指点,才晓得sqlite这个东东原来这么方便。google了一下,找到些资料,下面是来至官方的文档,觉得有意思,就翻译了一下。水平有限,还请各位多多提意见啊。
A few of the better-known users of SQLite are shown below in alphabetical order. There is no complete list of projects and companies that use SQLite. SQLite is in the public domain and so many people use it in their projects without ever telling us.
下面是少量的使用SQLite的知名用户,按字母顺序排名。没有任何完整的列表说明哪些项目或者企业在使用SQLite 。SQLite应用于公共领域,和很多人使用于自己项目中,,却从未告诉我们。 Read the rest of this entry »
Tags: sqlite
原因:
1、因为gtkBuilder在现在的gtk中已经内置,而不像libglade那样需要用户安装,少一个依赖就少一个麻烦。而且,gtkBuilder是设计用来取代libglade的,也许在将来会得到更多的支持。
2、貌似gtkBuilder支持更多的gtk性质,也许会方便点。
3、你认为呢?
Read the rest of this entry »
Tags: gtkbuilder, libglade
1. 查询天气
$ echo "`w3m -dump "http://wap.weather.com.cn/wap/xxxxx/h24/"`" | sed -n "5,9p" |
(其中xxxxx为地区代码,可以从 http://www.265.com/lookupcity 获得)
2. 查询单词
$ w3m -dump -no-cookie http://dict.cn/mini.php?q=WORD |
(其中的WORD为要查询的单词,中英都可以)
Tags: w3m
WordJoy介绍:
WordJoy是一个用pygtk编写的背单词软件。目前只在Linux下成功测试,至于在Windows下运行需要安装哪些库,请参考其它pygtk写的程序。
WordJoy基于TualatriX大侠的MyWord改写而成,而MyWord又是继承于Stardict作者HuZheng的reciteword背单词软件而来。具体请参看这两款软件的信息。
本程序的特色:
1、采用全新的书本格式,争取做到更加简洁、明了、实用。
2、每个单词配以三个例句,让你在句子中学习单词的意思与用法。
3、支持使用WyabdcRealPeopleTTS真人语音包发音。
4、支持单词测试,随时掌握自己的学习情况。
5、支持背诵的遗忘曲线,采用记录的方式提醒你,今天该背诵的单词。
6、支持自定义词库,自己制作背诵的书本(只需要给出单词列表,即可自动生成)。
7、更多特色由你来扩展……
Read the rest of this entry »
不知道各位是否了解Unix-Center.Net, 但请看完下面的文章, 以下我全文摘录的, 也可以查看原文:
Read the rest of this entry »
Tags: Unix-Center.Net, 援助
给定一个包括大量词组的文件,每行一个词。词的长度为2、3、4、多个字。
结果:生成编码文件,给出每个词组的五笔编码,格式为:
Read the rest of this entry »
如果你发觉一个目录结构下的大量文件权限(读、写、可执行)很乱时,可以执行以下两个命令批量修正:
chmod 755 -R dir_name
find dir_name -type f -exec chmod 644 {} \;
Read the rest of this entry »
说明:
myword是什么?它是继承于reciteword的一个用来背单词的软件,用pygtk开发,由TualatriX开发(貌似他现在负责LDCN)。
reciteword是什么?它是由stardict作者开发的一个用来背单词的软件。
Read the rest of this entry »
Tags: glade3, myword, reciteword, wordjoy
You are currently browsing the archives for 七月, 2009
Arclite theme by digitalnature | powered by WordPress | Favicon by Tony Tang