# 正则 正则式针对字符串的操作import res = '{"mobilephone": "${borrow_user}", "pwd": "${borrow_pwd}"}'d = {"mobilephone": "18511295864", "pwd": "123456"}p = '\$\{(. ...
分类:
其他好文 时间:
2020-04-06 17:25:37
阅读次数:
75
队列是一种特殊的线性表。队列有单向队列和双向队列,队列内部结构多大使用数组和链表存储,一般使用数组存储的都会有初试长度和最大长度等,一般使用链表存储没有长度限制。平时在使用中最好不要像队列中插入null(通常也不允许,LinkedList除外),因为null值通常用于poll方法表示当前队列没有元素... ...
分类:
其他好文 时间:
2020-04-04 11:20:45
阅读次数:
71
题目一览 源码: 过关要求: Claim ownership of the contract below to complete this level. 成为合约的所有者。 分析&求解 这题其实……先来学习一下Solidity的构造函数和析构函数吧。 其实和java有点类似,构造函数是类初始化时候执 ...
分类:
其他好文 时间:
2020-04-03 22:18:28
阅读次数:
77
一、什么是流程定义 流程定义是线下bpmn2.0标椎去描述业务流程,通常使用activiti-explorer(web控制台)或 activiti-eclipse-designer 插件对业务流程进行建模,这两种方式都遵循 bpmn2.0 标准。使用designer 设计器绘制流程,会生成两个文件: ...
分类:
其他好文 时间:
2020-04-02 22:53:14
阅读次数:
80
一、单个匹配 import re print(re.findall('\w', 'aAbc123_*()-=')) # 规则为 “数字或字母或下划线” 结果为 ['a', 'A', 'b', 'c', '1', '2', '3', '_'] print(re.findall('\W', 'aAbc1 ...
分类:
其他好文 时间:
2020-04-02 01:10:47
阅读次数:
60
网上找的没有指令码这列 自己把它加上 更方便查阅 指令从0x00-0xc9 没有0xba 常量入栈指令 指令码 操作码(助记符) 操作数 描述(栈指操作数栈) 0x01 aconst_null null值入栈。 0x02 iconst_m1 -1(int)值入栈。 0x03 iconst_0 0(i ...
分类:
编程语言 时间:
2020-03-31 22:58:23
阅读次数:
74
List中除了从Collection结合继承的方法外,List集合里添加了一些根据索引来操作集合的 方法 List的常用方法 1、 void add(int index,Object ele) 2、 Boolean addAll(int index,Collection eles) 3、 Objec ...
分类:
其他好文 时间:
2020-03-24 22:55:03
阅读次数:
75
Given a knight in a chessboard (a binary matrix with 0 as empty and 1 as barrier) with a source position, find the shortest path to a destination posi ...
分类:
其他好文 时间:
2020-03-20 13:06:50
阅读次数:
61
在使用 eclipse 时, eclipse 的右下角 一直在提示 “JPA java change event handler” ,eclipse使用起来很卡,解决办法问题描述: 在使用 eclipse时, eclipse 的右下角 一直在提示 “JPA java change event han ...
分类:
编程语言 时间:
2020-03-19 09:19:09
阅读次数:
115
/*输入检查*/ function user_input() { user = $('#user').val(); password = $('#password').val(); if (trim(user) == "" || trim(password) == "") { alert("用户名或 ...
分类:
Web程序 时间:
2020-03-15 18:53:48
阅读次数:
90