This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash - | |
#=============================================================================== | |
# | |
# FILE: opengrok_rules.sh | |
# | |
# USAGE: ./opengrok_rules.sh | |
# | |
# DESCRIPTION: | |
# | |
# OPTIONS: --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# encoding: utf-8 | |
import os, sys, getopt | |
import xml.dom.minidom | |
import subprocess | |
from xml.dom.minidom import Node | |
# 判断是否是App项目依据 | |
Axml='AndroidManifest.xml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash - | |
#=============================================================================== | |
# | |
# FILE: shell_pack.sh | |
# | |
# USAGE: ./shell_pack.sh | |
# | |
# DESCRIPTION: | |
# | |
# OPTIONS: --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
#=============================================================================== | |
# | |
# FILE: logcat_all.sh | |
# | |
# USAGE: ./logcat_all.sh | |
# | |
# DESCRIPTION: DEBUG版时,打印所有日志(包括时间)到指定文件,方便后期排查问题 | |
# | |
# OPTIONS: --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash - | |
#=============================================================================== | |
# | |
# FILE: server.sh | |
# | |
# USAGE: ./server.sh | |
# | |
# DESCRIPTION: | |
# | |
# OPTIONS: --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash - | |
#=============================================================================== | |
# | |
# FILE: client.sh | |
# | |
# USAGE: ./client.sh | |
# | |
# DESCRIPTION: | |
# | |
# OPTIONS: --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__linux_git_complete_file=/usr/share/bash-completion/completions/git | |
__windows_git_complete_file=/etc/bash_completion.git | |
__host_os_type=$(uname -sm) | |
case ${__host_os_type:0:5} in | |
Linux) | |
__current_git_complete_file=$__linux_git_complete_file | |
;; | |
MINGW) | |
__current_git_complete_file=$__windows_git_complete_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function _gmto() | |
{ | |
local cur prev opts | |
COMPREPLY=() | |
cur="${COMP_WORDS[COMP_CWORD]}" | |
prev="${COMP_WORDS[COMP_CWORD-1]}" | |
COMPREPLY=( $(compgen -W "$(git branch | sed '/\*/d' | xargs echo)" -- ${cur}) ) | |
return 0 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash - | |
#=============================================================================== | |
# | |
# FILE: cscope-android.sh | |
# | |
# USAGE: | |
# . build/envsetup.sh | |
# lunch | |
# cd /path/to/workdir | |
# # first setup, find c include path by mmm command: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
libs=" | |
libresolv.so | |
libncurses.so | |
libtinfo.so | |
libm.so | |
libc.so | |
" |
OlderNewer