实现g.cn自动跳转到google.com.hk 有点麻烦,但是如果本地已运行服务器的就很简单

Filed under: Skill Record - 06 七 2010

一直习惯g.cn然后自动跳转到google.com.hk

由于ICP原因,现在已经不行,只能找方法解决了

第一个想到的是greasemonkey和firefox的配合,这方面钻研的不深,导致半个小时后还是一无所获,只能用别的办法.想到asp的跳转和php的跳转.

由于本地的服务器一直开着,先输入127.0.0.1看没有出现IIS的目录.

然后用html跳转语言, 如果安装成功IIS的. 在C:/Interpub文件夹里面新建一个html.内容为

<html> <meta http-equiv=”refresh” content=”0.0001;url=http://www.google.com.hk/webhp?hl=zh-CN”> </html>

打开127.0.0.1 看是否跳转成功.

最后设置下hosts文件, 在C:\Windows\System32\drivers\etc 在hosts的最后一行添加

127.0.0.1 g.cn

结束

输入g.cn, happy的跳转到

如何批量用word的文件名插入word的标题头

Filed under: Daily Something - 30 六 2010

宏:

Sub dddd()
Dim S As String, T1, T2, T3, i  As Long
S = Dir(“E:\test\*.DOC”)
Do While S <> “”
Set T2 = Documents.Open(“E:\test\” & S)
T3 = ActiveDocument.Name
T1 = Split(T3, “.”)
T2.Content.InsertBefore T1(0) & vbCrLf
ActiveDocument.Save
T2.Close
S = Dir
Loop
End Sub

运行….. 调试.

90827-162359.jpg

黑链/隐藏链接代码收集

Filed under: Skill Record - 11 六 2010

下面列出几种常见的黑链/隐藏链接代码,仅作参考:

链接颜色与背景颜色相同 链接文字小于或等于1像素

源代码

<a herf=http://www.pyy1990.cn/ style=”color:#FFFFFF;font-size:1px;line-height:1px;”>链接锚文本& lt;/a>

最初级的隐藏链接,请慎用,如果网站里有颜色为白色的文字同样要注意。

搜索引擎可能会判你为作弊。

链接位于网页可见范围外

源代码

<div style=”position: absolute; top: -999px;left: …

周杰伦的三键谱曲+北京长安街上的停车牛人….

Filed under: Movie Feeling - 03 六 2010

贴上两个视频. 感觉都特强悍的额. 一个是到目前为止关注最久的杰伦,好多年了额, 到现在还是听着他的歌额, 虽然比起现在的专辑还是喜欢他的老专辑,比如<依然范特西>,<半兽人>..另外一个是北京长安街上一个女性强人的如何自带靠边停车专用停车方法, 想法真的很独特…

1。[anyplayer:type=swf url=http://www.tudou.com/v/sPDtVm3PrHs/v.swf width=500 height=300]

防止看不到 贴上地址:http://www.tudou.com/programs/view/sPDtVm3PrHs/

2。[anyplayer:type=swf url=http://player.youku.com/player.php/sid/XMTc2NjQ4OTY0/v.swf width=500 height=300]

防止看不到 贴上地址: http://v.youku.com/v_show/id_XMTc2NjQ4OTY0.html

乐铺活动验证

The Power of Social Network (SNS) – the Change of BackBoard of ChangZhou University Baiyun Campus

Filed under: Daily Something - 02 六 2010

常州大学白云校区篮球场篮板1.jpg

The backboard in our school were changed these days, they have …

How to solve the gzip css/js problem via the YSLOW.

Filed under: Skill Record - 31 五 2010

When I use the Yslow to test my website, the “Compress components with gzip”, I google for some information and it appears very easy to do so.

1. download style.css (any css file), then name it to style.css.php. and …

« 上一页下一页 »