会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hapday
博客园
首页
新随笔
联系
订阅
管理
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
阅读(74)
评论(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
阅读(8)
评论(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
阅读(259)
评论(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
阅读(131)
评论(0)
推荐(0)
2025年3月25日
解决云梦数据库中时间字段为 NULL 时靠前排的问题
摘要: 解决云梦数据库中时间字段为 NULL 时靠前排的问题 当前云梦数据库中有字段的值为 NULL,比如创建时间(create_time)那么我们按创建时间倒序排列是,create_time = NULL 会排在有时间值的前面,通常我们希望将有具体时间值的排在前面,那么可以通过如下方式实现。 ORDER
阅读全文
posted @ 2025-03-25 18:46 hapday
阅读(12)
评论(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
阅读(26)
评论(0)
推荐(0)
2025年3月13日
JavaScript 清空和添加样式
摘要: JavaScript 清空和添加样式 /** * 切换 ECharts 树 */ function swichPersonEChartTrre(taskId, currentElement) { setEchartsTreeNode("/abc/tree/" + taskId, "personEch
阅读全文
posted @ 2025-03-13 11:21 hapday
阅读(11)
评论(0)
推荐(0)
2025年3月7日
freemark 设置下拉列表框中的默认选中项
摘要: freemark 设置下拉列表框中的默认选中项 if (undefined != categories && null != categories && 0 < categories.rows.length) { for(var i in categories.rows) { let categor
阅读全文
posted @ 2025-03-07 09:28 hapday
阅读(19)
评论(0)
推荐(0)
freemark 设置单选框的默认选中项
摘要: freemark 设置单选框的默认选中项的语法: <input type="radio" name="scanMode" value="1" ${(entity.scanMode == 1)?string('checked', '')}><span style="margin-right: 20px
阅读全文
posted @ 2025-03-07 09:24 hapday
阅读(15)
评论(0)
推荐(0)
下一页
公告