中台框架模块开发实践-用 Admin.Core 代码生成器生成通用代码生成器的模块代码

之前分享中台 Admin.Core 的模块代码生成器,陆续也结合群友们的反馈,完善了一些功能和模板上的优化,而本篇将基于此代码生成器生成一个通用代码生成器模块的基本代码 后续再在此代码的基础上进行完善,制作一个通用的代码生成器

Unity 编辑器中获取选中的文件夹、文件路径

编辑器中获取选中的文件夹、文件路径 using UnityEditor; using UnityEngine; using Object = UnityEngine.Object; public class MyEditorScript { [MenuItem("Assets/PrintSelect

[转帖]删除软链接

1,建立软链接 ln -s 源文件 目标文件 例如:ln -s /usr/hb/ /home/hb_link 2,删除软链接 正确的是:rm -rf hb_link 错误的是:rm -rf hb_link/ 这个会把整个目录都删了 备注:想要删除链接文件要用以下命令 rm /home/hb_link

[转帖]Cheat sheet: understanding the pmap(1) output

https://www.labcorner.de/cheat-sheet-understanding-the-pmap1-output/ pmap(1) can be used to list the individual address areas which are mapped into a

[转帖]bcc Tutorial

https://github.com/iovisor/bcc/blob/master/docs/tutorial.md This tutorial covers how to use bcc tools to quickly solve performance, troubleshooting, a

[转帖]IPMITOOL命令支持列表V2.0

https://www.cnblogs.com/zhangxinglong/p/10529877.html 命令集 命令行格式 命令行说明 User ipmitool -H -I lanplus -U <用户名> -P <密码> user summary 查询用户概要信息 ipmito

[转帖]Memory optimization

https://redis.io/docs/management/optimization/memory-optimization/ Strategies for optimizing memory usage in Redis Special encoding of small aggregate

[转帖]打包rpm包报错contains an invalid rpath

#报错 file '/opt/leptonica/prog/.libs/binmorph5_reg' contains an invalid rpath '/usr/local/lib' in [/usr/local/lib] #解决 vim ~/.rpmmacros #注释 %__arch_ins

[转帖]2.6 The jcmd Utility

https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr006.html#BABEJDGE The jcmd utility is used to send diagnostic command req

[转帖]Kafka—配置SASL/PLAIN认证客户端及常用命令

https://www.jianshu.com/p/c1a02fb1779f 介绍 SASL/PLAIN 是一种简单的 username/password安全认证机制,本文主要总结服务端开启该认证后,命令行客户端进行配置的操作流程。 配置 增加jaas.properties 在kafka的confi

[转帖]使用 Logical Import Mode

https://docs.pingcap.com/zh/tidb/v6.5/tidb-lightning-logical-import-mode-usage 配置及使用 可以通过以下配置文件使用 Logical Import Mode 执行数据导入: [lightning] # 日志 level =

[转帖]使用逻辑导入模式

https://docs.pingcap.com/zh/tidb/stable/tidb-lightning-logical-import-mode-usage#%E6%80%A7%E8%83%BD%E8%B0%83%E4%BC%98 配置及使用 可以通过以下配置文件使用逻辑导入模式执行数据导入:

开发者需掌握的超实用VS Code for Windows快捷键

链接|https://dev.to/devland/100-crucial-keyboard-shortcuts-for-vs-code-users-4474 作者|Thomas Sentre 翻译|Seal软件 原文作者已授权。 在软件开发的世界里时间是非常宝贵的。随着项目的堆积和发布日期的临近,

跳转到应用市场下载

ps: 自用的,在此简单记录 //判断应用市场judeBrand() { const userAgent = navigator.userAgent.toLowerCase() const isIphone = userAgent.match(/(iphone|ipad|ipod)/i); cons

Jenkins Pipeline 流水线 - withCredentials 使用

添加凭证 Pipeline script pipeline { agent any stages { stage('withCredentials 使用凭证') { steps { withCredentials([usernamePassword(credentialsId: 'DockerSer

influxdb常用sql总结

本文为博主原创,转载请注明出处: 1.登录influxdb influx -username admin -password "password" 2.查看数据库 ##查看有哪些数据库 show databases; ##选中数据库 use database_name; 3.查看表及表结构 ##查看

Gin 响应方式

响应 1. 字符串方式 r.GET("/user/save", func(ctx *gin.Context) { ctx.String(http.StatusOK, "this is a %s", "ms string response") }) 2. JSON方式 r.GET("/user/sav

使用prometheus来避免Kubernetes CPU Limits造成的事故

使用prometheus来避免Kubernetes CPU Limits造成的事故 译自:Using Prometheus to Avoid Disasters with Kubernetes CPU Limits 本文将介绍Kubernetes的resource limits是如何工作的、使用哪些

【Azure 环境】移动应用 SSO 登录AAD, MSAL的配置为Webview模式时登录页面无法加载

问题描述 移动端集成MASL登录过程中,配置文件中配置项“authorization_user_agent”使用“DEFAULT”可以正常登录,但是改为“WEBVIEW”后就无法登陆,一直处于Loading状态。 参考的示例文档: https://docs.microsoft.com/zh-cn/a

[转帖]linux性能优化-CPU利用率

参数说明 /proc/stat提供系统的CPU和任务统计信息。user(us): 用户态CPU时间,不包括下面的nice时间,但包括了guest时间。nice(ni): 代表低优先级用户态CPU时间。system(sys): 内核态CPU时间。idle(id): 空闲时间,它不包括等待I/O的时间。