码迷,mamicode.com
首页 >  
搜索关键字:abap example    ( 18648个结果
CommonJS规范
Node应用由模块组成,采用CommonJS模块规范。 每个文件就是一个模块,有自己的作用域。每一个文件里面定义的变量、函数、类都是私有的,对其他文件不可见。 // example.js var x = 5 var add = function(value){ return value + x } ...
分类:Web程序   时间:2020-07-04 21:13:56    阅读次数:70
SpringBoot第三篇【Spring读取配置】
Spring读取配置的两种方式 注解的方式 ApplicationContext ac=new AnnotationApplicationContext("MyConfig.class") package com.example.demo; import org.springframework.co ...
分类:编程语言   时间:2020-07-04 18:58:16    阅读次数:59
1331. Rank Transform of an Array
问题: 给定一个数组,对所有元素进行,按大小排名rank,同样大小排名相同。 Example 1: Input: arr = [40,10,20,30] Output: [4,1,2,3] Explanation: 40 is the largest element. 10 is the small ...
分类:其他好文   时间:2020-07-04 15:11:29    阅读次数:58
485. Max Consecutive Ones
Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Input: [1,1,0,1,1,1] Output: 3 Explanation: The first two di ...
分类:其他好文   时间:2020-07-04 13:47:53    阅读次数:61
492. Construct the Rectangle
For a web developer, it is very important to know how to design a web page's size. So, given a specific rectangular web page’s area, your job by now i ...
分类:其他好文   时间:2020-07-04 13:45:09    阅读次数:71
python + redis
一、连接池 python设置redis连接池的好处 通常情况下,需要连接redis时,会创建一个连接,基于这个连接进行redis操作,操作完成后去释放, 正常情况下,这是没有问题的,但是并发量较高的情况下,频繁的连接创建和释放对性能会有较高的影响,于是连接池发挥作用。 连接池的原理:‘预先创建多个连 ...
分类:编程语言   时间:2020-07-03 19:42:22    阅读次数:54
状压DP总结
总结 状压DP就是将一个状态压缩为一个整数(通常为二进制数),就可以在更为方便地进行状态转移的同时,达到节约空间的目的。 题型一、冲突问题 1.1 特殊方格棋盘 题目描述 分析 我们设f[i][j]为当前的状态为$i$,放置到第$j$行时的方案数 但是,因为我们要在$n \times n$的棋盘上放 ...
分类:其他好文   时间:2020-07-03 19:14:23    阅读次数:54
Redis 持久化 rdb、Aof对比
一、Redis 简介: Redis是一个开源的、基于内存的数据结构存储器,可以用作数据库、缓存和消息中间件。 Redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)、zset(sorted ...
分类:数据库   时间:2020-07-03 17:09:08    阅读次数:77
[LeetCode] 120. Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo ...
分类:其他好文   时间:2020-07-03 15:34:00    阅读次数:55
django邮件
可以用send_mail 也可以用EmailMessage send_mail简单易用,是对EmailMessage的简单封装。但还是EmailMessage更强大 https://docs.djangoproject.com/en/3.0/topics/email/ 官网对EmailMessage ...
分类:其他好文   时间:2020-07-03 12:40:19    阅读次数:78
18648条   上一页 1 ... 33 34 35 36 37 ... 1865 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!