摘要: 使用git提交代码到gitLab的方式: 方式1:在vscode中使用git提交代码到gitLab方式2:在idea中使用git提交代码到gitLab 1.配置git首次使用git提交代码,需要先配置user.name(账号) 和 user.email(密码) 打开cmd,输入如下命令 Git 全局 阅读全文
posted @ 2022-01-26 11:54 web_liu 阅读(267) 评论(0) 推荐(0) 编辑
摘要: WIN7下Visual Studio2019安装时报错Microsoft.Net.4.7.2.FullRedist 下载.net4.7.2的离线安装包 下载地址:https://support.microsoft.com/zh-cn/help/4054530/microsoft-net-framew 阅读全文
posted @ 2021-08-12 09:44 web_liu 阅读(2344) 评论(0) 推荐(0) 编辑
摘要: 1、在微信开放平台配置关联相关APP、微信小程序、微信公众号; 2、在微信公众号中设置安全域名; 3、在开放者平台中的APP配置关联JS网页安全域名; 4、把相关Html页面代码放到对应域名下; <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> 阅读全文
posted @ 2021-08-10 18:10 web_liu 阅读(2100) 评论(0) 推荐(0) 编辑
摘要: 1 //替换字符串中的换行符为br 2 var Content = JSON.stringify(txt); 3 Content = Content.replace(/\\n/g, ''); 4 //移除开始 结尾 两个 双引号 5 Content = Content.substring(1, Content.length - 1); 阅读全文
posted @ 2018-07-21 09:45 web_liu 阅读(3169) 评论(0) 推荐(0) 编辑
摘要: win7系统都自带有iis的功能。关于WIN7下IIS的安装,请参考这里 http://jingyan.baidu.com/article/219f4bf723bcb2de442d38ed.html 首先要下载rewrite 的64位的组件 rewrite_x64_zh-CN.msi。官方的下地址是 阅读全文
posted @ 2017-07-20 09:32 web_liu 阅读(5110) 评论(0) 推荐(0) 编辑
摘要: 1、安装Sublime 插件 (1)安装LESS插件:因为Sublime不支持Less语法高亮,所以,先安装这个插件,方法: ctrl+shift+p>install Package>输入less按Enter (2)安装LESS2CSS插件:这个插件的作用是 当保存less文件的时候自动生成同名的c 阅读全文
posted @ 2016-12-28 09:45 web_liu 阅读(5284) 评论(0) 推荐(0) 编辑
摘要: windows下nodejs监听80端口时提示端口被占用报错,解决方案如下: 1、cmd netstat -ano查看是什么程序占用了80端口; 2、控制面板--管理工具--服务--停止 SQL Server ReportingServices这个服务; 然后 nodejs就能直接通过域名绑定 80 阅读全文
posted @ 2016-07-08 14:50 web_liu 阅读(3660) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/mchina/archive/2013/06/05/3108618.html 阅读全文
posted @ 2016-07-08 14:15 web_liu 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1、打开node_modules\gulp-rev\index.js 2、打开node_modules\gulp-rev\nodemodules\rev-path\index.js 3、打开node_modules\gulp-rev-collector\index.js 4、gulp替换aspx文件 阅读全文
posted @ 2016-07-04 14:21 web_liu 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: 1、解决方案是在调试阶段或者频繁更新的页面加入以下头信息 2、更新文件的时候,在引用css,js等文件的语句上加上一个版本号,就能有效防止浏览器一直使用缓存中的css,js 3、防止页面被缓存的方法,在URL后面添加随机参数,这样每次访问的都是不同的连接 阅读全文
posted @ 2016-06-13 11:56 web_liu 阅读(4361) 评论(0) 推荐(0) 编辑