Navigation
站务
软件开发的新理念:Da-Back
各种软件开发理念
http://en.wikipedia.org/wiki/List_of_software_development_philosophies
我自己想了一个开发方式,起名字叫:dabac:development aided byaudio comments,发音是Da-Back。:)就是很多人不愿意写注释,自己一步步干嘛呢。让大家在写完代码后,一行行的说自己的意图,就是解释代码和思路。说比写快,而且下一个人也不用老看屏幕,散步的时候听都可以。也许和我更喜欢和习惯从听中接受信息有关,所以我想尝试这个方法。
关键是觉得我这个么名字想得也不错。:)
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.
wordpress我用到的扩展
为朋友装和管理一个wordpress的站点,做校友联系用。
wordpress中显示作者信息
和author相关的帮助
http://codex.wordpress.org/Template_Tags#Author_tags
特别是这个:
http://codex.wordpress.org/Template_Tags/wp_list_authors
在index.php中添加上述代码
wordpress的super cache扩展
Author: Donncha O Caoimh
This plugin generates static html files from your dynamic WordPress blog. After a html file is generated your webserver will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts.
http://wordpress.org/extend/plugins/...
需要php中safe mode是on。
wordpress在侧栏显示新留言的扩展get recent comments
Author: Krischan Jodies
This plugin shows excerpts of the latest comments and/or trackbacks in your sidebar. You have comprehensive control about their appearance. This ranges from the number of comments, the length of the excerpts up to the html layout. You can let the plugin order the comments by the corresponding post, or simply order them by date. The plugin can (optionally) separate the trackbacks/pingbacks from the comments. It can ignore comments to certain categories, and it offers support for gravatars. It only gives extra work to the database, when actually a new comment arrived. You can filter out unwanted pingbacks, which originate from your own blog. And it is a widget.
http://wordpress.org/extend/plugins/...
openID
http://wordpress.org/extend/plugins/...
wordpress中注释掉sidebar的一些内容需要用html的注释语法
<!-- 中间这些字是看不到的 -->
如果是多行,我现在的方法就是统一插入的后缀
emacs中区块操作。选中区域后,让光标在这些行的第一个字符,之后c-x r t插入 就可以了
wordpress安装记录
给朋友装了个wordpress,记录下
自由软件wp的下载和安装说明都在:
http://wordpress.org/
中文汉化包
http://codex.wordpress.org/WordPress_Localization#Chinese_-.E4.B8.AD.E6.96.87.28zh_CN.29
中文文档: http://codex.wordpress.org.cn/
给你的 Wordpress 添加 Google 自定义搜索
http://www.wopus.org/google-custom-s...
google的搜索比自带的好。
从RSS Feeds中排除特定分类的四种方法
http://www.wopus.org/four-way-remove...
文章提到了插件。修改模板代码是最简洁的。可这解修改代码不等于rss地址下次要变化了?!比如现在隐藏分类2。以后加一个隐藏分类4。那么,以前订阅了的人还是会看到分类4,因为人家订阅的rss地址中只隐藏了分类2,你后来修改rss地址,人家没有重新订阅的。
drupal在这点有多种方法了。
禁用并删除 Wordpress 文章修订记录
http://www.wopus.org/deeactivate-and...
我倒是喜欢有修订记录
今天发现单位一个内部网站在用blogger,非常感动啊
blogger是个好东西。我在严重考虑把一些站点转到blogger平台。简单,省心,用它来写和发布,map到自己的域名,发布到ftp,当人们浏览的时候是看得静态页面。
blogger没有在国内火起来只要是长年对它的封锁,让上面的用户都走了。还好,现在解封锁已经有一年多了吧,一直比较稳定。
可惜blogger不能定制每篇文章url的规则,就是自己建立一个有规律的简洁链接规则有。一个work around就是先写你希望的url到标题中,写完正文后发表文章。此时文章的url就是你当前的题目。再编辑文章,比文章标题改为你想要的中文。
via: http://www.sinoblog.org/2008/08/goog...
例子:
文章标题是:blogger是个好东西
先用“blogger-is-good”做为标题发布
这样文章url就是 site/blogger-is-good.html
只后再编辑文章把题目改一下
我不需要英文,我一般是把url改为全是数字的
比如 site/12.html 这样。
和squid类似的反响代理varnish
项目在: http://varnish.projects.linpro.no/
今天看到有人用这个在drupal前面跑效果不错。
如何在mysql中把表user中的status字段设置为1
如何在mysql中把表user中的status字段设置为1
小拉给了答案
UPDATE 表的名字 set
user table
id status
user1 0
user2 1
user3 0
我又忘了那条命令了。似乎是 set status = 1 where
安装适合drupal运行的主机
安装适合drupal运行的主机
Installing a dedicated server or a VPS with Ubuntu Server 8.04 LTS (Hardy Heron) for Drupal 6.x
http://2bits.com/articles/installing...
memcache
http://2bits.com/articles/installing...
why ubuntu
将多个drupal站点的数据库合并到一个数据库中
将多个drupal站点的数据库合并到一个数据库中
先看到这篇。用emacs查找替换。
http://www.opensourcery.com/blog/jon...
从上篇留言中看到这篇,更简洁,提到了注意事项。用vim查找替换。
http://niebegeg.net/blog/changing-of...
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插件
但需要论坛用户才能下载。不选择
我也想做这样的drupal hosted service服务
我也想做这样的drupal hosted service服务
google为非盈利性机构准备的工具和服务
google为非盈利性机构准备的工具和服务
drupal做sns站点
drupal做sns站点
介绍: http://drupal.org/node/300255
站点: http://drupalsn.com/
使用的模块: http://drupalsn.com/modules_used.php
我没搞明白我如何发文章。还是sns都是互相留言形式。
远程连接Mysql数据库;在phpmysqladmin中可以把那个用户属性设置为从任意主机
远程连接Mysql数据库;在phpmysqladmin中可以把那个用户属性设置为从任意主机
phpmysqladmin中调整权限中可以设置一下用户属性
更改登录信息/复制用户
登入信息
用户名:
主机:
密码:
重新输入:
其中主机名选择为任意主机。该用户就可以用非localhost登录了。
远程连接Mysql数据库
默认情况下是不能在远程连接Mysql数据库的,用Mysql-Front连接时会报权限错误。需要在Mysql的本地进行配置:
mysql -p
Enter password: ******
mysql> grant all on . to ‘root’@’192.168.0.2’ identified by ‘password’
-> ;
执行之后就可以在192.168.0.2这台远程机器用root这个用户登录MySql了
http://www.cnblogs.com/firstyi/archi...
比如输入 黄金 隐私 等词语搜索