会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
灵火
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页
2024年5月21日
Sitecore 设置 SelectItems 最大长度问题
摘要: 添加一个 config patch 文件即可,然后放在 App_Config 下,内容如下: sitecore 默认 value 是 100。 <?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://www
阅读全文
posted @ 2024-05-21 14:14 灵火
阅读(20)
评论(0)
推荐(0)
2024年5月10日
layui 事件管理
摘要: // config 其实就是每个 layui 实例的 cache 属性 // 自定义模块事件 Layui.prototype.onevent = function (modName, events, callback) { if (typeof modName !== "string" || typ
阅读全文
posted @ 2024-05-10 22:52 灵火
阅读(135)
评论(0)
推荐(0)
2024年5月9日
layui 的模块定义和加载方法 (layui.define 和 layui.use)
摘要: 这是一个简易版的 layui 模块定义和加载模块封装 layui github: https://github.com/layui/layui (function () { "use strict"; // 定义 layui 类 var Layui = function () { this.v =
阅读全文
posted @ 2024-05-09 09:34 灵火
阅读(289)
评论(0)
推荐(0)
js 实用理解
摘要: js 获取当前脚本对象 对象类型:HTMLScriptElement // 获取当前脚本对象 var script = document.currentScript; console.log(script); // 获取所有js脚本对象 var jsScripts = doc.scripts; fo
阅读全文
posted @ 2024-05-09 08:50 灵火
阅读(23)
评论(0)
推荐(0)
2024年5月7日
js 模块化的几种写法
摘要: 1. AMD // 1. https://requirejs.org/docs/jquery.html // 2. https://docs.moodle.org/dev/Guide_to_adding_third_party_jQuery_for_AMD define([jQuery], func
阅读全文
posted @ 2024-05-07 16:31 灵火
阅读(23)
评论(0)
推荐(0)
2024年4月25日
C# 写入内存
摘要: 还有一些方便的库: Memory.dll https://newagesoldier.com/memory.dll/ https://github.com/erfg12/memory.dll EasyHook https://easyhook.github.io/ https://github.co
阅读全文
posted @ 2024-04-25 16:02 灵火
阅读(75)
评论(0)
推荐(0)
2024年4月24日
C# 项目 docker 部署
摘要: 开发环境 .net sdk version : 8.0 https://learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container?pivots=dotnet-8-0 修改 csproj 文件,添加以下内容 <Project S
阅读全文
posted @ 2024-04-24 22:02 灵火
阅读(395)
评论(0)
推荐(0)
NuGet 微软官方中国国内镜像
摘要: 微软中国镜像源: https://nuget.cdn.azure.cn/v3/index.json
阅读全文
posted @ 2024-04-24 21:40 灵火
阅读(619)
评论(0)
推荐(0)
2024年3月29日
C# 适配 Maspter 不覆盖填充值
摘要: public static class MapExtension { public static void Fill(this object src, object dest) { if (src == null || dest == null) return; var srcType = src.
阅读全文
posted @ 2024-03-29 11:03 灵火
阅读(43)
评论(1)
推荐(0)
2024年3月27日
python 调用 js
摘要: 安装 pyexecjs pip install PyExecJS2 使用 import os import execjs import execjs.runtime_names current_dir = os.path.dirname(__file__) js_abs_path = os.path
阅读全文
posted @ 2024-03-27 20:38 灵火
阅读(23)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
13
下一页
公告