- 博客(5)
- 资源 (9)
- 收藏
- 关注
转载 A summary: how to use bit manipulation to solve problems easily and efficiently
WikiBit manipulation is the act of algorithmically manipulating bits or other pieces of data shorter than a word. Computer programming tasks that require bit manipulation include low-level device cont...
2018-03-31 11:17:18 267
原创 [Leetcode]17. Letter Combinations of a Phone Number
[Description]Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephone buttons) is given below.Input:Digit...
2018-03-31 15:54:25 166
原创 KMP算法实现(我的理解实现)
#include <string>#include <iostream>#include <vector>using namespace std;class Solution {public: int kmp(string S, string T) { vector<int> next = cal_next(T); int k...
2018-03-31 14:41:00 316
转载 突破LVS瓶颈,LVS Cluster部署(OSPF + LVS)
前言LVS大家应该很熟悉,这款优秀的开源软件基本成为了IP负载均衡的代言词。但在实际的生产环境中会发现,LVS调度在大压力下很容易就产生瓶颈,其中瓶颈包括ipvs内核模块的限制,CPU软中断,网卡性能等,当然这些都是可以调优的,关于LVS的调优,会在这里详细讲 LVS调优攻略 。回到主题,那当无法避免的单台LVS调度机出现了性能瓶颈,有什么办法呢?在本文就来介绍如何横向扩展LVS调度机架构简图如上...
2018-03-15 15:21:21 637
转载 记一次踩坑|空table应该编码为数组还是对象
Json有两种比较常用的数据类型:被{}包裹的对象(object),被[]包裹的数组(array)问题描述从第三方API返回的json数据,存在一个key的值为空数组,可是经过decode和encode这两步操作后,这个key的值就变为空对象了:local cjson = require('cjson')local raw = {}raw.name = 'answer'raw.list =...
2018-03-13 10:58:30 890
Go Programming Blueprints - Mat Ryer - 2015 (1).pdf
2015-11-26
The-Golang-Standard-Library-by-Example-master.zip
2015-11-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人