Becoming an Indie Developer
vlean.github.io's Introduction
vlean.github.io's People
vlean.github.io's Issues
golang defer用法 | vlean's blog
https://www.vlean.xyz/201911/golang-defer%E7%94%A8%E6%B3%95/
0x00 defer使用测试先来看下面测试中的函数,分别返回什么? 12345678910111213141516171819202122func Test1() int { result := 0 defer func() { result++ }() return result}func Test2() (result int) { defe
python pdb简明教程 | vlean's blog
https://www.vlean.xyz/202108/python-pdb%E7%AE%80%E6%98%8E%E6%95%99%E7%A8%8B/
背景在本地开发时,我们能很方便的借助ide的debug功能对代码进行断点调试,同时也能方便的查看每个变量的值。但是在服务器上调试时,就很难有这么方便的ide可以使用了。常用的做法是在不停的打print,或者启动交互终端。很明显,这种方式的效率不可避免的很低。 这时,python的调试器PDB就派上用场了,它支持在源码行间设置(有条件的)断点和单步执行,检视堆栈帧,列出源码列表,以及在任何堆栈帧的上
python内存泄漏排查指北 | vlean's blog
https://www.vlean.xyz/202107/python-memory-leak-debug/
0x00 背景内存泄漏是程序常见的错误行为之一,在uwsgi或者gunicorn里可以配置max-requests参数,来决定执行多少次请求后,重启worker来对抗内存泄漏问题,此外语言还有gc机制,在一般情况都不需要考虑内存泄漏问题。但是不正确的程序写法,在某些场景下会导致内存飙升,内存使用率居高不下,甚至OOM。因此内存泄漏问题需要引起我们的重视,在出现内存泄漏问题时,及时定位和解决。 那怎
vue3思维导图 | vlean's blog
https://www.vlean.xyz/202201/vue3/#more
应用Vue.createApp 完整api参考应用 API Data 函数,创建新组件时调用,返回对象 实例property仅在首次创建时添加 有必要使用null、undefined占位 props 从父组件接收数组或对象 computed 计算属性,所有复杂计算应使用,数据变更响应渲染 {{hasMessage}}<
读书计划 | vlean's blog
2021书 高性能mysql Go 语言设计与实现 极客时间 趣谈网络协议 数据结构和算法之美 从零学习架构 文章
Go泛型参考 | vlean's blog
https://www.vlean.xyz/202112/go-generics/#more
0x00 前言泛型已经确定将在go 1.18里发布,预计到22年2月份就可以使用到release版本的go泛型了。虽然官方并不建议大家在第一时间去把内部组件升级到泛型版本,但是提前了解下泛型对我们使用上有什么影响还是很有必要的。个人认为Go泛型是go在1.11支持go mod之后对语言层面最大的一次变动。早在go 1.17时,在master分支里就能看到go泛型的身影,只是默认不开启,即cmd/c
Nginx速查手册 | vlean's blog
https://www.vlean.xyz/202109/nginx-config/#more
0x00 Nginx手册 Nginx配置文档 官方文档 0x01 常用配置详细参考: nginx配置语法、实用配置 location匹配命令 参数 名称 说明 示例 空 普通前端匹配的路径 location 后没有参数直接跟着 标准 URI,表示前缀匹配,代表跟请求中的 URI 从头开始匹配。 location / {} = 精确匹配的路径 用于标准 URI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.