- Keep your .gitignore file.
- Clear your GIT cache. Don’t worry, this won’t delete any of your local files, just what GIT is tracking.
git rm -r --cached .
- Add everything in your project. Your .gitignore file will exclude what you want to ignore now and start tracking the good stuff.
git add .
- Commit your changes.
git commit -m "Now my .gitignore file works correctly!"
Tuesday, June 26, 2012
Git ignore
Tuesday, April 3, 2012
compile Android Apps
Command
1. make: compile all Android system
2. make [package name]: the package name can be found in packages/apps/xx/Android.mk
or
mmm packages/apps/Package_name
The APK and odex will generate in out/target/product/generic/system/app/xxx.apk
3. make snod: this command will regenerate system.img
Put 3rd apk into system.img
1. put apk into out/target/product/generic/system/app/
2. make snod
or
1. mkdir packages/apps/MyApp
2. vi Android.mk
LOCAL_PATH:=$(call my-dir)
include $(CLEAR_VARS)
LOCAL_POST_PROCESS_COMMAND:=$(shell cp -r $(LOCAL_PATH)/*.apk $TARGET_OUT)/app/)
3. make
Generate AIDL stub
1. make: compile all Android system
2. All system AIDL will convert java code in android_source/out/target/common/obj/JAVA_LIBRARIES/.....
1. make: compile all Android system
2. make [package name]: the package name can be found in packages/apps/xx/Android.mk
or
mmm packages/apps/Package_name
The APK and odex will generate in out/target/product/generic/system/app/xxx.apk
3. make snod: this command will regenerate system.img
Put 3rd apk into system.img
1. put apk into out/target/product/generic/system/app/
2. make snod
or
1. mkdir packages/apps/MyApp
2. vi Android.mk
LOCAL_PATH:=$(call my-dir)
include $(CLEAR_VARS)
LOCAL_POST_PROCESS_COMMAND:=$(shell cp -r $(LOCAL_PATH)/*.apk $TARGET_OUT)/app/)
3. make
Generate AIDL stub
1. make: compile all Android system
2. All system AIDL will convert java code in android_source/out/target/common/obj/JAVA_LIBRARIES/.....
Friday, February 17, 2012
gimap
use telnet to connect gimap.
1. openssl s_client -crlf -connect imap.gmail.com:993
2. . login xxx@gmail.com PASSWORD
3. . list "" "*"
4. use other command. such as close, store, create, delete....
1. openssl s_client -crlf -connect imap.gmail.com:993
2. . login xxx@gmail.com PASSWORD
3. . list "" "*"
4. use other command. such as close, store, create, delete....
Monday, January 16, 2012
Git- Can't locate Error.pm : on Mac OS X
install Git on Mac. When I put "git add -i", then show "Can't locate Error.pm in @INC ....."
I found the answer on internet as belowTamsler:
sudo perl -MCPAN -e 'install Error'
I found the answer on internet as belowTamsler:
sudo perl -MCPAN -e 'install Error'
Subscribe to:
Posts (Atom)