- 博客(4)
- 收藏
- 关注
原创 Redis命令 getbit 数字2 返回的二进制为00110010
redis> set test 2 redis> getbit test 0 0 redis> getbit test 1 0 redis> getbit test 2 1 redis> getbit test 3 1 redis> getbit test 4 0 redis> getbit test 5 0 redis> getbit test 6 1 redis> getbit test 7 0 因为redis中的2是字符串,按照ASCII对照表,
2021-04-14 11:10:19
653
原创 css 排除具有某个class的项
#idname li:not(.classA){ display:inline-block; } 增加样式时将li中有class的去掉
2016-12-13 16:40:24
20759
原创 PHP strtotime指定日期上增加一天
strtotime($params['date']."+1 day"); strtotime("2016-11-07 +1 day"); strtotime("2016-11-07+1 day");
2016-11-07 14:20:44
20470
原创 MYSQL中设置的索引不起作用
在tableA和tableB中同时包含字段xid,当进行查询:select * from tableA left join tableB on tableA.xid = tableB.xid时,在tableB的xid上建索引,但是查询很慢,使用explain发现索引没有起作用。原因是tableA中的xid是int类型的,而tableB中的xid是varchar类型的。将tableB中的xid修改为
2016-10-26 14:36:17
989
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