会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
huim
仗剑天涯
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
18
下一页
2019年12月6日
ping命令传递信息
摘要: ``` IP: 适用于 eth0 inet addr: IP的情况 ping .vivo_fj_ip.q734y5p2.dnslog58.top ping ip. .kiwe2t.dnslog.cn 适用于 eth0 IP的情况 ping .vivo_fj_ip.q734y5p2.dnslog58.
阅读全文
posted @ 2019-12-06 04:31 huim
阅读(569)
评论(0)
推荐(0)
2019年11月23日
only_full_group_by
摘要: ``` ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'xxxxx' which is not functionally dependent on columns in GROUP BY clause; this is inco...
阅读全文
posted @ 2019-11-23 03:08 huim
阅读(129)
评论(0)
推荐(0)
2019年11月19日
celery retry发送的队列
摘要: ``` celery retry时,将发送到原有的队列,并在任务中加入执行的时间,以及当前重试的次数。 worker立刻读取该任务,同时记录一条【任务】到 unacked中,表示该任务在worker中还未执行。 eyJleHBpcmVzIjogbnVsbCwgInV0YyI6IGZhbHNlLCAiYXJncyI6IFsiMTIzNCJdLCAiY2hvcmQiOiBudWxsLCAiY2FsbG
阅读全文
posted @ 2019-11-19 19:07 huim
阅读(490)
评论(0)
推荐(0)
2019年11月14日
python logging 重定向print(标准输入输出)
摘要: 重定向print输出到Mongo logging.getLogger(logname)
阅读全文
posted @ 2019-11-14 12:09 huim
阅读(1836)
评论(0)
推荐(0)
2019年11月5日
django 时间格式(全局修改,不用过滤器)
摘要: 百度了一圈,很没创意的用过滤器,前端每次显示时间表格都要用过滤器,这种挺烦的。隐约记得以前见过没有用过滤器的。换google https://stackoverflow.com/questions/53402437/formatting datetimefield in django 完美解决,全局
阅读全文
posted @ 2019-11-05 00:45 huim
阅读(671)
评论(0)
推荐(0)
2019年10月28日
华硕ASUS U5800GE驱动
摘要: 重要的触摸板
阅读全文
posted @ 2019-10-28 18:12 huim
阅读(354)
评论(0)
推荐(0)
2019年10月18日
pycharm 代码跟进以跳回/返回
摘要: 方法1 View—— Toolbar—— 左上方的左右箭头,可以跳转光标位置,左箭头可以放回 方法2 设置快捷键 setting—— keymap—— Main menu—— Navigate—— back返回 Forward跟进 设置时选择自己方便操作的快捷键,消除快捷键原本的绑定 我设置了 ct
阅读全文
posted @ 2019-10-18 13:09 huim
阅读(1973)
评论(0)
推荐(0)
2019年9月25日
linux多jdk切换环境
摘要: ``` 临时更改 export JAVA_HOME="/opt/soft/jdk/jdk1.8.0_66" export JRE_HOME="$JAVA_HOME/jre" newCLASSPATH=$(echo $(echo ${PATH} | awk F ':' '{for(i=1;i
阅读全文
posted @ 2019-09-25 18:09 huim
阅读(408)
评论(0)
推荐(0)
2019年9月24日
celery timeout的拦截
摘要: 0X01 场景 celery任务超时报错,想查看是传入哪一类数据运行时导致的超时(哪一个插件),但是该报错难以拦截。 该超时报错属于celery worker(MainProcess)调用时超时的报错,无法在任务中拦截。 0X02 方法 一 使用 soft_time_limit参数。 time_li
阅读全文
posted @ 2019-09-24 21:00 huim
阅读(1252)
评论(0)
推荐(0)
2019年9月6日
chrome开启headless模式以及代理
摘要: 1 chrome.exe google-chrome-stable --disable-gpu --remote-debugging-port=9222 --headless -remote-debugging-address=0.0.0.0 --disable-xss-auditor --no-s
阅读全文
posted @ 2019-09-06 11:38 huim
阅读(1865)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
18
下一页
公告