$("#test1").parent(); // 父节点 $("#test1").parents(); // 全部父节点 $("#test1").parents(".mui-content");//返回class为mui-content的父节点 $("#test1").children(); // ...
分类:
Web程序 时间:
2020-07-20 13:17:42
阅读次数:
76
概述 本文主要介绍正则表达式的代码使用。 学习正则表达式的基本语法,可以参考使用手册:https://tool.oschina.net/uploads/apidocs/jquery/regexp.html 但是有几个问题需要特别注意: ① 转义符号 \ 的问题 比如,我们需要匹配一个数字,对应的正则 ...
分类:
编程语言 时间:
2020-07-20 13:08:56
阅读次数:
78
Given a string S, return the number of substrings of length K with no repeated characters. Example 1: Input: S = "havefunonleetcode", K = 5 Output: 6 ...
分类:
其他好文 时间:
2020-07-20 10:52:27
阅读次数:
55
总算信了那句跳出一个老坑,步入一个新坑。入职新公司后总有一些奇葩问题需要你来解决。 jira internal directory convert to ldap 这个 我 google 百度 了好几遍。 总的来说操作步骤很简单 update cwd_user set directory_id=10 ...
分类:
其他好文 时间:
2020-07-20 10:19:13
阅读次数:
80
运行spark时提示如下信息: hadoop@MS-YFYCEFQFDMXS:/home/trp$ cd /usr/local/spark hadoop@MS-YFYCEFQFDMXS:/usr/local/spark$ ./bin/pyspark env: ‘python’: No such fi ...
分类:
编程语言 时间:
2020-07-19 23:47:58
阅读次数:
111
部署etcd错误总结 1、conflicting environment variable "ETCD_NAME" is shadowed by corresponding command-line flag (either unset environment variable or disable ...
分类:
其他好文 时间:
2020-07-19 23:33:44
阅读次数:
466
abstract: 抽象的 1.可以用来修饰:类、方法 2.具体的:abstract修饰类:抽象类 * > 此类不能实例化 * > 抽象类中一定有构造器,便于子类实例化时调用(涉及:子类对象实例化的全过程) * > 开发中,都会提供抽象类的子类,让子类对象实例化,完成相关的操作 >抽象的使用前提:继 ...
分类:
其他好文 时间:
2020-07-19 23:32:42
阅读次数:
71
PHP 7 除了在性能方面有极大提升外,还添加了很多新的特性,如太空船操作符、标量类型声明、返回值的类型说明、全局的 throwable 接口、抽象语法树等,下面分别介绍。 太空船操作符 太空船操作符用于比较两个表达式。例如,当$a小于、等于或大于$b时,它分别返回-1、0或1。比较的原则沿用PHP ...
分类:
Web程序 时间:
2020-07-19 23:30:12
阅读次数:
89
缓存机制 ListView的两级缓存 ListView的缓存和复用由它的父类AbsListView中的RecycleBin实现,设了两个缓存数组mActiveViews和mScrapViews。mActiveViews缓存显示在屏幕中的view,mScrapViews按ViewType缓存离屏的vi ...
分类:
移动开发 时间:
2020-07-19 23:23:51
阅读次数:
220
create function uf_findx (@text nvarchar(max),@find_x varchar(200),@find_n int)returns intasbegin --第n位无效参数返回0 if @find_n<1 return (0); --字符串不含指定字符串返回 ...
分类:
其他好文 时间:
2020-07-19 23:11:26
阅读次数:
79