Zeng's Page


  • 首页

  • 标签

  • 归档

  • 相册

  • 搜索

Shell basic 01

Posted on 2020-10-01 | In Shell
参数处理 说明
$# 传递到脚本的参数个数
$* 以一个单字符串显示所有向脚本传递的参数。 如”$*”用「”」括起来的情况、以”$1 $2 … $n”的形式输出所有参数。
$$ 脚本运行的当前进程ID号
$! 后台运行的最后一个进程的ID号
$@ 与$*相同,但是使用时加引号,并在引号中返回每个参数。 如”$@”用「”」括起来的情况、以”$1” “$2” … “$n” 的形式输出所有参数。
$- 显示Shell使用的当前选项,与set命令功能相同。
$? 显示最后命令的退出状态。0表示没有错误,其他任何值表明有错误。
Read more »

Python模拟栈和队列

Posted on 2020-09-17 | In Python
1
2
How to reduce 'attention residue' in your life 
34 Many of us struggle with the never-ending nature of our to-do lists, says Elizabeth Emens, author of The Art of Life Admin and a New York-based professor of law at Columbia University.
Read more »

bash编程 —— getopt用法

Posted on 2020-09-13 | In Shell

getopt的用法

Read more »

bash编程 —— 读写配置

Posted on 2020-09-13 | In Shell

shell读写配置

Read more »

股价查询小工具一枚

Posted on 2020-09-06 | In Python

只能查询A股,用到了3个新浪股票数据接口:

1
2
3
http://money.finance.sina.com.cn/quotes_service/api/json_v2.php/CN_MarketData.getKLineData
http://hq.sinajs.cn/?list=sz000002
https://suggest3.sinajs.cn/suggest/key=万科A
Read more »
1…789…21
Lz. Zeng

Lz. Zeng

Continuous Self-Improvement

104 发布
18 分类
28 标签
© 2022 Lz. Zeng
NexT.Pisces
 |         Words: 97.2k
0%