存档

作者存档

Response.Headers.Add的问题

2010年3月4日 Ysoho 没有评论

Response.Headers.Add
会报错 要求IIS integrated pipeline mode

问题在情况在 3.5+出现(之前版本的不知道)

解决办法 :用Response.AppendHeader 就没问题了

关键字:Response.AppendHeader

分类: C# 标签:

Resharper 5.0 注册码

2010年2月26日 Ysoho 没有评论

此为 5.0 Beta2 无限期Key

User: www.Ysoho.com

Key: RuM8sFnS3QrHQZOHKk/1lHrAqf10Qoux

Resharper 5.x支持 VS2010了 ..

Vs2010比 08用着爽多了.

关键字:Resharper 5.0 CDkey 注册码

分类: 编程学习 标签:

裸奔真爽

2010年2月24日 Ysoho 没有评论

杀毒不装,360不装,一切非系统自带的 监视软件 都 不用..感觉 爽死了..电脑 快多了.

这下系统的命运就将给游览器了.

分类: 自由的生活 标签:

WordPress 中文 Tag

2010年2月19日 Ysoho 没有评论

转换编码解决 WordPress 中文 Tag 链接问题

打开文件:wp-includes\classes.php

查找:

$pathinfo = $_SERVER['PATH_INFO'];

修改为:

$pathinfo = mb_convert_encoding($_SERVER['PATH_INFO'], "UTF-8", "GBK");

再查找:

$req_uri = $_SERVER['REQUEST_URI'];

修改为:

$req_uri = mb_convert_encoding($_SERVER['REQUEST_URI'], "UTF-8", "GBK");

保存,上传,问题解决。

还有 记得每次升级后 修改一下

分类: WordPress 标签:

桌面搜索(硬盘搜索)想法

2010年2月19日 Ysoho 没有评论

Sqlite 信息记录,,Lucene全文(如果需要的话),FileWatcher监视

Sqlite记录: 文件路径,文件Md5值,扩展名。

搜索结果 最好用Web界面展示。

临时全文,,指定目录 即时编录,,即时搜索

分类: 项目随笔 标签:

WordPress上页下页 函数详解

2010年2月12日 Ysoho 没有评论

Examples

Default Usage

Displays link with the post title of the next post (chronological post date order), followed by a right angular quote (raquo;). By default, this tag works like next_post()

div style=border:1px solid blue; width:50%; padding:10pxNext Post Title raquo;/div

<% ?php next_post_link(); ? %>

Bold Post Title As Link

Displays link with next chronological post’s title wrapped in ’strong’ tags (typically sets text to bold).

div style=border:1px solid blue; width:50%; padding:10pxstrongNext Post Title/strong/div

<% ?php next_post_link(’strong%link/strong’); ? %>

Text As Link, Without Post Title, Within Same Category

Displays custom text as link to the next post within the same category as the current post. Post title is not included here. Next post in category is the custom text, which can be changed to fit your requirements.

div style=border:1px solid blue; width:50%; padding:10pxNext post in category/div

<% ?php next_post_link(‘%link’, ‘Next post in category’, TRUE); ? %>

Within Same Category, Excluding One

