Navigation
工具
gedit之类工具本身就能通过ssh协议去编辑其它机器上的文件
简单解决了直接ssh到服务器编辑文件无法输入中文的问题。还没有试验呢。因为很少上去。服务很稳啊。:)
Comment by andresj: (1 day ago)
You don’t need X11 forwarding to edit the files in Gedit nor Kate.For Gedit, just click on “Places > Connect to server…”, select SSH
from the list, write in the information, and click on Connect. Add a
bookmark if you want, it will appear in the same list as Home folder,
Pictures, etc. Double click on your files or File > Open inside
Gedit.Comment by freedom: (6 weeks ago)
While i’m not against this feature i will not vote for it as i believe
that it can be accomplished easier. On GNU/Linux systems you can
already mount the ssh partition and then edit files with the local
graphical editor if you so wish. On Gnome nautilus allows you to do
that even if you don’t really know what you are doing, if you aren’t
using gnome look at sshfs package.
RSS feed 不输出全文?一样搞定你,让我方便阅读全文
RSS feed 不输出全文?一样搞定你
http://fisio.cn/google-reader-full-f...
Newsfox搞定RSS全文输出
http://muzuiget.blog.ubuntu.org.cn/2...
和squid类似的反响代理varnish
项目在: http://varnish.projects.linpro.no/
今天看到有人用这个在drupal前面跑效果不错。
screen救命命令
screen救命命令
启动用 screen -r 接着上次会话用 r是retache
完全退出screen,就是说杀死screen下所有bash窗口和程序用screen -d,d=detache
C-a C-c 开一个新的terminal窗口
C-a ” 显示窗口列表
C-a ? 帮助
C-a A 给当前窗口命名
对我来说,暂时足够了。screen相当于一个窗口管理器。最大好处是我登录远端服务器做工作,比如下载一个很大文件要耗费很长时间,或者进行需要很长时间的计算,如果不用screen,我桌面电脑关机,或者从remote terminal登录出来,那些工作就结束了。用screen,登录出来那些工作还在继续。下次登录上去用screen -r查看完成没有。有时压缩和下载任务要进行20多个小时,我可不想两台电脑都开着,费电,也不安全。
gnu/linux下如何下载流媒体:如mms,asf等
gnu/linux下如何下载流媒体:如mms,asf等
搜索了一下有什么方法。有更高的方法请补充。
软件:imms
http://www.linuxsir.org/bbs/archive/...
ubuntu软件库中有这个软件
文中还提到了dget我没有用。
软件:mplayer就可以
http://www.howtoforge.com/forums/sho...
mplayer mms://url -dumpstream -dumpfile foo.wmv
pyzh: Python localization package for zh (China/Chinese); 聚合国内python人的力量,建立一整套python的中
pyzh: Python localization package for zh (China/Chinese); 聚合国内python人的力量,建立一整套python的中文本地化工具包。
我喜欢并想用其中的汉子到拼音转换功能。
http://code.google.com/p/pyzh/
a set of localization tools to make python support Chinese and Chinese culture better.
Contact me (panjy at zopen dot cn) if you want to contribute.
聚合国内python人的力量,建立一整套python的中文本地化工具包。
gb18030的python-codec是韩国人帮咱们写的,这个有些汗了。自己的事情,还是应该由咱们自己来完成!
典型的是:
汉字 -> 拼音 转换
中英文字数统计
公历 -> 阴历 转换
中文分词
中英文文本折行
繁簡中文轉換, 支援多種編碼方式
如何下载163相册
如何下载163相册
最好的方法:)
有个图片地址,我就用wget。
其他方法
http://zhidao.baidu.com/question/742...
这个方法请lvcha试验并解释一下?
http://zhidao.baidu.com/question/405...
常见推荐方法
http://mozilla.sociz.com/viewthread....
firefox插件
但需要论坛用户才能下载。不选择
ubuntu gnu/linux下,在文件管理器中把鼠标停留在一个音频文件上,会自动播放文件开始
ubuntu gnu/linux下,在文件管理器中把鼠标停留在一个音频文件上,会自动播放文件开始
相当于快速音频文件的预览。我刚发现。我以前以为我的音频播放器有问题,为什么明明听一首曲子,我在找其它曲子的时候,突然出来一段其它音乐。现在明白了是我把鼠标点移动到一段mp3上并在那里停了一段时间的原因。
wget下载页面链接到其它站点的图片/文件
wget下载页面链接到其它站点的图片/文件
wget的-p选项
—page-requisites: get all the elements that compose the page (images, CSS and so on).
http://www.linuxjournal.com/content/...
就是我想要的。因为经常一个页面的图片是链接其它站点的。我以前读man怎么没看到这个选项。需要重读。
经过实验,这个参数也是只下载本域名下的链接文件,比如css,图像。如果你下载domain1.org的一个页面,上面链接了domain2.org的图片,用这个参数也不会抓下来domain2.org图片。
仔细读man相关部分发现:
Note that Wget will behave as if -r had been specified, but only that single page and its requisites will be
downloaded. Links from that page to external documents will not be followed. Actually, to download a single
page and all its requisites (even if they exist on separate websites), and make sure the lot displays properly
locally, this author likes to use a few options in addition to -p:
wget -E -H -k -K -p http://<site>/<document>
To finish off this topic, it's worth knowing that Wget's idea of an external document link is any URL speci-
fied in an "<A>" tag, an "<AREA>" tag, or a "<LINK>" tag other than "<LINK REL="stylesheet">".
原来重点在 -h 就是 —span-hosts这个开关
-H
--span-hosts
Enable spanning across hosts when doing recursive retrieving.
加上-H,就会去下载链接到domian2.org的图像了。哈哈
全明白了。
最后答案
wget -H -nc -nd -p
基本就可以了。我还没有做更多试验。我抓一个页面和它页面上所有文件(这些文件和图片是存在其他站点上的)已经成功了。
如果你需要在本地浏览这些页面,别忘了加上 -EekK 之类的。
自己看一下man这些参数什么意思。很好记的。
看来man page要有机会就读
每次都有收获。
~
用mapbar/图吧的驾车导航查两个地方的距离很方便
用mapbar/图吧的驾车导航查两个地方的距离很方便
http://www.mapbar.com/index1.html#ac=3
我主要看看和老婆在两点之间长途散步走了多少公里。比如周日晚上是13-14公里左右。:)
Gwget:图像界面的wget
Gwget:图像界面的wget
http://www.gnome.org/projects/gwget/
gnome桌面自己的浏览器epiphany有个插件可以直接调用gwget下载网页上的内容。
tiny tiny rss 非常好用
tiny tiny rss 非常好用
About
Tiny Tiny RSS is a web-based news feed (RSS/Atom) aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible.
demo站点。可以用n和p来选下一篇/上一篇文章。太帮了。还有其他shortcut
http://tt-rss.org/demo/tt-rss.php
可以用
该站点作者暂时还提供免费的在线版本使用。去他站点注册个帐号就可以了。
php开源大全上罗列不少项目,有中文介绍
php开源大全上罗列不少项目,有中文介绍
http://www.php-open.com/13.htm
比如输入 黄金 隐私 等词语搜索