classmethod class Classmethod: def __init__(self,func): self.func=func def __get__(self, instance, owner): def test(*args,**kwargs): return self.func( ...
分类:
其他好文 时间:
2020-07-11 19:44:00
阅读次数:
64
本系列主要关于Jenkins-CI实操记录与问题解决方案 概述 采用的环境以VMware中的虚拟机Cento610为基准,以Jdk1.8.0_231、mvn3.3.9、dotnetcore2.1/2.2/3.0/、git、svn作为基础环境,以java应用、dotnetcore两大方向进行就开发中的 ...
分类:
其他好文 时间:
2020-07-11 19:24:42
阅读次数:
72
供应商原生开发套件,Vendor Native Development Kit,简称VNDK. 问题引发:vndksupport:Could not load demo.so from default namespace:dlopen failed: library “libstdc++.so” n ...
分类:
移动开发 时间:
2020-07-11 14:21:21
阅读次数:
166
Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. Th ...
分类:
其他好文 时间:
2020-07-11 12:41:31
阅读次数:
54
You are given a doubly linked list which in addition to the next and previous pointers, it could have a child pointer, which may or may not point to a ...
分类:
其他好文 时间:
2020-07-11 09:24:32
阅读次数:
64
系统环境: canal-1.1.4 es 5.5.0 transport方式连接es 各项配置可以直接参考canal官方文档,由于1.1.4支持的es版本为6.x以上,其他版本需要替换依赖重新编译client-adapter.elasticsearch模块,以下为es5.5.0低版本兼容方案以及个人 ...
分类:
数据库 时间:
2020-07-10 23:59:10
阅读次数:
148
1、在 VerifyCsrfToken 中间件中(文件位置:app/Http/Middleware/VerifyCsrfToken.php)将要排除的 URL 添加到 $except 属性数组中。 1 <?php 2 namespace App\Http\Middleware; 3 4 use Il ...
分类:
其他好文 时间:
2020-07-10 19:31:16
阅读次数:
75
一 、前言 我是把Linux系统安装在虚拟机中的,用的是VMware。 在终端工具和操作界面中。 VMware里面采用的网络适配器是NAT技术。 标题中的Centos和RHEL区别就不多说了,自行百度。 ping不通域名和IP地址;并且ifconfig命令回车之后并不会出来正确的IP地址。 ip a ...
分类:
其他好文 时间:
2020-07-10 13:43:48
阅读次数:
86
输入nmtui命令 敲空格开启. 之后一直退出 重启 reboot 确认开启虚拟机的NAT、DHCP服务 win+r->输入services.msc 这两个服务确定开启 进入虚拟机输入ip addr 将该信息输入xshell 成功 ...
分类:
系统相关 时间:
2020-07-10 12:59:21
阅读次数:
129
React Hooks 是 React 16.8 的新功能,可以在不编写 class 的情况下使用状态等功能,从而使得函数式从无状态的变化为有的。React 的类型包 @types/react 中也同步把 .SFC (Stateless Functional Component) 改为了 React ...
分类:
其他好文 时间:
2020-07-10 00:40:00
阅读次数:
79