2010南非世界杯赛程Google日历(北京时间)
如题。
网上倒是有一些了,可惜不是非北京时间就是不够详细,于是自己作了一个,地址在 这里 ,短网址是http://is.gd/cpKd4
或是在Google Calendar里左侧菜单栏的”添加朋友的日历”填入
v7hirhc924nu8278du8mqc60v4@group.calendar.google.com
附对阵图:
Ubuntu Software 之 phpMyAdmin安装时的几个小问题
1. “无法加载mcrypt 扩展,请检查您的PHP 配置。” / “Cannot load mcrypt extension. Please check your PHP configuration.”
键入
sudo apt-get install php5-mcrypt
done.
2. “链接表的额外特性尚未激活。要查出原因,请点击此处。” / “The additional features for working with linked tables have been deactivated. To find out why click here.”
导入 phpMyAdmin/scripts/create_tables.sql文件,创建名叫phpMyAmin的数据库;
然后复制phpMyAdmin/config.sample.inc.php为config.inc.php,编辑:
/* Advanced phpMyAdmin features */
// $cfg['Servers'][$i]['pmadb'] = ‘phpmyadmin’;
// $cfg['Servers'][$i]['bookmarktable'] = ‘pma_bookmark’;
// $cfg['Servers'][$i]['relation'] = ‘pma_relation’;
// $cfg['Servers'][$i]['table_info'] = ‘pma_table_info’;
// $cfg['Servers'][$i]['table_coords'] = ‘pma_table_coords’;
// $cfg['Servers'][$i]['pdf_pages'] = ‘pma_pdf_pages’;
// $cfg['Servers'][$i]['column_info'] = ‘pma_column_info’;
// $cfg['Servers'][$i]['history'] = ‘pma_history’;
// $cfg['Servers'][$i]['tracking'] = ‘pma_tracking’;
// $cfg['Servers'][$i]['designer_coords'] = ‘pma_designer_coords’;
去掉注释,done.
3. “配置文件现在需要一个短语密码。” / “The configuration file now needs a secret passphrase (blowfish_secret).”
编辑phpMyAdmin/config.inc.php文件,在:
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = ‘cookie’;
下添加一行:
$cfg['blowfish_secret'] = ‘szoo’; //’szoo’为自定义字符串
done.
MPlayer/SMPlayer播放rm文件没有声音
安装好MPlayer/SMPlayer之后,首先要下载解码器。
一般
sudo apt-get install ffmpeg
就能解决大部分问题。
更多的解码器可以在MPlayer主页的Binary Codec Packages项下载到。
sudo mkdir /usr/lib/codecs/
cd /tmp
wget -c http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
tar jxvf essential-20071007.tar.bz2
sudo mv essential*/* /usr/lib/codecs/
但是很多时候仍然在播放rm文件的时候没有声音。
Ctrl+M打开SMPlayer的日志,查看得知,MPlayer报告找不到/usr/lib/codecs/cook.so之类的错误,但是文件又的确存在。
键入
ldd /usr/lib/codecs/cook.so
查看此文件的依赖关系,发现它需要libstdc++.so.5这个库。
接下来去packages.ubuntu.com,找到libstdc++5,下载安装,done.
(注意ubuntu新发行版已经将libstdc++升级到6,所以查找包的时候需要将搜索条件指定为之前的ubuntu版本名称)
使Google Reader全文输出的Chrome扩展: Reader Plus
转用回Chrome后发现没有了Firefox下的全文输出手段,
很不习惯,一番折腾之后终于发现了替代方法。
首先是油猴脚本”google reader full feed changer”不能用了,
虽然Chrome号称能够直接使用油猴脚本。
然后试用了”Google Reader Full Feed”, “Read More! for Google Reader”,
无奈没一个好用的。
最后终于想起了Reader Plus这个打包扩展来。
安装后进入Options,点击Content->Replacer
这里可以订制要全文抓取feed的地址和参数。
下面就以麻烦的煎蛋为例,演示如何全文抓取煎蛋的feed供稿。
- 点击右下角的Add,
- 提示”Title for this filter“,输入
煎蛋
这只是个名字,随你喜欢;
- 接下来提示”Link Regex“,输入
http://feeds.feedburner.com|http://jandan.net
因为feed供稿地址和主站地址不一样,所以两个都输进去,用 | 隔开;
- 然后提示”Search regex/xpath“,输入
xpath://div[@id='content']/div[@class='post f']
这个就是指示浏览器去抓的内容,不同的网站参数不同;
- 最后提示”Replace“,输入
$1
这个就是用抓来的内容去替换的内容,一般 $1 即可。
save, done.(记得要把content下的replace项勾选)
Chromed Bird 无法登录的解决方法
随着Proxy Switchy!可以在linux下正常工作,我又开始惦记Chrome下的Chromed Bird。
它实在是个很好的twitter插件,支持API,支持收藏,支持RT,支持list,可以一定程度的自定义界面等等…
如果实在要挑毛病的话,那就是它在苍井空引爆中文推特圈后还没有加入广大球迷迫切需要的一个翻译功能。(另一个twitter插件Chrowety有,可惜对它的界面不是很有爱。)
不过Chromed Bird 自1.7版本后在我这里一直出错,表现为点击后出现:
Ouch…Something bad happened to Chrome Bird while calling Twitter’s API. Request token reponse: undefined
This problem is probably due to incorrect date and time settings in your operating system. Please, review your settings and try again.
意思是由于我系统时间设置不对导致调用Twitter API时候出错。
这解释让我很无语……
翻看Chromed Bird的option页面之后发现:
Rate Limit Reset: Thursday, January 01, 1970 08:00:00
这说明这个时间变量没有获得值,也就是oauth过程失败了,没连上twitter的服务器。
google之后发现似乎没有什么人遇到这个问题,插件作者似乎也没有意识到这是一个问题。
最后终于明白这是我用的代理GappProxy的问题。
由于GAE本身的限制,在访问https加密网站的时候,GappProxy是通过伪造证书来实现的,所以浏览器会报错。
从而导致插件在请求https网址过程中连不上。
考虑到linux下添加证书很麻烦,所以提供简单解决方案如下:
Chromed Bird的Options页面,把OAuth URL:的值从
https://twitter.com/oauth/
改成
http://twitter.com/oauth/
done.
Ubuntu softwares 之 记录鼠标轨迹软件
from IOGraphica.
无聊的记录鼠标轨迹并拍照的软件。
下载的文件是.jar,右键之选择用java打开即可。
Ubuntu softwares 之 BT/BitTorrent 软件
sudo apt-get install qbittorrent
可用来取代transmission-common, transmission-gtk.
Ubuntu下如何修复[NO_PUBKEY] error
首先
gpg –keyserver keyserver.ubuntu.com –recv KEY_NUMBER
接着
gpg –export –armor KEY_NUMBER | sudo apt-key add -
done.
注意:无须添加不必要的sudo,否则会提示权限错误。
