- 博客(8)
- 收藏
- 关注
原创 前端常用代码
//ajax请求demo KaTeX parse error: Expected '}', got 'EOF' at end of input: …son", url:"{ctx}/camera/capture!getListJson.action?capture.cameraCode="+cameraCode+"&capture.projectId="+projectId, success:function(data){ $(’#createTime’).combobox(‘loadDat
2022-03-11 09:25:53
850
原创 http下载文件
public void downloadFile(String fileName,String zipPath, HttpServletResponse response){ InputStream file = null; ServletOutputStream servletOutputStream = null; try { file = new FileInputStream(new File(zipPath)); response.setHeader(“Content-Disposition”,
2022-03-09 21:56:19
1859
原创 js key转value
var map; function transProjectId(value,row,index) { if(map){ return map[value]; }else { map = {}; KaTeX parse error: Expected '}', got 'EOF' at end of input: .ajax({url:"{ctx}/projectmanagement/projectquery!getAllDataList.action",async: false,success:funct
2022-03-04 15:05:17
677
原创 window常用命令
杀死进程 taskkill /im nginx.exe /f 查找进程 tasklist /fi “imagename eq nginx.exe”
2022-02-23 10:35:36
494
原创 指定端口启动minio
./minio server /home --console-address :9002 --address :9001
2022-02-11 15:49:38
9542
1
原创 linux设置开机自动运行脚本的方法
有时候,我们需要在系统启动之后,自动启动某个脚本或服务。在 Windows 下,我们有很多方法可以设置开机启动,但在 Linux 系统下我们需要如何操作呢? Linux 下同样可以设置开机启动,下面我们介绍其中一种常见的方法。 方法一:修改 /etc/rc.d/rc.local 文件 /etc/rc.d/rc.local 文件会在 Linux 系统各项服务都启动完毕之后再被运行。所以你想要自己的脚本在开机后被运行的话,可以将自己脚本路径加到该文件里。 但是,首先需要确认你有运行这个文件的权限。 $ chmo
2022-02-10 10:32:12
3416
原创 idea 配置tomcat运行maven web项目
1.设置jdk和编译等级 2.设置web模块,增加部署描述符路径,web部署路径,编译后的class文件部署路径 3.设置article,增加article包路径 4.设置本地tomcat,配置tomcat目录,访问url,端口 5.设置部署的article和访问根目录 6.点击运行按钮 ...
2020-08-14 17:17:40
338
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