按离太阳距离从近到远:
Mercury: 水星;
Venus:金星;
Earth:地球;
Mars:火星;
Jupiter:木星;
Saturn:土星;
Uranus:天王星;
Neptune:海王星;
Pluto:(2006年由行星降至矮行星)冥王星。
小桥流水
定云止水,鸢飞鱼跃
2012年3月24日星期六
2012年3月19日星期一
Install dropbox on ubuntu 11.04(natty)
GFW真实太伟大了,让我安装个小软件都费了老鼻子劲。
安装方法:
1、下载dropbox对应ubuntu 11.04 版本的deb包;
2、运行:dpkg -i dropbox,安装软件包;
3、这个时候你可以在程序菜单里找到dropbox图标啦,但是点击运行就傻眼了,会提示错误:
In order to use Dropbox, you must download the proprietary daemon. (很明显是因为被墙了),解决办法见下一条;
4、you can download it here(目前有效,文件为dropbox-lnx.x86-1.1.45.tar.gz),如果无效,可google关键字"dropbox-lnx.x86",重新找个地方下载,同时可以选择下载较新版本。
5、下载完成后,进入下载目录,执行:
tar -zxvf dropbox-lnx.86* -C /home/yourname/
将下载文件解压缩至对应用户的目录下,生成文件夹.dropbox-dist(注意该文件夹以"."打头,说明它是隐藏文件,默认看不见)
6、启动dropbox,经过类似于windows版本的设置,终于大功告成,enjoy!
p.s. dropbox客户端不受墙影响,只要安装好程序,便可正常享用它的同步功能。
点此可下载上述提到的文件打包
安装方法:
1、下载dropbox对应ubuntu 11.04 版本的deb包;
2、运行:dpkg -i dropbox,安装软件包;
3、这个时候你可以在程序菜单里找到dropbox图标啦,但是点击运行就傻眼了,会提示错误:
In order to use Dropbox, you must download the proprietary daemon. (很明显是因为被墙了),解决办法见下一条;
4、you can download it here(目前有效,文件为dropbox-lnx.x86-1.1.45.tar.gz),如果无效,可google关键字"dropbox-lnx.x86",重新找个地方下载,同时可以选择下载较新版本。
5、下载完成后,进入下载目录,执行:
tar -zxvf dropbox-lnx.86* -C /home/yourname/
将下载文件解压缩至对应用户的目录下,生成文件夹.dropbox-dist(注意该文件夹以"."打头,说明它是隐藏文件,默认看不见)
6、启动dropbox,经过类似于windows版本的设置,终于大功告成,enjoy!
p.s. dropbox客户端不受墙影响,只要安装好程序,便可正常享用它的同步功能。
点此可下载上述提到的文件打包
2012年3月14日星期三
HTML学习——HTML "style" Attribute
The style attribute will override any style set globally, e.g. styles specified in the <style> tag or in an external style sheet.
The style attribute is not valid in: <base>, <head>, <html>, <meta>, <param>, <script>, <style>, and <title>.
syntax:
<element style="style_definitions">
style_definitions:One or more CSS properties and values separated by semicolons (e.g. style="color:blue;text-align:center")2012年3月11日星期日
d3dx9_43.dll文件缺失处理方法
昨天在xp下安装完356后,兴冲冲的接上手柄,准备割个痛快,谁知居然出现程序启动失败,弹出个信息框提示can't find d3dx9_43.dll,看名字很显然跟directx有关,去网上下载了一个d3dx9_43.dll文件放到Windows下的system32目录下,本以为这下就没问题了,可是事与愿违,这回是没有再提示找不到文件,但是程序自动闪退,无奈之下删除下载的dll文件,跑到microsoft网站上下载了个最新版directx安上,安装完后问题解除,顺利游戏。
总结:在安装或运行游戏程序时,若出现类似的dll文件缺失,直接下载dll文件至有关目录下的方法虽然简单直接,但不一定奏效,甚至会导致出现新问题,这时就需要找到包含该dll文件的安装程序,进行安装,这虽然繁琐些,但是它最有效。
附directx下载地址:http://www.microsoft.com/download/en/details.aspx?id=35
总结:在安装或运行游戏程序时,若出现类似的dll文件缺失,直接下载dll文件至有关目录下的方法虽然简单直接,但不一定奏效,甚至会导致出现新问题,这时就需要找到包含该dll文件的安装程序,进行安装,这虽然繁琐些,但是它最有效。
附directx下载地址:http://www.microsoft.com/download/en/details.aspx?id=35
2012年3月9日星期五
Mountain Lion Preview edition and Messages 下载
苹果新一代操作系统OSX Mountain Lion将于今年夏季推出,该新系统添加了很多ios上的功能,如Messages,Reminder,Notification Center,twitter,加强了mac与ipad,iphone等ios设备的融合,很值得期待。目前苹果主页提供预览版系统下载及软件Messages的beta版下载(注意:Messages beta仅支持Lion 10.7.3及以上系统版本),有了Messages就可以在Mac与ios设备间使用iMessage,同时还支持Gtalk,Yahoo,AIM等账户登录。Messages具体功能如下:
Send unlimited iMessages to any Mac, iPad, iPhone, or iPod touch.
Start an iMessage conversation on your Mac and continue it on your iPad, iPhone, or iPod touch.
Send photos, videos, attachments, contacts, locations, and more.
Launch a FaceTime video call and bring the conversation face-to-face.
Messages supports iMessage, AIM, Yahoo!, Google Talk, and Jabber accounts.
下载地址见这里
2012年3月5日星期一
using “less” command to find some text in a file
The less command is the way most Linux users open a file for reading, and it also can be used to search.
For example, if you want to open a file and search for a word, you can run this:
For example, if you want to open a file and search for a word, you can run this:
less +/yourword /path/filename # there is a space after "yourword".
This command will highlight all instances of the word.
订阅:
博文 (Atom)