原创 offline installing deb for ubuntu and deb management

use this to download deb packages apt-get download ... use this to install a deb sudo dpkg -i ... more (from Ubuntu下d

原创 sed (GNU)

這篇也不錯:sed的一篇強例子集錦的翻譯(轉) operations sed does reads a line from the input streamremoves any trailing newlineputs it in th

原创 adb使用與權限

adb "no permission" Ubuntu adb devices : no permissions 解決方法 lsusb to get sth. like Bus 005 Device 001: ID 1d6b:0001 L

原创 根據出錯地址查代碼——安卓

prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-addr2line  -C -f -e ./libnativehelper.so 00014aca 庫應位於out/tar

原创 cVim for Chrome

Keybindings Movement j, s scroll down k, w scroll up h scroll left l scroll right d scroll half-pag

原创 在線pdf生成

12款在線 PDF 工具 http://www.freepdfconvert.com/ 支持生成或轉換

原创 Ubuntu下編譯vim/gvim

下載代碼:從vim.org下載代碼包或從mercurial等下載代碼樹安裝ruby,用ruby補全,即可見到能找到的應用;運行sudo apt-get install加對應的應用名即可見到需要安裝的依賴。 http://pkgs.org/

原创 Softwares on Windows

Scripting & Management AutoHotkey shortcuts to non-interactive functions, such as starting apps Ditto shortcuts to

原创 adb usages

  adb wait-for-device adb shell setprop log.tag.SetupWizard VERBOSE adb shell screenrecord /sdcard/vid.mp4 to list pack

原创 user administration simple

添加用戶(可加參數指定主目錄、主環境、組等): useradd 用戶名 添加到sudoers: usermod -a -G sudo 用戶名

原创 automake/autotools/autoconf simple guide

完全介紹手冊 only Update part below confirmed. configure autoscanmv configure.scan configure.acedit configure.acaclocalautoc

原创 ubuntu submission

Launchpad recipes 將代碼放到launchpad,生成PPA如果生成recipe能方便之後參考安裝bzr-builder和pbuilder生成項目名.recipe # bzr-builder format 0.3 deb-

原创 shell下圖形化顯示按鈕、對話框

dialog及gdialog命令測試 gdialog可能是ubuntu默認帶的 man page

原创 C/C++宏定義中帶不定參數

轉載自 #define debug(format, ...) fprintf (stderr, format, __VA_ARGS__) 能自定義參數表名 #define debug(format, args...) fprintf (s

原创 inspect a library

objdump libx.so.1.3 -p http://en.wikipedia.org/wiki/Soname