原创 WGet爬整站

wget --mirror -p --convert-links -P [本地目錄] [網站地址] 參數講解: --mirror:設置這個參數用來建立本地鏡像 -p:下載所有HTML適合顯示的元素 --convert-links:

原创 Ubuntu-停用google analytics的瀏覽器擴展

很多時候瀏覽網頁的時候總是注意到狀態欄顯示正在連接到www.google-analytics.com這樣的提示信息,這是因爲這個網站使用了谷歌分析的服務,關於google analytics到底是什麼東西,參見百度百科的google a

原创 Ubuntu-ADT-連接Anroid真機-無法識別問題

轉自:http://skzr-org.iteye.com/blog/1141224 在linux裏面,模擬器可以直接識別,使用adb也沒有限制,但是手機插上usb之後,adb並不識別,顯示的是問號,在eclipse裏面也是這樣。    

原创 Ubuntu-卸載已經安裝的軟件

dpkg -l 列出已經安裝的所有軟件包 sudo dpkg -r name 卸載

原创 How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 14.04

Introduction A "LAMP" stack is a group of open source software that is typically installed together to enable a server

原创 Ubuntu-proxy代理配置

apt-get 設置代理 proxy 方法 方法一 :這是一種臨時的手段,如果你僅僅是暫時需要通過http代理使用apt-get,你可以使用這種方法。 在使用 apt-get  之前,在終端中輸入以下命令: export  http  p

原创 Ubuntu-QQ2013

騰訊不重視LinuxQQ。。。。 下一個神碼內核兼容版的,據說是國人開發的 WineQQ2013-20131120-Longene.deb 64位電腦可能打不開。。。 so。。。 sudo apt-get install libgtk2

原创 Ubuntu-指示器-網絡圖標缺失

#!/bin/bash #Motivated by this post on Ubuntuforums.org, I have found a solution to my issue in two steps. #Purge and r

原创 相同源代碼的html文件在本地和服務器端被瀏覽器請求時,顯示的效果不一樣!!!

用Tomcat服務器寫html時,用IE查看發現和之前在本地調試好的樣式不一樣。。。源代碼完全相同啊啊啊啊啊。 最後才搜索到一個解決方案: 加入: <span style="font-size:14px;"><meta http-eq

原创 Ubuntu-主題

Numix主題 sudo add-apt-repository ppa:numix/ppasudo apt-get updatesudo apt-get install numix-gtk-theme numix-icon-theme

原创 Ubuntu-下google瀏覽器(chromium)flash插件安裝

ubuntu下google瀏覽器(chromium)flash插件安裝   1、通過軟件中心安裝chromium 2、flash插件下載      訪問帶flash的網站會自動提示flash插件地址,我的機器是64位的,地址是:

原创 Ubuntu-創建wifi熱點-Android能連接

我們需要kde下的一款網絡包,kde-nm-connection-editor sudo apt-get install plasma-nm 安裝完成後 kde-nm-connection-editor 安裝完畢後,打開終端,

原创 Ubuntu-安裝pidgin及QQ插件

只介紹Ubuntu下的安裝方法:        1.添加源:        sudo add-apt-repository ppa:lainme/pidgin-lwqq           2.更新           sudo 

原创 Ubuntu-安裝openfire+spark

在官網下載openfire+spark 開啓openfire cd pakageDir/bin sudo ./openfire start 運行spark sudo ./starter sudo ./Spark 可能會報錯 <spa