本月博客排行
-
第1名
青否云后端云 -
第2名
wy_19921005 -
第3名
java-007 - e_e
- silverend
- arpenker
- ajinn
- lemonhandsome
- jveqi
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- itdatacenter
- zysnba
- Alsmile
- robotmen
- gaozzsoft
- jywhltj
- cpongo1
- zhangdaiscott
- leslie26
- qepwqnp
- 解宜然
- cuityang
- sichunli_030
- 淡看人生
- jveqi
- gashero
- hellohank
- fantaxy025025
- ranbuijj
- ssydxa219
- gdpglc
- wallimn
- hanbaohong
- jickcai
- johnsmith9th
- javashop
- appalese
- vipbooks
- gaojingsong
- weiyides
- zhangyi0618
- AVI
- laiyangdeli
- java-007
- lyongq04
- xyuma
- xpenxpen
- liunancun
- 龙哥IT
- conkeyn
最新文章列表
分割日期
/**
* 将指定的时间段,减去多个指定的已用的时间段,最终返回有效的时间段
* 整体思路就是将所有时间打散,变成集合,然后求指定时间段的补集,最终将结果中连续的时间放到一起,返回开始结束时间的列表
* @param startDay 指定时间段的开始时间 比如1月1日
* @param endDay 指定时间段的结束时间 比如1月30日
* @param usedDay 指定的 ...
分割日期
/**
* 将指定的时间段,减去多个指定的已用的时间段,最终返回有效的时间段
* 整体思路就是将所有时间打散,变成集合,然后求指定时间段的补集,最终将结果中连续的时间放到一起,返回开始结束时间的列表
* @param startDay 指定时间段的开始时间 比如1月1日
* @param endDay 指定时间段的结束时间 比如1月30日
* @param usedDay 指 ...
copilot-乒乓球小游戏
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class PingPongGame extends JPanel {
int ballX = 0;
int ballY = 0;
int paddleX = 0;
int caughtBalls ...
吴恩达2022版机器学习pip环境
吴恩达机器学习pip环境,对应的讲义和可运行jupyter notebook为
https://github.com/kaieye/2022-Machine-Learning-Specialization
2024/02我本机测试通过的环境如下:
python 3.9.10
pip 24.0
ipympl 0.9.3
ipywidgets 8.1.1
keras 2.8.0
matplotlib ...
Java获取两个日期的天数打印
package com.xxx;
import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUnit;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.NumberUtil;
import org.apache.commons.lang3.St ...
EasyExcel自定义Converter 与 Handler
1、Easy Excel(https://easyexcel.opensource.alibaba.com/docs/current/quickstart/write )
@Data
public static class CellDataWithStyle {
private T val;
private Integer flag = 1;
...
jupyter中,Pandas NameError: name ‘pd’ is not defined
=
=
=
jupyter中,Pandas NameError: name ‘pd’ is not defined
关键是在jupyter中。
#%%
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sb
#%%
import war ...
字节顺序大端模式Big Endian
大端模式和小端模式是描述多字节数据在存储时的字节顺序的两种方式。在大端模式(Big Endian)中,数据的高位字节存储在低地址,而低位字节存储在高地址。
在计算机中,0x1000、0x1001、0x1002、0x1003 是内存地址的表示,采用十六进制表示法。这些地址通常用来表示计算机内存中的不同位置。每个地址对应一个字节(8位)的存储空间。
举例来说,如果有一个32位整数(4字 ...
浅谈Python正则表达式理解与学习指南
不废话,Python正则表达式指南的各种基本概念
正则表达式(Regular Expressions)是一种强大的文本处理工具,用于在字符串中进行模式匹配和搜索。Python内置了re模块,提供了对正则表达式的支持。本指南将深入介绍Python中正则表达式的基本语法和高级用法。
1. 基本概念
正则表达式是一种描述字符模式的字符串。在Python中,可以使用re模块来创建和应用正则表达式。以下是一 ...
15.GrabCut区域分割
Mat image = Imgcodecs.imread("2023.jpg");
Mat mask = new Mat();
// 创建前景和背景模型
Mat bgModel = new Mat();
Mat fgModel = new Mat();
// 指定前景的矩形区域
Rec ...