会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
IT-物语
【人们容易混淆行动与进展,混淆忙碌与多产。有效编程中最重要的工作是思考,而人思考时通常不会看上去很忙】一一《Code Complete》
博客园
首页
新随笔
联系
订阅
管理
2019年3月4日
vue 根据不同属性 设置背景
摘要: <td v-for="cell in row" > <input type="text" max-length='13' v-if="cell.key 'input'"/> <span class="circle" v-if="cell.key 'label'" :style="{backgroun
阅读全文
posted @ 2019-03-04 17:15 he0xff
阅读(1146)
评论(0)
推荐(0)
2018年3月13日
python3 写文件问题
摘要: 0x92 即 10010010,UTF8 中编码一个字符的第一个字节(start byte)只可能是 0xxxxxxx、110xxxxx、1110xxx、11110xxx……而后面的字节只可能是 10xxxxxx。也就是说 0x92 只能作为后面的字节,却出现在了第一个字节的位置。 出现这种问题绝大
阅读全文
posted @ 2018-03-13 19:51 he0xff
阅读(969)
评论(0)
推荐(0)
2018年2月27日
python 日期格式和字符串格式的转化
摘要: startDate = "2018-10-01"endDate = "2018-10-31"###字符转化为日期startTime = datetime.datetime.strptime(startDate, '%Y-%m-%d').time()endTime = datetime.datetim
阅读全文
posted @ 2018-02-27 16:16 he0xff
阅读(46837)
评论(0)
推荐(0)
2018年1月18日
npm install 报错 https://segmentfault.com/q/1010000006712506
摘要: run npm config get proxy看看拿到什么 如果上面的返回不为空,npm config set proxy null或者npm config delete proxy ,顺便把https的代理也关掉npm config set https-proxy null, 证书问题,把证书的
阅读全文
posted @ 2018-01-18 19:49 he0xff
阅读(271)
评论(0)
推荐(0)
mysql limit, order by 和 sum 不能同时 使用
摘要: (1)使用 sum之后 如果在 使用 order by , limit 则表示 整扔是全表表的sum SELECT * FROM `user` limit 0,1; SELECT sum(price) FROM `user` limit 0,1;
阅读全文
posted @ 2018-01-18 15:34 he0xff
阅读(665)
评论(0)
推荐(0)
2018年1月17日
mysql mybatis springMVC
摘要: mybatis中时间错误 1、SELECT * from table1 where create_time < '2017-12-18 23:59:59'; 2、SELECT * from table1 where create_time < '2017-12-18' '00:00:00'; 平时加
阅读全文
posted @ 2018-01-17 16:48 he0xff
阅读(124)
评论(0)
推荐(0)
2018年1月10日
poi 导出excel 中合并单元格
摘要: 参数说明 CellRangeAddress(起始行号,终止行号, 起始列号,终止列号).
阅读全文
posted @ 2018-01-10 16:15 he0xff
阅读(247)
评论(0)
推荐(0)
2017年10月19日
tomcat maxThreads 和 maxConnections 配置
摘要: (1)from:https://stackoverflow.com/questions/24678661/tomcat-maxthreads-vs-maxconnections Tomcat can work in 2 modes: BIO (one thread per connection),
阅读全文
posted @ 2017-10-19 16:37 he0xff
阅读(2313)
评论(0)
推荐(0)
2017年10月12日
springboot 中配置URL rewrite
摘要: http://blog.jdriven.com/2016/02/urlrewritefilter-load-configuration-with-spring-resourceloader/ urlrewrite.xml放在 resources文件夹下
阅读全文
posted @ 2017-10-12 20:05 he0xff
阅读(3463)
评论(0)
推荐(0)
2017年7月27日
js 直接验证;不让用户输入
摘要: onkeyup="value=value.replace(/[^\d]/g,'')"onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
阅读全文
posted @ 2017-07-27 20:19 he0xff
阅读(215)
评论(0)
推荐(0)
下一页
公告