aMule下载短信通知的飞信实现

上回用GCalcli实现了给aMule增加下载完成短信通知功能,不过由于GCal的短信格式问题并不完美,在Druggo的提示下转而使用飞信来实现这个吧。

飞信虽然在linux下已经有libfetion和linux-fetion for purple了,不过都没有直观的纯CLI操作方式。找来找去只找到个闭源的飞信机器人,这软件优点是:纯命令操作,简单快捷。

不爽的地方是:

  1. 闭源,依赖的库文件有版本要求。而且从主页来看,商业味比较浓,怕有猫腻
  2. 初次运行后会生成数个当前用户无访问权限的文件夹,强行删除再运行又会重新生成

唉,我又开始二了,用人家的东西还这么多牢骚。下面是实现方法:
Read More

给aMule增加下载完成短信通知功能

自从入手了E71,装上PuTTY for Symbian OS后就能通过wifi+ssh远程遥控我的电脑了。一个常遇到的问题,人得跑出去,而电脑上的aMule正在挂高清,我想知道我正等着看的东西什么时候下载完成了,然后我好执行远程关机或者选择继续让aMule下载其他的东西。

思索了下,最好的通知方式莫过于短信,而真正可用的免费短信功能莫过于Google Calendar的短信通知了。由于aMule本身就有Events功能,剩下的唯一问题就是能在linux下执行的Gcal CLI了。好在为Google做的third party的大有人在,很快就找到了Gcalcli这个python客户端,连ebuild在Gentoo Bugzilla上都有了。

gcalcli的用法很简单,先在$HOME目录下创建一个.gcalclirc文件,里面写入以下几行:
Read More

Why to Upgrade to Libgpod SVN Build

I didnt pay much attention to the iPod artwork issue until I found the coverflow became extremely slow and out of response occasionally.

I’m using Amarok via libgpod-0.6.0 to manage my iPod library, there’re approximately 1,000 songs of 68 albums in my iPod. As I checked the iPod_Control/Artwork directory of my iPod, it took up unexpectedly +300mb for the cover images.

punkid@Genbox /media/MUGELLO/iPod_Control $ du -h Artwork/
314M    Artwork/

Read More

Backup Your Files Hierarchically to Dreamhost via Rsync

There’re some easy file backup n’ sync online services such as Amazon S3 and Dropbox, however I find it not so handy when I want to sync my linux files hierarchially.

I initially used git to sync my .vimrc file and my own ebuild repo, but it is not cost-efficient as I actually pay little attention to the tracking commit things. So I ended up using rsync to synchronize my linux files to my dreamhost account.

Preparation

Assuming you’ve already had a dreamhost account with shell access priviledge (any other hosts with shell access will be fine as well). And you’re going to backup the following files on your system to the dreamhost server:
Read More

You Might Know

This site is powered by WordPress CMS & hosted by Dreamhustle Dreamhost.

And the theme is inspired by WP Typo and completely crafted under Gentoo Linux with VIM editor.

Sponsors

Monthly Archives

Search