advanced_development_shell_tools

Advanced Development Shell Tools - http://adriandc.github.io/advanced_development_shell_tools

GitHub project

Project changelog

Advanced Development Shell Tools

See how to install and update the project

  • Clone the project locally with git:
    git clone https://github.com/AdrianDC/advanced_development_shell_tools -b master
    
  • Load the project in a Shell terminal:
    source /path/to/folder/advanced_development_shell_tools.rc
    
  • Permanently load the project:
    Open ~/.bashrc, adapt and add:
    export ANDROID_DEV_DRIVE='/media/../AndroidDev'
    source '/.../advanced_development_shell_tools.rc'
    

    ANDROID_DEV_DRIVE: Optional folder for Android functions.

  • Synchronize new project additions:
    shtoolssync
    

[ Functions documentation ] (+/-)

Shell Tools • Advanced Development Shell Tools

project/access.rc


project/developer.rc


project/docs.rc


project/history.rc


project/interfaces.rc


project/search.rc


Android • ADB Tools

sources/android_adb/assets.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/assets.rc)

sources/android_adb/debug.rc


sources/android_adb/device.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/device.rc)

sources/android_adb/flash.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_build/target.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/flash.rc)

sources/android_adb/installers.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/helpers.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/installers.rc)

sources/android_adb/logs.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/logs.rc)

sources/android_adb/make.rc


sources/android_adb/multirom.rc


sources/android_adb/shortcuts.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/shortcuts.rc)

sources/android_adb/syncer.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/syncer.rc)

sources/android_adb/tools.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/tools.rc)

sources/android_adb/updater.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/updater.rc)

Android • Build Wrappers

sources/android_build/make.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_build/make.rc)

sources/android_build/target.rc


Android • Kernel Tools

sources/android_kernel/builders.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/helpers.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_kernel/builders.rc)

sources/android_kernel/defconfig.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_kernel/defconfig.rc)

sources/android_kernel/editors.rc


sources/android_kernel/helpers.rc


sources/android_kernel/tools.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_adb/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_build/helpers.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_build/target.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_release/cleaners.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_kernel/tools.rc)

Android • Release Tools

sources/android_release/builders.rc


sources/android_release/cleaners.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_release/cleaners.rc)

sources/android_release/helpers.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_release/helpers.rc)

sources/android_release/packages.rc


Android • Repository Tools

sources/android_repo/builders.rc


sources/android_repo/changelog.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/changelog.rc)

sources/android_repo/changes.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/changes.rc)

sources/android_repo/cleaners.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/helpers.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/cleaners.rc)

sources/android_repo/compare.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/compare.rc)

sources/android_repo/helpers.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/cleaners.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/helpers.rc)

sources/android_repo/init.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/init.rc)

sources/android_repo/referenced.rc


sources/android_repo/shortcuts.rc


sources/android_repo/tools.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_repo/tools.rc)

Android • ROM Tools

sources/android_rom/helpers.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/grep.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_rom/helpers.rc)

sources/android_rom/images.rc


sources/android_rom/projects.rc


Docker • Docker Helpers

sources/docker/helpers.rc

  • dockerrunhere : docker run -it -v “${PWD}/..:${PWD}/..” -w “${PWD}” ‐‐rm (Alias)
  • dockerimages : docker images ‐‐format=’:’ | sort -n (Alias)

Git • Gerrit Tools

sources/gerrit/repopicks.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/gerrit/ssh.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/gerrit/repopicks.rc)

sources/gerrit/review.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/gerrit/review.rc)

sources/gerrit/ssh.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/gerrit/ssh.rc)

Git • Development Tools

sources/git/cleaners.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/config.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/cleaners.rc)

sources/git/commit.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/cleaners.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/config.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/commit.rc)

sources/git/config.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/config.rc)

sources/git/fetch.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/remotes.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/tags.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/fetch.rc)

sources/git/history.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/history.rc)

sources/git/merge.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/merge.rc)

sources/git/pick.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/pick.rc)

sources/git/push.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/stats.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/push.rc)

sources/git/rebase.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/remotes.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/stats.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/rebase.rc)

sources/git/remotes.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/config.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/remotes.rc)

sources/git/stats.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/config.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/remotes.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/tools.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/stats.rc)
  • gitstat [remote] [branch] [stats_only] [Git history with remote comparator] 
  • gitst : gitstat (Alias)
  • gitsto : gitremoteverify origin gitrao && gitstat origin $(git rev-parse ‐‐abbrev-ref HEAD) (Alias)
  • gitstom : gitremoteverify origin gitrao && gitstat origin master (Alias)
  • gitsta : gitremoteverify $(githubusername) gitraa && gitstat $(githubusername) lineage-16.0 (Alias)
  • gitstam : gitremoteverify $(githubusername) gitraa && gitstat $(githubusername) master (Alias)
  • gitstg : gitremoteverify github false && gitstat github (Alias)
  • gitstaosp : gitremoteverify aosp false && gitstat aosp master (Alias)

sources/git/tags.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/tags.rc)

