There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any s ...
分类:
其他好文 时间:
2020-01-22 18:20:53
阅读次数:
96
1、application.yml 配置 spring:rabbitmq: host: localhost port: 5672 listener: simple: acknowledge-mode: manual // 手动签发 prefetch: 1 retry: enabled: true i ...
分类:
编程语言 时间:
2020-01-21 16:34:49
阅读次数:
132
楔子 我们知道golang除了兼顾了开发速度和运行效率之外,最大的亮点就是在语言层面原生支持并发,也就是通过所谓的goroutine。不过既然是并发,那么就势必会面临很多问题。比如:资源竞争,多个goroutine同时访问一个资源会发生竞争从而产生意想不到的结果,那么这时候我们会通过加锁来解决;主g ...
分类:
其他好文 时间:
2020-01-21 16:23:18
阅读次数:
75
初稿代码,可以忽略不计(自己留着看) #!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/01/15 13:27 # @Author : zc # @File : 115test.py from selenium import w ...
分类:
编程语言 时间:
2020-01-21 16:22:01
阅读次数:
88
实现一个单链表,链表初始为空,支持三种操作: (1) 向链表头插入一个数; (2) 删除第k个插入的数后面的数 (3) 在第k个插入的数后插入一个数 现在要对该链表进行M次操作,进行完所有操作后,从头到尾输出整个链表。 注意:题目中第k个插入的数并不是指当前链表的第k个数。例如操作过程中一共插入了n ...
分类:
其他好文 时间:
2020-01-21 13:28:48
阅读次数:
55
Most basic operations in Go are not synchronized. In other words, they are not concurrency-safe. https://go101.org/article/channel.html ...
分类:
其他好文 时间:
2020-01-21 00:20:08
阅读次数:
94
2. 数据类型 参考资料 课工场 陈璇 1. 变量 变量名 ? 命名规则 ? 有意义 ? 不能使用关键字 ? 字母数字下划线(字,下,美,人,数,骆驼) 变量类型 数值 整型 int 浮点型 double float 非数值 字符char 布尔boolean 字符串String 变量值 2. Jav ...
分类:
编程语言 时间:
2020-01-19 19:05:19
阅读次数:
64
What This Tutorial Focuses OnIn the previous tutorial we improved our logging system. Instead of using a fanout exchange only capable of dummy broadca... ...
分类:
其他好文 时间:
2020-01-19 16:36:22
阅读次数:
111
1.缺少development team $ xcodebuild -project WebDriverAgent.xcodeproj \> -scheme WebDriverAgentRunner \> -destination 'platform=iOS,name=iPhone (2)' \> ...
分类:
Web程序 时间:
2020-01-18 16:09:22
阅读次数:
1492
A. Lorenzo Von Matterhorn B.Minimum spanning tree for each edge C.Misha, Grisha and Underground D.Fools and Roads E.City Driving 题意:给你一颗基环树(有n条边,n个点的连 ...
分类:
其他好文 时间:
2020-01-18 15:00:58
阅读次数:
97