稷然如此

  • 首页
  • 文章分类
    • 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日 1188点热度 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日 2744点热度 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日 1083点热度 0人点赞 Akim 阅读全文
CentOS

CentOS 安装 Docker

注意事项: 无权限,请在yum前增加sudo命令 yum install epel-release -y yum clean all 提供yum-config-manager功能,另外两个是devicemapper驱动依赖 yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo 注意…

2023年7月13日 1064点热度 0人点赞 Akim 阅读全文
Git

Git常用命令

git init git add . git commit -m 'first commit' git remote add origin http://ip/group/project-name.git git push -u origin master git checkout -b dev git push -f origin dev 这一步没试过,如果这一步可以,那么第6步将变为:git push -u orgin dev git pull --rebase origin dev 1.分支dev下查看提交日…

2023年7月11日 1234点热度 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 阅读全文
1…89101112

Akim

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

Copyright © 2025 aianran.com All Rights Reserved.

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

黔ICP备2023008200号-1

贵公网安备 52010202003594号