自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

fei的专栏

C/C++/Go Linux/Web 全栈之路

  • 博客(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

Go Programming Blueprints - Mat Ryer - 2015 (1).pdf

2015-11-26

The-Golang-Standard-Library-by-Example-master.zip

The-Golang-Standard-Library-by-Example-master.zip

2015-11-26

Effective Go (中文版).pdf

Effective Go (中文版).pdf

2015-11-26

利用剪贴板实现进程之间的通信

该程序包括一个发送端和一个接收端窗口,发送端窗口将数据放到剪贴板中,然后接收端窗口就可以从剪贴板将数据读出,进而实现了两个进程之间的通信

2010-10-15

使用多线程模拟火车站售票系统

程序模拟了火车站售票系统,程序中使用了多线程的实现方法,并用多种方法实现了线程的同步,麻雀虽小,五脏俱全。

2010-10-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除