摘要:
2019-3-7 未来很远,勇往直前 2020-4-18 品质第一就是一次性把事情做对 2020-5-30 对的事情反复做 2020-6-25 临渊羡鱼,不如退而结网 -- 《淮南子·说林训》 2020-12-20 假装勤奋:不应该只做自己熟悉的事,而应该去研究真正应该掌握的技能 2021-1-2 阅读全文
摘要:
推荐阅读: Beej's Guide to Network ProgrammingEnglish:https://beej.us/guide/bgnet/html/multi/inet_ntopman.html繁体中文,目录清晰:http://beej-zhtw.netdpi.net/09-man- 阅读全文
摘要:
参见 《unix 环境高级编程》第13 章 精灵进程 Syslog为每个事件赋予几个不同的优先级: 范例: ➜ c git:(master) ✗ gcc logtest.c -std=c99➜ c git:(master) ✗ ./a.out 检验: tail -f /var/log/syslog 阅读全文
摘要:
通过配置环境变量,达到使用python命令启动python2,使用python3命令启动python3,pip启动pip2, pip3启动pip3的目的,互不影响。 1.安装python2.7 安装python3.7 https://www.python.org/ 2.添加环境变量python27, 阅读全文
摘要:
nc传文件 先启动接收方 nc -l -p 9999 > index.lua 后启动发送方 nc 192.168.1.1 9999 < index.lua 阅读全文
摘要:
一 nslookup指定服务器查询域名解析时间 root@X:/data# dig @114.114.114.114 www.baidu.com ; <<>> DiG 9.9.2-P2 <<>> @114.114.114.114 www.baidu.com; (1 server found);; g 阅读全文
摘要:
我们只是希望能够从外部访问到docker而已,并不需要去折腾该死的网络模式,桥接,host等等。 -p: 端口映射,格式为:主机(宿主)端口:容器端口 sudo docker run -t -i -p 5000:5000 ubuntu14.04/first 也可以这样 sudo docker run 阅读全文
摘要:
解决方法: locate libssl.so.1.0.0 sudo rm /usr/local/lib/libssl.so.1.0.0 sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/local/lib/libssl.so.1.0.0 su 阅读全文
摘要:
我是用https://lamp.sh/安装的,apache配置文件位置在:/usr/local/apache/conf/httpd.conf如果是直接安装的apache,配置文件应该在:/etc/httpd/conf/httpd.conf使用httpd -V 命令即可查看 #httpd -V Ser 阅读全文
摘要:
解决MAC Appium设备连不上IOS的的问题 错误的: [XCUITest] The 'idevice_id' program is not installed. If you are running a real device test it is necessary. Install wit 阅读全文
摘要:
安装了appium 1.9.1后一直报错Fatal TypeError: Class constructor BaseDriver cannot be invoked without 'new',无法启动,卸载后安装1.8.1可以正常使用了。 npm install -g cnpm --regist 阅读全文
摘要:
#lua test.lua 2 5 arg[0]= test.lua arg[1]= 2 arg[2]= 5 if arg[1] and arg[1] == "2" then print("arg[1]=2") end 阅读全文
摘要:
➜ ~ df -h Filesystem Size Used Avail Use% Mounted on/dev/sda2 114G 97G 12G 90% /media/brian/4ef34b75-9381-4e31-a721-74444c6f9960/dev/sdb3 152G 46G 99G 阅读全文
摘要:
Just follow these steps: To stop connection run poff dsl-provider 指定拨号网卡sudo vi /etc/ppp/peers/dsl-providerplugin rp-pppoe.so eth2 pon命令详解 1.pon命令不带参数 阅读全文
摘要:
docker 我就把它当虚拟机吧,比虚拟机高级,轻量级,好用。 1.安装docker http://www.runoob.com/docker/ubuntu-docker-install.html2.拉取镜像docker pull chug/ubuntu14.04x643.启动镜像docker ru 阅读全文