利用minify减少请求

  • kn
  • 2020-08-17 15:13:01
  • php
1.composer require mrclay/minify2.cd /path/to/public_html mkdir min MIN=min/ MINIFY=vendor/mrclay/minify/ cp ${MINIFY}example.index.php ${MIN}index.php cp ${MIN
阅读全文

利用grunt插件来压缩js和css文件用来减少http请求,提高页面效率

  • kn
  • 2020-08-17 13:47:53
  • php
1.安装nodejshttp://nodejs.org/ 2.安装各自的node packagejs我用的是UglifyJS github地址:https://github.com/mishoo/UglifyJScss我用的是clean-css github地址:https://github.com/GoalSmashers/clean-css图片用的是node-smushit  &nb
阅读全文

centos elasticsearch 【2】安装插件

  • kn
  • 2020-07-02 22:08:00
  • php
1.2.
阅读全文

一些thinkphp拓展

  • kn
  • 2020-06-23 15:54:48
  • php
1.工作流 https://gitee.com/ntdgg/tpflow2.图片动态裁剪库 https://github.com/top-think/think-glide  类似阿里云oss
阅读全文

中文分词测试

  • kn
  • 2020-06-23 15:52:45
  • python
https://github.com/lancopku/PKUSeg-python
阅读全文

看过的电影

  • kn
  • 2020-06-21 10:11:37
  • 其他
1.与神同行:罪与罚 20200621
阅读全文

laravel开启sql日志

1.记录所有sql查询记录app/Providers/EventServiceProvider.phppublic function boot() {     parent::boot();     \DB::listen(function ($query) { &n
阅读全文

ubuntu编译安装php7.3.16

  • kn
  • 2020-04-02 15:51:27
  • php
1.
阅读全文

centos7 配置使用证书登录

  • kn
  • 2020-03-28 19:43:35
  • Liunx
1.切换到需要使用证书登陆的用户2.生成证书 -t 指定使用的加密方法ssh-keygen -t rsa选择存储位置,输入密码3.
阅读全文

npm 使用淘宝镜像源

  • kn
  • 2020-03-23 12:52:04
  • 前端
npm config set registry https://registry.npm.taobao.org
阅读全文
  • «
  • 1
  • 2
  • ...
  • 15
  • 16
  • 17
  • 18
  • 19
  • ...
  • 41
  • 42
  • »