摘要:
1. 什么是 daemon 与服务 (service) 1.1 daemon 的主要分类: stand alone, super daemon, 工作形态, 命名守则 1.2 服务与端口的对应: /etc/services 1.3 daemon 的启动脚本与启动方式: 配置文件, stand alo
阅读全文
posted @ 2022-01-12 12:22
PanPan003
阅读(48)
推荐(0)
摘要:
原文: http://cn.linux.vbird.org/linux_basic/0560daemons_1.php#daemon 从第十七章与前一小节对服务的说明后,你应该要知道的是, 系统所有的功能都是某些程序所提供的,而程序则是透过触发程序而产生的。同样的,系统提供的网络服务当然也是这样的!
阅读全文
posted @ 2022-01-12 11:11
PanPan003
阅读(740)
推荐(0)
摘要:
原文:https://linuxtools-rst.readthedocs.io/zh_CN/latest/advance/03_optimization.html#optimization 优化自己开发的程序,建议采用以下准则: 二八法则:在任何一组东西中,最重要的只占其中一小部分,约20%,其余
阅读全文
posted @ 2022-01-12 10:50
PanPan003
阅读(242)
推荐(0)
摘要:
# apt edit-sources 修改: deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main non-free contrib deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bu
阅读全文
posted @ 2022-01-12 10:44
PanPan003
阅读(249)
推荐(0)
摘要:
apt-get的install、update、upgrade的区别 sudo apt-get -f install //修复依赖关系 apt-get -f install=apt-get install -f ,是修复依赖关系(depends)的命令,就是假如你的系统上有某个package不满足依赖
阅读全文
posted @ 2022-01-12 10:39
PanPan003
阅读(1213)
推荐(0)
摘要:
https://www.zhihu.com/question/449756804 作者:醉书生链接:https://www.zhihu.com/question/449756804/answer/2219422015来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 优先
阅读全文
posted @ 2022-01-10 17:05
PanPan003
阅读(163)
推荐(0)
摘要:
https://www.zhihu.com/question/449756804 System.Linq — 可枚举支持Index和Range参数 该方法现在接受可枚举项末尾的索引,如下例所示。Enumerable.ElementAt Enumerable.Range(1, 10).ElementA
阅读全文
posted @ 2022-01-10 17:02
PanPan003
阅读(420)
推荐(0)
摘要:
https://www.zhihu.com/question/449756804 作者:醉书生链接:https://www.zhihu.com/question/449756804/answer/2219422015来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 系统
阅读全文
posted @ 2022-01-10 16:30
PanPan003
阅读(1687)
推荐(0)
摘要:
https://www.zhihu.com/question/449756804 dotnet monitor是容器的重要诊断工具。它作为 sidecar 容器镜像已经有一段时间了,但处于不受支持的“实验”状态。作为 .NET 6 的一部分,我们将发布一个完全支持生产的基于 .NET 6 的dotn
阅读全文
posted @ 2022-01-10 16:19
PanPan003
阅读(465)
推荐(0)
摘要:
https://www.zhihu.com/question/449756804 热重载是另一个性能特性,专注于开发人员的生产力。它使您能够对正在运行的应用程序进行各种代码编辑,从而减少您等待应用程序重新构建、重新启动或重新导航到进行代码更改后所在位置所需的时间。 热重载可通过dotnet watc
阅读全文
posted @ 2022-01-10 16:17
PanPan003
阅读(625)
推荐(0)
摘要:
https://www.zhihu.com/question/449756804 作者:醉书生链接:https://www.zhihu.com/question/449756804/answer/2219422015来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 C#
阅读全文
posted @ 2022-01-10 16:13
PanPan003
阅读(386)
推荐(0)
摘要:
官方文档: https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-6.0/whatsnew#compiled-models 优势: improve EF Core startup time for applications with
阅读全文
posted @ 2022-01-06 18:46
PanPan003
阅读(123)
推荐(0)
摘要:
With --1. group aTable as( SELECT "SourceOrderNumber","OperateType",sum("ServiceCatagoryQuota") as "ServiceCatagoryQuota", array_agg("UsedOrderItemNum
阅读全文
posted @ 2021-12-29 15:29
PanPan003
阅读(166)
推荐(0)
摘要:
原文:Shrink your WSL2 Virtual Disks and Docker Images and Reclaim Disk Space Docker Desktop for Windows uses WSL to manage all your images and container
阅读全文
posted @ 2021-12-28 11:54
PanPan003
阅读(4781)
推荐(0)
摘要:
原文:迁移docker wsl2 VHDX 文件的方法 像任何使用Windows子系统Linux的人一样,我们都很兴奋在WSL2最终发布时。 使用WSL2,映像/容器存储在虚拟机的VHDX映像中。 清除映像/容器时,VHDX中的空间将被释放,但决不会释放回主机操作系统。这会导致VHDX文件开始失控,
阅读全文
posted @ 2021-12-28 11:32
PanPan003
阅读(966)
推荐(0)
摘要:
Resources The Resources tab allows you to configure CPU, memory, disk, proxies, network, and other resources. Different settings are available for con
阅读全文
posted @ 2021-12-28 11:21
PanPan003
阅读(5026)
推荐(1)
摘要:
HowTo: Change Docker containers storage location with WSL2 on Windows 10 Once I started playing with Docker on Windows it quickly turned out that late
阅读全文
posted @ 2021-12-28 11:17
PanPan003
阅读(294)
推荐(0)
摘要:
{ "registry-mirrors": [], "insecure-registries": ["192.168.33.21:5000"], "debug": false, "experimental": false, "features": { "buildkit": true }, "bui
阅读全文
posted @ 2021-12-27 13:39
PanPan003
阅读(1611)
推荐(0)
摘要:
原文: Setting Windows PATH for Postgres tools If, after installing PostgreSQL, you face “psql not recognized as an internal or external command” error w
阅读全文
posted @ 2021-12-16 11:14
PanPan003
阅读(929)
推荐(0)
摘要:
C# 10: What's new in C# 10 - C# Guide | Microsoft Docs C# 10 完整特性介 C# 10个常用特性 .NetCore~C#6的一些新特性 https://docs.microsoft.com/en-us/dotnet/csharp/langua
阅读全文
posted @ 2021-11-15 16:37
PanPan003
阅读(249)
推荐(0)
摘要:
原文: https://blog.csdn.net/jamesstudy003/article/details/80871293 据说这是对支付宝系统体系最全最强解析,推荐收藏学习!
阅读全文
posted @ 2021-10-26 16:01
PanPan003
阅读(657)
推荐(0)
摘要:
原文:https://blog.csdn.net/Peter_Changyb/article/details/88074239 交易系统更多的服务是通过后台接口来完成的,这部分占到整体系统很大的业务比重。如支付后期的资金流转、逆向操作退款等。但也有一些是用来查询一些交易订单相关性的信息。在此背景下,
阅读全文
posted @ 2021-10-22 14:51
PanPan003
阅读(376)
推荐(0)
摘要:
怒肝3W字Java学习路线!从入门到封神全包了(建议收藏) 大家好!我是一航! 长文警告!!!预计阅读耗时30分钟,你忍一下,但相信看完你不会后悔的;如果没有充足的时间,可以考虑先收藏着;公众号【一行Java】后台回复【Java路线】,即可获取完整的思维导图。 最近和各位小伙伴儿私下聊的比较多,各个
阅读全文
posted @ 2021-10-21 13:58
PanPan003
阅读(219)
推荐(0)
摘要:
https://developers.facebook.com/docs/marketing-api/campaign-structure Contain just the visual elements of the ad and you can't change them once they'r
阅读全文
posted @ 2021-10-15 17:22
PanPan003
阅读(175)
推荐(0)
摘要:
https://quick-adviser.com/what-causes-out-of-memory-exception/ What causes out of memory exception? An OutOfMemoryException exception has two major ca
阅读全文
posted @ 2021-10-14 18:18
PanPan003
阅读(118)
推荐(0)
摘要:
https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/using-objects https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/
阅读全文
posted @ 2021-10-14 18:10
PanPan003
阅读(77)
推荐(0)
摘要:
MemoryStream disables reading when returned 9 1 In my program, I am basically reading in a file, doing some processing to it, and then passing it back
阅读全文
posted @ 2021-10-14 15:10
PanPan003
阅读(522)
推荐(0)
摘要:
https://blog.elmah.io/debugging-system-outofmemoryexception-using-net-tools/ Welcome to the second part in the series about Debugging common .NET exce
阅读全文
posted @ 2021-10-13 17:17
PanPan003
阅读(240)
推荐(0)
posted @ 2021-10-12 11:35
PanPan003
阅读(0)
推荐(0)
摘要:
原文:https://haydenjames.io/how-to-diagnose-oom-errors-on-linux-systems/ How to diagnose OOM errors on Linux systems October 6, 2021 by Paul Gottschling
阅读全文
posted @ 2021-10-12 10:33
PanPan003
阅读(172)
推荐(0)
摘要:
Linux进程被杀掉(OOM killer),查看系统日志 基本概念: Linux 内核有个机制叫OOM killer(Out Of Memory killer),该机制会监控那些占用内存过大,尤其是瞬间占用内存很快的进程,然后防止内存耗尽而自动把该进程杀掉。内核检测到系统内存不足、挑选并杀掉某个进
阅读全文
posted @ 2021-10-12 10:31
PanPan003
阅读(320)
推荐(0)
摘要:
1. cmdif 需要上层决定如何处理(继续 or 跳过)then 抛出异常,增加 异常状态码(代替 返回(bool,string)) 2. 考虑 数据是否可重复充值event重置充值 vs 充值防止重复充值 =》 考虑后期运维的效率 3. result.hasError()尽量避免 状态的判断贯穿
阅读全文
posted @ 2021-10-11 13:19
PanPan003
阅读(53)
推荐(0)
摘要:
原文: https://cloudkul.com/blog/understanding-communication-docker-containers/ Understanding Communication Between Docker Containers SaveTweetShare In o
阅读全文
posted @ 2021-09-19 16:31
PanPan003
阅读(223)
推荐(0)
摘要:
原文: https://cloudkul.com/blog/understanding-communication-docker-containers/ Understanding Communication Between Docker Containers SaveTweetShare In o
阅读全文
posted @ 2021-09-19 16:30
PanPan003
阅读(53)
推荐(0)
摘要:
原文: https://michaeljolley.com/blog/communication-between-containers-using-docker-compose-in-windows/ services: iotapp: image: ${DOCKER_REGISTRY-}iotap
阅读全文
posted @ 2021-09-19 16:14
PanPan003
阅读(231)
推荐(0)
摘要:
PS D:\*****\Source> docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b648e78c5591 9bed25fc3a24 "/bin/bash ./startup…" 57 minutes ago Up
阅读全文
posted @ 2021-09-19 15:59
PanPan003
阅读(787)
推荐(0)
摘要:
原文: https://www.react.express/hooks/useref useRef With useRef we can create a mutable value that exists for the lifetime of the component instance. We
阅读全文
posted @ 2021-09-14 15:32
PanPan003
阅读(121)
推荐(0)
摘要:
原文: https://www.react.express/hooks/usecallback useCallback The useCallback hook lets us memoize functions. The return value will be the same function
阅读全文
posted @ 2021-09-14 15:27
PanPan003
阅读(64)
推荐(0)
摘要:
原文: https://www.react.express/hooks/usememo useMemo The useMemo hook lets us memoize values as a performance optimization. import React, { memo, useMe
阅读全文
posted @ 2021-09-14 15:19
PanPan003
阅读(105)
推荐(0)
摘要:
原文: https://www.react.express/hooks/useeffect useEffect By @msyleung We use the useEffect hook for calling functions with side effects within our comp
阅读全文
posted @ 2021-09-14 15:13
PanPan003
阅读(131)
推荐(0)