Openwrt开机自启frpc


cd /etc/init.dvim frpc#!/bin/sh /etc/rc.commonSTART=99STOP=90SERVICE=frpcUSE_PROCD=1PROC="/usr/bin/frpc -c /root/frpc/frpc.toml"start_servic

Juputer NoteBook 添加cpp Kernel


Juputer NoteBook 添加cpp Kernelwarning: 仅在linux和macos下可用安装minicondahttps://docs.anaconda.com/free/miniconda/创建环境conda create --name cling python=3.10配置代

Github提交代码失败,22端口拒绝连接解决

折腾 

Github提交代码失败,22端口拒绝连接解决打开这个文件C:\Users\meowrain\.ssh\config添加下面的就行# GitHubHost github.comPort 443User gitHostName ssh.github.com

maven settings.xml


此配置使用代理服务器进行下载包<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software Foundation (ASF) under oneor mor

vscode-vim插件配置

折腾 

"vim.easymotion": true, "vim.useSystemClipboard": true, "vim.hlsearch": true, "vim.leader": "<

gdb日常使用


https://zhuanlan.zhihu.com/p/162164942常用命令break n (简写b n):在第n行处设置断点(可以带上代码路径和代码名称: b OAGUPDATE.cpp:578)b fn1 if a>b:条件断点设置break func(break缩写为b):在函数fun

Tmux 快捷键& 速查表& 简明教程


原文:https://gist.github.com/ryerh/14b7c24dfd623ef8edc7注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。Tmux 快捷键 & 速查表 &

windows查看端口占用和使用端口的程序

折腾 

三个命令查看占用端口的PIDnetstat -aon|findstr "port"示例:netstat -aon|findstr "2081"查找2081端口被哪个程序占用,最右侧 的就是程序PIDtasklist|findstr "PID"

Powershell一些好用的命令


查看所有环境变量Get-ChildItem Env:这里我们还可以把命令结果用>保存为文件例如Get-ChildItem Env: > env_variables.txt查看Path 系统变量内容$Env:PATH设置会话代理https://learn.microsoft.com/en-

Windows系统scoop快速配置编程和工具环境


安装scoop> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time> irm get.scoop.sh | iex更新软