原创 無法讓FireFox允許SSLv3
失敗:in about:config, set security.tls.version.min from 1 to 0 即使:security.tls.version.fallback-limit from 3 to 0
原创 Ubuntu 創建、管理用戶、組和git庫、項目
修改主機名 sudo -e /etc/hostname sudo -e /etc/hosts 將127.0.1.1對應的原主機名改爲新的 創建組 sudo groupadd 組名 修改組 sudo groupmod -n 新組名 原組名
原创 disk usage; split
按k/M/G單位顯示各分區大小:df -h 顯示文件大小:du 包括文件,而非僅是目錄:-a或–all produce a grand total: -c print sizes in human readable format: -h
原创 命令行查看ubuntu版本號
4行,顯示發行號和代碼名:cat /etc/lsb-release 一行,顯示發行號:cat /etc/issue
原创 tmux and zshell
zshell ^a: go to beginning of the command line ^e: go to end of the command line ^_: undo ^u: clear command line a-l:
原创 bzr concise
user reference 取服務器版本:branch 更新:update。支持參數:-r 提交序號。將目標提交合入並切換到該提交序號。 提交:add + commit + push 合入/更新分支:pull。Turn this
原创 linux命令行收發郵件
安裝mailx的一個變種,以下,或bsd-mailx(沒有這個好配置) apt-get install heirloom-mailx 發送:在~/.mailrc中寫: set smtp-use-starttls set ssl-verif
原创 Android startActivityForResult
Android ActivityManagerService(AMS)的Activity管理 android Application Component研究之Activity(一) Activity: startActivityForR
原创 安卓應用主題和樣式
Android學習系列(39)--Android主題和樣式之系統篇(上) 下 文集 4.4