超越自我

标题转英文的

Filed under: 网站设计 ; Tags: — freeyun @ 2011-04-18 00:40:07

现完成了标题转英文的链接,所以如果有那位朋友链接到我网站,可能就访问不到了,很抱歉。以后都用这种固定链接的方法
参考
标题更新:http://www.storyday.com/html/y2008/1403_cos_slug_translator-updated-again.html

批量更新:http://www.storyday.com/html/y2007/1219_slug-batch-conversion-plug-in-for-english.html
wordpress中文转英文两个插件较好用

起泡法

Filed under: 网站设计 ; Tags: — freeyun @ 2011-03-06 23:13:16

C语言写的,谭浩强的

#include “stdio.h”
main(){
int a[11];
int i,j,t;
printf(“input 10 numbers:\n”);
for(i=1;i<11;i++)
  scanf(“%d”,&a[i]);
printf(“\n”);
for(j=1;j<=9;j++)
   for(i=1;i<=10-j;i++)
     if(a[i]>a[i+1])
       {
           t=a[i];a[i]=a[i+1];a[i+1]=t;
       }
       printf(“the sorted numbers :\n”);
       for(i=1;i<11;i++)
        printf(“%d”,a[i]);
}

淘宝开源平台–淘蝌蚪

Filed under: 网站设计 ; Tags: , , — freeyun @ 2010-07-02 10:45:20

笔者在淘宝开源平台http://code.taobao.org注册了下,也创建了项目 SVN +TRAC模式的,不过淘宝是在测试的,笔者创建的开源项目是需要审核的。

笔者注册的时候是可以直接就使用了,都不需要E-MAIL去认证,淘宝是在测试

这是笔者创建项目的信息,项目名称是可以写中文的,不过考虑下,中文在浏览器不方便还是换成英文的

创建项目成功,审核中..
管理项目 继续创建项目

笔者在谷歌,www.sourceforge.net,都创建了项目,对于淘宝的平台观望状态。

第34天-解决CMS架设问题

Filed under: 临时日志,网站设计 ; Tags: , , — freeyun @ 2010-06-20 18:58:57

Error: index.php does not exist or is not an entry script file.

YII工具执行脚手架报的错,笔者的操作系统为windows7

原是windows需要全部的路径才能执行命令的

可以给大家截图看看

可以参考官方的http://www.yiiframework.com/doc/guide/zh_cn/quickstart.first-app

随便补充下高等数学的定积分的应用积分压强,压力,牛顿的第二定理,引力的计算。今晚不出错就可以搞定

通过啦!xhtlm1.0 CSS2.1认证

Filed under: 网站设计 ; Tags: — freeyun @ 2010-05-31 17:08:36

http://validator.w3.org/ XHTML

http://jigsaw.w3.org CSS

整了半天的成果,看书的时间,得晚上补回来!

wordpress插件导致

Filed under: 网站设计 ; Tags: — freeyun @ 2010-05-31 14:43:30

The Validation found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem

笔者之前因为用插件Dean’s FCKEditor For WordPress写了文章《xhtml 报错》所导致老是报上面的错@!

吧文章删除禁用插件就可以了

xhtml 报错

Filed under: 网站设计 ; Tags: , — freeyun @ 2010-05-30 18:39:19

Line 86, Column 50: document type does not allow element “li” here; missing one of “ul”, “ol”, “menu”, “dir” start-tag

… <li><li><a href="http://www.freeyun.com/message…

The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as “<a>”, “<span>”, or “<font>”).

原来代码

<div id=”top_wrapper”>
<ul>
<li><a href=”CMShttp://cms.freeyun.com/cms/”>CMS</a></li>
<li><?php wp_list_pages(‘title_li=’); ?></li>
</ul>

</div>

正确改为:

<div id=”top_wrapper”>
<ul>
<li><a href=”CMShttp://cms.freeyun.com/cms/”>CMS</a></li>
<?php wp_list_pages(‘title_li=’); ?>
</ul>
</div>

网站开发手记–创建架构 YII

Filed under: 网站设计 ; Tags: — freeyun @ 2010-04-27 23:06:24

笔者成功在Windows7 OS创建YII ,过程嘛,我不想写了,需要环境变量的设置的,因为会报错:php.exe is not recognized as an internal or external command,英语我就不翻译,笔者开发网站就基于YII架构开发php,花了两天的时间搞定的

模型-视图-控制器 (MVC)模式 不知为何老是访问外国的网站总乌龟速度,

修改wordpress安装地址导致的问题的修复(图文修复)

Filed under: 网站设计 ; Tags: , — freeyun @ 2010-04-08 00:51:11

上面的就是WordPress的安装地址笔者,把2者都修改成www.freeyun.com,发现火狐在修改数据库wp-options,引起的问题是,首页位置全部乱了,无法登陆后台即没CSS 笔者是用phpmyadmin修改。wordpress 版本是2.9.2 操作方法: 找到WP-options(more…)

网站加入背景音乐

Filed under: 网站设计 ; Tags: — freeyun @ 2010-04-07 21:45:08

在<head></head>之间加入以下代码 <bgsound   src="http://www.google.cn/music/top100/url?q=http%3A%2F%2Ffile4.top100.cn%2F201004072051%2FB787B6F91D0D734861A0F09553C2067B%2FSpecial_104078%2FA%2520Little%2520Love.mp3&ct=rdl&cad=dl&ei=4n-8S6CHCKT4sQLx86q8AQ&sig=C77717EC6E0DD62CC186435F2D436AF8"   loop="-1"> 链接的网址就是音乐的路径 loop="-1"       -1循环播放 1播放一次 2 播放二次…………… 也可以通过另外一种方式,即最小后停止播放音乐 还有利用JS随机播放音乐。注意:找好一点的路径音乐,加载的时候文件太大就慢了,或者MID格式 笔者的网站服务器国外 (more…)