1+1=10

人生苦短,成长路上究竟在 扬长避短 还是 取长补短...

Hello Pelican Again

Again,为什么说again??早在2015年接触了到Pelican和GitHub Pages,结果架子搭好了,8年间却一直没写东西。希望这次能坚持住:Hello Pelican

OK,先升级pelican使得 blog重新工作。

安装Pelican

好在pelican从python2到python3基本没有变化。

直接安装安装python3,并启用 …

Github Actions从0到1笔记(基于Python)

从简单的python程序开始,了解一下GitHub Actions。

例子一

首先创建python文件

文件名 : test_1.py

该文件需要满足pytest基本要求,即

  • 文件以 test_开头,或者以 _test.py结尾
  • 文件内待 …

GitHub Pages 随手小记

点开之前用GitHub Pages搭建的项目页面qtlsx.debao.me,看到上次更新还是在9年前。长时间没写博客,有点不清楚从哪儿开始了。或许先把GH Pages捡起来看看,毕竟10年来发生了很多变化。

GitHub Pages 是 GitHub …

Joomla!扩展笔记

Joomla! 的扩展分:组件、模块、插件、模板

简单了解一下

组件(Component)

组件是Joomla!的一种扩展,是Joomla!的主要功能单元。大部分组件都包含administrator和site两部分,它 …

Jooomla!笔记

问题

googleapis.com 加载问题

不少扩展都使用了 googleapis.com 中的 fonts 和 jQuery ,而google的服务在国内无法访问。需要换成360提供的镜像 http://libs.useso.com/

NoNumber ReReplacer 比较好的解决这个问题。

创建两条 …

Notes on MySQL

MySQL vs mysql

  • MySQL ==> the entire MySQL package
    • The MySQL server (mysqld)
    • MySQL client programs
    • MySQL client library
  • mysql ==> a client program of the MySQL package
    • The MySQL Command-Line Tool

Connecting to server

shell> mysql -h host -u user -p

If mysqld is running on the same machine:

shell> mysql …

Install MediaWiki on Windows

MediaWiki + Apache + php + MySQL

MySQL

Download and install the msi installer of MySQL 5.6 from http://dev.mysql.com/downloads/installer/

Apache

Download and install Apache 2.4 from http://www.apachelounge.com/download/

PHP

Download and install php 5.8.6 from http://windows.php.net/download/

Rename …

Install Bugzilla on Windows

According to the documentation of Bugzilla 5.0, the following applications should be installed first:

  • ActiveState Perl 5.18.2 (5.12.4 or higher)
  • Apache 2.4 (2.2.x or higher)
  • MySql 5.6 (5.0.15 or higher)

Download Bugzilla

git clone --branch 5.0 https://git …