随笔分类 -  大前端

新前端技术
摘要:一、安装nvm linux安装 编辑文件/etc/hosts 199.232.68.133 raw.githubusercontent.com 199.232.68.133 user-images.githubusercontent.com 199.232.68.133 avatars2.githu 阅读全文
posted @ 2024-04-02 17:47 理舞 阅读(46) 评论(0) 推荐(0)
摘要:当浏览器向后台发起请求时,后台返回302,此时浏览器因为请求的发起方式不同,处理302的方式也不同,下面列举常见的处理方式: 参考博客: [1] 关于http重定向(302)的实验 https://blog.csdn.net/u010476739/article/details/115719565 阅读全文
posted @ 2023-11-24 08:22 理舞 阅读(171) 评论(0) 推荐(0)
摘要:在服务器运行nodejs脚本中,遇到三个问题,进行记录 1. 用到sharp依赖,但是在服务器上安装不成功,依赖会从github上下载不下来 解决:设置使用sharp对应的镜像地址 npm config set sharp_binary_host "https://npmmirror.com/mir 阅读全文
posted @ 2023-04-12 14:26 理舞 阅读(87) 评论(0) 推荐(0)
摘要:CommonJS CommonJS就是为JS的表现来制定规范,因为js没有模块的功能所以CommonJS应运而生,它希望js可以在任何地方运行,不只是浏览器中。CommonJS是nodejs也就是服务器端广泛使用的模块化机制。该规范的主要内容是,模块必须通过module.exports 导出对外的变 阅读全文
posted @ 2022-04-25 08:11 理舞 阅读(172) 评论(0) 推荐(0)
摘要:使用cnpm命令代替默认的npm # 安装cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org # 查看cnpm安装 cnpm -v #设置淘宝镜像(旧) npm config set registry http:// 阅读全文
posted @ 2022-04-24 21:23 理舞 阅读(139) 评论(0) 推荐(0)
摘要:现象: 在访问的时候,出现ERR_UNSAFE_PORT的错误,且这部分请求直接被浏览器进行拦截,不会到达后端服务。 参考: Chrome 错误代码:ERR_UNSAFE_PORT https://blog.csdn.net/testcs_dn/article/details/39186225 Ex 阅读全文
posted @ 2022-03-25 19:14 理舞 阅读(184) 评论(0) 推荐(0)
摘要:elasticdump可以直接下载es中得数据,需要通过npm方式安装下载elasticdump,所以需要先安装nodejs 1. 安装nodejs 将该文件上传到服务器中,或直接使用wget方式下载nodejs;切换到你得下载目录中,然后进行解压: [root@localhost ~]# tar 阅读全文
posted @ 2022-03-25 19:06 理舞 阅读(1525) 评论(0) 推荐(0)
摘要:先贴一个效果图,使用的geoserver版本2.18.0,需要对应版本插件netcdf插件【Extensions》Coverage Formats》NetCDF】,使用tomcat8进行发布geoserver,端口启用的是9999; 这里面的源码以及一些工具等,可以到我的百度盘里面进行查找: 链接: 阅读全文
posted @ 2020-11-13 15:59 理舞 阅读(1183) 评论(0) 推荐(0)
摘要:效果图: 目录信息 graphic.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http- 阅读全文
posted @ 2016-04-22 09:39 理舞 阅读(297) 评论(0) 推荐(0)
摘要:使用ext版本信息:ext-4.1.1a <!-- 下面是引入文件需要导入的文件信息 ext-all.css ext-all.js --><link rel="stylesheet" type="text/css" href="ext-4.1.1a/resources/css/ext-all.css 阅读全文
posted @ 2016-04-22 09:24 理舞 阅读(166) 评论(0) 推荐(0)