1. 介绍 2. GVRP的应用 3. join 4. Leave All 5. 应用 6. 单向注册和注销 7. 注册模式 7.1 normal 7.2 fixed 7.3 Forbiden(禁止,除了valn1) 8. 配置GVRP 验证 实验 ...
分类:
其他好文 时间:
2020-04-04 09:22:53
阅读次数:
64
1.修改源码 # 路径\xadmin\plugins\details.py # 大概在18行左右 def result_item(self, item, obj, field_name, row): if (self.show_all_rel_details or (field_name in se ...
分类:
其他好文 时间:
2020-04-03 18:23:59
阅读次数:
89
Publish .net standard library with all it's dependencies? 回答1 At the time of writing, it looks like it's by design and there's quite some fuss and con ...
分类:
Web程序 时间:
2020-04-03 18:05:51
阅读次数:
78
1、生成新增组织证书 对于fabric网络来说,要新增一个组织,首先是从证书开始,因为证书就是fabric里面的身份。这里使用fabric-ca生产组织证书。 docker-compose-ca_org3.yaml # Copyright IBM Corp. All Rights Reserved. ...
分类:
其他好文 时间:
2020-04-03 18:00:01
阅读次数:
63
$sub= '我有5斤大米,6斤白面,售卖100元'; 我想提取"有5斤大米"、"卖100元",用preg_match_all( '/.?\d+.?/', $sub, $match)出现乱码 改成preg_match_all( '/.?\d+.?/u', $sub, $match)后正常。 这里的小 ...
分类:
其他好文 时间:
2020-04-03 16:32:02
阅读次数:
93
找到字符串中所有字母易位词。给定一个字符串 s 和一个非空字符串 p,找到 s 中所有是 p 的字母异位词的子串,返回这些子串的起始索引。例子, Example 1: Input: s: "cbaebabacd" p: "abc" Output: [0, 6] Explanation: The su ...
分类:
其他好文 时间:
2020-04-03 15:13:48
阅读次数:
48
// // SceneDelegate.swift // 菜鸟教程 // // Created by udc on 2019/11/29. // Copyright © 2019 udc. All rights reserved. // import UIKit class SceneDelegat ...
分类:
移动开发 时间:
2020-04-03 13:57:05
阅读次数:
659
如为8.0以上版本,可以直接使用原生的json解析器处理,低版本不支持 select t1.* ,concat(replace(substr(result,instr(result,'"url":"') +7,instr(result,'"}')-instr(result,'"url":"') -7 ...
分类:
数据库 时间:
2020-04-03 12:25:24
阅读次数:
179
597. 好友申请 I :总体通过率 思路: 1. 统计申请表中的不重复行数,记为表A 2. 统计接受表中的不重复行数,记为表B 3. 表B结果/表A结果,IFNULL(,0)表示为空输出0 最终代码 602. 好友申请 II :谁有最多的好友 思路: 采用UNION ALL将表的requester ...
分类:
数据库 时间:
2020-04-03 01:02:23
阅读次数:
112
测试一下Linux下面删除大量文件的效率。 首先建立50万个文件 $ test for i in $(seq 1 500000);do echo text >>$i.txt;done 1. rm删除 $ time rm -f * zsh: sure you want to delete all th ...
分类:
系统相关 时间:
2020-04-02 22:15:55
阅读次数:
109