Time of Update: 2014-12-10
標籤:Lucene style blog http io ar color 使用 sp Lucene
Time of Update: 2014-12-10
標籤:http io ar os sp for on cti ad #vi /etc/nginx/nginx.conf######################################
Time of Update: 2014-12-10
標籤:ubuntu nginx php fastcgi php-fpm 這兩天需要在Ubuntu14.04上搭建nginx和php的環境,配置的過程中在fastcgi的問題上花了很多時間,網上的資料大多年久失修,於是決定將整個過程記錄下來,分享給大家。準備:apt-get update1. 安裝nginx並啟動apt-get
Time of Update: 2014-12-11
標籤:style blog color 使用 sp for on 檔案 資料 在使用flume中發現由於網路、HDFS等其它原因,使得經過Flume收集到HDFS上得日誌有一些異常,表現為:1、
Time of Update: 2014-12-11
標籤:style blog http io ar color os sp for 最終期望:通過配置apache的cgi能夠使得apache能通過cgi方式串連go程式(因為我們的後端程式是用g
Time of Update: 2014-12-10
標籤:des blog http io ar os 使用 sp for 本篇以Redhat AS5,核心為Linux 2.6.18-8.el5 為例,其中Redhat/Fedora系列基本一致,
Time of Update: 2014-12-10
標籤:excel poi 昨天老大給了我一個excel檔案叫我把裡面的內容用簡訊發出去(檔案裡面就2個欄位,手機號碼和內容),然後我就寫了一個方法用apache裡面的poi讀取,發現讀取的手機號碼是科學計數法,經過瞭解發現無論數字是否小數,使用cell.getNumbericCellValue()
Time of Update: 2014-12-10
標籤:style blog http io ar color os 使用 sp 架構代碼如下:// 使用封裝方法的人只關心提供http的要求方法,url地址,資料,成功和失敗的回調方法//
Time of Update: 2014-12-11
標籤:style blog http io ar color 使用 sp strong 關於<meta>
Time of Update: 2014-12-10
標籤:style blog http io ar color os sp on public function addadd(){header("Content-Type:text/html;
Time of Update: 2014-12-11
標籤:blog http io ar os 使用 sp for java 1 AJAX開發架構2 A 初始化XMLHttpRequest對象3 B指定響應
Time of Update: 2014-12-11
標籤:blog http io ar os sp java strong on 此文來自:http://www.blogjava.net/heavensay/archive/2013/10/20
Time of Update: 2014-12-10
標籤:des style http io ar os 使用 java on 用 composer 安裝產生 WSDL 所需的庫 composer require piotrooo/wsdl-
Time of Update: 2014-12-10
標籤:asp.net multiview view 小例子.aspx代碼如下:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="2_MultiView.aspx.cs" Inherits="_2_MultiView"
Time of Update: 2014-12-11
CSS的基本使用,CSS使用 推薦一個前端學習網站:http://www.w3school.com.cn/index.html,此文為其上CSS基礎知識的精鍊。作為一個後台開發人員,懂點基本的前端知識就夠了,其餘的就碰到了再學。 CSS簡介 CSS的全稱是Cascading Style
Time of Update: 2014-12-12
1412091645-hd-ZOJ,ZOJTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1899 Accepted Submission(s): 1344Problem
Time of Update: 2014-12-12
hdu 1016 dfs素數環,hdu1016dfs素數背景:周賽e題,當時很快就有人出,我能看出來是dfs但是卻不能實現,哎以為自己能力不可寫出,結果低估自己了。學習:1.打了一個素數表,比較快捷,還有素數判別方法的函數,只需要枚舉到該數的平方根即可,因為大於它的平方·根之後商都小於1,不可能再整除了。int isPrime(int x){int i;for (i = 2; i <= sqrt(x*1.0); i++)//sqrt函數操作的是double。{if (x % i == 0)
Time of Update: 2014-12-12
python 中文亂碼問題解決方案, 最近在項目中部署結巴分詞的時候遇到了亂碼情況,明明是中文,確顯示不出來或者顯示亂碼。解決方案如下。利用isinstance 來判斷是否已經編碼,s是出問題的字串。unicode是沒編碼isinstance(s, unicode): 用print 列印,如果結果是true說明沒編碼。如果是false說明編碼了,但是編的碼不對print
Time of Update: 2014-12-11
STL源碼剖析—序列容器,stl源碼剖析STL源碼剖析—序列容器對於STL中的容器,存在一定的內含關係,例如,heap內含一個vector,priority-queue內含一個hep,stack和queue都含有一個deque,set/map/multiset/multimap都內含一個RB-tree,hash_x都內含一個hashtable。
Time of Update: 2014-12-11
【LeetCode】Intersection of Two Linked Lists,twosumleetcode題目Write a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A: a1 → a2