学无止境 第7页
记录学习的过程
Java中数组的选择排序与冒泡排序-天煜博客

Java中数组的选择排序与冒泡排序

选择排序 每次都从待排序的元素中找到最小的或者最大的元素 与待排序的元素中最左侧元素交换位置,即每轮循环都会挑出剩余元素中最小或最大的元素放在余下元素的最左侧 定义数组 a={3,9,0,-9,10...
haoxuan的头像-天煜博客haoxuan6年前
0707
API接口的安全设计验证—ticket,签名,时间戳-天煜博客

API接口的安全设计验证—ticket,签名,时间戳

概述 与前端对接的API接口,如果被第三方抓包并进行恶意篡改参数,可能会导致数据泄露,甚至会被篡改数据,我主要围绕时间戳,token,签名三个部分来保证API接口的安全性 1.用户成功登陆站点后...
haoxuan的头像-天煜博客haoxuan4年前
0709
Ubuntu20.04LTS实时显示CPU、内存、网速占用率等-天煜博客

Ubuntu20.04LTS实时显示CPU、内存、网速占用率等ndicator-sysmonitor

Installation - App Indicator based desktops: On Ubuntu and derivatives - manual installation sudo apt-get install python3-psutil curl git gir1.2-appindicator3-0.1 git clone https:/...
haoxuan的头像-天煜博客haoxuan4年前
0686
C语言基础教程-天煜博客

C语言基础教程数组

数组   一维数组 1、 定义及初始化:[存储类型] 数据类型 标识符[下标] 2、 数组的存储特点: 3、 数组元素引用:数组名[下标] 4、 数组名表示数组在内存中的首地址,是地址常量 5、 数组...
haoxuan的头像-天煜博客haoxuan5年前
0675
面试官:知道 springboot 的启动原理吗?-天煜博客

面试官:知道 springboot 的启动原理吗?

springboot 启动原理 springboot 常见的启动写法如下: @SpringBootApplication public class Application {     public static void main(String[] args) {         Spring...
haoxuan的头像-天煜博客haoxuan4年前
0675
JavaFX Dialog对话框-天煜博客

JavaFX Dialog对话框JavaFX Dialogs (official)

Standard Dialogs Information Dialog Alert alert = new Alert(AlertType.INFORMATION); alert.setTitle('Information Dialog'); alert.setHeaderText('Look, an Information Dialog'); alert....
haoxuan的头像-天煜博客haoxuan4年前
0678
详解串口通信232/485/422-天煜博客

详解串口通信232/485/422

一、RS232基础知识 计算机与计算机或计算机与终端之间的数据传送可以采用串行通讯和并行通讯二种方式。由于串行通讯方式具有使用线路少、成本低,特别是在远程传输时,避免了多条线路特性的不一...
haoxuan的头像-天煜博客haoxuan4年前
0668
如何计算算法的复杂度-天煜博客

如何计算算法的复杂度算法复杂度那些事

为什么要关心时间复杂度和空间复杂度? 数据结构和算法本身解决的是“快”和“省”的问题,即如何让代码运行得更快,如何让代码更省存储空间。所以,执行效率是算法一个非常重要的考量指标。 算...
haoxuan的头像-天煜博客haoxuan4年前
06412
正则表达式的概念用常用匹配规则-天煜博客

正则表达式的概念用常用匹配规则

内容介绍 正则表达式 Date DateFormat Calendar   第1章  正则表达式 1.1      正则表达式的概念 正则表达式(英语:Regular Expression,在代码中常简写为regex)。 正则表达式是一...
C语言练习题-天煜博客

C语言练习题数组

/** * File Name: array.c * Author: Haoxuan * Mail: haovxuan@126.com * Created Time: 2020年12月17日 星期四 12时43分36秒 **/ #include #define SIZE 9 /* * 1、使用数组写出fibonacci数列...
haoxuan的头像-天煜博客haoxuan5年前
06214