稷然如此

  • 首页
  • 文章分类
    • AI
    • Android
    • Java
    • Shell
    • Vue
    • C#
    • Python
    • 数据库
    • 组件
    • 其他
    • Game
  • 常用命令
    • Docker
    • Git
    • Linux
  • 操作系统
    • CentOS
    • Ubuntu
    • Windows
    • Kylin
  • 工具
    • IntelliJ IDEA
    • Visual Studio Code
文章分类
C#

Windows 注册系统服务

需求:在做程序接口需要托管至服务开机自启动、监听服务等功能的。 入口函数: using System; using System.Configuration.Install; using System.ServiceProcess; using System.Windows.Forms; namespace MailServerService { /// <summary> /// Application main class. /// </summary> public class Pro…

2023年7月17日 1121点热度 0人点赞 Akim 阅读全文
Android

ArcGis For Android 100.2.1 Error inflating class com.esri.arcgisruntime.mapping.view.MapView

异常内容: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.xxx.xxx, PID: 18070 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx.xxx/com.xxx.xxx.activity.MapActivity}: android.view.InflateException: Binary XML file line #0: Binary XML …

2023年7月17日 1153点热度 1人点赞 Akim 阅读全文
C#

绘制开关按钮

[DefaultEvent("SwitchChanged")] public class SwitchBox : Control { public SwitchBox() { this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.ResizeRedraw, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true); this.SetStyle(Contro…

2023年7月17日 1188点热度 0人点赞 Akim 阅读全文
C#

自动完成 TextBox 实现类似百度搜索框

public class AsSearchTextBox : TextBox { #region 字段 /// <summary> /// 列表框 /// </summary> private ListBox listBox; /// <summary> /// 记住前输入的字符串 /// </summary> private string oldText; /// <summary> /// 显示面板 /// </summary> priva…

2023年7月17日 1189点热度 0人点赞 Akim 阅读全文
C#

TabControl 重绘带关闭按钮和页选择

TabStrip: [Designer(typeof(AsTabStripDesigner))] [DefaultEvent("TabStripItemSelectionChanged")] [DefaultProperty("Items")] [ToolboxItem(true)] [ToolboxBitmap("FATabStrip.bmp")] public class AsTabStrip : BaseStyledPanel, ISupportInitialize, IDisposable { #regio…

2023年7月17日 1021点热度 0人点赞 Akim 阅读全文
Java

Spring Cloud Gateway集成Sentinel 1.8.6及Sentinel Dashboard

1.下载地址:sentinel v1.8.6 2.启动sentinel dashboard,执行以下命令: java -Dcsp.sentinel.log.dir=D:\xxx\sentinel\logs -Dserver.port=9217 -Dcsp.sentinel.dashboard.server=localhost:9217 -Dcsp.sentinel.heartbeat.client.ip=localhost -Dproject.name=sentinel-dashboard -Dsentinel.d…

2023年7月17日 2745点热度 0人点赞 Akim 阅读全文
CentOS

CentOS 部署 Docker + 禅道PMS

参考文章:CentOS 安装 Docker 1.拉取镜像 进入官网:禅道官网下载页面,选择旗舰版Docker镜像选项,复制镜像拉取地址,例: docker pull easysoft/zentao:max4.5 2.创建容器 docker run --name [容器名] -p [主机端口]:80 --network=[网络驱动名] --ip [容器IP] --mac-address [mac地址] -v [主机禅道目录]:/www/zentaopms -v [主机mysql目录]:/var/lib/mysql -…

2023年7月13日 1084点热度 0人点赞 Akim 阅读全文
其他

CentOS 安装 Gitlab

yum install -y curl policycoreutils-pythonopenssh-server systemctl enable sshd systemctl start sshd yum install postfix systemctl enable postfix systemctl start postfix systemctl enable firewalld systemctl start firewalld firewall-cmd --permanent --zone=public…

2023年7月11日 1471点热度 0人点赞 Akim 阅读全文
数据库

Windows 安装 MySql 8.0

https://downloads.mysql.com/archives/community/ 选择Windows(x86,64-bit),ZIP Archive,一般第一项或者这个https://cdn.mysql.com/archives/mysql-8.0/mysql-8.0.30-winx64.zip 这里D:\tools\mysql-8.0.30-winx64 MYSQL_HOME -> D:\tools\mysql-8.0.30-winx64 Path ->> %MYSQL_HOME%…

2023年7月11日 1143点热度 0人点赞 Akim 阅读全文
Java

Spring Boot Admin-服务监控

<!--actuator 监控--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>de.codecentric</groupId> <artif…

2023年7月11日 977点热度 0人点赞 Akim 阅读全文
1…56789

Akim

犇 骉
Java、C#、Python、Go、Android、MiniProgram、Bootstrap、Vue2

Copyright © 2025 aianran.com All Rights Reserved.

免责申明 | 隐私政策 | 服务条款 | 关于我们

黔ICP备2023008200号-1

贵公网安备 52010202003594号