如果你是 Typecho 开发者想一个站点展示多个主题,那么这款插件就很适合你。使用方式访问下面形式的地址即可。https://站点地址/主题名称/
忘记在哪里看见这个需求了,花了3分钟弄出来。Typecho都迁移到 PHP 7.2 了,我也采用一个比较优雅的办法弄的。新来一个类<?php class XMetas_Tag_Cloud extends Widget_Metas_Tag_Cloud { /** * 获取关联文章 * @param int $num 文章数量 * @return Wi...
'user' => 'root', 'password' => 'root', 'charset' => 'utf8mb4', 'database' => 'test', 'engine' => 'InnoDB', ), \Typecho\Db::READ | \Typecho\Db::WRITE); \Typecho\Db::set($d...
如果说感知机是最最最简单的分类算法,那么线性回归就是最最最简单的回归算法,所以这一篇我们就一起来快活的用两种姿势手撸线性回归吧算法介绍线性回归通过超平面拟合数据点,经验误差一般使用MSE(均平方误差),优化方法为最小二乘法,算法如下:假设输入数据为X,输出为Y,为了简单起见,这里的数据点为一维数据(更好可视化,处理方式没区别);MSE公式为:(\frac{1}{N}\sum_{i=1}^{N...
1.重写JS现在已经采用 Webpack 构建,自动压缩JS2.重写设置样式3.不再支持附件页面支付功能(意义不大)4.修复BUG修复了不支持 Vditor 的 BUG,正式支持本站的 XEditor 插件修复了部分情况下按钮失效的问题修复了其他上传插件的兼容性问题去除正式版不支持的密码功能5.新增功能一行代码调用当前文章所有非图片附件Typecho 附件下载增强插件:Accessories...
AutoBackup主要功能就是定时备份数据库文件发送至邮箱,个人博客最有价值就是文字,所以说备份数据库就是备份博客的灵魂。插件功能介绍在博客后台对该插件备份的数据表、发送邮件的方式和接收邮箱进行设置。Jrotty 的版本包含一个config.xml文件,里面记载上次发送邮件的时间,当博主发表或更新一篇文章,或有访客在前台提交评论,则会触发插件计算此时的时间与上次发送邮件的时间之差是否超出了...
开发前台登陆的时候发现前台登陆错误不提示,看了一下Typecho代码后发现后台是用JS实现的,我不太想用JS实现,那就PHP呗。直接给出代码,把下面的代码放到functions.php,然后调用xNotice方法即可/** * 接管 Typecho 提示 * * @return void */ function xNotice() { $notice = json_decod...
作为 Typecho 主题开发者,每次打包发布主题都是一个很烦的事情,之前我一直是手动打包,然后删除不必要的文件,接着改名,今天打包上传服务器让我厌倦了这个动作,仅此写了一个批处理来打包主题。批处理简直是我写过最恶心的东西啊!!!代码把下面的代码保存为pack.cmd,放到主题目录下,双击即可打包主题到主题的pack目录下,需要安装 Winrar,注意修改Winrar路径@echo off ...
一款基于 Vditor 开发的 Typecho 编辑器插件。做 XMLiving 主题的额外产物,主要是为了切换主题后短代码不受影响,以后只要一直启用这个插件就行。欢迎各位有想法的提交 PULL REQUEST。特点1.实时预览,包括短代码2.新增自定义短代码无需书写正则,无需修改核心代码。预览功能自定义自定义按钮修改 'assets/js/toolbar.js',以插入按钮这个自带功能说明...
友情链接
最近评论
  1. Thiết kế phòng hát karaoke : I got this website from my pal who told me on the topic of this site and now this time I am visiting this site and
    reading very informative articles or reviews here.
  2. Lil Durk : Hello I am so grateful I found your website, I really found you by accident, while
    I was researching on Google for something else, Regardless I am here now and would just like to say
    thanks for a marvelous post and a all round exciting
    blog (I also love the theme/design), I don’t have time to read it all at the moment but I have book-marked it and also
    added your RSS feeds, so when I have time I will be back to read more, Please do keep up the superb b.
  3. Sbobet99 : Howdy thiiѕ is kinda of off tօpic but Ι was wondering if blogs use
    WYSIWYG editors or if you have to manually code with HTML.I'm starting a blog so᧐n butt have no coding skills so I wantеd to get guidаnce
    from someone with experience. Any help would be enormously аpprecіated!
  4. choithethao.tips : Undeniably believe that which you said. Your favorite
    justification seemed to be on the net the easiest thing to be aware of.
    I say to you, I certainly get irked while people consider
    worries that they plainly don't know about. You managed to
    hit the nail upon the top and also defined out the whole thing without having side-effects ,
    people can take a signal. Will likely be back to get more.Thanks
  5. https://veviewwii.tumblr.com/post/662643202115944448/ml-18s21-t2-2 : Link exchange is nothing else however it is simply placing the other
    person's web site link on your page at suitable place and other person will also do similar in support of
    you.
Top