关闭占用某端口的程序 1.lsof:i 80 // 例如查找出的端口号为1510 2.kill -9 1510 解压zip文件 unzip 文件路径既可 如果要覆盖则使用 unzip -o 文件路径 &nb…
5款免费开源自建私人云盘程序 转
转自:http://www.360doc.com/content/20/0315/06/17064127_899264773.shtml
border-bottom设置文字与边线之间的距离
.classname{ border-bottom: #999 1px solid; padding-bottom: 4px; font-size: 16px; }
Apache不允许直接访问网站资源,只允许网站直接调用的方式
网站有局域网和外网2个ip,设置这2个ip可以访问网站资源,不允许访问直接通过url访问资源 例如在upload/resource下存放着资源abc.html,则在upload/resource下创建.htaccess和…
使用Apache配置需要用户名和密码认证才可以访问网站 转
转自:http://www.jingweb.net/technology/Use-Apache-to-configure-websites-that-require-username--and-password-auth…
frp密码功能 利用frp密码功能保护web服务 转
转自:https://www.smiseo.com/1664.html 由于所有客户端共用一个 frps 的 http 服务端口,任何知道你的域名和 url 的人都能访问到你部署在内网的 web 服务,但是在某些场景下需…
node.js中exports和module.exports的区别 转
转自:https://blog.csdn.net/qq_31967569/article/details/82461499 module.exports 对象是由模块系统创建的。在我们自己写模块的时候,需要在模块最后写好…
vue.js组件通信 转
转自:https://juejin.cn/post/6844903734082977800 1 自定义事件 通过自定义事件,我们可以把数据从子组件传输回父组件。子组件通过 $emit() 来触发事件,而父组…
node.js q模块详解 转
转自:https://zhuanlan.zhihu.com/p/26437904
Node.js中的一些常用模块
object-hash 生成哈希值 let hash = require('object-hash'); let testJson = {"name":"Jack","sex":"male"}; let jsonHash…
COM/COM+/DCOM详解 转
转自:https://zhidao.baidu.com/question/1446693978000517900.html?qbl=relate_question_0&word=DCOM%D7%E9%BC%FE%…
php:Uncaught exception com_exception 转
转自:https://www.cnblogs.com/caicaizi/p/6676128.html 解决方法如下: 1、打开控制面板 - 管理工具 - 组件服务 2、在组件服务面板中依次打开 控制台根目录 - 组件服务…
php开启COM组件服务
在php.ini特定位置增加: extension=php_com_dotnet.dll [COM] com.allow_dcom = true 如果在phpinfo中,com_dotnet中的DCOM s…
php如何获取word页数? 转
转自:https://www.zhihu.com/question/43832646
PHP中利用pclzip压缩和解压文件 转
转自:https://www.cnblogs.com/adtuu/p/4723425.html <?php include_once('pclzip.lib.php'); $archive = new PclZip…
vue项目前后端实现 转
转自:https://juejin.cn/post/6844903576901271565 前端:vue,vue-router,axios,vue-video-player,element-ui 后端: express …
npm install --save-dev和--save的区别 转
转自:https://www.cnblogs.com/blackgan/p/7678868.html package.json中两个字段含义简介 一直在使用npm包管理器,对于npm install module --s…
php解压zip文件 处理中文编码 转
转自:https://blog.csdn.net/tenggeer0789/article/details/89446510 文章链接: http://www.jb51.net/article/61678.htm htt…
Node.js压缩和解压缩 转
转自:http://t.zoukankan.com/xbblogs-p-9156446.html 推荐一个极其简单、及其好用的node.js的压缩和解压缩类库 compressing 支持格式: tar、gzip、tg…
vue cli4.0 快速搭建项目详解 转
转自:https://www.cnblogs.com/blcorder/p/12015715.html 一:基础环境配置 (1)首先要下载node( https://nodejs.org/zh-cn/download/ …
利用npm 安装删除模块 转
转自:https://www.cnblogs.com/arxive/p/10313690.html 1. npm安装模块 【npm install xxx】利用 npm 安装xxx模块到当前命令行所在目录; 【npm i…
Vue.js的安装方式,包括cli 转
转自:https://blog.csdn.net/muzidigbig/article/details/80490884 Vue.js(读音 /vjuː/, 类似于 view)是一个构建数据驱动的 web 界面的渐进式框…
Promise 对象 转
转自:https://es6.ruanyifeng.com/?search=Promise&x=9&y=9#docs/promise Promise 的含义 Promise 是异步编程的一种解决方案,比传…
Node.js中axios的使用 转
转自:https://www.cnblogs.com/itech/p/13253319.html http相关modules HTTP – the Standard Library Request Axios Super…
layui 设置select下拉框的宽度
.layui-form-select { width: 80px; }
node express 设置跨域访问
const express = require("express"); const app = express(); //设置跨域访问 app.all("*",function(req,res,next){ //设置允许…
php 图片质量压缩 转
转自:https://blog.csdn.net/qq_41445224/article/details/97402427 php实现图片压缩,可以设置只压缩质量,不改变宽高,也可以设置改变宽高,压缩比是自定义的 /**…
PHP Spreadsheet导出数据到Excel 转
转自:https://www.cnblogs.com/itbsl/p/10369695.html https://www.vvzixun.com/index.php/code/01366acca5fa30c9496689…
PHPExcel详解 转
转自:https://blog.csdn.net/yanhui_wei/article/details/7930502 这里有关于excel文件的几个概念需要跟大家说明一下,这几个概念对于我们的后续编程是很有帮助的: 1…
PHPExcel读写 转
转自:https://www.cnblogs.com/Renyi-Fan/p/9393700.html 一、总结(点击显示或隐藏总结内容) 一句话总结:PHP操作Excel最好的方法是使用PHPExcel类, 可以到官…


