
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
需求 在树莓派上使用4G 上网卡上网.以下内容都是在设备没有加入任何网络的情况下进行的.如设备已连入局域网或者可以访问公网, 直接翻到文章最后.下载树莓派系统镜像我下载的是 ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.img.xzTorrent: magnet:?xt=urn:btih:D0F23C109D8662
gitlab集成 redmine issueweb 容器我使用的是 nginxnginx 配置目录 /etc/nginx/nginx.confnginx html 文件目录 /var/www/cgi/更改 nginx/redmine 进程运行用户启动 nginx 后, redmine 不会有任何进程. 当访问 redmine 后, 后台会 fork 一个子进程.ps aux|gre...
在树莓派上用 shell 重启 usb 设备cd /sys/devices/platform/soc/echo 0 > buspower; sleep 10; echo 1 > buspower;
摘要:本文分析了Redis连接池使用中出现的"Connection closed by server"错误。研究发现,当多个进程或线程共享Redis实例时,调用aclose()方法会重置connection为None并释放连接,导致连接异常。通过重写SafeRedis类的aclose方法,避免重置connection属性,仅释放连接回池中,解决了多线程环境下的连接泄漏问题。解决
含中文:where nameregexp '[^ -~]'不含中文: where name notregexp '^[^ -~]'后来说需要查询日文 参考资料得知:utf-8 (unicode)/u4e00-/u9fa5 (中文)/x3130-/x318f (韩文)/xac00-/xd7a3 (朝鲜文)/u0800-/u4e00 (日文)汉字正则: e[4-9][0-...
嵌入式浏览器调研CEF (Chromium Embedded Framework): https://bitbucket.org/chromiumembedded/cefnw.js(Chromium/Node.js) https://github.com/nwjs/nw.jsHEX(CEF) https://github.com/netease-youdao/hexelectron...
容器中使用 hostname 访问外部服务AWS 上有一个集群服务, VPS 之间使用 ip-xx-xx-xx-xx 是可以直接访问的.现在有个需求, 要在某几台机器部署 docker, 在容器内访问集群内的服务. 并且使用 hostname 实现.# 创建 Dockerfilecat > Dockerfile << EOFFROM alpineEOF# 创建 d...
#!/usr/bin/env python# -*- coding: utf-8 -*-import urllib2import reu = urllib2.urlopen('http://zhangzhipeng2023.cn/ip.txt')r = u.readlines()result = 'result_ip_address'with file(result,'w')as
#!/usr/bin/python#Feel free to use this however you like. The post with information about it and usage at http://networkstatic.net -Brent Salisburyimport reimport osimport timeimport shutilimpor
linux下easy_install mysql-python : ImportError: Entry point ('console_scripts','easy_install') not found原创所有,转载附明本文超链接地址以及作者,谢谢!http://blog.sina.com.cn/s/blog_83dc494d0101c3fs.html今天第一次碰django的东西







