草庐IT

auto-versioning

全部标签

12 - 笔记自动分类Auto Note Mover

配套视频Obsidian是什么?是一款基于markdown(md)语法编辑的笔记软件,与传统的md软件不同的是,它可以创建双向链接(其他的一些软件也可以,但是都收费,而obsidian完全免费)。1.作用AutoNoteMover插件,可实现在Obsidian中新建笔记时,依规则将笔记自动搬移到指定文件夹,实现笔记的自动分类的效果。2.效果安装插件的效果,请看视频演示。3.安装与设置安装正常安装即可,如无法在线安装,可到文末下载我提供的插件包手动安装。设置a.路径:设置-第三方插件-AutoNoteMoverb.Trigger:Automatic(自动触发)c.Useregularexpres

Python空闲: Change Python Version

我的机器上有Python2.x和3.x(MacOSX10.6)。有些事情我想使用第2版,但有些我想使用第3版。我喜欢用于编辑/运行的IDLE软件,但它始终使用第3版。有什么方法可以改变IDLE使用的解释器版本吗?谢谢! 最佳答案 每个Python版本都安装了不同版本的IDLE。根据您在MacOSX上安装Python的方式,您可能会在/Applications中找到不同的文件夹。查找其中包含IDLE的Python3.n(n=1或2)文件夹。或者,从终端命令行,您可能会找到idle2.6和idle3或idle3.1或idle3.2.

Python空闲: Change Python Version

我的机器上有Python2.x和3.x(MacOSX10.6)。有些事情我想使用第2版,但有些我想使用第3版。我喜欢用于编辑/运行的IDLE软件,但它始终使用第3版。有什么方法可以改变IDLE使用的解释器版本吗?谢谢! 最佳答案 每个Python版本都安装了不同版本的IDLE。根据您在MacOSX上安装Python的方式,您可能会在/Applications中找到不同的文件夹。查找其中包含IDLE的Python3.n(n=1或2)文件夹。或者,从终端命令行,您可能会找到idle2.6和idle3或idle3.1或idle3.2.

python - argparse 可选子解析器(用于 --version)

我有以下代码(使用Python2.7):#sharedcommandlineoptions,like--versionor--verboseparser_shared=argparse.ArgumentParser(add_help=False)parser_shared.add_argument('--version',action='store_true')#themainparser,inheritsfrom`parser_shared`parser=argparse.ArgumentParser(description='main',parents=[parser_shared

python - argparse 可选子解析器(用于 --version)

我有以下代码(使用Python2.7):#sharedcommandlineoptions,like--versionor--verboseparser_shared=argparse.ArgumentParser(add_help=False)parser_shared.add_argument('--version',action='store_true')#themainparser,inheritsfrom`parser_shared`parser=argparse.ArgumentParser(description='main',parents=[parser_shared

python - Tensorflow 安装失败,出现 "compiletime version 3.5 of module does not match runtime version 3.6"

我尝试从pip安装:pip3install--user--no-cachehttps://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl然后尝试导入并得到:UsingTensorFlowbackend./usr/lib64/python3.6/importlib/_bootstrap.py:205:RuntimeWarning:compiletimeversion3.5ofmodule'tensorflow.python.framework.fast_ten

python - Tensorflow 安装失败,出现 "compiletime version 3.5 of module does not match runtime version 3.6"

我尝试从pip安装:pip3install--user--no-cachehttps://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl然后尝试导入并得到:UsingTensorFlowbackend./usr/lib64/python3.6/importlib/_bootstrap.py:205:RuntimeWarning:compiletimeversion3.5ofmodule'tensorflow.python.framework.fast_ten

vue3的unplugin-auto-import自动引入

vue3日常项目中定义变量需要引入ref,reactive等等比较麻烦,可以通过unplugin-auto-import给我们自动引入1、安装npmi-Dunplugin-auto-import2、在vite.config.ts中引入importAutoImportfrom'unplugin-auto-import/vite'并在plugins中配置:exportdefaultdefineConfig({        plugins:[      ......          AutoImport({             imports:['vue'],           dts:'

vue3的unplugin-auto-import自动引入

vue3日常项目中定义变量需要引入ref,reactive等等比较麻烦,可以通过unplugin-auto-import给我们自动引入1、安装npmi-Dunplugin-auto-import2、在vite.config.ts中引入importAutoImportfrom'unplugin-auto-import/vite'并在plugins中配置:exportdefaultdefineConfig({        plugins:[      ......          AutoImport({             imports:['vue'],           dts:'

gitlab 安装,libc.so.6: version `GLIBC_2.25‘ not found

背景ubuntu16.04以及ubuntu18.05安装gitlab都报错误:/opt/gitlab/embedded/bin/ruby:/lib/x86_64-linux-gnu/libc.so.6:version`GLIBC_2.25'notfound(requiredby/opt/gitlab/embedded/lib/libruby.so.2.4)解决方法(一定要看完本文)一、安装glibc可以看出来应该是我们的GLIBC版本过低的原因造成的,下面我们用命令查看glibc的版本strings/usr/lib64/libc.so.6|grepGLIBC_或者strings/lib/x86