Loading...

Archive for September, 2007

Google Notebook

by Dofy

刚刚到 google labs 瞎转悠, 发现一个新玩意儿(有人说我火星 -_-|||) —— google notebook (中文帮助)
这玩意儿和桌面便签有点相似, 用来记录些零散的信息很方便, 只不过这个不是桌面软件, 而是像 google reader 一样的一个 web 上的工具, 另外 notebook 还有浏览器插件, 可以安装在 IE 和 Firefox 上; 还有更重要的就是他是在线的, 在任何地方记录的信息只要再次登录 notebook 就能得到, 就像 google 拼音的同步词库和设置一样, 这样的功能真是太实用了 :D 嗷嗷~~~~~

刚想进来写篇日志, 发现3小时前发布了wordpress 2.3, 于是上服务器用 svn 更新我的blog :D
哈, 第一次用 svn 更新 wordpress, 就是方便 8)
这个版本最引人注目的一个更新就是 Tag 功能, 这个在 beta 3 时候就给大家介绍过了, 需要详细了解的可以过去看 ;)
不多说了, 吃饭, 回来写关于 google notebook 的日志, 嘎嘎~~~

今天在服务器上装了 TortoiseSVN , 以后就用 svn 更新 wordpress :D

wordpress 的 svn 地址: http://svn.automattic.com/wordpress/trunk/

更换了服务器后, MySQL 经常出现 “Can’t create/write to file” 的错误, 搜索后在 WordPress Wiki 上找到答案:

How do I fix the following error SQL/DB Error errcode 13 Can’t create/write to file?

Problem: The MySQL variable tmpdir is set to a directory that cannot be written to when using PHP to access MySQL.

To verify this, enter MySQL at the command line and type show variables;

You’ll get a long list and one of them will read: tmpdir = /somedir/ (whatever your setting is.)

Solution: Alter the tmpdir variable to point to a writable directory.

Steps:

1. Find the my.cnf file. On *nix systems this is usually in /etc/.
2. Once found, open this in a simple text editor and find the [mysqld] section.
3. Under this section, find the tmpdir line. If this line is commented (has a # at the start), delete the # and edit the line so that it reads: tmpdir = /writable/dir where /writable/dir is a directory to which you can write. Some use /tmp, or you might also try /home//.
4. Save the file.
5. Shutdown MySQL by typing mysqlshutdown -u -p shutdown.
6. Start MySQL by going to the MySQL directory and typing ./bin/safe_mysqld &. Usually the MySQL directory is in /usr/local or sometimes in /usr/ on Linux systems.

If none of this make sense and you have someone to administrate your system for you, show the above to them and they should be able to figure it out.

终于把所有日志的分类恢复了, 顺便给大部分日志加了tag.

过程中用到一个 firefox 酷插 snap links, 在我这种特殊情况(点击一页内的所有edit链接)下使用还不错, 估计平时没啥用, 而且会与 super dragAndGoAll-in-One Gestures 有冲突(一起使用比较混乱).也正因为用了这个插件而误删了一页日志, 惨痛啊… 好在那一页貌似大部分是胡扯类的 -_-|||

恢复后马上备份了数据库 :P

有必要记录一下了

PLAIN TEXT >> CODE:
  1. # 创建服务 (binPath= 后面的空格是必须的)
  2. sc create svn binPath= "x:\path\to\subversion\bin\svnserve.exe --service -r e:\svn"
  3. # 启动服务
  4. sc start svn
  5. # 删除服务
  6. sc delete svn

惨痛啊... 分类的表被偶无情地删掉鸟...
分类从新整理中 ... 顺便加 tag, 嗷...

Next Page »