ICode9

精准搜索请尝试: 精确搜索
  • 我的sysmon采集全量数据配置2022-09-16 12:32:34

    我的sysmon采集全量数据配置: <!-- FILTERING: Filter conditions available for use are: is,is not,contains,contains any,is any,contains all,excludes,excludes any,excludes all,begin with,not begin with,end with,not end with,less than,more than,image COMPOUND

  • LNMP环境下php-fpm启动失败的解决方法2022-09-15 22:33:02

    今天修改网站配置文件后执行命令lnmp restart重启lnmp时候,出现Gracefully shutting down php-fpm ................. failed. Use force-quit。 Starting php-fpm [15-Sep-2022 22:10:18] ERROR: the master process didn't send back its status (via the pipe to the calling pr

  • Node.js 全局对象2022-09-15 20:01:41

    全局对象:在任意作用域下都可访问的对象叫全局对象 .console对象 控制台对象 ,提供一组 用于控制台下输出的API console.log(1) //打印日志 console.info(2) //打印消息 console.warn(3) //打印警告 console.error(4) //打印错误 console.time() 开始计时 console.timeEnd()

  • Nginx 日志 failed (13: Permission denied) 错误(13:权限被拒绝)2022-09-14 08:00:42

    错误分析:   权限拒绝   主要原因:   Nginx用户和应用用户不一致造成的   解决办法:   修改nginx.conf 文件,将其用户改为一致(一般在第1行) user root 查看如下: [root@centos conf]# ps -ef | grep nginx root 2576 1 0 00:35 ? 00:00:00 nginx

  • cookie和session2022-09-13 21:30:08

    目录今日内容概要今日内容详细cookie与session简介django操作cookiedjango操作sessiondjango中间件 今日内容概要 cookie与session django中间件 csrf跨站请求伪造 今日内容详细 cookie与session简介 """ HTTP协议四大特性 1.基于请求响应 2.基于TCP、IP作用于应用层之上

  • cookie、session的应用与Django中间件介绍2022-09-12 16:31:34

    cookie、seesion的应用与Django中间件介绍 cookie与session简介 HTTP协议四大特性 1.给予请求响应 2.基于TCP、TP作用于应用层之上的协议 3.无状态 服务器端无法识别客户端状态的状态 1.互联网刚开始兴起的时候所有人访问网站都是一样的数据,服务器无法识别客户端,只是给出我

  • 学习python-Day582022-09-10 18:30:41

    今日学习内容 cookie与session HTTP协议四大特性 1.基于请求响应 2.基于TCP、IP作用于应用层之上协议 3.无状态 服务端无法识别客户端的状态 HTTP是一种不保存状态,即无状态(stateless)协议。 HTTP协议 自身不对请求和响应之间的通信状态进行保存。 互联网刚开始兴起的时

  • django之cookie与session和中间件2022-09-09 22:31:06

    一、cookie和session的简介 ''' HTTP协议四大特性 1.基于请求响应 2.基于TCP、IP作用于应用层之上协议 3.无状态 4.无连接''' # 我们来看一下无状态 ''' 服务端是无法识别客户端的状态的 在互联网初期所有的客户端访问服务端都是一样的数据 所以就

  • django学习笔记day092022-09-09 20:04:34

    今日内容概要 cookie与session django中间件 今日内容详细 cookie与session 简介 回顾知识: HTTP四大特性: 1.基于请求响应 2.基于TCP、IP作用于应用层之上协议 3.无状态:服务端无法识别客户端的状态 4.无连接 Cookie 互联网刚兴起的时候,所有人访问网址都是一样的数据,服务端无

  • vue项目启动报错 Error: spawn cmd ENOENT2022-09-09 09:03:43

    一、yarn serve 启动vue项目,如下报错:     Type checking in progress... App running at: - Local: http://localhost:8080/crmpc/ - Network: http://172.20.3.3:8080/ Note that the development build is not optimized. To create a production buil

  • 流程挖掘2022-09-05 18:35:16

    https://www.uipath.com.cn/solutions/department/it-automation/ https://www.uipath.com.cn/product/process-mining/

  • GitHub——Error: Process completed with exit code 126.2022-09-01 01:01:40

    前言 如题,github的actions在执行脚本的时候提示权限不足,既然权限不足,那就赋予权限呗,于是查了下git文档,还真有这个命令; git update-index: git update-index 内容 报错内容 Run ./build.sh /home/runner/work/_temp/fc8e00a4-5d7c-4833-a2bb-5b7778b331a2.sh: line 1: ./buil

  • Django入门到放弃之中间件2022-08-27 23:31:28

    1.Django 中间件作用 修改请求,即传送到 view 中的 HttpRequest 对象。 修改响应,即 view 返回的 HttpResponse 对象。 2.中间件五个方法 process_request☆ 1. process_request 1. 执行时间 在视图函数之前执行 2. 参数 request 和

  • python:cmd管道2022-08-24 12:02:51

    commands = f"""ssh root@120.7x.254.99 -p2483 cd /data/wwwroot/csjs2_client_dev git pull ssh://git@172.16.x.161x:2483/data/repos/csjs2_client_dev.git """ import subprocess def subprocess_popen(commands,stdout=subprocess.PIPE

  • prometheus process-export进程监控2022-08-22 11:03:07

      oToyix 于2021-09-08 11:53:45 prometheus process-export 进程监控   一、环境部署,见prometheus 邮件告警 第一节https://blog.csdn.net/oToyix/article/details/120160633二、process-export进程监控1、process-export 下载、配置、启动 wget -c https://github.com/

  • PowerShell教程 - 进程管理(Process Management)2022-08-22 08:33:03

    更新记录 转载请注明出处。 2022年8月22日 发布。 2022年8月18日 从笔记迁移到博客。 进程管理(Process Management) 开启进程 Start-Process 结束进程 Stop-Process 等待进程 Wait-Process 获得进程 Get-Process 实例: 获得指定名称的进程 Get-Process powershell Get-Process

  • django中的中间件2022-08-20 11:34:52

    1. 什么是中间件 中间件是django的门户,在请求响应进入进出django的时候,都需要先经过中间件,用来全局改变django的输入和输出。 django中自带7个中间件,每个中间件都有其特定的功能,并且django支持自定义中间件。 MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware

  • Exadata X3-2刷机至20.1.22.0.0版本时,Imaging process entered in an interactive mode2022-08-19 00:34:07

    一套Exadata X3-2 1/4配置,计划将image版本重新刷机到20.1.22.0.0版本。刷了两个小时竟然还没刷完,登录console查看日志,发现imaging进程进入到了交互模式。 [INFO     ] [ERROR] Validation test(s) FAILED for the post imaging mode[INFO     ] Choose from following by

  • Windows PowerShell 使用2022-08-18 19:01:55

    启动PowerShell 开始菜单 搜索 win+r 运行 get-help 查看帮助 get-command 查看有哪些命令 get-command      缩小范围 get-command get-* get-command "*process*" / get-command *process* get-hel

  • FastAPI+Gunicorn+Nginx部署(超详细)2022-08-18 13:34:56

    前言 系统使用: Ubuntu22.04 (用户名:ubuntu) Python版本: Python3.10 (虚拟环境:fastapi_env ) 数据库: MySQL5.7 本项目使用 以下工具 FastAPI Gunicorn uvicorn Nginx supervisor 项目结构 项目路径 /data/www/fast-tortoise └── fast-tortoise ├── aerich

  • python 多线程的使用2022-08-17 09:32:02

    在开发etl的过程中,之前串行执行sql脚本速度有点慢,计划转换成并行,这里需要使用py的多线程模式核心在于py的 multiprocessing 模块,下面是我抄过来别人的代码:import multiprocessingimport time#跳舞任务def dance(): for i in range(5): print("跳舞中...") time.s

  • 自定义listview向其中动态增加控件2022-08-16 10:03:01

    1 private void InitARListView() 2 { 3 int count = arListView1.Items.Count; 4 arListView1.Items.Clear(); 5 //for (int i = arListView1.Items.Count - 1; i >= 0; i--) 6 //{ 7

  • Linux下生成core dump文件的配置及对core文件的分析2022-08-15 00:04:11

    目录1.环境配置(core 文件生成条件)1.文件路径配置2.core文件大小配置3.可选配置4.参考2. 使用 gdb 对 coredump 文件进行分析 1.环境配置(core 文件生成条件) 1.文件路径配置 kernel.core_pattern = /var/crash/core-%e-%s-%u-%g-%p-%t // 添加到/etc/sysctl.conf //参数说明 %e

  • electron本地存储和Log位置2022-08-13 15:02:22

    electron-store: https://electronjs.org/docs/api/app#appgetpathname app.getPath(name)-储存你应用程序设置文件的文件夹,默认是 appData 文件夹附加应用的名称。 appData-当前用户的应用数据文件夹,默认对应: %APPDATA% Windows 中$XDG_CONFIG_HOME or ~/.config Linux 中~

  • Semiconductor2022-08-13 14:02:05

    Some of the properties of semiconductor materials were observed throughout the mid 19th and first decades of the 20th century. Developments in quantum physics in turn led to the development of the transistor in 1947, the integrated circuit in 1958, and th

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有