摘要:
远程分支xxx,临时分支tmp_xxx git checkout -b tmp_xxx #创建并进入临时分支 git pull origin xxx #更新本地code git add . git commit -m "test pr" git push --set-upstream origin 阅读全文
摘要:
diango python manage.py报错 TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a peri 阅读全文
摘要:
windows和linux django版本 4.1.7 左linux,右windows 对比发现,windows的源码里多了storage folder,取消storage 后不再报错 阅读全文
摘要:
error Error: self signed certificate in certificate chain 解决方法:yarn config set "strict-ssl" false -g error Error: https://registry.npmmirror.com/lazys 阅读全文
摘要:
git clone报错 解决方案: git 添加代理 git config --global http.proxy 'http://xxx:xxx' git config --global https.proxy 'https://xxx:xxx' 阅读全文
摘要:
1.可编辑模式 document.body.contentEditable=true 2.网页无法复制 网页右击->检查->设置->首选项->勾选禁用JavsScript 阅读全文
摘要:
如何用在windows用inux tee命令将终端输出同时保存到文件? UnxUtils download | SourceForge.net 下载解压复制 UnxUtils\usr\local\wbin下的tee.exe到C:\Windows\System32下即可 阅读全文
摘要:
powershell (Get-CimInstance CIM_Processor).MaxClockSpeed[0]*(Get-Counter -Counter '\Processor Information(_Total)\% Processor Performance').CounterSam 阅读全文
摘要:
利用命令或脚本实现按CTRL_C退出的程序 Linux 用linux自带的命令实现 kill -2 pid windows 用python os.kill实现 import os,signal,re,sysfrom subprocess import *#tasklist | findstr soc 阅读全文
摘要:
用C写一个函数,然后python调用C函数 add.c #include <stdio.h> int add(int a, int b){ int t; t = a + b; printf("%d\n",t); return t; } /*int main(){ add(1,2); return 0 阅读全文