fwknop客户端&服务端 - 交叉编译、静态编译 fwknop交叉编译、静态编译交叉编译的话,在configure的时候,通过–-host xxx参数指定目标主机的架构静态编译的话,在configure的时候,通过CFLAGS=-static指定静态编译
[docker] docker buildx - 跨CPU架构构建镜像 docker buildx 使用可能的报错源镜像非https可能的报错源镜像非https报错error: failed to solve: rpc error: code = Unknown desc = xxx:xxx/xxxx/xxxx:letest: failed to do request: Head "https://xxx:xxx/v2/xxxx/xxxx/manifests/latest": http: server gave HTTP response to HTTPS clie
kibana权限配置 kibana权限配置1. 新建workspacekibanacurl新建角色kibanacurl新建用户kibanacurl导入dashboardkibanacurl1. 新建workspacekibanacurlcurl --location --request POST 'http://localhost:5601/api/spaces/space' \--header 'kbn-xsrf: true' \--header 'Content-Type: application/json'
wazuh manager 对 agent 分组管理 agent端需要启用在/var/ossec/etc/local_internal_options.conf添加wazuh_command.remote_commands=1manager端分组 ref新建分组,如debian:/var/ossec/bin/agent_groups -a -g debian将id为002的agent添加到debian组:/var/ossec/bin/agent_groups -a -i 002 -g debian查询id为002的agent所属的组:..
Wazuh功能梳理 wazuh agent官方文档日志收集(Log Collector)命令执行(Command execution)文件完整性监控(File integrity monitoring, FIM)安全配置评估 (Security configuration assessment,SCA)
[Jenkins] attachmentsPattern不报错也没附件 1. attachmentsPattern不报错也没附件在用Jenkins的emailext插件的时候遇到问题:情况一:报错且无附件piplinepost { emailext ( subject: "daily build", attachmentsPattern: "/data/abc/test_*.html", body: '''${SCRIPT, template="groovy-html.template"}''',
[Python] [SQL Server] sp_execute_external_script使用记录 文章目录前言基本语法Error记录1. 过程需要类型为 'nvarchar(128)' 的参数2. Unsupported input data type前言SQL Sever 2017及以后,开始支持在sql脚本里执行R和Python,官方的文档虽然举了很多例子,但实际使用起来还是踩了一些坑,记录一下。基本语法官方介绍sp_execute_external_script ...
[Python] Basemap入坑手册 - 地图投影示例 Basemap入坑手册 - 地图投影示例文章目录Basemap入坑手册 - 地图投影示例cyl - Cylindrical Equidistantmerc - Mercatortmerc - Transverse Mercatoromerc - Oblique Mercatormill - Miller Cylindricalgall - Gall Stereographiccea - Cyli...
[前端] html入门练手——微信对话框 html入门练手——微信对话框效果图css部分html部分存在问题效果图css部分 <style> .fake { background-color: rgb(236, 236, 236); } .phonehead { background-color: rgb(236, 236, 236); ...
[Python] [机器学习] 基础聚类算法(K-means、AHC、DBSCAN)简介及可视化代码 聚类分析之前写的入门级介绍,有点久远有些ref找不着了文章目录聚类分析简介目标作用类型聚类vs分类K-means[K-means] 伪代码[K-means] 过程详解[K-means] 初始点的选择[K-means] 距离的度量[K-means] 质心的选择[K-means] 参数确定[K-means] 优缺点AHC[AHC] 层次聚类类型[AHC] 伪代码[AHC] 过程详解[AHC] 邻近...
[论文笔记] [中文NER] Chinese NER Using Lattice LSTM 论文:Chinese NER Using Lattice LSTM作者:张岳 (Yue Zhang)、Jie Yang (GitHub)录用:ACL 20183. 模型部分主要记录不同模型的输入向量,以式(0)为例:(0)南1京2市3∣长4江5大6桥7\frac{南}{1}\frac{京}{2}\frac{市}{3}|\frac{长}{4}\frac{江}{5}\frac{大}...
[python] 多python版本服务器端jupyter-notebook映射到本地 基本信息服务器版本(# cat /proc/version):Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-ol7-builder-01) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) )本地版本($ sw_vers):ProductName: Mac OS XPro...
[读书笔记] 自然语言处理中的损失函数和正则项 书:基于深度学习的自然语言处理Neural Network Methods for Natural Language Processing作者:Yoav Goldberg出版社:机械工业出版社章节:2.7 训练和最优化损失函数注:主要是在自然语言处理中经常和线性模型以及神经网络一起使用的损失函数。1. hinge损失函数二分类:间隔损失或支持向量机损失表示:Lhi...
[Python] Basemap包排雷记录 Basemap包排雷记录1. ‘AxesSubplot’ object has no attribute ‘get_axis_bgcolor’学Basemap包时运行下面的代码,遇到了error。# 导入包from mpl_toolkits.basemap import Basemapimport matplotlib.pyplot as plt# 更改投影方式m = B...
[Python] Basemap入坑手册 Basemap入坑手册Basemap入坑手册00 介绍01 安装02 画第一张图前面的废话本来只是想画个热点图,然后一路 百度地图API —&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; folium —&amp;amp;amp;amp;amp;amp;amp;