MCPcopy Create free account

hub / github.com/DingGuodong/LinuxBashShellScriptForOps / functions

Functions1,705 in github.com/DingGuodong/LinuxBashShellScriptForOps

Functionbl_spamhaus
(domain)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:48
Functionbl_urlbl
(domain)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:20
Methodbranch
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:121
Functionbytes2human
Convert n bytes into a human readable string based on format. symbols can be either "customary", "customary_ext", "iec" or "iec_ext", see
functions/others/ui/bytes-to-human-to-bytes.py:58
Functionbytes2human
Convert n bytes into a human readable string based on format. symbols can be either "customary", "customary_ext", "iec" or "iec_ext", see
functions/net/tcp/port/python_iftop_tcp_network_traffic.py:79
Functioncall_walk_tasks
()
projects/WindowsSystemOps/Software/Microsoft/TaskScheduler/check-task-scheduler-status.py:106
Functioncb
(result, error)
functions/net/dns/pyDnsQueryWithPyCares.py:53
FunctionchangeQuit_flag
(signum, frame)
projects/checkServicesAvailability/HttpService/testNoHttpResponseException.py:39
Functionchange_filename
()
projects/WindowsSystemOps/Software/Microsoft/Windows/disable-windows-update.py:85
Methodcheck
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:102
MethodcheckDockerServerVersion
()
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:43
FunctioncheckWeChatApi
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:212
Functioncheck_domains_status
()
functions/performance/multiprocessing/using-thread-pool-to-handle-io-intensive-task.py:74
Functioncheck_if_in_all
return True if all item of iterable in string :param string: str obj :param iterable: iterable obj such as list/tuple etc. :return: b
functions/options/tiny-script-for-argument-options.py:50
Functioncheck_if_in_any
return True if any item of iterable in string :param string: str obj :param iterable: iterable obj such as list/tuple etc. :return: b
functions/options/tiny-script-for-argument-options.py:40
Functioncheck_name_resolve
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:288
Functioncheck_network_connectivity
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:272
Functioncheck_runtime_dependencies
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:244
Methodclean
(self)
functions/net/tcp/ssh/pySettingSSHTrust.py:251
Functionclean_old_backups
clean old backups with given directory, return counts of files deleted :param path: backup directory :param ext: extension of backup file
projects/backupOps/MySQL/backup-mysql-to-remote-over-ssh.py:283
Functioncleanup
Clean up old releases
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:242
Functioncmp_ipaddress
(ip1, ip2)
functions/net/ip/pySortingIP.py:84
Functioncompare_by_time
(x, y)
projects/backupOps/MongoDB/backupMongoDB.py:152
Functioncompare_two_time
排序参数函数,比较两个时间的大小 sorted(res_raw, cmp=lambda x, y: compare_two_time(x, y)) :param left: :param right: :param date_format: :re
functions/date/datetime-related-calculate.py:56
Functioncompare_version_degraded
(version_left="", version_right="")
functions/string/pyVersionCompare.py:49
Functioncompress_then_delete
(path)
projects/WindowsSystemOps/Filesystem/compress-backup-files.py:186
FunctionconfToDict
(pathFile)
functions/file/ConfParser/confparser-confToDict.py:168
Functionconfig_ssh_connection
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:204
Functionconfirm
Ask user a yes/no question and return their response as True or False. :parameter question: ``question`` should be a simple, grammatical
functions/options/askUserYesNoToConfirm.py:13
Functionconn_handler
(cur_conn, cur_addr)
functions/net/socket/echo-server-using-raw-socket.py:65
Functionconnectivity_test
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:299
Functionconnectivity_test
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:354
Functioncounter_based_otp
()
functions/string/encrypt/python-rfc4226-rfc6238.py:46
Methodcountry
(self)
functions/net/ip/getPublicIPAddress_urllib2Impl.py:41
Methodcountry
(self)
functions/net/ip/getPublicIPAddress_curlImpl.py:48
Functioncreate_biz_directories
biz is stand for business e.g: /opt/<company abbr>/<sub-biz abbr>/{data, log} :return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:371
Functioncreate_biz_directories
biz is stand for business e.g: /opt/<company abbr>/<sub-biz abbr>/{data, log} :return:
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:441
Functioncreate_directory
(path)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:366
Functioncreate_directory
(path)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:436
Functioncreate_task_trigger_daily
(at_time)
projects/WindowsSystemOps/Software/Microsoft/TaskScheduler/create-a-task.py:62
Functioncreate_task_trigger_time
(at_time)
projects/WindowsSystemOps/Software/Microsoft/TaskScheduler/create-a-task.py:54
Functioncreate_thumbnail
(filename)
functions/performance/other-performance-improvement/pyUseMapImprovePerformance.py:50
Functioncron_example1
()
functions/others/scheduler/APScheduler-quick-start.py:105
Functioncron_example2
()
functions/others/scheduler/APScheduler-quick-start.py:117
Methoddate_time_string
(self, timestamp=None)
projects/PythonHTTPServer/sampleHttpServer.py:67
Functiondatetime_to_timestamp
This function converts dates with format for python 2.x 'Thu Jul 13 08:22:34 2017' to seconds since 1970. "%a %b %d %H:%M:%S %Y" time dat
functions/date/datetime-related-calculate.py:129
Functiondebug
(msg, code=None)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:20
Methoddebug
(self, objects)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:103
Methoddebug
(self, message)
functions/nosql/database/mysql/pyMysqlLoginMonitor.py:48
Functiondebug_msg
(msg, *args, **kwargs)
projects/LinuxSystemOps/Services/service-starter.py:149
Functiondebug_msg
(msg, *args, **kwargs)
projects/WindowsSystemOps/Filesystem/compress-backup-files.py:99
Functiondebug_msg
(msg, *args, **kwargs)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files.py:98
Functiondebug_msg_with_logging
脚本调试函数,输出日志行到标准输出 :param msg: str, 需要打印日志的普通字符串 :param args: 需要打印日志的list、tuple等 :param kwargs: 需要打印日志的字典 :return:
projects/LinuxSystemOps/Services/service-starter.py:158
Functiondebug_msg_with_logging
脚本调试函数,输出日志行到标准输出 :param msg: str, 需要打印日志的普通字符串 :param args: 需要打印日志的list、tuple等 :param kwargs: 需要打印日志的字典 :return:
projects/WindowsSystemOps/Filesystem/compress-backup-files.py:108
Functiondecoding
(text)
projects/WindowsSystemOps/System/Information/pyGetSystemInformationWithWMI.py:38
Functiondecoding_deprecated
(text)
functions/locale_i18n/decodingNonASCII.py:51
Functiondecorated
(*args, **kwargs)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:111
Functiondecorated
(*args, **kwargs)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:135
Functiondeploy
Deploy the project.
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricWithStages.py:53
Functiondeploy
Deploys your project. This calls both `update' and `restart
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:288
Functiondeploy
Deploys your project. This calls both `update' and `restart
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:343
Functiondevelop
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:94
Functiondevelop
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:108
FunctiondisableRemoteDesktop
()
projects/WindowsSystemOps/Software/Microsoft/pyRemoteDesktopOps.py:114
Functiondisable_account
(name)
projects/WindowsSystemOps/Account/python-enable-disable-account-using-wmi.py:61
Functiondisable_account_wrapper
(args)
projects/WindowsSystemOps/Account/windows-user-accounts-manager.py:527
Functiondisable_ipv6
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:362
Functiondisable_task
()
projects/WindowsSystemOps/Software/Microsoft/Windows/disable-windows-update.py:90
Functiondisplay_countdown
(sec)
projects/WindowsSystemOps/System/pyScheduleTask.py:80
Functiondisplay_scheduler
blocking process 2 :return:
projects/WindowsSystemOps/System/pyScheduleTask.py:103
Methoddistribute_key
(self, host)
functions/net/tcp/ssh/pySettingSSHTrust.py:180
Methoddo_DELETE
(self)
functions/string/genSerializedUniqueNumber.py:108
Methoddo_GET
(self)
projects/PythonHTTPServer/sampleHttpServer.py:101
Methoddo_GET
(self)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:67
Methoddo_GET
Handle GET Request
projects/GitWebHooksAutoDeployScript/GitOSCAutoDeployWithLog.py:53
Methoddo_GET
Handle GET Request
projects/GitWebHooksAutoDeployScript/GitLabAutoDeploy.py:53
Methoddo_GET
(self)
functions/net/tcp/http/httpServer.py:14
Methoddo_GET
(self)
functions/string/genSerializedUniqueNumber.py:94
Methoddo_HEAD
(self)
projects/PythonHTTPServer/sampleHttpServer.py:131
Methoddo_HEAD
(self)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:86
Methoddo_HEAD
(self)
functions/net/tcp/http/httpServer.py:18
Methoddo_HEAD
(self)
functions/string/genSerializedUniqueNumber.py:102
Methoddo_POST
(self)
projects/PythonHTTPServer/sampleHttpServer.py:137
Methoddo_POST
(self)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:94
Methoddo_POST
Handle POST Request
projects/GitWebHooksAutoDeployScript/GitOSCAutoDeployWithLog.py:85
Methoddo_POST
(self)
projects/GitWebHooksAutoDeployScript/GitOSCAutoDeploy.py:49
Methoddo_POST
(self)
projects/GitWebHooksAutoDeployScript/GitAutoDeploy.py:46
Methoddo_POST
Handle POST Request
projects/GitWebHooksAutoDeployScript/GitLabAutoDeploy.py:85
Methoddo_POST
(self)
functions/net/tcp/http/httpServer.py:21
Methoddo_POST
(self)
functions/string/genSerializedUniqueNumber.py:111
Methoddo_PUT
(self)
functions/string/genSerializedUniqueNumber.py:105
Functiondo_a_long_time_task
(x)
functions/performance/multiprocessing/multiprocessing-child-can-interrupt-by-keyboard.py:33
Functiondo_one_http_get_request
(url)
functions/net/tcp/http/do-one-http-get-request.py:30
Functionevent_listener
(event)
functions/others/scheduler/APScheduler-quick-start.py:129
Functionexample0
()
functions/file/python_handle_file/progressbar_example.py:38
Functionexample1
()
functions/file/python_handle_file/progressbar_example.py:47
Functionexample10
()
functions/file/python_handle_file/progressbar_example.py:142
Functionexample11
()
functions/file/python_handle_file/progressbar_example.py:150
Functionexample12
()
functions/file/python_handle_file/progressbar_example.py:158
Functionexample13
()
functions/file/python_handle_file/progressbar_example.py:166
← previousnext →1,201–1,300 of 1,705, ranked by callers