C# Basic
文章目录
- 项目地址
- 一、基础50
- 1. What is CIL?
- 2. What is CLR?
- 3. What is the difference betweent value type and reference types?
- 4. what is boxing and unboxing?
- 5. How are exceptions handled in C#?
- 6. What is the difference between a class and a struct?
- 7. What does the "new" keyword do?
- 8. What is the purpose of the"static" keyword?
- 9. What is a static class?
- 10. casting, implicit casing, explicit casting
- 11. array VS arraylist VS Generic
- 12. multiThread
项目地址
- 教程作者:
- 教程地址:
- 代码仓库地址:
- 所用到的框架和插件:
dbt
airflow
一、基础50
1. What is CIL?
CIL (Common Intermediate Language) is the intermediate code generated after compiling .NET programming languages such as C# and VB.NET.
2. What is CLR?
CLR is the core component of the .NET framework, responsible for managing code execution.
provides features like memory management, garbage collection (GC), security, exception handling, and multithreading. Its main task is to convert CIL into machine code and provide a runtime environment.
3. What is the difference betweent value type and reference types?
value type: stored in stack, struct, enum, int float bool,char
refrecence type: stored in heap, object, class, array,string, interface, delegate
4. what is boxing and unboxing?
value => refrence: boxing
reference => value: unboxing
5. How are exceptions handled in C#?
6. What is the difference between a class and a struct?
class: reference type, stored in heap managed by GC,
struct: value type, stored in stack,automatically deallocated
7. What does the “new” keyword do?
8. What is the purpose of the"static" keyword?
-
Static Members:The static keyword is used to declare methods, fields, properties, or constructors that belong to the class itself rather than an instance of the class.
-
A class can be declared static if it only contains static members.
-
A static constructor is used to initialize static members when the class is first accessed.
-
Even in a regular class, we can define static methods that do not depend on instance data.
-
Static fields are shared across all instances, so they must be used carefully in multi-threaded environments.
9. What is a static class?
-Cannot be instantiated – You cannot create an object of a static class.
- Only contains static members – All methods, properties, and fields must be static.
- Cannot inherit from other classes
- Improves performance
- Has an implicit private constructor
10. casting, implicit casing, explicit casting
- low data type to higher data type, implicit casting ,automaticly 1 => 1.00
- higher to lower, explicit casting
double d1 = 100.23;
int y = (int)d1 ;
11. array VS arraylist VS Generic
- array: fixed length,strongly type
- arrayList: flexible,
- Generic
List<int> intList
12. multiThread
Whitireia Community Polytechnic
Question 1 :- Explain difference between .NET and C# ?
Question 2 :- .NET Framework vs .NET Core vs .NET 5.0
Question 3 :- What is IL ( Intermediate Language) Code ?
Question 4 :- What is the use of JIT ( Just in time compiler) ?
Question 5 :- Is it possible to view IL code ?
Question 6 :- What is the benefit of compiling in to IL code ?
Question 7 :- Does .NET support multiple programming languages ?
Question 8 :- What is CLR ( Common Language Runtime) ?
Question 9 :- What is managed and unmanaged code ?
Question 10 :- Explain the importance of Garbage collector ?
Question 11 :- Can garbage collector claim unmanaged objects ?
Question 12 :- What is the importance of CTS ?
Question 13 :- Explain CLS ?
Question 14 :- Difference between Stack vs Heap ?
Question 15 :- What are Value types & Reference types?
Question 16 :- Explain boxing and unboxing ?
Question 17 :- What is consequence of boxing and unboxing ?
Question 18 :- Explain casting, implicit casting and explicit casting ?
Question 19 :- What can happen during explicit casting ?
Question 20 :- Differentiate between Array and ArrayList ?
Question 21 :- Whose performance is better array or arraylist ?
Question 22 :- What are generic collections ?
Question 23 :- What are threads (Multithreading)?
Question 24 :- How are threads different from TPL ?
Question 25 :- How do we handle exceptions in C#(try/catch)?
Question 26 :- What is the need of finally?
Question 27 :- Why do we need the out keyword ?
Question 28 :- What is the need of Delegates ?
Question 29 :- What are events ?
Question 30 :- What's the difference between Abstract class and interface ?
Part 2 - Questions on Delegates, Event and Delegates vs Events.
Question 31 :- What is a delegate and How to create a delegate ?
Question 32 :- Where have you used delegates ?
Question 33 :- What is a Multicast delegates ?
Question 34 :- What is a Event ?
Question 35 :- How to create a event ?
Question 36 :- Delegate vs Events.
Part 3 - OOP, Abstraction, Encapsulation, Inheritance, Overriding & overloading.
Question 37 :- Why do we need OOP ?
Question 38 :- What are the important pillars of OOPs ?
Question 39 :- What is a class and object ?
Question 40 :- Abstraction vs Encapsulation?
Question 41 :- Explain Inheritance ?
Question 42 :- Explain virtual keyword ?
Question 43 :- What is overriding ?
Question 44 :- Explain overloading ?
Question 45 :- Overloading vs Overriding ?
Part 4 - Polymorphism, Static vs Dynamic polymorphism and operator overloading.
Question 46 :- What is polymorphism ?
Question 47 :- Can polymorphism work with out inheritance ?
Question 48 :- Explain static vs dynamic polymorphism ?
Question 49 :- Explain operator overloading ?
Part 5 - Tricky Questions around Abstract classes and Interfaces.
Question 50 :- Why do we need Abstract classes ?
Question 51 :- Are Abstract methods virtual ?
Question 52 :- Can we create a instance of Abstract classes ?
Question 53 :- Is it compulsory to implement Abstract methods ?
Question 54 :- Why simple base class replace Abstract class ?
Question 55 :- Explain interfaces and why do we need it ?
Question 56 :- Can we write logic in interface ?
Question 57 :- Can we define methods as private in interface ?
Question 58 :- If i want to change interface what's the best practice ?
Question 59 :- Explain Multiple inheritance in Interface ?
Question 60 :- Explain Interface Segregation principle ?
Question 61 :- Can we create instance of interface ?
Question 62 :- Can we do Multiple inheritance with Abstract classes ?
Part 6 - Answering the most asked Question "Abstract classes vs Interface".
Question 63 :- Difference between Abstract Class & Interfaces?Part 7 - Questions around constructors & parent child constructor.
Question 64 :- Why do we need constructors ?
Question 65 :- In parent child which constructor fires first ?
Question 66 :- How are initializers executed ?
Question 67 :- How are static constructors executed in Parent child ?
Question 68 :- When does static constructor fires ?Part 8 - Questions around Shadowing, Sealed, Nested classes and partial classes.
Question 69 :- What is Shadowing?
Question 70 :- Explain method hiding?
Question 71 :- Shadowing vs Overriding ?
Question 72 :- When do we need Shadowing ?
Question 73 :- Explain Sealed Classes ?
Question 74 :- Can we create instance of sealed classes ?
Question 75 :- What are nested classes and when to use them ?
Question 76 :- Can Nested class access outer class variables ?
Question 77 :- Can we have public, protected access modifiers in nested class ?
Question 78 :- Explain Partial classes ?
Question 79 :- In What scenarios do we use partial classes ?
Part 9 - Questions Around SOLID principles , Dependency injection (DI) and IOC
Question 80 :- What is SOLID ?
Question 81 :- What is the full form of SOLID ?
Question 82 :- What is the goal of SOLID ?
Question 83 :- Explain SRP with A example ?
Question 84 :- What is the benefit of SRP ?
Question 85 :- Explain OCP with a example ?
Question 86 :- What is the benefit of OCP ?
Question 87 :- Can you explain LISKOV Principle and it's violation?
Question 88 :- How can we fix LISKOV Problem ?
Question 89 :- Explain Interface Segregation Principle ?
Question 90:- Is there a connection between LISKOV and ISP ?
Question 91 :- Define dependency inversion ?
Question 92 :- What is higher level module and lower level module ?
Question 93 :- How does dependency inversion benefit, show with an example ?
Question 94 :- Will only Dependency inversion solve decoupling problem ?
Question 95 :- Why do developers move object creation outside high lever module ?
Question 96 :- Explain IOC ( Inversion of Control) ?
Question 97 :- Explain Dependency Injection with an example ?
Question 98 :- Is SOLID, IOC and DI design pattern or Principle?
Question 99 :- Is only SOLID Enough for good code/ architecture ?Part 10- Explain & Differentiate Composition, Aggregation and Association in C#.
Question 100 :- What are the different types of "USING/HAS A" relationship ?
Question 101 :- What is a composition relationship ?
Question 102 :- Explain Aggregation ?
Question 103 :- Explain Association ?
Question 104 :- Differentiate between Composition vs Aggregation vs Association ?
Question 105 :- UML Symbols for Composition, Aggregation and Association
Part 11 - Crack questions on Stack, Heap, Boxing, Unboxing, Value & reference types
Question 106 :- Explain stack and Heap ?
Question 107 :- Where are stack and heap stored ?
Question 108 :- What goes on stack and what goes on heap ?
Question 109:- How is the stack memory address arranged ?
Question 110 :- How is stack memory deallocated LIFO or FIFO ?
Question 111 :- How are primitive and objects stored in memory?
Question 112 :- Can primitive data types be stored in heap ?
Question 113 :- Explain value types and reference types ?
Question 114 :- Explain byval and byref ?
Question 115 :- Differentiate between copy byvalue and copy byref ?
Question 116 :- What is boxing and unboxing ?
Question 117 :- Is boxing unboxing good or bad ?
Question 118 :- Can we avoid boxing and unboxing ?
Question 119 :- What effect does boxing and unboxing have on performance ?
Question 120 :- Are string allocated on stack or heap ?
Question 121 :- How many stack and heaps are created for an application ?
Question 122 :- How are stack and heap memory deallocated ?
Question 123 :- Who clears the heap memory ?
Question 124 :- Where is structure allocated Stack or Heap ?
Question 125 :- Are structures copy byval or copy byref ?
Question 126 :- Can structures get created on Heap ?
Part 12 - What is Garbage collector, Managed vs UnManaged code, Dispose Pattern, Memory Leaks, weak VS strong references ?Question 127: - Explain Garbage collector (GC)?
Question 128:- How does Garbage collector know when to clean the objects ?
Question 129 :- Is there a way we can see this Heap memory ?
Question 130 :- Does Garbage collector clean primitive types ?
Question 131: - Managed vs UnManaged code/objects/resources?
Question 132:- Can garbage collector clean unmanaged code ?
Question 133:- Explain Generations ?
Question 134:- What is GC0,GC1, and GC2 ?
Question 135:- Why do we need Generations ?
Question 136:- Which is the best place to clean unmanaged objects ?
Question 137:- How does GC behave when we have a destructor ?
Question 138:- What do you think about empty destructor ?
Question 139:- Explain the Dispose Pattern?
Question 140 :- Finalize vs Destructor ?
Question 141:- What is the use of using keyword ?
Question 142:- Can you force Garbage collector ?
Question 143:- Is it a good practice to force GC ?
Question 144:- How can we detect a memory issues ?
Question 145:- How can we know the exact source of memory issues ?
Question 146 :- What is a memory leak ?
Question 147 :- Can .NET Application have memory leak as we have GC?
Question 148:- How to detect memory leaks in .NET applications ?
Question 149:- Explain weak and strong references ?
Question 150 :- When will you use weak references ?
Lesson 13 :- Questions around Design Pattern Basics, Types, Singleton Pattern, Prototype, Template and Adapter.Question 151:- What are design patterns?
Question 152 :- Which are the different types of design patterns?
Question 153 :- Explain structural , Behavioral and Creational design pattern ?
Question 154:- Explain Singleton Pattern and the use of the same?
Question 155:- How did you implement singleton pattern?
Question 156:- Can we use Static class rather than using a private constructor?
Question 157:- Static vs Singleton pattern?
Question 158:- How did you implement thread safety in Singleton?
Question 159:- What is double null check in Singleton?
Question 160:- Can Singleton pattern code be made easy with Lazy keyword?
Question 161:- Can we rid of this double null check code?
Lesson 15:- Most asked Factory Pattern, DI and IOC Interview Questions.Question 172 :- What is Factory pattern and how does it benefit?
Question 173 :- How does centralizing object creation helps in loose coupling ?
Question 174 :- What is IOC and DI ?
Question 175 :- DI vs IOC ?
Question 176 :- What is a service locator ?
Question 177:- Service Locator vs DI ?
Question 178 :- Which is good to use Service Locator or DI ?
Question 179 :- Can not we use a simple class rather than interface for DI ?
Question 180 :- Is DI a Factory Pattern?
Question 181 :- So If you just centralize object creation is it Factory pattern?
Question 182 :- Static DI and Dynamic DI ?
Question 183 :- In which scenarios to use Static DI vs Dynamic DI ?Lesson 16 :- The Real Factory and Abstract Factory Patterns.Question 184 :- The real Factory pattern ?
Question 185 :- Factory Method vs Factory pattern ?
Question 186 :- How are new behaviors created in FP ?
Question 187 :- What is Abstract Factory Pattern ?
Question 188 :- Does Abstract Factory Pattern use FP inside ?
Question 189 :- Explain Simple Factory Pattern ?
Question 190 :- Simple Factory vs Factory (Factory Method) vs Abstract Factory ?
Question 191 :- How to remove IF conditions from Simple Factory?Lesson 14 :- Repository Pattern and Unit of Work Design Pattern Interview Questions.Question 162:- What is the use of repository pattern?
Question 163:- Is Dal (Data access Layer) and Repository same?
Question 164:- What is Generic repository pattern ?
Question 165:- Is abstraction the only benefit of Repository?
Question 166:- How to implement transaction in repository?
Question 167:- What is Unit of work design pattern?
Question 168:- Do we need repository pattern as EF does almost the same work?
Question 169:- Did you do unit testing with Repository ?
Question 170:- How does repository pattern make unit testing easy?
Question 171:- How can we do mock testing with Repository?Lesson 15:- Most asked Factory Pattern, DI and IOC Interview Questions.Question 172 :- What is Factory pattern and how does it benefit?
Question 173 :- How does centralizing object creation helps in loose coupling ?
Question 174 :- What is IOC and DI ?
Question 175 :- DI vs IOC ?
Question 176 :- What is a service locator ?
Question 177:- Service Locator vs DI ?
Question 178 :- Which is good to use Service Locator or DI ?
Question 179 :- Can not we use a simple class rather than interface for DI ?
Question 180 :- Is DI a Factory Pattern?
Question 181 :- So If you just centralize object creation is it Factory pattern?
Question 182 :- Static DI and Dynamic DI ?
Question 183 :- In which scenarios to use Static DI vs Dynamic DI ?Lesson 16 :- The Real Factory and Abstract Factory Patterns.Question 184 :- The real Factory pattern ?
Question 185 :- Factory Method vs Factory pattern ?
Question 186 :- How are new behaviors created in FP ?
Question 187 :- What is Abstract Factory Pattern ?
Question 188 :- Does Abstract Factory Pattern use FP inside ?
Question 189 :- Explain Simple Factory Pattern ?
Question 190 :- Simple Factory vs Factory (Factory Method) vs Abstract Factory ?
Question 191 :- How to remove IF conditions from Simple Factory?dSection 18: What is the purpose of the ternary conditional operator?
Section 19: What is the purpose of the null coalescing and null conditional operators?
Section 20: What is encapsulation?
Section 21: What is LINQ?
Section 22:What are extension methods?
Section 23:What is lEnumerable?
Section 25: What is the difference betweendeep copy and shallow copy?
Section 26: What is the Garbage Collector?
Section 27: What are nullable types?
Section 28: What is a property?
Section 29: What are generics?
Section 30:What is the difference betweenthe "const" and the "readonly" modifiers?
Section 31: What is the difference betweenthe "'ref" and the "out" keywords?
Section 32: What is the difference betweenan interface and an abstract class?
Section 33: What is polymorphism?
Section 34: What's the difference betweena virtual method and an abstract method?
Section 35: What is the methodoverloading?
Section 36: What is the difference betweenmethod overriding and method hiding?
Section 37: Does C# support multipleinheritance?
Section 38: What is the DRY principle?
Section 39: What is the "magic number"antipattern?
Section 40: Why is using the "goto"keyword considered a bad practice?
Section 41: What is the "spaghetti code"?
Section 42: What is the Singleton designpattern?
Section 43: What is the Builder designpattern?
Section 44: What is the Adapter designpattern?
Section 45: What is the Bridge designpattern?
Section 46: What is the Factory Methoddesign pattern?
Section 47: What is the "SOLD" in the SOLlDprinciples?
相关文章:
C# Basic
文章目录 项目地址一、基础501. What is CIL?2. What is CLR?3. What is the difference betweent value type and reference types?4. what is boxing and unboxing?5. How are exceptions handled in C#?6. What is the difference between a class and a struct?7. Wh…...
小红书爬虫: 获取所需数据
小红书,又名 “小红书 ”或简称 “红”,已迅速成为中国社交和电子商务领域的重要参与者,成为一个不可或缺的平台。对于企业、营销人员和数据分析师来说,从小红书收集数据可以获得宝贵的洞察力,从而推动业务增长。虽然这…...
人工智能学习(七)之神经网络
目录 一、引言 二、经典神经网络回顾 (一)结构与计算过程 (二)局限性 三、循环神经网络(RNN)原理 (一)基本结构 (二)计算过程 (三…...
LeetCode --- 435周赛
题目列表 3442. 奇偶频次间的最大差值 I 3443. K 次修改后的最大曼哈顿距离 3444. 使数组包含目标值倍数的最少增量 3445. 奇偶频次间的最大差值 II 一、奇偶频次间的最大差值I 统计字母出现次数,然后分别统计出现偶数次的最小值和出现奇数次的最大值,…...
算法 ST表
目录 前言 一,暴力法 二,打表法 三,ST表 四,ST表的代码实现 总结 前言 ST表的主要作用是在一个区间里面寻找最大值,具有快速查找的功能,此表有些难,读者可以借助我的文章和网上的课程结…...
【AI论文】使用滑动磁贴注意力实现快速视频生成
摘要:扩散变换器(DiTs)凭借3D全局注意力机制在视频生成领域达到了最先进水平,但其计算成本高昂——生成一段仅5秒的720P视频时,仅注意力计算就占用了总推理时间的945秒中的800秒。本文引入了滑动磁贴注意力(…...
MAAS | Ollama 搭建本地 AI 大模型 deepseekWeb 界面调用
目录 一、环境准备二、安装 Ollama三、下载并部署 DeepSeek 模型四、简单交互五、通过 Web 界面调用大模型 在当今人工智能快速发展的时代,本地部署大语言模型赋予了用户更高的灵活性和个性化服务体验。本文介绍了如何准备环境、安装Ollama框架、下载并部署DeepSeek…...
Arduino 第十一章:温度传感器
Arduino 第十一章:LM35 温度传感器 一、LM35 简介 LM35 是美国国家半导体公司(现德州仪器)生产的一款精密集成电路温度传感器。与基于热力学原理的传统温度传感器不同,LM35 能直接将温度转换为电压输出,且输出电压与…...
普通用户授权docker使用权限
1、检查docker用户组 sudo cat /etc/group |grep docker 若显示:docker:x:999: # 表示存在否则创建docker用户组: sudo groupadd docker2、查看 /var/run/docker.sock 的属性 ll /var/run/docker.sock 显示: srw-rw---- 1 root root 0 1月…...
嵌入式软件C语言面试常见问题及答案解析(四)
嵌入式软件C语言面试常见问题及答案解析(四) 原本打算将链表相关的面试题整合到一个文档中,奈何写着写着就发现题目比较多,题型也比较丰富,所以导致上一篇已经足够长了,再长也就有点不礼貌了。 所以在这儿继续来总结分享那个面试中遇到的题目,文中的问题和提供的答案或者…...
Python中是否有类似R语言中rds的功能,可将对象保存为文件?
在数据分析和科学计算领域,R语言和Python都是极为流行的编程语言。它们各自拥有独特的优势和丰富的库资源,使得数据科学家们能够高效地处理和分析数据。在R语言中,RDS(R Data Serialization)格式是一种非常方便的方式&…...
LabVIEW无人机飞行状态监测系统
近年来,无人机在农业植保、电力巡检、应急救灾等多个领域得到了广泛应用。然而,传统的目视操控方式仍然存在以下三大问题: 飞行姿态的感知主要依赖操作者的经验; 飞行中突发的姿态异常难以及时发现; 飞行数据缺乏系统…...
车联网安全入门一:了解CAN总线及环境模拟
准备打工了,工作内容和车联网安全相关,本来想着和app分析有较大关系,但是还涉及到很多关于汽车渗透测试相关的知识,由于之前并没有接触过,就借此机会和大家来学习一下。 ## CAN基础知识 ### CAN(Controller…...
hive spark读取hive hbase外表报错分析和解决
问题现象 使用Spark shell 操作hive关联Hbase的外表导致报错;hive使用tez引擎操作关联Hbase的外表时报错。 问题1:使用tez或spark引擎,在hive查询时只要关联hbase的hive表就会有问题其他表正常。 “org.apache.hadoop.hbase.client.RetriesExhaustedException:Can’t get …...
【MQ】RabbitMQ 高可用延时功能的探究
延迟消息如果使用延时交换机来实现,如果数据量过大,就会很占 CPU 资源,轻则时间误差大,重则 RabbitMQ 宕机 一、针对一个 RabbitMQ 节点 (1)利用队列 ttl,将延迟消息根据 delay 的时间进行分级…...
网络安全讲座之一:网络安全的重要性
第一讲内容主要对于安全的发展以及其重要性作了简明的阐述,并介绍了一些国内外知名的网络安全相关网站,并对于如何建立有效的安全策略给出了很好的建议,并让大家了解几种安全标准。 媒体经常报道一些有关网络安全威胁的令人震惊的事件&am…...
flutter ListView Item复用源码解析
Flutter 的 ListView 的 Item 复用机制是其高性能列表渲染的核心,底层实现依赖于 Flutter 的渲染管线、Element 树和 Widget 树的协调机制。以下是 ListView 复用机制的源码级解析,结合关键类和核心逻辑进行分析。 1. ListView 的底层结构 ListView 的复…...
基于java手机销售网站设计和实现(LW+源码+讲解)
专注于大学生项目实战开发,讲解,毕业答疑辅导,欢迎高校老师/同行前辈交流合作✌。 技术范围:SpringBoot、Vue、SSM、HLMT、小程序、Jsp、PHP、Nodejs、Python、爬虫、数据可视化、安卓app、大数据、物联网、机器学习等设计与开发。 主要内容:…...
HTML 左右联动高亮示例
HTML 左右联动高亮示例 <!DOCTYPE html> <html lang"en"> <head><meta charset"UTF-8"><meta name"viewport" content"widthdevice-width, initial-scale1.0"><title>左右联动高亮示例</titl…...
如何本地部署DeepSeek
第一步:安装ollama https://ollama.com/download 打开官网,选择对应版本 第二步:选择合适的模型 https://ollama.com/ 模型名称中的 1.5B、7B、8B 等数字代表模型的参数量(Parameters),其中 B 是英文 B…...
虚拟机+Docker配置主机代理和常见配置
完整配置流程如下: 配置虚拟机使用宿主机代理: # 设置环境变量(宿主机IP为192.168.100.1,代理端口7890) export http_proxyhttp://192.168.100.1:7890 export https_proxyhttp://192.168.100.1:7890# 测试代理是否生…...
996引擎-问题处理:盟重传送石问题
996引擎-问题处理:盟重传送石问题 问题解决方案补充:回城卷参考资料问题 今天添加了个新地图,由于这个版本只有盟重传送石没设计回城卷。 所以怎么搞都回不到新地图的回城点。(当时也是懵逼了都忘记它叫 盟重 传送石`) 分析 先看一下道具表的配置。 [@StdModeFuncX] 表示…...
从零到一学习c++(基础篇--筑基期七-vector与迭代器)
从零到一学习C(基础篇) 作者:羡鱼肘子 温馨提示1:本篇是记录我的学习经历,会有不少片面的认知,万分期待您的指正。 温馨提示2:本篇会尽量用更加通俗的语言介绍c的基础,用通俗的语言去…...
PKI及SSL协议分析
PKI的基本组成,完整的PKI系统必须具有权威认证机构(CA)、数字证书库、密钥备份及恢复系统、证书作废系统、应用接口(API)等基本构成部分,构建PKI也将围绕着这五大系统来着手构建。 任务一:搭建CA服务器 本任务初步了…...
请解释 JavaScript 中的函数式编程,优缺点是什么?
一、对JavaScript函数式编程的理解 函数式编程(Functional Programming,FP)是一种编程范式,它将计算视为数学函数的求值,并避免改变状态和可变数据。 在JavaScript中,函数式编程具有以下几个关键特性&…...
WPS接入DeepSeek模型
1.wps 下载安装 WPS-支持多人在线协作编辑Word、Excel和PPT文档_WPS官方网站 (最好是安装最新的wps) 2.offieceAi工具下载安装 软件下载 | OfficeAI助手 下载后安装下载下来的两个工具。安装路径可以自行修改 3.打开WPS,点击文件-》 选项-》信任中心 勾…...
头条百度批量采集软件说明文档
旧版说明文档《头条号文章批量采集软件4.0版本说明文档!头条/微头条文章批量采集》 头条的采集软件已经更新了好多个版本了,一直没有做详细的介绍文档,最近更新了一些功能进去,一块来写一下说明文档。 1、主界面 2、头条作者采集…...
网络安全架构师怎么考 网络安全 架构
安全通信网络 随着现代技术的不断发展,等级保护对象通常通过网络实现资源共享和数据交互,当大量的设备连成网络后,网络安全成了最为关注的问题。按照“一个中心,三重防御”的纵深防御思想,边界外部通过广域网或城域网…...
Vue 3 30天精进之旅:Day 21 - 项目实践:打造功能完备的Todo应用
前言 经过前20天的学习,我们已经掌握了Vue 3的核心概念、组合式API、路由、状态管理等关键技术。今天将通过一个完整的项目实践——Todo应用,将所学知识融会贯通。我们将为Todo应用添加编辑、删除、过滤等进阶功能,并优化代码结构。 一、项目…...
2025年02月11日Github流行趋势
项目名称:unsloth 项目地址url:https://github.com/unslothai/unsloth项目语言:Python历史star数:27175今日star数:1024项目维护者:danielhanchen, shimmyshimmer, Erland366, Datta0, xyangk项目简介&…...
嵌入式硬件篇---原码、补码、反码
文章目录 前言简介八进制原码、反码、补码1. 原码规则示例问题 2. 反码规则示例问题 3. 补码规则示例优点 4. 补码的运算5. 总结 十六进制原码、反码、补码1. 十六进制的基本概念2. 十六进制的原码规则示例 3. 十六进制的反码规则示例 4. 十六进制的补码规则示例 5. 十六进制补…...
PCM与G711A互转
PCM与G711A互转 工具类(Java)调用方法(Kotlin) 工具类(Java) public class G711Code {private final static int SIGN_BIT 0x80;private final static int QUANT_MASK 0xf;private final static int SEG…...
MapReduce简单应用(三)——高级WordCount
目录 1. 高级WordCount1.1 IntWritable降序排列1.2 输入输出格式1.3 处理流程 2. 代码和结果2.1 pom.xml中依赖配置2.2 工具类util2.3 高级WordCount2.4 结果 参考 本文引用的Apache Hadoop源代码基于Apache许可证 2.0,详情请参阅 Apache许可证2.0。 1. 高级WordCo…...
C# 数据验证Regex
Regular Expression,简称 Regex,是一种用于匹配和处理文本的强大工具。它通过定义特定的模式,可以用来搜索、替换或提取字符串中的特定内容。 先引入命名空间 using System.Text.RegularExpressions; Intege(整数) 必须是正整数 //必须是正整数publi…...
Jenkins+gitee 搭建自动化部署
Jenkinsgitee 搭建自动化部署 环境说明: 软件版本备注CentOS8.5.2111JDK1.8.0_211Maven3.8.8git2.27.0Jenkins2.319最好选稳定版本,不然安装插件有点麻烦 一、安装Jenkins程序 1、到官网下载相应的版本war或者直接使用yum安装 Jenkins官网下载 直接…...
C/C++混合读入cin与scanf问题
因为C/C在某些时候是如此的融洽,以至于很多时候可能会混用,就比如 scanf与cin或getline(cin, ..)这是一个严肃的问题。因为随意混用,可能导致,在某些特殊时刻,读取混乱。所以本篇的意义就是为了缕清混用机制 一、scan…...
矩阵 NFC 碰一碰发视频源码搭建技术解析,支持OEM
一、引言 在移动互联与物联网飞速发展的当下,NFC(Near Field Communication,近场通信)技术凭借其便捷、快速的数据传输特性,在众多领域得到广泛应用。本文将深入探讨如何搭建矩阵 NFC 碰一碰发视频的源码,…...
Log4j定制JSON格式日志输出
1.前言 log4j是Java中一个强大的日志记录框架,通过简单的配置便可以在程序中进行日志打印与记录。关于log4j博主最近碰到一个需求,需要将程序运行过程中的日志按给定的json模板输出,本文记录一下log4j如何配置json格式的日志打印。 2.日志配…...
Spring依赖注入方式
写在前面:大家好!我是晴空๓。如果博客中有不足或者的错误的地方欢迎在评论区或者私信我指正,感谢大家的不吝赐教。我的唯一博客更新地址是:https://ac-fun.blog.csdn.net/。非常感谢大家的支持。一起加油,冲鸭&#x…...
【C++八股】什么是函数指针,如何定义和使⽤场景
函数指针是指向函数的指针变量,它存储的是一个函数的地址,允许通过指针间接调用函数。使用函数指针可以动态地选择和调用函数,或者将函数作为参数传递给其他函数。 1. 函数指针的定义 函数指针的定义与普通指针稍有不同。它需要声明指向特定…...
DeepSeek 入驻 Cursor —— 表现能否超越 Claude?
DeepSeek 刚刚在 Cursor 平台上线了它的两款模型:DeepSeek V3 和 R1。目前,许多开发者(包括我们在内)主要依赖 Claude 3.5 Sonnet(最新版本 claude-3-5-sonnet-20241022)作为主要语言模型,因此我…...
skynet-src/atomic.h:25:23: 致命错误:stdatomic.h:没有那个文件或目录
skynet-src/atomic.h:25:23: 致命错误:stdatomic.h:没有那个文件或目录 故事背景,又接了一个新项目,要搞开发环境啊。skyent的框架。ubuntu已经跑起来了,但是内网是centos的跑不起来。只能怀疑是环境问题了࿰…...
docker compose部署nexus
整个工具的代码都在Gitee或者Github地址内 gitee:solomon-parent: 这个项目主要是总结了工作上遇到的问题以及学习一些框架用于整合例如:rabbitMq、reids、Mqtt、S3协议的文件服务器、mongodb github:GitHub - ZeroNing/solomon-parent: 这个项目主要是…...
IBM服务器刀箱Blade安装Hyper-V Server 2019 操作系统
案例:刀箱某一blade,例如 blade 5 安装 Hyper-V Server 2019 操作系统(安装进硬盘) 刀箱USB插入安装系统U盘,登录192.168... IBM BlandeCenter Restart Blande 5,如果Restart 没反应,那就 Power Off Blade 然后再 Power On 重启后进入BIOS界面设置usb存储为开机启动项 …...
Python的顺序结构和循环结构
文章目录 一、条件语句(1)条件语句的定义(2)条件语句的语法(a)单分支 if(b)双分支 if-else(c)多分支 if-elif-elif-...-else (3)注意事…...
[python SQLAlchemy数据库操作入门]-30.掌握 SQLAlchemy:优雅应对数据库异常的艺术
哈喽,大家好,我是木头左! 捕获和处理 SQLAlchemy 异常 在实际应用中,需要根据不同的异常类型采取不同的处理策略。下面是一个示例,展示了如何捕获和处理 SQLAlchemy 的异常。 from sqlalchemy import create_engine, Column, Integer, String, exc from sqlalchemy.ext.…...
编译和链接【三】
文章目录 编译和链接【三】前言系列文章入口编译过程词法分析语法分析语义分析生成中间代码汇编链接 编译和链接【三】 前言 在我大一的时候, 我使用VC6.0对C语言程序进行编译链接和运行 , 然后我接触了VS, Qt creator等众多IDE,…...
11苍穹外卖之Apache ECharts(数据可视化图表、后端传数据)
课程内容 Apache ECharts 营业额统计 用户统计 订单统计 销量排名Top10 功能实现:数据统计 数据统计效果图: 1. Apache ECharts 1.1 介绍 Apache ECharts 是一款基于 Javascript 的数据可视化图表库,提供直观,生动&#…...
Grafana-使用Button修改MySQL数据库
背景 众所周知,Grafana是一个用来展示数据的平台,但是有时候还是会有需求说能不能有一个按钮,点击的时候再对数据库进行修改,从而达到更新数据的效果 经过多方查证,终于实现了一个简单的,点击button执行sq…...
C++11语法及库详解
目录 一、c11语法 1. 自动类型推导 (auto) 2. 基于范围的 for 循环 3. Lambda 表达式 4. 智能指针 5. 右值引用和移动语义 6. nullptr 关键字 7. constexpr 关键字 8. 初始化列表 9. std::thread 多线程支持 10. std::function 和 std::bind 11. std::unordered_map…...