
代码笔记
阿川阿川
喜你所做,做你所爱
展开
-
mac查看IP地址
ifconfig | grep "inet " | grep -v 127.0.0.1原创 2022-02-16 16:14:18 · 8917 阅读 · 0 评论 -
WinSCP断线,WinSCP总是断线,断线重连过程又需要卡很长时间解决办法
1、 设置【刷新远程面板间隔】步骤:2、编辑站点连接【发送空SSH包】步骤:原创 2020-08-10 11:53:46 · 1871 阅读 · 0 评论 -
sublime 安装 Package Control(笔记)
命令面板安装:打开命令面板Win / Linux:ctrl+shift+p,Mac:cmd+shift+p 键入Install Package Control,然后按enter命令安装失败,手动安装:单击 Preferences>Browse Packages... 浏览一个文件夹,然后进入“Installed Packages /”文件夹 下载https://pac...原创 2020-04-13 17:19:58 · 184 阅读 · 0 评论 -
xampp启动Apache报错 1、Error: Apache shutdown unexpectedly. 2、Unclean shutdown of previous Apache run?
报错信息Error: Apache shutdown unexpectedly.Unclean shutdown of previous Apache run?PHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0...原创 2020-04-09 14:56:32 · 667 阅读 · 0 评论 -
vs code Cascadia Code 字体,vscode使用字体
步骤一:下载字体链接:https://github.com/microsoft/cascadia-code/releases步骤二:把下载的字体放到电脑系统中路径:控制面板 > 字体步骤三:在vscode中使用在配置项editor.fontFamily中添加'Cascadia Code'将配置项editor.fontLigatures改为true...原创 2020-04-08 15:19:28 · 2191 阅读 · 0 评论 -
nrm : 无法加载文件 C:\Users\hc\AppData\Roaming\npm\nrm.ps1 ,因为在此系统上禁止运行脚本。
nrm : 无法加载文件 C:\Users\hc\AppData\Roaming\npm\nrm.ps1 ,因为在此系统上禁止运行脚本。问题:使用nrm报错。解决:1、右键win图标,打开Windows PowerShell(管理员)2、 使用报错3、解决改变执行策略更改为 RemoteSigned,输入【y】确定set-ExecutionPolicy Rem...原创 2019-12-07 23:03:12 · 8962 阅读 · 2 评论 -
Promise使用,return的运用,解决回调地狱
Promise使用,return的运用,解决回调地狱回调地狱httpBookModel.getHotList().then((res) => { console.log(res) httpBookModel.getMyBookCount().then((res) => { console.log(res) httpBookModel.getMyBook...原创 2019-12-06 14:57:33 · 1264 阅读 · 0 评论 -
腾讯alloyteam团队前端代码规范(记录)
http://alloyteam.github.io/CodeGuide/https://www.kancloud.cn/digest/code-guide/42600原创 2019-10-21 10:36:16 · 863 阅读 · 0 评论 -
富文本编辑器使用
转:http://www.cnblogs.com/wisewrong/p/8985471.html转载 2019-04-25 16:52:59 · 100 阅读 · 0 评论 -
HTTP协议原理+实践 Web开发工程师必学(笔记)
开始数据内容传输都是通过http协议的。需要理解httphttp很重要提升自身价值简单的例子:浏览器中输入网页,ajax数据,img加载图片Cache-Control?缓存的验证深入到TCPNginx使用准备:http这个概念内容介绍2-1 网络协议分层经典五层模型低三层:物理层主要作用是定义物理设备如何传输数据:网线,网卡端口,光缆...原创 2019-04-25 19:47:59 · 490 阅读 · 0 评论 -
bootstrap,datetimepicker日期时间选择器-限制时间段,以及中文显示问题
基于bootstrap的css,jsbootstrap-datetimepicker的css,js<script src="jquery-1.11.1.min.js"></script> <link href="bootstrap-3.3.5-dist/css/bootstrap.css" rel="stylesheet" /> <scri...翻译 2019-03-25 10:08:44 · 1748 阅读 · 1 评论