91hu-Blog

分类: 其它

xiaomi--root--wifi ssh

作者: admin 时间: 2024-04-13 12:38
1cd到.ssh目录 当时版本的.ssh目录为 /data/ssh/root/.ssh 用文件管理器把生成的公钥id_rsa.pub丢到/data/ssh/root/.ssh目录里面来安装公钥 cat id_rsa.pub >> authorized_keys chmod 644 authorized_keys 2修改sshd_config文件 : RSAAuthentication
阅读全文 →

send_tcp_packet.c

作者: admin 时间: 2024-03-27 10:52
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <netinet/in.h> #include <netinet/ip.h> #include <netinet/tcp.h> #include 
阅读全文 →

catboost conda环境

作者: admin 时间: 2023-11-27 11:43
CatBoost是一种机器学习库,用于提高分类、回归和排名任务的准确性安装condayum install -y conda构建环境conda create --name myaienv python=3.6选择环境conda enactive myaienv安装 pandas ,catboost,sklearn pip install pandas -i http
阅读全文 →

catboost 做AI 模型

作者: admin 时间: 2023-10-19 17:42
CatBoost是一种基于梯度提升决策树(Gradient Boosting Decision Tree,GBDT)的机器学习框架。它是由Yandex开发的开源工具,在许多数据科学任务中都表现出色。 CatBoost的名称源自其中一个主要特性,即能够自动处理分类特征(Categorical Features)。传统的梯度提升决策树框架在处理分类特征时需要将其转换为数值型特征,而CatBoost能够直接使用原始的分类特征,无需额外的预处理步骤。 在Cat
阅读全文 →

centos install openssl

作者: admin 时间: 2023-09-15 15:20
一、查看主机openssl版本信息1、查看路径which openssl2、查看版本openssl version3、查看CentOS版本cat /etc/redhat-releaseP.S. CentOS 7.6 默认版本:openssl-1.0.2k 二、安装Openssl方法一、直接安装yum install openssl openssl-devel方法二、下载源码编译安装访问OpenSSL官网资源,查看是否有最新的版本发布。官网资源地址:https://www.openssl
阅读全文 →

ESXI 安装OPENWRT

作者: admin 时间: 2023-04-29 11:55
原文地址https://openwrt.org/docs/guide-user/virtualization/vmware?s[]=esxi快速入门您可以从以下位置下载OVA映像:https://www.dropbox.com/s/ao805tl33mqe0an/openwrt15cc.ova该图像是由Iben于2015年9月基于CHAOS CALMER 15.05 trunk r46767的7月构建制作的。将OVA导入VMware ESXi(已在2016年7月测试最新版本6) 基本映像仅设置
阅读全文 →

BMP rotate 2

作者: admin 时间: 2021-12-28 14:23
#pragma once typedef unsigned char BYTE; typedef unsigned short WORD; typedef unsigned int DWORD; typedef long LONG; #pragma pack(1) //位图文件头定义; //其中不包含文件类型信息(由于结构体的内存结构决定, /
阅读全文 →

BMP rotate

作者: admin 时间: 2021-12-24 17:46
// img_rotate.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <iostream> #pragma pack(1) typedef struct tagBITMAPFILEHEADER {     int16_t bfType;//
阅读全文 →

ssl client

作者: admin 时间: 2021-10-19 10:13
#include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> #include <
阅读全文 →

restart java process

作者: admin 时间: 2021-09-29 14:28
#!/bin/bash CRTDIR=$(cd $(dirname $0); pwd) echo $CRTDIR echo $( ps -ef | grep 'java-example.jar' | grep -v grep | awk '{print $2}' )&nb
阅读全文 →

mysql 自动备份脚本

作者: admin 时间: 2021-05-17 10:57
#!/bin/bash #the script is backup all databases for mysql server,first grant all on *.* to adminbak@'106.15.78.185' identified by "backup"; #Sett
阅读全文 →

【转载】SRT协议 学习

作者: admin 时间: 2021-04-23 10:32
 SRT协议在电视直播中的应用RT在IETF 107会议上的综述报告  ---------------------------------------------------------CENTOS 7 BUILDcd /usr/antscdn/app/srt-mastersudo yum updatesudo yum install tcl pkgconfig openssl-devel cmake gcc gcc-c++ make automakecd /usr/a
阅读全文 →