1.redis是单线程,高性能的key/value内存数据,基于内存运行并支持持久化的NoSQL数据库 2.redis主要用来做缓存,但不仅仅是做缓存,例如:redis的计数器生成分布式唯一主键,redis实现分布式锁,队列,会话缓存 安装单节点redis 1、安装gcc套装: yum instal ...
分类:
其他好文 时间:
2020-07-29 21:49:59
阅读次数:
75
html页面: { field: 'suppliersLevel', align: 'center', title: '供应商级别', formatter:function(value, row, index){ if(value==0){ return value; }else{ var keep ...
分类:
Web程序 时间:
2020-07-29 15:31:43
阅读次数:
93
给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 你可以假设每种输入只会对应一个答案。但是,数组中同一个元素不能使用两遍。 示例: 给定 nums = [2, 7, 11, 15], target = 9 因为 nums[0 ...
分类:
其他好文 时间:
2020-07-29 15:26:24
阅读次数:
55
StringTable String在jdk8及以前内部定义了final char[] value用于存储字符串数据。jdk9时改为byte [] 字符串常量池中是不会存储相同内容的字符串的。 String的String Pool是一个固定大小的Hashtable,默认值大小长度是1009。如果放进 ...
分类:
其他好文 时间:
2020-07-29 15:20:56
阅读次数:
67
Leetcode.27 | Remove Element(Python) Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do no ...
分类:
编程语言 时间:
2020-07-29 14:58:26
阅读次数:
82
shut immediate 数据库遭遇 ORA-24324 ORA-24323 SQL> shut immediateORA-24324: service handle not initializedORA-24323: value not allowedORA-27140: attach to ...
分类:
数据库 时间:
2020-07-29 14:53:59
阅读次数:
86
引入maven <!-- https://mvnrepository.com/artifact/org.quartz-scheduler/quartz --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>s ...
分类:
编程语言 时间:
2020-07-29 14:49:58
阅读次数:
145
values = ['1', '2', '-3', '-', '4', 'N/A', '5'] def isNum(s): try: int(s) return True except: return False print(list(filter(lambda i: isNum(i), value ...
分类:
其他好文 时间:
2020-07-29 14:48:36
阅读次数:
55
(0, _, values) Adds a new record created from the provided value dict. (1, id, values) Updates an existing record of id id with the values in values. ...
分类:
其他好文 时间:
2020-07-29 10:37:26
阅读次数:
90
首先说明一下32位和64位系统下的区别: void main001() { int num = 20; int *p = # printf("%p \n", &p); printf("%d \n", sizeof(p)); system("pause"); } /* Name Value T ...
分类:
其他好文 时间:
2020-07-29 10:32:34
阅读次数:
71