原创 用esp開發demo流程

1.環境參數 系統:ubuntu 13.10 amd64 版本:appweb-5.1.0, esp-5.0.0-rc2(已經搭建好環境,搭建教程可參考http://blog.csdn.net/xiaominthere/article/de

原创 leetcode第1題——**Two Sum

題目 Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum

原创 leetcode第7題——*Reverse Integer

題目 Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 Have you thought abou

原创 leetcode第11題——**Container With Most Water

題目 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical l

原创 python趣味入門——寫幾個常玩的遊戲

文檔介紹 利用python寫“猜數字”,“猜詞語”,“誰是臥底”這三個遊戲,從而快速掌握python編程的入門知識,包括python語法/列表/元組/字典/流程控制/庫函數等等。 環境參數 linux平臺,python 3.4。需要在li

原创 Linux平臺上apache服務器的搭建和應用

背景 一次偶然的機會,在實驗室下載了一部電影《梔子花開》,在實驗室看電影肯定不好吧= = 於是就想拷貝到寢室的電腦回去慢慢看,問題是忘帶U盤了,這可就愁了。突然想到,可以在實驗室搭建一個apache服務器把電影傳到上面,回到寢室下載就行了

原创 leetcode第5題——**Longest Palindromic Substring

題目 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 100

原创 網關監控軟件設計與實現

文檔目的 本文闡述了控制網關中軟件的實現,一個是檢測和控制MPTCP傳輸參量的程序。   由於控制網關是Linux平臺,根據Linux平臺的特點,在Linux內核中已經編譯了MPTCP的傳輸層文件的基礎上,本網關軟件的研發採用“She

原创 c++趣味入門——掃雷遊戲

陣列中的地雷、數字、空白格與標記格設計 用一個二維矩陣代表陣列: 元素值統一初始化爲-1; 隨機產生10組座標,每組座標對應地雷元素,共10個地雷,並均賦值爲9,即地雷的元素值爲9; 元素值爲n(-1<n<9)代表周圍有n個地雷(遍歷元

原创 leetcode第3題——**Longest Substring Without Repeating Characters

題目 Given a string, find the length of the longest substring without repeating characters. For example, the longest subs

原创 leetcode第4題——***Median of Two Sorted Arrays

題目 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays.

原创 leetcode第6題——*ZigZag Conversion

題目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to

原创 leetcode第2題——**Add Two Numbers

題目 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and ea

原创 TCP協議增強器的應用實踐

1 背景 TCP協議增強器,是指將TCP/IP協議棧中傳輸層的TCP協議進行增強,使之符合一些複雜網絡環境的參數要求(如時延、誤碼率、速率等)的一種應用層軟件技術,將TCP協議增強器編譯在PC上,可以作爲一般網絡和複雜網絡通信的橋樑,或者

原创 代理服務器和多徑技術實踐

    利用客戶端代理服務器和服務器端反向代理服務器,可以具備安全/可靠/快捷等優點,同時多路經傳輸可以加大傳輸速度和增強傳輸魯棒性。利用嵌入式開發板和linux系統,搭建網絡拓撲C--P==RP--S,其中C(Client)和S(Ser