sources/git/tools.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/tools.rc)

Host • Development Tools

sources/host/aliases.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/aliases.rc)

sources/host/binary.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/grep.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/binary.rc)

sources/host/common.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)

sources/host/edit.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/edit.rc)

sources/host/find.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/find.rc)

sources/host/grep.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/find.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/grep.rc)

sources/host/linux.rc


sources/host/network.rc


sources/host/pushbullet.rc


sources/host/terminal.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/terminal.rc)

sources/host/tools.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/edit.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/tools.rc)

SQLite • Development Tools

sources/sqlite/converter.rc


SSH • Server Tools

sources/ssh/remote.rc


Files • Uploads Helpers

sources/uploads/basketbuild.rc


sources/uploads/common.rc


sources/uploads/ftp.rc


sources/uploads/helpers.rc


sources/uploads/local.rc


sources/uploads/mega.rc


Extensions • Android ROM Helpers

extensions/android_rom/gerrit.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/gerrit/review.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/gerrit/ssh.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/android_rom/gerrit.rc)
  • gitpr : gerritreview ssh://$(gerritusername)@review.lineageos.org:29418 LineageOS . for (Alias)
  • gitpg : gerritreview ssh://$(gerritusername)@review.lineageos.org:29418 LineageOS . heads (Alias)
  • gitprg : gitpr; gitpg (Alias)
  • gitprgy : echo -n “ynyn” | gitpr; echo -n “yny” | gitpg (Alias)
  • gitpraosp : gerritreview https://android.googlesource.com aosp . for (Alias)
  • gitpraospma : gerritreview https://android.googlesource.com aosp . for master (Alias)
  • gitprdaosp : gerritreview https://android.googlesource.com aosp . drafts (Alias)
  • gitprdaospma : gerritreview https://android.googlesource.com aosp . drafts master (Alias)
  • gitpraicp : gerritreview ssh://$(gerritusername)@gerrit.aicp-rom.com:29418 AICP . for n7.1 (Alias)
  • gitprdaicp : gerritreview ssh://$(gerritusername)@gerrit.aicp-rom.com:29418 AICP . drafts n7.1 (Alias)
  • gitpgaicp : gerritreview ssh://$(gerritusername)@gerrit.aicp-rom.com:29418 AICP . heads n7.1 (Alias)
  • gitprtwrp : gerritreview ssh://$(gerritusername)@gerrit.twrp.me:29418 . TeamWin for android-6.0 (Alias)
  • gitprdtwrp : gerritreview ssh://$(gerritusername)@gerrit.twrp.me:29418 . TeamWin drafts android-6.0 (Alias)

extensions/android_rom/lineageos.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/android_rom/lineageos.rc)

extensions/android_rom/remotes.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/config.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/remotes.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/android_rom/remotes.rc)

Extensions • Byobu Helpers

extensions/byobu/helpers.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/byobu/helpers.rc)

Extensions • Linux Host

extensions/linux/cleaners.rc


extensions/linux/rpm.rc


extensions/linux/virtualbox.rc


Extensions • MEGA Storage

extensions/mega/mirror.rc


extensions/mega/reload.rc


Extensions • Sony MSM8960

extensions/sony_msm8960/aosp_sony8960.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_rom/projects.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/sony_msm8960/aosp_sony8960.rc)

extensions/sony_msm8960/autorelease.rc


extensions/sony_msm8960/lineageos.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_rom/projects.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/sony_msm8960/lineageos.rc)

extensions/sony_msm8960/release.rc


Extensions • Sony MSM8996

extensions/sony_msm8996/aosp_sonysodp.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_rom/projects.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/sony_msm8996/aosp_sonysodp.rc)

extensions/sony_msm8996/autorelease.rc


extensions/sony_msm8996/builders.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_kernel/builders.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/git/cleaners.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/host/common.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/sony_msm8996/builders.rc)

extensions/sony_msm8996/lineageos_sony8996.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_rom/projects.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/sony_msm8996/lineageos_sony8996.rc)

extensions/sony_msm8996/lineageos_sonysodp.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/sources/android_rom/projects.rc)
source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/sony_msm8996/lineageos_sonysodp.rc)

extensions/sony_msm8996/release.rc


extensions/sony_msm8996/shortcuts.rc

  • doradefconf : makedefconf msm-perf dora common (Alias)
  • dorazipkernel : kernelinjectorzip dora arch/arm64/boot/Image.gz-dtb . (Alias)
  • kaguradefconf : makedefconf msm-perf kagura common (Alias)

Extensions • SyncThing Tools

extensions/syncthing/cleaners.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/syncthing/cleaners.rc)

extensions/syncthing/helpers.rc

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/extensions/syncthing/helpers.rc)

Scripts • Linux Host

scripts/linux/cleanram.sh

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/scripts/linux/cleanram.sh)

scripts/linux/cleanrambuild.sh

source <(curl -Ls1 https://github.com/AdrianDC/advanced_development_shell_tools/raw/master/scripts/linux/cleanrambuild.sh)