摘要: 对于 Go 语言编写的 GUI 程序,以下是比较成熟的方案: 1. fyne:Fyne 是一个新的、易于使用的 Go 语言UI 框架,他采用了基于模块的体系结构,提供了完整的API元素库,支持图形、文本、布局、画布等等。 2. go-qml:Go QML 是一个基于 Go 语言的跨平台界面设计工具, 阅读全文
posted @ 2024-04-29 14:56 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 环境:安装VS2022+选择WPF从最简单的记事本开始 一、创建一个ToolStripContainer控件,用于摆放工具栏,文本框和状态栏的位置 二、菜单控件 以下是MenuStrip控件的相关属性 Text属性 Name属性 ShortcutKeys属性 (快捷键) ShowShortcutKe 阅读全文
posted @ 2024-04-17 12:51 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: C++界面库是用于GUI界面设计的工具包,可以帮助开发人员快速开发出美观、易用的界面。在选择C++界面库的时候,开发人员需要根据项目要求、使用场景、开发难易程度以及所适配的操作系统等因素进行综合考虑。 下面列举了十几种常见的C++界面库,简单介绍它们的安装、使用、特点和适用场景。 1. Qt Qt是 阅读全文
posted @ 2024-04-10 16:45 飞雪飘鸿 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 物联网的发展大势所趋,也被普遍看好和关注,但嵌入式设备的联网会使得软件复杂性大幅增加,传统的嵌入式 RTOS内核已经越来越难满足市场的需求,在这种情况下,物联网操作系统的概念应运而生。目前物联网操作系统主要分为两大类,一是由传统的嵌入式RTOS发展而来,二是由互联网公司的云平台延伸而来,本文将对现有 阅读全文
posted @ 2024-04-08 11:33 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 英文缩写:ISA指令集架构,Instruction Set Architecture CISC复杂指令集计算机,Complex Instruction Set Computer RISC精简指令集计算机,Reduced Instruction Set Computer EPIC显性并行指令计算,Ex 阅读全文
posted @ 2024-04-08 10:22 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: ISA指令集架构,Instruction Set Architecture CISC复杂指令集计算机,Complex Instruction Set Computer RISC精简指令集计算机,Reduced Instruction Set Computer EPIC显性并行指令计算,Explici 阅读全文
posted @ 2024-04-08 10:16 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 一、开源许可协议简述 开源许可协议是指开源社区为了维护作者和贡献者的合法权利,保证软件不被一些商业机构或个人窃取,影响软件的发展而开发的协议。它的中文名:开源许可协议;外文名:open source license。 二、开源许可协议之间的区别与联系 通过上图,可以很清晰的了解到6种常见的开源许可协 阅读全文
posted @ 2024-04-08 10:01 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1985 年 —— 自由软件基金会成立 自由软件基金会(Free Software Foundation,简称 FSF)由 RMS 于 1985 年创立,这是一个非营利组织,其主要工作是运行 GNU 计划,使命是促进计算机用户的自由。基金会的员工编写并维护着一些 GNU 软件包。 1999 年 —— 阅读全文
posted @ 2024-04-08 09:52 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python import vtk def main(): colors = vtk.vtkNamedColors() # Create the RenderWindow, Renderer and Interactor. # renderer = vtk.vtkRen 阅读全文
posted @ 2024-03-28 13:27 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: import sys from PyQt5 import QtWidgets, QtGui __version__ = '0.1.0' __author__ = 'xuxc' __appname__ = 'PyPost' class PyPostMainWindow(QtWidgets.QMainW 阅读全文
posted @ 2024-03-28 13:10 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: # coding:utf-8 from tkinter import * import math,time global List global i root = Tk() List = [] root.title("a simple clock") #设置窗口是否可以变化长/宽 root.resi 阅读全文
posted @ 2024-03-27 17:33 飞雪飘鸿 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding: UTF-8 -*- # 导入自定义support模块 import support # 现在可以调用模块里包含的函数了 support.print_func("Runoob") 自定义模块 support def print_func( 阅读全文
posted @ 2024-03-27 16:56 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding: UTF-8 -*- #可写函数说明 def printinfo(kname, age ): "打印任何传入的字符串" print ("Name: ", kname) print ("Age ", age) return #调用print 阅读全文
posted @ 2024-03-27 16:50 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding: UTF-8 -*- #可写函数说明 def printinfo(kname, age ): "打印任何传入的字符串" print ("Name: ", kname) print ("Age ", age) return #调用print 阅读全文
posted @ 2024-03-27 16:43 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding: UTF-8 -*- import calendar cal = calendar.month(2016, 1) print ("以下输出2016年1月份的日历:") print (cal) def printme(str): "打印传入 阅读全文
posted @ 2024-03-27 16:40 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python # -*- coding: UTF-8 -*- import time localtime = time.asctime( time.localtime(time.time()) ) print ("本地时间为 :", localtime) # 格式化成2016- 阅读全文
posted @ 2024-03-27 16:28 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # -*- coding: UTF-8 -*- # Fibonacci series: 斐波纳契数列 # 两个元素的总和确定了下一个数 a, b = 0, 1 while b < 10: print(b, end=',') a, b = b, a+b print 阅读全文
posted @ 2024-03-27 16:21 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # -*- coding: UTF-8 -*- # Fibonacci series: 斐波纳契数列 # 两个元素的总和确定了下一个数 a, b = 0, 1 while b < 10: print(b, end=',') a, b = b, a+b print 阅读全文
posted @ 2024-03-26 18:00 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # -*- coding: UTF-8 -*- a=8 if a>7: print("大于") elif a<7: print("小于") 阅读全文
posted @ 2024-03-26 14:50 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3 # -*- coding: UTF-8 -*- #注释 ''' 多行三点注释 ''' """ 多行注释 """ if True: print("true") else: print("false") a1=b1=c1=99 d,e,f=1,2,"myname" 阅读全文
posted @ 2024-03-26 14:46 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要: rm -f /www/server/panel/data/domain.conf 宝塔面板配置错误,域名绑定后无法访问,采取办法。 阅读全文
posted @ 2024-01-19 15:05 飞雪飘鸿 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 记录自己在云端服务器搭建hadoop集群过程,仅用于个人学习使用。2024.01.02 多网段云服务器高可用集群规划方案 CND(入口层)-> WAF(应用层防护)-> SLB(负载层)-> ECS(服务器源站) -> RDS(数据库) php项目:服务器上部署nginx+php java项目:服务 阅读全文
posted @ 2024-01-03 11:09 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 一、资源需求主机名 cpu(vCPUs) 内存(GB) 磁盘 ipk8s-master01 8 32 40G+500G 192.168.1.180k8s-master02 8 32 40G+500G 192.168.1.53k8s-master03 8 32 40G+500G 192.168.1.1 阅读全文
posted @ 2024-01-03 11:04 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 2.1 C#程序结构 2.1.1 C#程序的组成要素 1. 关键字 在C#代码中常常使用关键字,关键字也叫保留字,是对C#有特定意义的字符串。关键字在Visual Studio 环境的代码视图中默认以蓝色显示。例如,代码中的using、namespace、class、static、void等,均为C 阅读全文
posted @ 2023-03-31 16:58 飞雪飘鸿 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 汉字笔顺,实际上跟我们做人做事一样,总有个先后次序,不能胡来。 在个人的生活学习中,笔顺似乎并没有什么影响,但在汉语规范化过程中,规范笔顺有很现实的需要,对于汉字研究、教学、信息处理、出版印刷、辞书编纂等方面,有很重要的意义。还有,对于一个想写手好字的人来讲,也不要小看了笔顺这件事,因其对行笔的顺畅 阅读全文
posted @ 2023-03-31 16:57 飞雪飘鸿 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 2.1 C#程序结构 2.1.1 C#程序的组成要素 1. 关键字 在C#代码中常常使用关键字,关键字也叫保留字,是对C#有特定意义的字符串。关键字在Visual Studio 环境的代码视图中默认以蓝色显示。例如,代码中的using、namespace、class、static、void等,均为C 阅读全文
posted @ 2023-03-31 16:24 飞雪飘鸿 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 阅读应当成为吸引学生爱好的最重要的发源地。我的教育信念的真理之一,便是无比相信书的教育力量。——苏霍姆林斯基 01 一、在方格稿纸上的书写格式 1.在横行书写的文稿中,句号、问号、叹号、逗号、顿号、分号和冒号都占一个字的位置,放在句末的右下角。 这七种符号通常不能放在一行的开头,因为这些符号表示语气 阅读全文
posted @ 2023-03-31 16:20 飞雪飘鸿 阅读(211) 评论(0) 推荐(0) 编辑
摘要: using System; namespace c.mydemo.net { class Demo { static void Main(string[] args) { for (int i=1;i<=9;i++) { Console.WriteLine("{0}",i); } } } } usi 阅读全文
posted @ 2023-03-31 15:07 飞雪飘鸿 阅读(15) 评论(0) 推荐(0) 编辑
摘要: %SystemDrive%\inetpub\wwwroot 阅读全文
posted @ 2023-03-30 11:32 飞雪飘鸿 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 通常的系统设计中,使用 JDBC 操作数据库,业务处理逻辑和数据存取逻辑是混杂在一起的。一般基本上都有如下步骤:1、注册驱动,获取链接,即Connection对象。2、根据输入组装sql语句3、创建执行sql语句对象(静态SQL语句statement、动态SQL语句PrepareStatement、 阅读全文
posted @ 2023-03-30 09:36 飞雪飘鸿 阅读(22) 评论(0) 推荐(0) 编辑
摘要: C# 1.0 (Visual Studio 2002, .Net 1.0) C# 2.0 (Visual Studio 2005, .Net 2.0) C# 3.0 (Visual Studio 2008, .Net 3.0-3.5) C# 4.0 (Visual Studio 2010, .Net 阅读全文
posted @ 2023-03-27 08:26 飞雪飘鸿 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 第一部分:基础结构 #include<graphics.h> #include<conio.h> #include<stdio.h> int main() { initgraph(800, 600); fillcircle(400, 300, 100); _getch(); return(0); } 阅读全文
posted @ 2023-03-24 15:07 飞雪飘鸿 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 徒弟:师傅,为什么做项目的时候,一旦出现问题就容易引发吵架,引起斗争呢? 师傅:因为针对这所有问题的解释都会有一个共同点:都是其他人的错。所以,我们听见的都是相互攻击。 徒弟:那这种现象能解决吗? 师傅:难,很难,非常难。你会发现,员工的地位越低,矛头越是指向公司内部,而不是向外,这说明越是底层的员 阅读全文
posted @ 2023-03-09 10:01 飞雪飘鸿 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 挣值是“成本/进度控制系统标准(Cost/Schedule Control Systems Criteria, C/SCSC)”一个非常重要的组成部分。C/SCSC 一共由 35 项标准组成。之所以会产生这样一套标准,是因为美国政府曾经把很多大型的项目委托给一些私营企业来做。为了确保这些委托出去的项 阅读全文
posted @ 2023-03-06 11:39 飞雪飘鸿 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 遇到你之前,我以为爱是惊天动地,爱是轰轰烈烈抵死缠绵;我以为爱是荡气回肠,爱是热血沸腾幸福满满。 我以为爱是窒息疯狂,爱是炙热的火炭。婚姻生活牵手走过酸甜苦辣温馨与艰难,我开始懂得爱是经得起平淡。 爱人者,人恒爱之;敬人者,人恒敬之;宽以济猛,猛以济宽,政是以和。将军额上能跑马,宰相肚里能撑船。 最 阅读全文
posted @ 2023-03-06 08:55 飞雪飘鸿 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 芯片、操作系统、数据库是现代信息技术领域的三大核心基础 阅读全文
posted @ 2023-03-02 16:14 飞雪飘鸿 阅读(179) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> int main() { int n=20; int i; double sum=0.0; double sign=1.0; for(i=1;i<=n;i++) { sum+=sign/i; sign=-sign; } printf("f(%d)=%f\n",n, 阅读全文
posted @ 2022-11-03 12:17 飞雪飘鸿 阅读(90) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> int main() { int x=2; int cnt=0; //for(x=2;x<100;x++) while(cnt<5000000) { int i; int isPrime=1; for(i=2;i<x;i++) { if(x%i==0) { isP 阅读全文
posted @ 2022-11-03 11:45 飞雪飘鸿 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 int main() 3 { 4 int x; 5 for(x=2;x<100;x++) 6 { 7 int i; 8 int isPrime=1; 9 for(i=2;i<x;i++) 10 { 11 if(x%i==0) 12 { 13 isPrime 阅读全文
posted @ 2022-11-03 11:37 飞雪飘鸿 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-02 12:04 飞雪飘鸿 阅读(10) 评论(0) 推荐(0) 编辑
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL