码迷,mamicode.com
首页 >  
搜索关键字:active record    ( 6690个结果
java String转List<Device>集合
// 从Redis中获得正常设备的数量 String success = redisService.get(RedisKey.CULTIVATION_RECORD_SUCCESS); //建立一个list集合类型是设备类 List<Device> listSuccess = new ArrayLis ...
分类:编程语言   时间:2020-03-18 15:12:21    阅读次数:84
java.util.zip.ZipException: invalid LOC header (bad signature)
记录下最近遇到的一些记录的东西: 项目中引用消息中间件,pom文件中添加了依赖,并maven-update,maven-install等,项目启动之后,一直报下面的异常。 Could not index class org/apache/activemq/artemis/api/jms/Active ...
分类:编程语言   时间:2020-03-18 09:52:04    阅读次数:63
微信小程序之选项卡的实现方法
微信小程序里没有自带选项卡组件,但是却带有swiper组件,所以,我们便利用swiper来实现选项卡的功能。 先看效果图: wxml代码: 1 <view class="swiper-tab"> 2 <view class="swiper-tab-item {{currentTab==0?'acti ...
分类:微信   时间:2020-03-17 23:57:39    阅读次数:135
文件修改和函数的基本使用
1、seek的使用 实现Linux系统tail -f 功能(动态监测日志最后一行新写入的内容) 第一个.py文件 import time with open('access.log', mode='rb') as f: f.seek(0,2) # 将指针跳到文件末尾 while True: line ...
分类:其他好文   时间:2020-03-17 19:42:39    阅读次数:60
VisualLisp若干常用代码
1 ;;;当前AutoCAD任务中的顶层AutoCAD应用程序对象 2 (Vlax-Get-Acad-Object) 3 (Setq acadObject (Vlax-Get-Acad-Object)) 4 5 ;;;当前的文档 6 (Vla-Get-ActiveDocument (Vlax-Get ...
分类:其他好文   时间:2020-03-16 17:38:31    阅读次数:119
vue+element 点击页面内跳转按钮 导航菜单选中
<template> <el-menu router theme="dark" :default-active="activeIndex" class="el-menu-demo" active-text-color="rgb(250,83,83)" mode="horizontal" @selec ...
分类:其他好文   时间:2020-03-16 15:00:39    阅读次数:521
C#学习--SQLserver、oracle、MySQL和Access的封装源码
/* * // author:HQ * // describe:Database connet * // date:2019-10-08 * */ using System; using System.Collections.Generic; using System.Data; using Sys ...
分类:数据库   时间:2020-03-16 09:30:03    阅读次数:59
被控端zabbix安装
安装zabbix-agent[root@tz ~]# yum -y install zabbix-agent配置zabbix-agent先备份原配置文件[root@tz ~]# cp /etc/zabbix/zabbix_agentd.conf /etc/zabbix/zabbix_agentd.c... ...
分类:其他好文   时间:2020-03-15 20:48:35    阅读次数:98
面向对象之内部类
[toc] 内部类是什么?它有什么特点?有什么使用场景? 内部类,顾名思义就是定义在另一个类里面的类。就像下面这样: 通过编译上面的java文件我们发现最后总共产生了两个字节码文件:Outer.class和Outer$Inner.class。第一个很好理解,我们需要注意最后一个,因为完全有下面这种可 ...
分类:其他好文   时间:2020-03-15 13:14:55    阅读次数:49
webmagic创始人回答:ebMagic默认的HttpClient只会用TLSv1去请求,对于某些只支持TLS1.2的站点(例如 https://juejin.im/) ,就会报错:
见官方文档解决方案:https://github.com/code4craft/webmagic/issues/701 webmagic创始人回答: code4craft commented on 29 Nov 2017 ? 更新会在0.7.4版本发布。 临时适配方式,修改HttpClientGen ...
分类:Web程序   时间:2020-03-14 13:20:20    阅读次数:81
6690条   上一页 1 ... 58 59 60 61 62 ... 669 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!