Git查看、创建、上传SSH密钥
摘要:Git查看、创建、上传SSH密钥在生成 SSH 密钥之前,我们可以检查是否有任何现有的 SSH 密钥。 注: DSA 密钥 (SSH-DSS) 不再受支持。 现有密钥将继续运行,但您不能将新的 DSA 密钥添加到您的 GitHub 帐户。 只需两步: 打开 Git Bash。 输入 ls -al ~
阅读全文
run `npm fund` for details found 16 vulnerabilities (2 low, 8 moderate, 6 high) run `npm audit fix` to fix them, or `npm audit` for details
摘要:输入 npm install 报错完整内容: 21 packages are looking for funding run `npm fund` for details found 16 vulnerabilities (2 low, 8 moderate, 6 high) run `npm au
阅读全文
获取官方节假日数据的api接口,获取指定日期的节假日数据
摘要:获取指定日期的节假日信息 1、接口地址:http://api.goseek.cn/Tools/holiday?date=数字日期2、返回数据:正常工作日对应结果为 0, 法定节假日对应结果为 1, 节假日调休补班对应的结果为 2,休息日对应结果为 3 3、节假日数据说明:本接口包含2017年起的中国
阅读全文
vue-elementUi项目打包后样式入坑
摘要:main.js // The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. im
阅读全文
Python中itemgetter和groupby连用(字典分组函数)
摘要:list1 = [ {'spec': 'D', 'serial_num': 4, 'no': '3'}, {'spec': 'B', 'serial_num': 3, 'no': '2'}, {'spec': 'C', 'serial_num': 1, 'no': '4'}, {'spec': 'A
阅读全文
python 字典分组函数使用
摘要:from operator import itemgetter # itemgetter用来去dict中的key,省去了使用lambda函数 from itertools import groupby # itertool d1={'name':'zhangsan','age':20,'countr
阅读全文