原创 RegExp and classfier used in part-of-speech(POS) tagging

1. regular expression in pos      judge the characteristic of a certain wo

原创 spark standalone mode

1.  Installing Spark Standalone to a Cluster    To install Spark Standalone mode, you simply place a compiled version

原创 set up spark cluster -- create VM

聲明:文章原創,轉載需註明出處。由於文章大多是學習過程中的記錄內容,技術能力有限,希望大家指出其中錯誤,共同交流進步。由此原因,文章會不定期改善,看原文最新內容,請到:http://blog.chinaunix.net/uid/29454

原创 linux command solution for problems

1.find the install path of some software     like python:    點擊(此處)摺疊或打開 dpkg -L python     or the start path: 點

原创 some package command in linux (ubuntu) zip/ tar/ tar.gz/ tar.bz2

some package command     <1> zip    我們可以使用下列的命令壓縮一個目錄:     點擊(此處)摺疊或打開 zip -r archive_name.zip directory_to_compr

原创 歡迎使用CSDN-markdown編輯器

歡迎使用Markdown編輯器寫博客 本Markdown編輯器使用StackEdit修改而來,用它寫博客,將會帶來全新的體驗哦: Markdown和擴展Markdown簡潔的語法 代碼塊高亮 圖片鏈接和圖片上傳 LaTex數學公式 UM

原创 關閉 mongodb 出錯: Error: shutdown failed: not authorized

開啓認證功能之後,出現了不能關閉數據庫的現象,報錯如下: 點擊(此處)摺疊或打開 Error: assert failed : unexpected error: Error: shutdownSe

原创 mongodb C/C++ driver 通過帳號驗證登錄mongo服務器並進行相應操作

1。C 語言登錄mongodb,解決登錄失敗錯誤:Authentication failed.: mongoc client_authenticate error 代碼如下: 點擊(此處)摺疊或打開 #include <bson.

原创 深入理解Python的字符編碼utf-8 & unicode

參考:http://lukejin.iteye.com/blog/598303 一,通過例子理解字符編碼 在Python中有兩個和字符很相關的類型,一個是str類型,一個是unicode類型。 這兩種類型的對象都是sequece序列,其中

原创 mongodb 的 C++驅動安裝過程以及注意問題

1。安裝C++版驅動之前,先安裝C版的驅動,過程如下: 我的安裝平臺:ubuntu14.04     64位,其他平臺可參考:http://api.mongodb.org/c/current/installing.html#instal

原创 mongodb 建庫過程(ubuntu shell 版)

mongodb安裝過程:http://blog.chinaunix.net/uid-29454152-id-5567669.html 1。開啓數據庫:         數據庫的配置內容已經在/etc/mo

原创 字符編解碼的故事(ASCII,ANSI,Unicode,Utf-8區別)

文章內容風趣但很明瞭,轉過來路過的想了解的都可參考參考!! 轉載處:http://www.imkevinyang.com/2009/02/%E5%AD%97%E7%AC%A6%E7%BC%96%E8%A7%A3%E7%A0%81%E7%9

原创 set() in python

1. set() remove the repeat elements 點擊(此處)摺疊或打開 >>> seq = [1,2,3,1,2,3,'a','hello','a','world'] >>>

原创 python模擬登錄微博網站利用urllib2 和 cookie

方法還有待改進,前期需手動操作,待後續更新。。。1.從瀏覽器中獲取要登錄網站cookie     例如 chrome,步驟如下:     setting:   dvanced:     contentS

原创 開啓MongoDB不能訪問web控制檯問題;; access MongoDB over HTTP

1。首先確認訪問端口: 點擊(此處)摺疊或打開 http://yourip:28017     訪問端口是28017,比服務器端口27017大1000,(爲什麼??這個就不知道了,這麼記着吧先)