稷然如此

  • 首页
  • 文章分类
    • AI
    • Android
    • Java
    • Shell
    • Vue
    • C#
    • Python
    • 数据库
    • 组件
    • 其他
    • Game
  • 常用命令
    • Docker
    • Git
    • Linux
  • 操作系统
    • CentOS
    • Ubuntu
    • Windows
    • Kylin
  • 工具
    • IntelliJ IDEA
    • Visual Studio Code
稷然如此
不积跬步,无以至千里
Windows

Windows 批处理cmd/bat常用命令

回显命令 @ #关闭单行回显 echo off  #从下一行开始关闭回显 @echo off  #从本行开始关闭回显。一般批处理第一行都是这个 echo on #从下一行开始打开回显 echo #显示当前是 echo off 状态还是 echo on 状态 echo. #输出一个”回车换行”,空白行 #(同echo, echo; echo+ echo[ echo] echo/ echo) echo %errorlevel% 每个命令运行结束,可以用这个命令行格式查看返回码 默认值为0,一般命令执行出错会设 erro…

2023年8月2日 1505点热度 0人点赞 Akim 阅读全文
CentOS

Linux 安装 Mysql 8+

注意: Kylin 是基于 CentOS 8 修改的,所以需要下载 Red Hat Enterprise Linux 8 / Oracle Linux 8 (x86, 64-bit), RPM Bundle 版本。 CentOS 7 就选 Red Hat Enterprise Linux 7 / Oracle Linux 7 (x86, 64-bit), RPM Bundle 官网下载地址:https://downloads.mysql.com/archives/community/ wget下载地址:wget h…

2023年8月1日 1453点热度 2人点赞 Akim 阅读全文
CentOS

Linux 安装 Java JDK

https://www.oracle.com/java/technologies/downloads/#java8 注意: CentOS 下载 x86 Compressed Archive 版本 KylinOS 下载 x64 Compressed Archive 版本 tar -zxvf jdk-8u333-linux-i586.tar.gz -C /opt vim /etc/profile 在文件末尾追加 export JAVA_HOME=/opt/jdk1.8.0_333 export PATH=$PATH:$…

2023年8月1日 1566点热度 0人点赞 Akim 阅读全文
Docker

Docker 常用命令

docker ps docker inspect 容器ID | grep "IPAddress" docker images docker exec -it 容器id /bin/bash systemctl start docker systemctl stop docker docker rmi -f 镜像id docker rm -f 容器id docker restart 容器id docker commit -p 容器id 备份镜像名称,例:docker commit -p xxxx oooo docker…

2023年7月25日 1373点热度 0人点赞 Akim 阅读全文
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日 1291点热度 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日 1311点热度 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日 1328点热度 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日 1315点热度 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日 1180点热度 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日 2913点热度 0人点赞 Akim 阅读全文
1…910111213

Akim

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

Copyright © 2025 aianran.com All Rights Reserved.

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

黔ICP备2023008200号-1

贵公网安备 52010202003594号