Displays link to next post in the same category, as long as it is not in category 13 (the category ID #). You can change the number to any category you wish to exclude. Exclude multiple categories by using tt and /tt as a delimiter.

div style=border:1px solid blue; width:50%; padding:10pxNext post in category/div

<% ?php next_post_link(‘%link’, ‘Next post in category’, TRUE, ‘13′); ? %>

Parameters

format
(string) Format string for the link. This is where to control what comes before and after the link. tt’%link’/tt in string will be replaced with whatever is declared as tt’link’/tt (see next parameter). tt’Go to %link’/tt will generate Go to a href=… Put HTML tags here to style the final results. Defaults to tt’%link amp;raquo;’/tt.
link
(string) Link text to display. Defaults to next post’s title (tt’%title’/tt).
in_same_cat
(boolean) Indicates whether next post must be within the same category as the current post. If set to ttTRUE/tt, only posts from the current category will be displayed. Options are:

  • ttTRUE/tt
  • ttFALSE/tt (Default)
excluded_categories
(string) Numeric category ID(s) from which the next post should not be listed. Separate multiple categories with ttand/tt; example: tt’1 and 5 and 15′/tt. There is no default.
In Wordpress 2.2 (only), apparently, concatenating multiple categories for exclusion is done with a comma, not ttand/tt; example: tt’1, 5, 15′/tt. Still no default.
分类: WordPress 标签:

WordPress 文章页 加入 上一篇 下一篇

2010年2月12日 Ysoho 没有评论

WordPress 文章页 加入 上一篇 下一篇

1.先打开style.css,在最底端输入:

.floatleft {
float:left;
}
.floatright {
float:right;
}

这个意思就是把上一篇和下一篇同行并且分列左右两端。

2.将下列加入到single.php(也就是单篇文章页面)的合适位置。

<div><?php previous_post_link(‘&laquo; %link’) ?></div>
<div class=”floatright”><?php next_post_link(‘%link &raquo;’) ?></div>

更多信息请参阅 http://www.ysoho.com/wordpress/2010-02/wordpress-previous-next-function-xiangjie

分类: WordPress 标签:

该行已经属于另一个表

2010年2月8日 Ysoho 没有评论

该行已经属于另一个表,解决办法

DataTable dt=new DataTable();

dt.Rows.Add(dr.ItemArray);

是不是很简单呢 嘿嘿.

遇上这类问题很头痛。。没学好 数据类型呀。。引用不引用 的 就头大了。

分类: C# 标签:

快乐阿拉蕾DJ 舞曲 Mp3版

2009年10月10日 Ysoho 没有评论

快乐阿拉蕾歌词,

快乐阿拉蕾DJ Mp3版试听 192Kbps 点击进入播放页面

[ti:快乐阿拉蕾]
[ar:邵雨涵]

习惯了整夜不睡
卡布奇诺的香味
小狗在我的左腿
自己的凌晨派对
镜子前的小妹妹
表情千万别浪费
一个人看着天黑
肥皂剧到了结尾
ma yi ya 杯咖啡拉蕾阿拉蕾
是谁不想不想睡
拉蕾阿拉蕾
哄着我的小宝贝
短信不回
一个快乐的阿拉蕾
ma yi ya 杯咖啡拉蕾阿拉蕾
是谁不想不想睡
拉蕾阿拉蕾
哄着我的小宝贝
短信不回
快乐阿拉蕾DJ Mp3版 192Kbps 点击进入播放页面
习惯了整夜不睡
卡布奇诺的香味
小狗在我的左腿
自己的凌晨派对
镜子前的小妹妹
表情千万别浪费
一个人看着天黑
肥皂剧到了结尾
ma yi ya 杯咖啡拉蕾阿拉蕾
是谁不想不想睡
拉蕾阿拉蕾
哄着我的小宝贝
短信不回
一个快乐的阿拉蕾
ma yi ya 杯咖啡拉蕾阿拉蕾
是谁不想不想睡
拉蕾阿拉蕾
哄着我的小宝贝
短信不回
快乐阿拉蕾快乐阿拉蕾DJ Mp3版试听 192Kbps 点击进入播放页面
ma yi ya 杯咖啡拉蕾阿拉蕾
是谁不想不想睡
拉蕾阿拉蕾
哄着我的小宝贝
短信不回
一个快乐的阿拉蕾
ma yi ya 杯咖啡拉蕾阿拉蕾
是谁不想不想睡
拉蕾阿拉蕾
哄着我的小宝贝
短信不回
快乐阿拉蕾

快乐阿拉蕾DJ Mp3版试听 192Kbps 点击进入播放页面

分类: Mp3Dj舞曲 标签:

年下诱惑Mp3试听下载,年下诱惑最萌版

2009年10月8日 Ysoho 没有评论

[年下诱惑 歌词]

年下诱惑

点击播放器开始播放

下载地址:http://www.yosho.com/mp3dj/www.mp3dj8.com-年下诱惑.mp3
演唱:bonbon
嗨…嗨…嗨…
一朝离了课堂为勾引大叔装纯良

无奈他刚转性向就引妩媚狼一筐

柔弱却假装刚强精明外表是包装

看我玩转各手段吃干抹尽在床上

我是可爱小攻我怕谁邪恶腹黑假善良

脸蛋够清纯手段够yd
千方百计折腾你到泪汪汪
春药我偷偷藏万里追踪到你身旁

故意(哎呀)跌倒喊受伤无辜眼神让你心慌

(你..你..你要干什么)
哈哈哈哈别怕难道不知道今年流行年下么

话说我褪去纯情的伪装只把大叔逼到床中央

一步一压倒欲望我眼中烧
衣衫凌乱黑发飞散风情饶
别说你什么步骤都不知晓
high就要high到腰腿都酸掉
反攻太遥远乖乖配合好
春光无限春意盎然春色无止休
小受一落我手乖乖屈服眼泪流

欺负从没有尽头手铐皮鞭暖炕头

(这就是所谓的真攻不露相露相非真攻么)

哈哈哈哈哈顺我者娼逆我者亡

我是可爱小攻我怕谁邪恶腹黑假善良
脸蛋够清纯手段够yd

千方百计折腾你到泪汪汪

床上偶尔兽性狂床下阳光少年郎

可爱无敌外表装旭魔本质被隐藏

年下诱惑功力谁能比我强
(念)想要拜师学艺只需呈上三百两

分类: 日常工作 标签: