android : httpurlconnection cookie

1. http 请求的携带 cookie

2. http 请求 ,自定义cookie [TODO]

3. 使用 java.net.CookieManager 进行管理

 

参考:http://stackoverflow.com/questions/16150089/how-to-handle-cookies-in-httpurlconnection-using-cookiemanager

http://blog.csdn.net/lfdfhl/article/details/8707891 【TODO】

http://blog.csdn.net/yudajun/article/details/46777645【TODO】

android : listview button 点击无效

 

  1. <RelativeLayout
  2.   xmlns:android=“http://schemas.android.com/apk/res/android”
  3.   android:layout_width=“wrap_content”
  4.   android:layout_height=“wrap_content”
  5.   android:paddingTop=“10dp”
  6.   android:paddingBottom=“10dp”
  7.   android:paddingLeft=“5dp”
  8.   android:paddingRight=“5dp”
  9.   android:descendantFocusability=“blocksDescendants”><!–添加这个属性–>

http://blog.csdn.net/caiwenfeng_for_23/article/details/37760197

ubuntu 工具: 进程管理 system Monitor

1. Open a terminal window.

2. Type in the following commands then hit Enter after each:

sudo add-apt-repository ppa:teejee2008/ppa

sudo apt-get update

sudo apt-get install conky-manager

 

http://www.itworld.com/article/2696428/install-conky-manager-2-1-in-ubuntu-14-04.html

 

参考:http://askubuntu.com/questions/293426/system-monitoring-tools-for-ubuntu

http://www.omgubuntu.co.uk/2011/11/5-system-monitoring-tools-for-ubuntu

http://www.ubuntufree.com/top-5-system-monitoring-apps-with-gui-for-ubuntu-14-04-and-14-10/

 

smartgit 免序列号

1. linux
/home/chenwei/.smartgit/7
删除 settings.xml

参考:http://www.faceye.net/search/118495.html

2. win7

C:\Users\wei.chen\AppData\Roaming\syntevo\SmartGit\7
然后删除:
settings.xml

3.路径

Windows: %APPDATA%\syntevo\SmartGit\

OS X: ~/Library/Preferences/SmartGit/

Unix/Linux: ~/.smartgit/

and remove the file settings.xml.

参考: http://stackoverflow.com/questions/10972289/how-to-change-smartgits-licensing-option-after-30-days-of-commercial-use-on-ubu

Chromium : 编译

1. 下载代码

smartgit + proxy

2. ./install-build-deps.sh –no-chromeos-fonts

3. gclient runhooks

4. ImportError: No module named gyp

git clone https://chromium.googlesource.com/external/gyp

cd gyp

sudo ./setup.py install

5.  No module named grit_info

6.https://chromium.googlesource.com/chromium/src/+/master/docs/linux_build_instructions.md

7.http://mogoweb.net/blog/2014/12/15/build-chromium-browser-from-source/

ubuntu : 开机挂载 mount

1.
sudo vim /etc/fstab

#UUID=9951307e-36ca-4dd5-b7c1-a866feb678a3 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=cc049900-b555-44d4-a02a-b3e605e4c704 none swap sw 0 0
#/dev/sda8 /home ext4 defaults 1 2
/dev/sda8 / ext4 errors=remount-ro 0 1
/dev/sda7 /home ext4 defaults 1 2

参考:http://www.linuxidc.com/Linux/2014-04/100488.htm