码迷,mamicode.com
首页 >  
搜索关键字:simple example    ( 24106个结果
kafka实战
1. kafka介绍 1.1. 主要功能 根据官网的介绍,ApacheKafka®是一个分布式流媒体平台,它主要有3种功能: 1:It lets you publish and subscribe to streams of records.发布和订阅消息流,这个功能类似于消息队列,这也是kafka ...
分类:其他好文   时间:2021-04-19 14:59:09    阅读次数:0
nginx下配置yii2路由美化
原URL:http://www.yiitest.com/index.php?r=api/index/index 美化成现url: http://www.yiitest.com/api/index/index 由于我下载的是基础版本yii2,所以修改方法如下 这时候依然无法使用美化后的路由去访问,但是 ...
分类:其他好文   时间:2021-04-16 11:53:46    阅读次数:0
295. Find Median from Data Stream
问题: 设计结构体,能够满足以下两个功能: 向结构体中插入数据 void addNum(int num) 去当前结构体中的中位数 double findMedian() 若共有奇数个数,取最中间的数 若共有偶数个数,取中间两个数之和/2 Example 1: Input ["MedianFinder ...
分类:其他好文   时间:2021-04-16 11:45:21    阅读次数:0
4.6 File Inclusion
简介 是什么 文件包含,一个简单的例子,和 c 语言 include 一样,将一个文件包含到另一个文件。通常出现在多文件开发,模块化开发的场景下。 文件包含,就是代码中通过某种方法包含了其它文件,可以将另一个文件的内容引入到当前文件。从而可以执行代码。 # 本地文件包含 http://example ...
分类:其他好文   时间:2021-04-15 12:36:17    阅读次数:0
spring security环境框架搭建
1,pom依赖导入 注:spring boot版本须使用2。1.0以下版本,此次使用2.0.9版本 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</a ...
分类:编程语言   时间:2021-04-15 12:03:14    阅读次数:0
Restful API
package com.example.query; import java.io.Serializable; public class UserQuery implements Serializable { private Integer id; private String username; ...
分类:Windows程序   时间:2021-04-13 12:17:10    阅读次数:0
《写给程序员的Python教程》阅读随笔---python禅学(Zen_of_python)
Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better tha ...
分类:编程语言   时间:2021-04-13 12:03:32    阅读次数:0
ReentrantLock锁
ReentrantLock是可重入锁,并且可以实现公平锁。Sychronized是可重入锁、非公平锁。 话不多说,上demo: 1 package com.example.demo.util; 2 3 import java.util.concurrent.locks.ReentrantLock; ...
分类:其他好文   时间:2021-04-12 12:54:59    阅读次数:0
977. Squares of a Sorted Array
Given an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order. Example 1: I ...
分类:其他好文   时间:2021-04-08 13:55:44    阅读次数:0
ADA 95教程 字符和字符串类型
字符类型的快速回顾 Example program > e_c11_p1.ada -- Chapter 11 - Program 1 with Ada.Text_IO; use Ada.Text_IO; procedure Chars is My_Char : CHARACTER; Another ...
分类:其他好文   时间:2021-04-08 13:35:09    阅读次数:0
24106条   上一页 1 ... 9 10 11 12 13 ... 2411 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!