会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AngDH
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
109
110
111
112
113
114
115
116
117
···
123
下一页
2019年8月16日
python线程锁
摘要: # 加锁 c = threading.RLock() with c: fd = datetime.datetime.strptime(fromDate, "%Y-%m-%d")
阅读全文
posted @ 2019-08-16 14:40 AngDH
阅读(145)
评论(0)
推荐(0)
2019年8月15日
nginx 自动补全www,当不输入www时候自动补全www
摘要: https://blog.csdn.net/lzwglory/article/details/44307573 在 server 里面 加上 rewrite server { if ( $host != 'www.xxxx.net' ) { rewrite "^/(.*)$" http://www.
阅读全文
posted @ 2019-08-15 14:37 AngDH
阅读(1683)
评论(0)
推荐(0)
2019年8月10日
redis desktop manager 远程连接服务器上的redis
摘要: 开放 阿里云 6379 端口 把 bind 127.0.0.1 变成 bind 0.0.0.0 把 protected-mode yes 变成 protected-mode no 后台 启动 把 daemonize no 变为 daemonize yes
阅读全文
posted @ 2019-08-10 12:08 AngDH
阅读(1298)
评论(0)
推荐(0)
2019年8月8日
linux nohup后台执行脚本并指定文件输出 ,nohup 修改默认日志输出文件
摘要: nohup sh inotify3.sh >>333.out & nohup python -u sss.py >> 123.out &
阅读全文
posted @ 2019-08-08 10:45 AngDH
阅读(16594)
评论(0)
推荐(2)
2019年8月2日
node.js是什么
摘要: Node.js 不是一种独立的语言,与php即是语言也是平台 不同, 也不是 javaScript 的框架 ,更不是 浏览器 的库,不能与ExtJs 相提并论 . Node.js 是一个让JavaScript 运行在 服务端 的开发平台. JavaScript 是由客户端而产生,Node.js 为网
阅读全文
posted @ 2019-08-02 13:35 AngDH
阅读(128)
评论(0)
推荐(0)
2019年7月31日
mysql 实现像python中rsplit() 根据最后一个空格分隔 ,根据最后一个 逗号 分割, 取最后一个逗号之前的 ,取最后一个空格之前的,倒数第几个逗号之前
摘要: 原来 字符 为 原 : 结果 SAMARINDA, KALIMANTA __________________________________________________________________________________________________________________
阅读全文
posted @ 2019-07-31 14:15 AngDH
阅读(1365)
评论(0)
推荐(0)
2019年7月29日
python基础 filter ,列表,字典,集合 中根据 条件 筛选 数据
摘要: 或者使用 列表解析 速度快 对字典的筛选 对 集合 的筛选 找出 被 3整除 的
阅读全文
posted @ 2019-07-29 23:48 AngDH
阅读(498)
评论(0)
推荐(0)
2019年7月24日
python使用with开启线程锁
摘要: c = threading.RLock() with c: fd = datetime.datetime.strptime(fromDate, "%Y-%m-%d") fromDate = fd.strftime("%m-%d-%Y")
阅读全文
posted @ 2019-07-24 16:38 AngDH
阅读(258)
评论(0)
推荐(0)
2019年7月22日
python爬虫,接口是post请求,参数是request payload 的形式,如何传参
摘要: payload = { "tmpFdt": eta, "tmpNacd": pol_code_ex, "tmpPod": tmpPod, "tmpPol": tmpPol } # 传json格式的参数 jdata = json.dumps(payload) res = sessio...
阅读全文
posted @ 2019-07-22 14:18 AngDH
阅读(6990)
评论(0)
推荐(0)
2019年7月15日
nginx yum安装启动
摘要: yum install nginx 启动 cd /usr/sbin/ ./nginx 命令参数 nginx -t 测试配置是否正确 nginx -s reload 加载最新配置 nginx -s stop 立即停止 nginx -s quit 优雅停止 nginx -s reopen 重新打开日志
阅读全文
posted @ 2019-07-15 23:44 AngDH
阅读(724)
评论(1)
推荐(0)
上一页
1
···
109
110
111
112
113
114
115
116
117
···
123
下一页
公告