Tuesday, 27 October 2015

Android manual flash

  • run the flash-all.bat up until the point where it fails
  • unzip image-volantis-lrx21l.zip
  • fastboot flash system system.img
  • fastboot flash recovery recovery.img
  • fastboot flash cache cache.img
  • fastboot flash boot boot.img
  • fastboot flash vendor vendor.img
  • from tablet - select hboot
  • select factory reset

Git credential helper

To permanently store password for git:

git config credential.helper store

Use should specify caching expire:

git config --global credential.helper 'cache --timeout 7200'

Git aliases

[diff]
        algorithm = patience

[http]
        sslVerify = false
[push]
        default = matching
[alias]
        stat = status
        co = checkout
        lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold yellow)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(whit
)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
        lg = !"git lg1"
        sb = submodule