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

摘要:在使用Hexo管理博客文章时,如果使用的Hexo主题(比如tranquilpeak主题)不支持Latex与mermaid语法,这个问题该如何解决?Typora与Hexo对这两种语法的支持有什么差异?如果博客文章是在Typora上编辑,且文件中包含Latex与mermaid语句时,如何用最小的代价实现这些文章能够通过Hexo渲染并发布

Abstract: When using Hexo to manage blog posts, if the Hexo theme used (such as tranquilpeak theme) does not support Latex and mermaid syntax, how to solve this problem? What is the difference between Typora and Hexo’s support for these two syntaxes? If the blog post is edited on Typora and the file contains Latex and mermaid sentences, how can these posts be rendered and published by Hexo with the least cost?

阅读全文

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

摘要:本文内容涉及:机械加工时,用于指示加工质量的表面粗糙度的定义是什么?其计算方法与表示方法又是如何?各国工业加工对表面粗糙度的工业标准总结。各种加工工艺所能达到的表面精度总结与分析。

Abstract: The content of this article involves: What is the definition of surface roughness used to indicate the quality of machining during machining? What is the calculation method and representation method? A summary of the industrial standards for surface roughness in industrial processing in various countries. Summary and analysis of the surface accuracy that can be achieved by various processing techniques.

阅读全文

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

摘要:为了解决部分内容网络分发时高延时的问题,为了提高网页加载速度,提高内容分发速度进而给客户跟好的使用体验,会考虑到CDN网络。如何使用aws CloudFront 与 aws S3 bucket的组合,创建自己的CDN网络,会在本文中介绍相关内容。

Abstract: In order to solve the problem of high latency in the distribution of some content on the network, in order to increase the loading speed of web pages, increase the speed of content distribution, and provide customers with a better user experience, the CDN network will be considered. How to use the combination of aws CloudFront and aws S3 bucket to create your own CDN network will be introduced in this article.

阅读全文

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

摘要:本文主要介绍如何使用Angular三个常用的内置结构型指令 —— NgIf、NgFor和NgSwitch之一ngFor历遍一个json对象。Ngfor历遍列表很简单,ngfor历遍json实例又该如何操作呢?

Abstract: This article mainly introduces how to in Angular use ngFor, one of Three of the common, built-in structural directives—NgIf, NgFor, and NgSwitch, to traverse a json object. Ngfor traverses the array is very simple, how should ngfor traverse the json instance?

阅读全文

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

摘要:如何配置aws-cli?如何使用aws-cli来部署lamdba函数的程序包?配置aws-cli时,用户访问权限的策略应该是什么样的?如何创建一个最小访问权限的用户,在保证安全的同时实现lambda程序包的部署?这样的用户的访问策略是什么样的?

Abstract: How to configure aws-cli? How to use aws-cli to deploy lamdba function package? When configuring aws-cli, what should be the user access policy? How to create a user with minimal access rights to complete the lambda package deployment task while ensuring security? What is the access strategy for such users?

阅读全文

作者: 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


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

软件工程师


河南,中国
global.wechat_public_qr_code_image

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


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

global.wechat_public_search_bar_image