高可用环境准备 后端服务器主配置文件 [192.168.2.7-root@web01~]#cat /etc/nginx/nginx.conf user www; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var... ...
分类:
其他好文 时间:
2019-02-18 12:51:10
阅读次数:
190
Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. Example: Note: Approach #1: My code. [C++] Appro ...
分类:
其他好文 时间:
2019-02-15 22:29:09
阅读次数:
172
1.lexical analysis,which analyzes the character string presented to it and divides it up into tokens that are legal members of the vocabulary of the l ...
分类:
其他好文 时间:
2019-02-14 00:25:47
阅读次数:
177
作者:刘知远 "原文链接" 最近实验室刚进组的一位同学发邮件来问我如何查阅学术论文,这让我想起自己刚读研究生时茫然四顾的情形:看着学长们高谈阔论领域动态,却不知如何入门。经过研究生几年的耳濡目染,现在终于能自信地知道如何了解最新科研动态了。我想,这可能是初学者们都会有的困惑,与其只告诉一个人知道,不 ...
分类:
编程语言 时间:
2019-02-13 13:06:26
阅读次数:
199
A - Anti-Adjacency 签. 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 int main() 5 { 6 int n, k; 7 while (scanf("%d%d", &n, &k) != EOF) 8 { 9 in ...
分类:
其他好文 时间:
2019-02-10 00:24:23
阅读次数:
242
一、前言 最近花费很多精力在算法仿真和实现上,外设接口的调试略有生疏。本文以FPGA控制OLED中的SPI接口为例,重新夯实下基础。重点内容为SPI时序的RTL设计以及AXI-Lite总线分析。当然做些项目时可以直接调用Xilinx提供的SPI IP核,这里仅出于练习的目的考虑。 二、接口时序分析 ...
分类:
其他好文 时间:
2019-02-05 13:15:03
阅读次数:
150
http://www.codedigest.com/posts/1/what-is-owin-a-beginners-guide http://owin.org/html/spec/owin-1.0.1.html Introduction If you look at the current web ...
商品维度计数 对商品喜欢数,评论数,鉴定数,浏览数进行计数说起电商,肯定离不开商品,而附带商品有各种计数(喜欢数,评论数,鉴定数,浏览数,etc)Redis的命令都是原子性的,你可以轻松地利用INCR,DECR等命令来计数。 采用Redis 的类型: Hash. 如果你对redis数据类型不太熟悉, ...
分类:
Web程序 时间:
2019-02-01 17:58:43
阅读次数:
211
The Under Armour Curry 6 is put through its paces with this performance review by Duke4005. After waiting over a year for promise of HOVR cushioning t ...
分类:
其他好文 时间:
2019-01-30 23:11:46
阅读次数:
132
限流算法 令牌桶算法 算法思想是: 令牌以固定速率产生,并缓存到令牌桶中; 令牌桶放满时,多余的令牌被丢弃; 请求要消耗等比例的令牌才能被处理; 令牌不够时,请求被缓存。 漏桶算法 算法思想是: 水(请求)从上方倒入水桶,从水桶下方流出(被处理); 来不及流出的水存在水桶中(缓冲),以固定速率流出; ...
分类:
其他好文 时间:
2019-01-25 11:35:47
阅读次数:
131