2020年10月

<%
Dim arr,result,i,j,k,fs,kk,key
set fs=server.createobject("scripting.filesystemobject")
arr=Split("a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z",",")
rem -----------------取所有不重复的2个字符组合-------------------------
k=-1
For i=0 To UBound(arr)
    For j=0 To UBound(arr)
        If i<>j then
            k=k+1
            If k=0 Then
                ReDim result(k)
            else
                ReDim Preserve result(k)
            End if
            result(k)=arr(i)&arr(j)
        End if
    next
Next
fs.createtextfile(server.mappath("1.txt"),true).write Join(result,vbcrlf)
rem ------------------------------------------
rem -----------------生成k个不重复的2个字符组合------------------------
k=100
kk=0
Set result=Server.createObject("Scripting.Dictionary")
Do While kk<k
    i=Int(26*Rnd)
    j=Int(26*Rnd)
    If i<>j And Not result.Exists(arr(i)&arr(j)) then
        kk=kk+1
        result.add arr(i)&arr(j),arr(i)&arr(j)
    End if
Loop
If fs.FileExists(server.mappath("2.txt")) then
    fs.deletefile server.mappath("2.txt")
End If
fs.createtextfile(server.mappath("2.txt"),true).write ""
For Each key in result
    fs.OpenTextFile(server.mappath("2.txt"),8,true).writeline key
Next
rem---------------------------
Set fs=nothing
%>

#### 免费


付费

登录Typecho后台 -> 设置 -> 基本设置 -> 站点地址改成https的域名是必须的。

编辑Typecho站点根目录下的文件config.inc.php加入下面一行配置,否则网站后台还是会调用HTTP资源。

/** 开启HTTPS */
define('__TYPECHO_SECURE__',true);

由于Chrome浏览器对HTTPS要求较高,Firefox已经显示小绿锁,可是Chrome还是有警告提示,F12查看,
评论表单的action地址还是http,找到站点主题目录下的 comments.php 文件,
并搜索 $this->commentUrl(),将其替换为:echo str_replace("http","https",$this->commentUrl()); 最后保存。

typecho Handsome 模版 文章底部添清新的加版权说明 SEO收录优化

112w1111.jpg

Typecho Handsome 模版 文章底部添清新的加版权说明 SEO收录优化我放在主题的开发者选项的自定义css里

111r3.jpg

.cpright {
padding: 10px;
background: rgba(220, 220, 220, 0.1);
margin: 8px 0;
font-size: 13px;
border-left: 3px #f07aab96 solid;
position: relative;
z-index: 1;
font-family: "Microsoft Yahei","Droid Serif",Georgia,"Times New Roman",STHeiti,serif;
text-align: left;
}
.cpright a:hover {
color: #ff7979e8!important;
}
.cpright a {
color: #999!important;
margin: 4px;
border-bottom: 0px solid #999!important;
}
Html代码放在文章输出之后,每个主题不一定一样自己找
handsome为例 post.php的 头顶最近的
的前面即可

111f542.jpg

<div class="cpright">
<span>本文作者:<span class="sr-only"><?php _me("作者") ?>:</span> <a class="meta-value" href="<?php $this->author->permalink(); ?>" rel="author"> <?php $this->author(); ?></a></span>
文章标题:<a href="<?php $this->permalink() ?>"><?php $this->title() ?></a><br><span>本文地址:<a href="<?php $this->permalink() ?>"><?php $this->permalink() ?></a></span>      <br><span>版权说明:若无注明,本文皆为“<a href="<?php $this->options->siteUrl(); ?>" target="_blank" data-original-title="<?php $this->options->title() ?>"><?php $this->options->title() ?></a>”原创,转载请保留文章出处。</span>
</div>

参考阅读:http://docs.typecho.org/themes/quick-tutorial

強身健体!

強身健体!保驾护航! 学习知识,运用头脑。 学已致用,技不压身。点到为止。 有啥别有病! 林子大了什么鸟都有。鸟大了什么林子都有。

Future Dreams are Coming True.

The art of being happy consists in making one's joys simple. Knowledge Sharing. Then, how we make money is up to us.

Salaam!

i love islam !
i love allah !
i love Muslism !
Do everything in the interests of the people.

BH2UBF BORN IN CHINA

宇宙寄生

人类能否生活在真空的宇宙中,寄生浩瀚在宇宙中.
这才是人类真正的目标所在.
人类的目标:

能长生不老.
能生存在各种环境.
能不断的繁衍壮大优质的后代.
能不自相残杀.
我心中理想化.

同时也证明了人类的终结命运,注定生活在悲哀中.
和动物一样.富有生命的动物一样.
可是我们知道了自已的命运归结.
但我们不知道都该干什么,至始至终没有明确详尽的分工.