-
开源的红色警戒
-
一个跨平台的动作游戏,有非常好的物理模型表现。
-
Linux 下的29款音乐制作软件
-
Linux 新手管理员手册
-
住在瀑布下的房子里酷毙了
-
月相
-
The following books are available either for download or for reading online, free of charge.
-
曾经收费的 GWT Designer, WindowBuilder Pro,如今被Google 收购然后免费了!
-
Carrot2 is an Open Source Search Results Clustering Engine. It can automatically organize small collections of documents, e.g. search results, into thematic categories.
-
FREE stock photo site,有很多的图片素材
-
在线的虚拟星空,用来学习识别星座再好不过了。
-
原是朝鲜的最高人民会议议长,朝鲜劳动党书记与金日成综合大学校长。1997年2月时在北京走进韩国大使馆要求政治庇护,后来亡命到韩国,并加入反金日成主义的组织,主张推翻金正日政权,不支持韩国前总统卢武铉的阳光政策。
-
Mapping a web browser to GPS coordinates via router XSS + Google Location Services without prompting the user。
在我的台式机上也一样的检测到办公室的位置。 -
Instant CSS Code allows you to quickly create a web project framework with valid HTML/xHTML and CSS in only a matter of seconds, allowing you to get your project up and running faster!
-
提供匿名的BT种子下载服务
-
一个BT种子搜索引擎
-
这个网站收集了我们这个星球上的最好的免费软件,不仅仅是自由软件。
-
Flash游戏,打造自己的万花筒,用鼠标随便画几下就可以了,然后就可以看到右边显示了绚烂多姿的万花筒,上面还可以添加动态的图案,变化无穷。
-
动画,太阳系的节拍
-
显示当前时刻的世界阳光地图,还有很多云彩
-
超有创意的煎饼,哇哦
-
用 javascript 做的浏览器书签游戏,摧毁网页。
-
This is the website for the 1k Javascript demo contest #js1k
-
现在是 2010-09-01 17:59,还有 10 小时零1分就正式解开神秘面纱。
-
由MySQL创始人重写了新的数据库引擎,再次基于MySQL而建立的新数据库。
-
又是一个MQ,看上去比较轻量级
-
The source code for the KeyGenius backend server is now available through SVN, as well as basic instructions on setting up your own server.
http://www.emacswiki.org/emacs/WebloggerMode 是一个 Emacs 包,可以让你用
Emacs 来写 Blog,支持多站点配置。
安装也很简单,可以通过 http://tromey.com/elpa 来安装,也可以去
https://launchpad.net/weblogger-el 下载最新的版本,放到 load-path 中,然
后在配置文件中加上 (require ‘weblogger) 就 OK 了。
WebloggerMode 还依赖了 XmlRpc,这个也可以通过 ELPA 来安装。
安装好以后,先 M-x weblogger-setup-weblog 来设置一下 blog 站点,关键是把
“Server Endpoint” 设置对就行了。
下面是一些常见 blog 平台的 Server Endpoint:
Blogger.com: http://www.blogger.com/api
Wordpress: http://BLOG-URL/xmlrpc.php (For http://hexmode.wordpress.com/, this is http://hexmode.wordpress.com/xmlrpc.php. For a blog hosted at http://example.com/weblog/ it would be http://example.com/weblog/xmlrpc.php)
LiveJournal: http://www.livejournal.com/interface/blogger/
OpenWeblog: http://www.openweblog.com/interface/blogger/
MovableType: http://CGI-URL/mt-xmlrpc.cgi. If your CGI root is http://www.example.com/cgi-bin/mt/ then the Server Endpoint would be http://www.example.com/cgi-bin/mt/mt-xmlrpc.cgi.
Drupal: Enable the Blogger API and use http://DRUPAL-URL/xmlrpc.php
(like WordPress).
把站点配置好以后,就可以用 M-x weblogger-start-entry 来写文章了。
用法如下:
;; C-x C-s — post-and-publish current buffer to the weblog.
;; Calling weblogger-publish-entry with an prefix argument
;; (i.e. C-u C-x C-s) will prompt for which weblog
;; to use.
;; C-c C-c — save as draft and bury the buffer.
;; C-c C-n — post (but not publish) the current entry and
;; load the next entry.
;; C-c C-p — post (but not publish) the current entry and
;; load the previous entry.
;; C-c C-k — delete the current entry.
;; M-g — synchronise weblogger.el’s idea of the entries available
;; with the weblog server.
;; C-c C-t m — edit the main template.
;; C-c C-t a — edit the Archive Index template
;; C-c C-s s — Change the server being used.
;; C-c C-s w — Change the weblog.
;; C-c C-s u — Change the user (re-login).
从 Emacs 23 开始,设置字体就很简单了。
原先用的是 (set-default-font “文泉驿等宽正黑-10”) 来设置字体,用 C-h f set-default-font 看了帮助以后才知道这个函数已经在 23.1 版本开始不建议使用了,而是用 set-frame-font 来代替。
set-frame-font 是用来设置当前 frame 的字体,如果用 C-x 5 2 来创建一个新的 frame 之后,我们会发现用 set-frame-font 设置的字体没有生效。
http://www.emacswiki.org/emacs/SetFonts#toc2 这里就介绍了设置全局默认字体的方法,就是 (set-face-attribute ‘default nil :font FONT) 其中 FONT 是一个描述字体的字符串,和我们前面提到的 set-default-font 参数一样。
所以再要设置全局的默认字体为文泉驿等宽正黑就是 (set-face-attribute ‘default nil :font “文泉驿等宽正黑-10”)

Recent Comments