fordemo struct 01

01-Shell脚本入门

1.介绍 1.1 疑问 linux系统是如何操作计算机硬件CPU,内存,磁盘,显示器等? 答: 使用linux的内核操作计算机的硬件 1.2 Shell介绍 通过编写Shell命令发送给linux内核去执行, 操作的就是计算机硬件. 所以Shell命令是用户操作计算机硬件的桥梁 Shell是命令, ......
脚本 Shell 01

01_常用命令

1. 查看当前目录下所有东西 # ls => list: 列表展示 # 查看当前目录都有什么 . 表示当前, ./ 也表示当前,可以简写为 ls ls ls . ls ./ # 查看 aaa 目录下都有什么 ls aaa/ # 查看上层目录 ls ../ # 查看上上层目录 ls ../../ # ......
命令 常用 01

Go - Parsing Time Displays Into Structs

func main () { str := "4:31am +0800 on Oct 1, 2021" layout := "3:04pm - 0700 on Jan 2, 2006" t , err := time . Parse ( layout , str ) if err != nil { ......
Displays Parsing Structs Into Time

01-建立静态链表

一、实现思路 1、声明一个结构体类型,成员有数据类型和指针变量next; 2、将第一个结点的起始地址赋给头指针head,将第二个结点的起始地址赋给第一个结点的next成员,将第三个结点的起始地址赋值给第二个结点的next成员。第三个结点的next成员赋值为NULL,这样就形成了链表。 二、程序设计 ......
静态 01

01. 网络爬虫概述

一、什么是网络爬虫 网络爬虫(又称为网络蜘蛛、网络机器人)可以按照指定的规则(网络爬虫的算法)自动浏览或抓取网络中的信息,通过 Python 可以很轻松地编写爬虫程序或者是脚本。简单的来说,爬虫就是通过编写程序,模拟浏览器上网,然后让其去互联网上抓取数据的过程。 网络爬虫在法律上是不被禁止的,但它具 ......
爬虫 网络 01

Go - Decoding Data with a Customized Binary Format to Structs

Problem: You want to decode the customized binary format back to structs. Solution: Use the encoding/binary package to take data from the binary forma ......
Customized Decoding Structs Binary Format

Go - Decoding gob Format Data to Structs

Problem: You want to decode gob format data back to structs. Solution: Use the encoding/gob package to decode the gob format data back to structs. fun ......
Decoding Structs Format Data gob

STM32之WIFI通信(ESP8266 ESP-01S)

STM32之WIFI通信(ESP8266 ESP-01S) 前言 本文:使用的是 STM32F103C8T6 + ESP-01S模块 通过采用串口的通信方式 来实现 WIFI功能 ESP8266的介绍 ESP8266指的是乐鑫推出的ESP8266EX芯片,用ESP8266EX芯片和FLASH芯片等封 ......
ESP 8266 WIFI STM 32

DP背包-01背包

背包问题-01背包 首先我们要明白什么是01背包,在下述例题中,由于每个物体只有两种可能的状态(取与不取),对应二进制中的 \(0\) 和 \(1\),这类问题便被称为\(\text{「0-1 背包问题」}\)。 题目描述 有 \(N\) 件物品和一个容量为 \(M\) 的背包。第 \(i\) 件物 ......
背包 01

【后端开发】01-Java基础语法

Java基础语法 目录1. 概述1.1. 语言特性1.2. 开发平台1.3. 开发环境1.4. 开发步骤1.5. 注释2. 变量与运算符2.1. 关键字/保留字2.2. 标识符2.3. 变量2.4. 常用数据类型2.4.1. 基本数据类型(8种)2.4.2. 引用数据类型2.4.3. 数据类型转换2 ......
语法 基础 Java 01

day01 计算机基础和环境搭建

day01 计算机基础和环境搭建 课程目标:让大家了解计算机基础知识并完成Python的环境搭建。 课程概要: 计算机基础 编程的本质 Python的介绍 Python环境的搭建 1.计算机基础 1.1 基本概念 计算机的组成 计算机是由多个硬件组合而成,常见的硬件有:CPU、硬盘、内存、网卡、显示 ......
环境 计算机 基础 day 01

01 链表

链表的基本实现与应用,差不多可以了 学生通讯录管理系统 #include <stdio.h> #include "stdlib.h" #include "string.h" #define MAX 10 // 链表 typedef struct Node { int id, telenum; cha ......
01

Go - Creating JSON Data Streams from Structs

Problem: You want to create streaming JSON data from structs. Solution: Create an encoder using NewEncoder in the encoding/json package, passing it an ......
Creating Streams Structs Data JSON

Go - Creating JSON Data Byte Arrays from Structs

Problem: You want to create JSON data from a struct. Solution: Create the structs then use the json.Marshal or json.MarshalIndent to marshal the data ......
Creating Structs Arrays Byte Data

Go - Parsing JSON Data Streams Into Structs

Problem: You want to parse JSON data from a stream. Solution: Create structs to contain the JSON data. Create a decoder using NewDecoder in the encodi ......
Parsing Streams Structs JSON Data

01-LED指示灯的基本控制

由上可知此单片机采用74HC138位选用来实现LED选择功能 代码如下 sbit HC138_A = P2^5; sbit HC138_B = P2^6; sbit HC138_C = P2^7; // 此Delay一次大概8us void Delay(unsigned int t) { while ......
指示灯 指示 LED 01

《XSS-Labs》01. Level 1~10

简单的验证方式、标签闭合构造 payload、onfocus 事件利用,js 伪协议、 标签 href 属性利用、大小写绕过、双写绕过、href 自动 Unicode 解码利用、onfocus 利用,js 伪协议,表单属性。 ......
XSS-Labs Level Labs XSS 01

CSS-01 乱码

造成乱码的问题是: 文档保存的时候选择的编码方式和打开文档时使用的编码方式不一样。 当然现在都是统一使用utf-8:万国码。 正常文档格式: <!DOCTYPE html> <head> <meta charset="utf-8"> <title>标题</title> </head> <body> ......
乱码 CSS 01

2023-10-01-周日

1), 哟呵,已经是国庆第3天了,,,所以你感觉怎么样,,哈哈 2), 上午是继续完成PE_Worm那个project,,,,差不多13:00才搞完的 然后中午回寝室吃饭睡觉 吃的外卖,用了9元的优惠券 刷了许久的短视频 然后上床睡觉..可能是因为谁得不好吧,,所以昏昏沉沉的睡了很久 3), 下午继 ......
2023 10 01

