MCPcopy Create free account

hub / github.com/DingGuodong/LinuxBashShellScriptForOps / functions

Functions1,705 in github.com/DingGuodong/LinuxBashShellScriptForOps

Functionsha256sum
(filename)
projects/WindowsSystemOps/Filesystem/generate-filename-and-md5sum.py:67
Functionsha256sum
(filename)
functions/file/getHashSum.py:50
FunctionshowDiskUsage
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:64
FunctionshowDiskUsage
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:182
FunctionshowMemory
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:60
FunctionshowUptime
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:52
FunctionshowUptime
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:219
FunctionshowVmstat
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:56
Functionshow_human_readable_process_info
(proc)
projects/WindowsSystemOps/System/pyProcessMonitor.py:41
Functionshow_login_users_count
this function is deprecated, use len(show_login_hosts) to get login user count :param user: :return:
functions/nosql/database/mysql/pyMysqlLoginMonitor.py:96
Functionshow_prompt
(*args, **kwargs)
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:70
Functionshow_prompt
(*args, **kwargs)
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:68
Functionshow_uname
()
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:122
Functionshow_uname
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:135
Functionshow_uname
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:156
Functionshutdown_NetEaseCloudMusic
(name)
projects/WindowsSystemOps/System/pyScheduleTask.py:37
Functionshutit_example_1
()
projects/LinuxSystemOps/AutoDevOps/pythonSelf/pyShutitOps.py:21
Functionshutit_example_2
()
projects/LinuxSystemOps/AutoDevOps/pythonSelf/pyShutitOps.py:30
Functionshutit_example_3
()
projects/LinuxSystemOps/AutoDevOps/pythonSelf/pyShutitOps.py:49
Functionsigkill_handler
(_signo, _stack_frame)
projects/PythonDaemon/pyFakeDaemon.py:66
Methodsignal_handler
Handle print_exit via signals
functions/net/icmp/another-ping.py:277
Functionsigterm_handler
(_signo, _stack_frame)
projects/PythonDaemon/pyFakeDaemon.py:60
Functionsigterm_handler
(_signo, _stack_frame)
projects/PythonHTTPServer/sampleHttpServer.py:162
Functionsigterm_handler
(_signo, _stack_frame)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:142
Functionsit
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:113
Functionsleep_random_seconds_float
(start=0, end=1)
functions/net/tcp/http/requests-good-examples.py:38
Functionsort_files_by_ctime
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:190
Functionsort_files_by_ctime
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files.py:184
Functionsort_files_by_ctime_with_extension
(path=None, type_extension=None, excludes=None)
projects/LinuxSystemOps/Filesystem/remove_old_error_log.py:33
Functionsort_list_by_column
(iterable, split_by=" ", column=0, reverse=True)
projects/LinuxSystemOps/Security/nginx/get-all-nginx-clients-ip.py:64
Functionsplit_domain_port
Return a (domain, port) tuple from a given host. Returned domain is lower-cased. If the host is invalid, the domain will be empty.
functions/net/ip/validate_ip_or_domain_ACL.py:35
Functionsplit_large_file_by_line
https://stackoverflow.com/questions/8096614/split-large-files-using-python :param: path: path to split :return:
projects/backupOps/backup-files-to-aliyun-oss.py:333
Functionsplit_large_file_by_size
:param: path: path to split :return:
projects/backupOps/backup-files-to-aliyun-oss.py:356
Functionsqlite3_create_tables
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:129
Functionsqlite3_create_tables
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:141
Functionsqlite3_execute
(database, sql)
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:85
Functionsqlite3_execute
(database, sql)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:82
Functionsqlite3_get_credential
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:204
Functionsqlite3_get_limits
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:242
Functionsqlite3_get_token
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:222
Functionsqlite3_set_limit
(limit, used, datetime)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:184
Functionsqlite3_set_token
(access_token, expires_in, expires_on, is_expired)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:163
Functionsqlite3_update_account
(new_corpid, new_secret)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:276
Functionsqlite3_update_limit
(new_used, new_datetime)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:288
Functionsqlite3_update_token
(access_token, expires_on)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:264
Functionssh_connect
(port)
functions/net/tcp/ssh/pySshPortScanner.py:68
Functionstart_service
(service_name='TermService')
projects/WindowsSystemOps/Services/pyRestartExchangeServices.py:114
Functionstudent2dict
(student)
functions/string/picklingSerialization/picklingWithJson.py:21
Functionsudo_run
(*args, **kwargs)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:231
Functiontail_forever_deprecated
tail can NOT remember the last position it has read, so it will always show the line it had read in some case and not act well on Microsoft W
functions/string/py-tail-following-filename.py:31
Functiontail_remote_file
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricBatchManager.py:65
MethodtearDown
(self)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:75
MethodtearDown
(self)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:92
Functiontear_down
()
functions/system/iotop.py:46
Functiontear_down
()
functions/system/nettop.py:47
Functiontear_down
()
functions/system/top.py:53
Functionterminal_debug_posix
(func)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:260
Functiontest
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricWithStages.py:48
FunctiontestNoHttpResponseException
(url)
projects/checkServicesAvailability/HttpService/testNoHttpResponseException.py:46
Functiontest_deploy
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:304
Methodtest_search_in_python_org
(self)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:66
Methodtest_search_in_python_org
(self)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:83
Methodtest_ssh_connect
(self, host='localhost')
functions/net/tcp/ssh/pySettingSSHTrust.py:187
Functiontest_timeout_with_content_manager
(seconds)
functions/performance/timeMeasure/setTimeout.py:23
Functiontext_reply
(msg)
projects/WeChatOps/pyWeiXinForFun/apiTestForWeChatWithItChat.py:24
Functiontick
()
functions/others/scheduler/APScheduler-quick-start.py:72
Functiontime_based_otp
()
functions/string/encrypt/python-rfc4226-rfc6238.py:36
Functiontimeit
测量函数执行所用时间的装饰器 https://stackoverflow.com/questions/8885663/how-to-format-a-floating-number-to-fixed-width-in-python :param func: :ret
projects/LinuxSystemOps/SoftwareManagement/zabbix/clean-zabbix-histroy-and-trend-data.py:37
Functiontimeit
测量函数执行所用时间的装饰器 https://stackoverflow.com/questions/8885663/how-to-format-a-floating-number-to-fixed-width-in-python :param func: :ret
projects/WindowsSystemOps/Filesystem/file-encoding-converter-and-compress-to-zip.py:82
Functionto_str_or_bust
(obj, encoding='utf-8')
projects/WindowsSystemOps/Filesystem/sync-file-after-modified.py:39
Functionto_str_or_bust
convert unicode object to str object :param obj: unicode object or str :param encoding: :return:
projects/backupOps/MySQL/backup-mysql-to-remote-over-ssh.py:80
Functionto_str_or_bust
convert unicode object to str object :param obj: unicode object or str :param encoding: :return:
projects/backupOps/FileSystem/clean-old-backups-with-given-directory.py:49
Functionto_str_or_bust
convert unicode object to str object :param obj: unicode object or str :param encoding: :return:
functions/locale_i18n/always-using-unicode.py:45
Functiontry_connect
(ip, port)
functions/net/tcp/port/getOpenedPortsOnRemoteHost.py:30
Functiontry_connect
(ip, port)
functions/net/tcp/ssh/pySshPortScanner.py:40
Functiontry_exec
(*args, **kwargs)
projects/WindowsSystemOps/System/pyDisableIPv6OnWindows.py:36
Functiontry_exec
(*args, **kwargs)
projects/WindowsSystemOps/Software/Microsoft/pyRemoteDesktopOps.py:36
Functiontry_run
(func)
projects/WindowsSystemOps/System/pyDisableIPv6OnWindows.py:32
Functiontry_run
(func)
projects/WindowsSystemOps/Software/Microsoft/pyRemoteDesktopOps.py:32
Functionuat
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:118
Functionunoptimized_task
()
functions/performance/multiprocessing/using-thread-pool-to-handle-io-intensive-task.py:87
Functionuntar
(src, dst=os.path.abspath(os.curdir))
functions/net/ip/GeoIP/pyMaxmindGeoIP.py:46
Functionupload_file
(src, dst)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:345
Functionupload_file
(src, dst)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:416
Functionusage
()
functions/monitor/send_message/send-zabbix-alert-msg-to-weixin-work.py:193
Methodusage
(self)
functions/net/tcp/ssh/pySettingSSHTrust.py:153
Methoduser
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:137
FunctionusernameComb
(usernamePart1, usernamePartN)
functions/string/usernameCapitalize.py:19
FunctionusernameFormat
(username)
functions/string/usernameCapitalize.py:15
Functionutc_to_string
(datetime_utc, fmt="%Y-%m-%d %H:%M:%S")
functions/net/dns/python-whois-query.py:69
Functionvalidate
check files backuped on OSS :return:
projects/backupOps/backup-files-to-aliyun-oss.py:525
Functionwith_defaults
A decorator that sets all defaults for a task.
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:107
Functionwith_defaults
A decorator that sets all env defaults for certain fabric task.
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:131
Functionwrapped
()
functions/file/python_handle_file/progressbar_example.py:25
FunctionwriteDictToFile
(pathFile, var)
functions/file/ConfParser/confparser-confToDict.py:279
Functionx1
()
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:102
Functionx1
()
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:82
Functionx2
()
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:110
Functionx2
()
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:89
Functionx3
()
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:118
← previousnext →1,601–1,700 of 1,705, ranked by callers