logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

《Linux Shell编程学习笔记之二》:特殊变量(\$*和\$@的区别)、命令替换和变量替换

《Linux Shell编程学习笔记之二》:特殊变量($*和$@的区别)、命令替换和变量替换特殊变量一般变量比较简单哈,与Java、C/C++不一样的地方在于不需要定义,直接使用即可。例如:#!/bin/bashvar= "wojiushimogui"echo ${var}需要注意的两点:1、变量和等号之间不能有空格。2、使用变量的时候我们只需要在变量前面加上一个美元符号$即可。好的编程风格为

《leetCode》:Decode Ways

题目A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message containing digits, determine the total number of

#leetcode
《leetCode》:Plus One

题目Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.题目大意:将用数组表示的一个数进行加1操作。其中数组

#leetcode
SpringBoot 中常用注解@Controller/@RestController/@RequestMapping介绍

SpringBoot 中常用注解@Controller/@RestController/@RequestMapping介绍@Controller处理http请求@Controller//@ResponseBodypublic class HelloController {@RequestMapping(value="/hello",method= RequestMethod.GET)

python中出现IndentationError:unindent does not match any outer indentation level错误

python中出现IndentationError:unindent does not match any outer indentation level今天在网上copy的一段代码,代码很简单,每行看起来该缩进的都缩进了,运行的时候出现了如下错误:【解决过程】1.对于此错误,最常见的原因是,的确没有缩进。根据错误提示的行数,去代码中看了下,看起来没有什么问题呀,都有缩进,而且语法也没

#python
SpringBoot 中常用注解@Controller/@RestController/@RequestMapping介绍

SpringBoot 中常用注解@Controller/@RestController/@RequestMapping介绍@Controller处理http请求@Controller//@ResponseBodypublic class HelloController {@RequestMapping(value="/hello",method= RequestMethod.GET)

到底了