W.01 辗转相除法

W.01 辗转相除法 提示:本文主要偏于数学证明. [定义] 整除: \(a,b\in \mathbb{N}\),若 \(\exists c\in \mathbb{N}\), 使得 \(a=bc\),称 \(b\) 整除 \(a\),记作 \(b\mid a\). [定义] 带余除法: \(a,b\ ......
辗转相除法 01

template 2023.10.01

template 2023.10.01 todo demos --> (🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章! refs ©xgqfrms 2012-2021 www.cn ......
template 2023 10 01

2023.10.01 日记

1 + 1 = 2 令 \(f[i]\) 为 \(a+b=i\) 的和。 显然可得 \(f[a]=f[a-b]+f[b],f[1]=1\)。 所以可得 \(1+1=f[1]+f[1]=f[2]=2\)。 code #include<bits/stdc++.h> using namespace std ......
日记 2023 10 01

Work_01

1-1 顺序表基本操作 本题要求实现顺序表的操作集。 函数接口定义: Position Find( List L, ElementType X ); bool Insert( List L, ElementType X, Position P ); bool Delete( List L, Posi ......
Work 01

01-螺旋矩阵(力扣题号59

我的 想法:两重循环,控制换行,打印对应递增数字 问题:只能打印出第一行,虽然可以换行但是打印的数字不对 正确 思路:创建二维矩阵;给二维矩阵赋值;打印二维矩阵 代码 //题目: /* * 学习到: * 写代码遇到的问题 * 1. vector容器初始化: * 2. 函数返回类型的确定:该函数(ge ......
矩阵 螺旋 01

《Upload-Labs》01. Pass 1~13

前端绕过、MIME-Type 绕过、黑名单绕过(::$DATA 与双写绕过,大小写绕过,空格绕过,点绕过)、.htaccess 利用、.user.ini 利用、白名单绕过之 %00 截断绕过。 ......
Upload-Labs Upload Labs Pass 01

python生信01

001、生成 nN nnNN nnnNNN .... a、 [root@pc1 test1]# ls test.py [root@pc1 test1]# cat test.py ## 测试程序 #!/usr/bin/env python3 # -*- coding: utf-8 -*- for i ......
python

nodejs学习01-安装

参考: nodeJS压缩版安装与配置 注意: 最新版本不支持win7有问题,我win7 用的 node-v11.15.0-win-x86 历史版本下载:https://registry.npmmirror.com/binary.html?path=node/ ......
nodejs 01

struct:Python二进制数据结构

在C/C++语言中,struct被称为结构体。而在Python中,struct是一个专门的库,用于处理字节串与原生Python数据结构类型之间的转换。 本篇,将详细介绍二进制数据结构struct的使用方式。 ## 函数与Struct类 struct库包含了一组处理结构值得模块级函数,以及一个Stru ......
数据结构 二进制 结构 数据 struct

SpringMVC 01 参数获取

pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ......
SpringMVC 参数 01

Kafka学习01:默认分区策略解析

Kafka学习01:默认分区策略解析 Kafka版本:2.5.1 DefaultPartitioner 类 /** * The default partitioning strategy: * <ul> * <li>If a partition is specified in the record, ......
策略 Kafka