MCPcopy Create free account

hub / github.com/DingGuodong/LinuxBashShellScriptForOps / functions

Functions1,705 in github.com/DingGuodong/LinuxBashShellScriptForOps

↓ 4 callersFunctionsqlite3_get_token
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:212
↓ 4 callersFunctionterminal_debug_win32
(func)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:253
↓ 4 callersFunctionto_str_or_bust
(obj, encoding='utf-8')
projects/backupOps/backup-files-to-aliyun-oss.py:164
↓ 4 callersFunctionverbose_ping
Send `count' ping with `psize' size to `dest_addr' with the given `timeout' and display the result.
functions/net/icmp/python-ping.py:238
↓ 3 callersFunctionRegexURLResolver
(regex, string)
projects/PythonHTTPServer/sampleHttpServer.py:56
↓ 3 callersMethod__get_token_from_weixin_qy_api
(self)
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:282
↓ 3 callersMethod_end_headers
(self)
projects/PythonHTTPServer/sampleHttpServer.py:80
↓ 3 callersMethod_send_response
(self, http_status_code)
projects/PythonHTTPServer/sampleHttpServer.py:72
↓ 3 callersMethod_set_headers
(self)
projects/PythonHTTPServer/sampleHttpServer.py:77
↓ 3 callersMethod_set_headers
(self)
functions/net/tcp/http/httpServer.py:9
↓ 3 callersMethodattach_stream
Replaces the stream with new one
projects/PythonDaemon/pydaemon.py:64
↓ 3 callersFunctionbytes2human
(n)
functions/system/disk_usage.py:24
↓ 3 callersFunctionconfirm
Ask user a yes/no question and return their response as True or False. :parameter question: ``question`` should be a simple, grammatical
projects/WindowsSystemOps/Filesystem/rmDirectory.py:46
↓ 3 callersFunctionconfirm
Ask user a yes/no question and return their response as True or False. :parameter question: ``question`` should be a simple, grammatical
projects/backupOps/MySQL/backupMySQLOnWindows.py:35
↓ 3 callersMethoddebug
(self, msg)
functions/log/pyLogging_u3.py:68
↓ 3 callersFunctiondecoding
(text)
projects/LinuxSystemOps/SoftwareManagement/yum/pyTryInstallPackagesUntilSuccessfuss.py:31
↓ 3 callersFunctiondecoding
(text)
projects/backupOps/MongoDB/backupMongoDB.py:54
↓ 3 callersFunctiondecoding
(text)
functions/locale_i18n/decodingString.py:42
↓ 3 callersFunctiondecoding
(text)
functions/net/tcp/ssh/pySettingSSHTrust.py:74
↓ 3 callersFunctiondecoding
(text)
functions/system/command/pyRunSystemCommand.py:30
↓ 3 callersFunctiondecoding
(text)
functions/system/command/runSystemCommand.py:13
↓ 3 callersMethodextract
提取出xml数据包中的加密消息 @param xmltext: 待提取的xml字符串 @return: 提取出的加密消息字符串
projects/WeChatOps/WXBizMsgCrypt/WXBizMsgCrypt.py:118
↓ 3 callersFunctionfetch_one
(sql, args=None)
projects/LinuxSystemOps/SoftwareManagement/zabbix/clean-zabbix-histroy-and-trend-data.py:65
↓ 3 callersFunctiongenerate_6bits_captcha_using_totp
(key='base32secret3232', interval=30)
functions/string/encrypt/generate-captcha-with-one-way-encryption.py:33
↓ 3 callersMethodgetCmdline
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:133
↓ 3 callersMethodgetCmdlineChain
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:197
↓ 3 callersMethodgetConfig
(myClass)
projects/GitWebHooksAutoDeployScript/GitOSCAutoDeployWithLog.py:24
↓ 3 callersMethodgetConfig
(myClass)
projects/GitWebHooksAutoDeployScript/GitOSCAutoDeploy.py:20
↓ 3 callersMethodgetConfig
(myClass)
projects/GitWebHooksAutoDeployScript/GitAutoDeploy.py:17
↓ 3 callersMethodgetConfig
(myClass)
projects/GitWebHooksAutoDeployScript/GitLabAutoDeploy.py:24
↓ 3 callersMethodgetContainerId
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:276
↓ 3 callersMethodgetContainerLongIdUsingDockerInspectAllContainerID
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:31
↓ 3 callersMethodget_area_addr
(self, offset=0)
functions/net/ip/GeoIP/chunzhen.net/parse-qqwry.dat.py:48
↓ 3 callersFunctionget_dashes
(perc)
functions/system/top.py:132
↓ 3 callersFunctionget_domain_name
()
projects/checkServicesAvailability/HttpService/pyCheckHTTPServiceStatus.py:75
↓ 3 callersFunctionget_hash_sum
(filename, method="md5", block_size=65536)
projects/LinuxSystemOps/SoftwareManagement/others/install_python27.py:40
↓ 3 callersFunctionget_hash_sum
(filename, method="md5", block_size=65536)
projects/WindowsSystemOps/Filesystem/generate-filename-and-md5sum.py:32
↓ 3 callersFunctionget_hash_sum
(filename, method="md5", block_size=65536)
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:272
↓ 3 callersFunctionget_hash_sum
(name, method="md5", block_size=65536)
functions/net/tcp/http/download/downloadFileWithRequest.py:23
↓ 3 callersFunctionget_hash_sum
(name, method="md5", block_size=65536)
functions/net/tcp/http/download/downloadFileWithUrllib.py:26
↓ 3 callersFunctionget_hash_sum
(filename, method="md5", block_size=65536)
functions/file/getHashSum.py:15
↓ 3 callersMethodget_ip_addr
(self, ip)
functions/net/ip/GeoIP/chunzhen.net/parse-qqwry.dat.py:109
↓ 3 callersFunctionget_random_string
Returns a securely generated random string. The default length of 12 with the a-z, A-Z, 0-9 character set returns a 71-bit value. log_2(
functions/string/password-generator.py:65
↓ 3 callersMethodget_tcp_port_statics
(self, port)
functions/net/tcp/port/getTCPPortListenedOnLocal.py:91
↓ 3 callersFunctiongrant_privilege
()
projects/WindowsSystemOps/Filesystem/rmDirectory.py:87
↓ 3 callersMethodip2str
(ip)
functions/net/ip/GeoIP/chunzhen.net/parse-qqwry.dat.py:152
↓ 3 callersFunctionis_apt
:return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:119
↓ 3 callersFunctionis_centos
()
projects/LinuxSystemOps/Services/SysV/sysv-initscript-render/pyInitScriptRender.py:69
↓ 3 callersFunctionis_iterable
(source)
projects/WindowsSystemOps/Services/ServiceControl.py:76
↓ 3 callersFunctionis_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:57
↓ 3 callersFunctionis_yum
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:130
↓ 3 callersFunctionlocaltime_to_utc_iso8601
(date, l_date_format="%Y%m%d%H%M%S", l_timezone='Asia/Shanghai', r_date_format="%
functions/date/datetime-related-calculate.py:101
↓ 3 callersFunctionmysql_query
mysql query sql on mysql server :param conn: 'pymysql.connections.Connection' :param sql: SQL str :return: list
functions/nosql/database/mysql/get-charset-and-collation.py:32
↓ 3 callersFunctionprint_line
A thin wrapper around curses's addstr().
functions/system/iotop.py:59
↓ 3 callersFunctionquery_account_status_u1
query user account status and return (account_status, message) status meaning: None: error, see message True: enabled
projects/WindowsSystemOps/Account/windows-user-accounts-manager.py:391
↓ 3 callersMethodrepo_path
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:170
↓ 3 callersMethodrespond
(self, code)
projects/GitWebHooksAutoDeployScript/GitAutoDeploy.py:83
↓ 3 callersMethodrevision_log
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:173
↓ 3 callersFunctionrun_command_on_linux
(command)
projects/LinuxSystemOps/SoftwareManagement/yum/pyYumUpdatePackagesSafely.py:37
↓ 3 callersFunctionrun_powershell_with_codepage_936
run remote command with WinRM [Chinese characters are not displayed properly #288](https://github.com/diyan/pywinrm/issues/288) [Code Pa
projects/WindowsSystemOps/Account/windows-user-accounts-manager.py:197
↓ 3 callersFunctionsearch_accept_info
Example data: 2017-05-19T01:02:56.132Z,08D49E27F24ADC00,192.168.88.32:25,120.55.114.215:50984,120.55.114.215,, sound9@vi-competit
projects/WindowsSystemOps/Software/Microsoft/Exchange/FindPassedEmailProviderFromAgentLog.py:62
↓ 3 callersFunctionsearch_block_info
Example data: 2017-05-19T01:02:56.132Z,08D49E27F24ADC00,192.168.88.32:25,120.55.114.215:50984,120.55.114.215,, sound9@vi-competit
projects/WindowsSystemOps/Software/Microsoft/Exchange/FindBlockedEmailProviderFromAgentLog.py:62
↓ 3 callersMethodset_ip_range
(self, index)
functions/net/ip/GeoIP/chunzhen.net/parse-qqwry.dat.py:99
↓ 3 callersFunctionstage_set
(stage_name='develop')
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:87
↓ 3 callersFunctionsubprocess_check_output_background
(*args, **kwargs)
functions/system/command/pyPythonicRunSystemCommand.py:94
↓ 3 callersFunctionto_unicode_or_bust
convert non-unicode object to unicode object :param obj: str object or unicode :param encoding: :return:
projects/WindowsSystemOps/Account/windows-user-accounts-manager.py:135
↓ 3 callersFunctionvalidate_host
Validate the given host for this site. Check that the host looks valid and matches a host or host pattern in the given list of ``allowed
functions/net/ip/validate_ip_or_domain_ACL.py:85
↓ 2 callersMethod__build_spamhaus_zone
(ip)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/pyLookupSpamBlockListWithDig.py:57
↓ 2 callersMethod__query_spamhaus
(query)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/pyLookupSpamBlockListWithDig.py:63
↓ 2 callersMethod_end_headers
(self)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:64
↓ 2 callersMethod_send_response
(self, http_status_code)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:56
↓ 2 callersMethod_set_headers
(self)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:61
↓ 2 callersFunction_win_or_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:86
↓ 2 callersFunction_win_or_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:82
↓ 2 callersFunction_win_or_linux
()
functions/distribution-release/getLinuxDist.py:17
↓ 2 callersMethodadd_key
(self, key="", key_file="")
functions/net/tcp/ssh/pySettingSSHTrust.py:239
↓ 2 callersFunctionbytes2human
>>> bytes2human(10000) '9K' >>> bytes2human(100001221) '95M'
functions/system/top.py:86
↓ 2 callersFunctioncentos_or_ubuntu
()
functions/distribution-release/getPlatformUseBuildin.py:29
↓ 2 callersFunctionchangeRemoteDesktopSetting
(enableRDP=True)
projects/WindowsSystemOps/Software/Microsoft/pyRemoteDesktopOps.py:99
↓ 2 callersFunctioncheckDataIntegrity
(path_to_check, file_to_save)
functions/security/checkDataIntegrity.py:171
↓ 2 callersFunctioncheck_id_number
check if id card number is a valid :param number: id card number :type number: str :return: bool
functions/string/pyCheckIDCardNumber.py:44
↓ 2 callersFunctioncheck_id_number1
check if id card number is a valid :param number: id card number :type number: str :return: bool
functions/string/pyCheckIDCardNumber.py:65
↓ 2 callersFunctioncheck_id_number2
check if id card number is a valid :param number: id card number :type number: str :return: bool
functions/string/pyCheckIDCardNumber.py:85
↓ 2 callersFunctioncheck_id_number3
check if id card number is a valid :param number: id card number :type number: str :return: bool
functions/string/pyCheckIDCardNumber.py:106
↓ 2 callersFunctioncheck_path
(path)
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:302
↓ 2 callersFunctionclean_files
(ext=".bak", prefix="", )
projects/WindowsSystemOps/Filesystem/gen-demo-data/generate-test-files.py:37
↓ 2 callersFunctioncompile_source_code
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:238
↓ 2 callersFunctioncompress_files
compress files or directory using tar in python :param name: tgz filename, the name can be a full path of name :param path: path to file
projects/backupOps/python-backup-mysql-and-files.py:67
↓ 2 callersFunctionconfirm
Ask user a yes/no question and return their response as True or False. :parameter question: ``question`` should be a simple, grammatical
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:61
↓ 2 callersMethodconnect_ftp
(self)
functions/net/tcp/sftp/py-ftps-client-oop.py:57
↓ 2 callersMethodconnect_ftps
FTP over TLS NOte: do NOT enable 'Require TLS session resumption on data connection when using PROT P', or yo
functions/net/tcp/sftp/py-ftps-client-oop.py:64
↓ 2 callersFunctionconvert_bytes
(n)
functions/system/procinfo.py:117
↓ 2 callersMethodcritical
(self, msg)
functions/log/pyLogging_u3.py:65
↓ 2 callersFunctiondns_query
(domain)
projects/WeChatOps/checkWeixinApi/putAvailableWeiXinApiDnsToHosts.py:14
↓ 2 callersFunctiondo_one
Returns either the delay (in seconds) or none on timeout.
functions/net/icmp/python-ping.py:212
↓ 2 callersFunctiondownload_file_to_curdir
(url)
functions/net/ip/GeoIP/chunzhen.net/download-latest-qqwry.dat.py:88
↓ 2 callersFunctionenable_account
enable user account :param server:hostname or ip address :type server:str | int :param name: user account name :type name:str
projects/WindowsSystemOps/Account/windows-user-accounts-manager.py:326
↓ 2 callersFunctionfind_versions
()
functions/string/regex/get-wanted-content-using-regex-.py:74
↓ 2 callersFunctiongather_facts
()
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:115
↓ 2 callersMethodgetCmdline
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:132
← previousnext →101–200 of 1,705, ranked by callers