作者: Jim Wang 公众号: 巴博萨船长

摘要:为何需要使用pyenv来管理python的版本?为何需要使用virtualenv来创建python虚拟运行环境?pyenv与pipenv和virtualenv的关系是什么样的?在自己使用pyenv的时候遇见过什么样的问题,又是如何解决所遇问题的。如果遇见诸如“BUILD FAILED”的安装错误,出现该错误的原因可能是什么?

Abstract: Why do we need to manage the use pyenv python version?Why do I need to use virtualenv to create a python virtual runtime environment? What is the relationship with pyenv, pipenv, and virtualenv ?What kind of problems have been encountered when using pyenv and how have they been solved? If you encounter an installation error such as “BUILD FAILED”, what could be the cause of the error?

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:使用Python实现aws lambda函数时,如何解决代码依赖问题?如何在aws lambda中配置并安装Python的依赖包Packages?以pymssql依赖包为例,如何在aws lambda的Python代码中import该依赖?

Abstract: How to solve the problem of code dependency when using Python to implement aws lambda function? How to configure and install Python’s dependency package Packages in aws lambda? This article takes the pymssql dependency package as an example. How to import the dependency in the Python code of aws lambda?

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:在使用Hexo部署自己的博客时,常常接触hexo generater,hexo clean和hexo deploy等命令,估计很少人想过如何调试Hexo这些命令的相关代码。作为基于Node的开源blog项目,其在VS Code中的调试环境是什么样的?如何建立这样的调试环境?调试时需要注意什么? 在VSCode调试Node代码时,可能会遇见方法process.stdout.write和方法console.log的输出内容不在同一位置的问题,该问题如何解决?

Abstract: When using hexo to deploy the blog, often use commands such as hexo generator, hexo clean and hexo deploy. Few people have thought about how to debug the Hexo codes related to these commands. As a node-based open source blog project, what is its debugging environment in VS Code? How to build a debugging environment for debugging Hexo code? What should pay attention to when debugging? When debugging Node code in VS Code, the output content of process.stdout.write and console.log are not in the same location, why? How to solve the problem?

阅读全文

摘要:究竟什么样的应用场景中才需要使用CSS来隐藏文本,为什么不直接修改HTML来删除想要隐藏的内容呢?使用CSS来隐藏页面文本,究竟是如何实现的?为什么要在项目中这么做,究竟为何?究竟什么是Kellum方法,该方法的使用范围与方法的局限性是?

Abstract: What kind of application scenarios need to use CSS to hide text, why not directly modify the HTML to delete the content that you want to hide? How to use CSS to hide page text? Why do I do this in my own project? When is the Kellum method, the scope of use of the method and the limitations of the method?

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:Python 是如何访问和控制系统的环境变量的,Python中的父进程与子进程间的环境变量关系是何?能不能在运行时修改环境变量?子进程中对环境变量修改能不能传递给对父进程?如果能,怎么样实现这样的变化?如何使用subprocess.Popen运行vcvars.bat,然后在持续集成时,完成devenv清理和创建的前期准备。

Abstract: How does Python access and control the system‘s environment variables? What is the relationship between the environment variables of the parent process and the child process in Python? Can environment variables be modified at runtime? Can the modification of environment variables in the child process be passed to the parent process? If so, how to achieve such a change? How to use subprocess.Popen to run vcvars.bat, and then complete the preliminary preparations for the Clean and Build of devenv during CI.

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

摘要:Inno Setup 生成的安装包是如何在安装的过程中注册COM组件DLL文件的,.NET的DLL为什么需要注册?如何将.NET程序集安装到GAC中,这样做的目的又是什么?在这项任务的一开始,我也有类似的疑问,查找归纳后就有了这篇文章。

Abstract: How does the installation package generated by Inno Setup register COM component DLL files during installation? What is the difference between .NET DLL and general DLL registration?

阅读全文

作者: Jim Wang 公众号: 巴博萨船长

在转移自己的文章的时候发现了一个很有意思的事情,现在记录下来,咱们一起看看问题在哪。问题是这样的的,我之前的文章有如下文字

1
ExtractTemporaryFile('{#DotNetFrameWorkWebInstaller}');

如果上述字符以纯文本的形式,即非代码样式和引用样式存在于md文件中,如果这时尝试使用hexo s命令的话,就会有如下异常被抛出。

阅读全文
作者的图片

Jim Wang


全栈探索之路
记录个人对技术的理解和开发过程中遇到的问题,欢迎了解更多。

软件工程师


河南,中国
global.wechat_public_qr_code_image

请扫描上方的二维码订阅我的个人微信公众号


原创不易,多多点赞分享支持。

global.wechat_public_search_bar_image