设备:Macbook Pro 14 2021
系统版本:macOS 12.6.7 (21G651)
背景:使用之前网上的教程配置好后会发现sz file后反复跳出文件保存位置的选框,rz也是无反应
解决方案:因为brew安装lrszs的位置有发生改变导致,之前/jusr/local/bin下的脚本iterm2-*.sh中的内容要改一下,从/usr/lo...            
            
        
                
			
			
            
    			建议多看red hat官方文档:Analyzing a core dump
1、安装kdump
dnf install kexec-tools
2、配置kdump(/etc/kdump.conf)
```
auto_reset_crashkernel yes
path /var/crash
core_collector makedumpfile -z ...            
            
        
                
			
			
            
    			代码:
#include <stdio.h>
int addHashMap(int value,int num,int hMap[],int markArray[])
{
    for(int i=0;i<num;i++)
    {
        if(markArray[(value%num)+i]!=0)
        ...            
            
        
                
			
			
            
    			代码:
#include <stdio.h>
#include <stdlib.h>
typedef struct BiNode
{
    int data;
    struct BiNode *lchild;
    struct BiNode *rchild;
    struct BiNode *father;   ...            
            
        
                
			
			
            
    			该方案使用的前提为使用nginx监听端口转发vless(vmess) websocket流量,并且不保证在所有版本的xray(v2ray)有用,仅个人记录使用。
1、在nginx.conf中添加域limit
limit_conn_zone $binary_remote_addr zone=limit:10m;
2、在default配置文件中对需要限速端...