1. charAt() 返回指定位置的字符。 str.charAt(index) index 为必须参数,类型为number(0到str.length-1之间,否则该方法返回 空串) 另外:str.charAt()即不带参数和str.charAt(NaN)均返回字符串的第一个字符 2. charCo ...
分类:
Web程序 时间:
2020-07-05 17:09:46
阅读次数:
57
STOS指令:是将AL/AX/EAX的值存储到[EDI]指定的内存单元中 存储哪个值到EDI中主要取决于数据宽度:字节、字、双字 STOS BYTE PTR ES:[EDI] ——BYTE:把al的值放到EDI指定的位置 简写:STOSB STOS WORD PTR ES:[EDI] ——WORD: ...
分类:
其他好文 时间:
2020-07-05 15:55:01
阅读次数:
136
//查找 function find(str,hasSortArr,callback) { let l=0,r=hasSortArr.length; let index=-1; if(hasSortArr.length>0){ const ri=callback(str,hasSortArr[r-1 ...
分类:
编程语言 时间:
2020-07-05 15:51:04
阅读次数:
62
1.密码特殊字符 [root@VM_0_111_centos redis]# cat mybigkeys.py #!/usr/bin/env python import sys import redis def check_big_key(r, k): bigKey = False length = ...
分类:
其他好文 时间:
2020-07-05 13:53:48
阅读次数:
153
周赛地址(英):weekly contest 196 周赛地址(中):第 196 场周赛 仓库地址:week-Leetcode 1502. Can Make Arithmetic Progression From Sequence Given an array of numbers arr. A s ...
分类:
其他好文 时间:
2020-07-05 13:51:11
阅读次数:
57
springboot集成 redis 哨兵模式配置如下 spring: redis: #Redis 哨兵模式 password: larry123456 sentinel: master: larry-master nodes: 192.168.127.130:26379,192.168.127.1 ...
分类:
编程语言 时间:
2020-07-05 13:42:48
阅读次数:
117
We have a wooden plank of the length n units. Some ants are walking on the plank, each ant moves with speed 1 unit per second. Some of the ants move t ...
分类:
其他好文 时间:
2020-07-05 13:12:51
阅读次数:
66
MySQL的数据类型 注意 选择合适的数据类型,能节省储存空间,提升计算性能。(1)在符合应用要求(取值范围、精度)的前提下,尽量使用“短”数据类型(2)数据类型越简单越好。(3)在MySQL中,应该用内置的日期和时间数据类型,而不是用字符串来存储日期和时间。(4)尽量采用精确小数类型(例如deci ...
分类:
数据库 时间:
2020-07-05 12:02:52
阅读次数:
73
from docx import Document from docx import WD_PARAGRAPH_ALIGNMENT w=Documeent(r'F:\word练习\a.docx') #第一种方法 t=w.add_table(3,3) t.cell(0,0).text='李先生' #第 ...
分类:
其他好文 时间:
2020-07-05 01:00:11
阅读次数:
76
import pandas from docx import Document excel=pandas.read_excel(r'F:\word练习\数据.xlsx',header=None) 文件=Document(r'F:\word练习\a.docx') 表=文件.add_table(4,4) ...
分类:
其他好文 时间:
2020-07-05 00:53:55
阅读次数:
72