<?php /* * redis 分页数据类库 */ class redisPage{ protected $_redis; protected $_redis_ip = '127.0.0.1'; //ip protected $_redis_port = 6379; //端口 protected ...
分类:
Web程序 时间:
2021-05-24 04:07:35
阅读次数:
0
进入grub引导界面 #GRUB_TIMEOUT_SYTLE=hidden GRUB_TIMEOUT=10 GRUB_CMDLINE_LINUX_DEFAULT="text" update-grub bionic: windows subsystem linux /etc/apt/sources.l ...
分类:
系统相关 时间:
2021-05-24 02:44:03
阅读次数:
0
在 linq to sql 中,我们查询到的数据是Iqueryable 类型的结果。 在Iqueryable中的 where方法,我们使用的 lambda表达式 ,得用 没有return 语句类型的。否则会报错 举例: 错误显示:无法将具有语句体的lambda表达式转化为表达式树, 因此应该要应用这 ...
分类:
数据库 时间:
2021-05-24 02:19:09
阅读次数:
0
看看我 Sometimes we need to convert a column to row in JavaScript array. It might be helpful to pass it as web service argument, generating chart dynamic ...
分类:
编程语言 时间:
2021-05-24 01:49:28
阅读次数:
0
花了不少功夫,终于将这个手册翻译完了。 bootstrap5已经到来了,它带来了很多很好的更新。我是一个bootstrap爱好者,我已经用bootstrap为我的项目构建了我的大多数网站和web应用程序。bootstrap这些年提供的无缝UI和网格系统是我喜欢bootstrap创建任何网站的主要原因 ...
分类:
其他好文 时间:
2021-05-24 00:00:16
阅读次数:
0
JdbcTemplate的源码 注意QueryStatementCallback 是一个类。 public Object query(final String sql, final ResultSetExtractor rse) throws DataAccessException { if (sq ...
分类:
编程语言 时间:
2021-05-23 23:56:56
阅读次数:
0
相当于sleep 1秒 setTimeout(function () { console.log('我被调用了'); setTimeout(arguments.callee, 1000); }, 1000); 相当于sleep 1秒 【程序不会挂住,直接运行接下来的代码】 setInterval(f ...
分类:
编程语言 时间:
2021-05-04 15:35:41
阅读次数:
0
SpringBoot 整合 redis 实现 token 验证 在上一节中,实现了 SpringBoot + redis 的整合,因此在这里只列出必要部分的 redis 代码。 1、Redis 依赖 <!-- redis --> <dependency> <groupId>org.springfra ...
分类:
编程语言 时间:
2021-05-03 12:03:59
阅读次数:
0
Vue router如何传参 要点总结:在vue-router中,有两大对象被挂载到了实例this;$route(只读、具备信息的对象);$router(具备功能的函数) 查询字符串:去哪里 ?<router-link :to="{name:'detail',query:{id:1}}"> xxx ...
分类:
其他好文 时间:
2021-05-03 11:55:38
阅读次数:
0
1、 def findmtm2(request): import serializer import json # 多对多跨表正向查询 # res = softlist.objects.filter(hostlists__ip="10.116.6.177").values("softname") r ...
分类:
数据库 时间:
2021-05-03 11:51:42
阅读次数:
0