会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hapday
博客园
首页
新随笔
联系
订阅
管理
2025年11月13日
Spring Boot 项目安全配置,放行指定规则的 HTTP 请求
摘要: Spring Boot 项目安全配置,放行指定规则的 HTTP 请求 package com.joyupx.config; import org.springframework.context.annotation.Configuration; import org.springframework.
阅读全文
posted @ 2025-11-13 01:52 hapday
阅读(3)
评论(0)
推荐(0)
2025年11月5日
MySQL 查询全局时区和会话时区设置
摘要: SELECT @@global.time_zone, @@session.time_zone;
阅读全文
posted @ 2025-11-05 14:06 hapday
阅读(3)
评论(0)
推荐(0)
字符串截取方法测试。
摘要: 从指定的字符串中截取特定范围内的字符串或字符: package com.example.string; /** * 从字符串中截取指定范围的子字符串或字符。Extract the string. * substring 的起始索引是 0,从索引 0 开始就是从第一个字符开始往后查找并截取到截止索引处
阅读全文
posted @ 2025-11-05 11:52 hapday
阅读(6)
评论(0)
推荐(0)
2025年5月3日
CSS 字数过多时显示点点点
摘要: CSS 字数过多时显示点点点 .table-column { max-width: 200px; /* word-wrap: break-word; line-height: 1; */ white-space: nowrap; /* 防止文本换行 */ overflow: hidden; /* 隐
阅读全文
posted @ 2025-05-03 18:32 hapday
阅读(77)
评论(0)
推荐(0)
2025年5月2日
nginx 常用配置
摘要: server { listen 10136 default_server; listen [::]:10136 default_server; server_name _; location / { proxy_pass http://192.168.200.136:7778/; proxy_set
阅读全文
posted @ 2025-05-02 14:44 hapday
阅读(9)
评论(0)
推荐(0)
2025年4月18日
jQuery 的 append 函数是异步的
摘要: jQuery 的 append 函数是异步的 方法一: 多个 append 实现拼接一个 HTML 片段: $("#prject-list").append('<li class="nav-item">'); $("#prject-list").append('<a href="/admin/${s
阅读全文
posted @ 2025-04-18 17:31 hapday
阅读(15)
评论(0)
推荐(0)
2025年4月2日
Ubuntu 20 自动安装 apt install nginx-full 的Nginx 位于哪个目录中?
摘要: 在 Ubuntu 20 系统中通过 apt install nginx-full 安装的 Nginx,其核心文件和配置路径如下: 一、核心目录及文件位置 主程序路径 二进制文件:/usr/sbin/nginx(用于启动、停止服务等操作) 配置文件目录 主配置目录:/etc/nginx主配置文
阅读全文
posted @ 2025-04-02 01:13 hapday
阅读(271)
评论(0)
推荐(0)
在 Ubuntu 系统中选择 apt install nginx-full 还是源码编译安装 Nginx
摘要: 在 Ubuntu 系统中选择 apt install nginx-full 还是源码编译安装 Nginx,需根据实际需求权衡两者的特性。以下是综合对比和建议: 一、apt install nginx-full 安装优势便捷性高:一键安装,自动处理依赖关系并生成服务管理脚本,支持 systemc
阅读全文
posted @ 2025-04-02 01:09 hapday
阅读(140)
评论(0)
推荐(0)
2025年3月25日
解决云梦数据库中时间字段为 NULL 时靠前排的问题
摘要: 解决云梦数据库中时间字段为 NULL 时靠前排的问题 当前云梦数据库中有字段的值为 NULL,比如创建时间(create_time)那么我们按创建时间倒序排列是,create_time = NULL 会排在有时间值的前面,通常我们希望将有具体时间值的排在前面,那么可以通过如下方式实现。 ORDER
阅读全文
posted @ 2025-03-25 18:46 hapday
阅读(17)
评论(0)
推荐(0)
2025年3月18日
常见格式标准编码
摘要: # Licensed to the Apache Software Foundation (ASF) under one or more# contributor license agreements. See the NOTICE file distributed with# this work
阅读全文
posted @ 2025-03-18 14:54 hapday
阅读(29)
评论(0)
推荐(0)
下一页
公告