MCPcopy Create free account

hub / github.com/DingGuodong/LinuxBashShellScriptForOps / functions

Functions1,705 in github.com/DingGuodong/LinuxBashShellScriptForOps

Functionget_keyword_from_name
name type1: master2018-03-28 01.00.00.bak --> master name type2: master_backup_2020_05_15_145050_0886796.bak --> master name type3: Repor
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:148
Functionget_keyword_from_name
name type1: master2018-03-28 01.00.00.bak --> master name type2: master_backup_2020_05_15_145050_0886796.bak --> master name type3: Repor
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:145
Functionget_keyword_from_name
name type1: master2018-03-28 01.00.00.bak --> master name type2: master_backup_2020_05_15_145050_0886796.bak --> master name type3: Repor
projects/WindowsSystemOps/Filesystem/clean-old-backup-files.py:142
Functionget_latest_backup_date
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:284
Functionget_minutes_from_two_time
(left, right, date_format="%H:%M")
functions/date/datetime-related-calculate.py:91
Methodget_name
(self)
functions/net/tcp/ldap/pyAuthenticationByLDAP.py:155
Functionget_nginx_url
()
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:99
Functionget_oldest_backup_date
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:288
Functionget_openssl_url
()
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:120
Functionget_pagetables_size
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricBatchManager.py:70
Functionget_pcre_url
()
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:156
Functionget_process_name_by_pid
(pid)
functions/string/statisticsanalyse/pyNetstatStatistic.py:41
Functionget_public_ip_from_api
(api)
projects/LinuxSystemOps/Security/ssh/allow-access-port-on-remote-host.py:53
Functionget_random_secret_key
Return a 50 character random string usable as a SECRET_KEY setting value.
functions/string/password-generator.py:88
Methodget_sAMAccountName
(self)
functions/net/tcp/ldap/pyAuthenticationByLDAP.py:147
Functionget_seconds_from_two_time
(left, right, date_format="%H:%M")
functions/date/datetime-related-calculate.py:74
Functionget_sorted_dict
(files_dict)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:194
Functionget_sorted_dict
(files_dict)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:191
Methodget_system_encoding
()
projects/WindowsSystemOps/Software/sublime_text_plugins/sublimeText3_plugin_add_info.py:23
Methodget_system_encoding
()
projects/WindowsSystemOps/Software/sublime_text_plugins/sublimeText2_plugin_add_info.py:24
Functionget_system_info_from_facter
facter - Gather system information, Collect and display facts about the system. :return: str in json
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:142
Functionget_system_info_from_facter
facter - Gather system information, Collect and display facts about the system. :return: str in json
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:192
Functionget_system_product_uuid
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#verify-the-mac-address-and-product-uuid-are-unique-for-eve
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:154
Functionget_system_product_uuid
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#verify-the-mac-address-and-product-uuid-are-unique-for-eve
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:204
Functionget_timezone
()
functions/system/getSystemStatus.py:60
Functionget_uptime
()
functions/system/getSystemStatus.py:165
Methodget_userPrincipalName
(self)
functions/net/tcp/ldap/pyAuthenticationByLDAP.py:143
Functionget_user_logged_on_server
checkout if user is logged on the system, return False if fail or not logged on, True if logged on. quser.exe: Display information about user
projects/WindowsSystemOps/Account/windows-user-accounts-manager.py:297
Functionget_version_from_text
(text)
functions/string/pyVersionCompare.py:18
Functionget_wmi_instance
(computer, user, password)
projects/WindowsSystemOps/Software/Microsoft/Windows/disable-windows-update.py:48
Functionget_xml_info
()
projects/WindowsSystemOps/System/WinEvtLog/read-win32evtlog.py:61
Functionget_zlib_url
()
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:174
Functiongit_clone_local
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:373
Functiongit_fetch_all
(path)
functions/git/update_git_repos_by_pull.py:84
Functiongit_pull
https://en.wikipedia.org/wiki/Thread_safety https://en.wikipedia.org/wiki/Linearizability#Atomic :param path: :return:
functions/git/update_git_repos_by_pull.py:58
Functiongit_pull
(path)
functions/git/git-pull-with-gitpython.py:40
Methodhandle
(self)
functions/net/socket/tcp-port-binding-and-test/py-tcp-port-binding-and-test-server.py:41
Functionhandle_multi_files
()
functions/file/python-handle-stdin-and-files.py:35
Functionhandle_stdin
()
functions/file/python-handle-stdin-and-files.py:41
Methodhelp
(self)
projects/LinuxSystemOps/SoftwareManagement/zabbix/zabbix-monitor-nginx-stub-status.py:51
Functionhuman2bytes
Attempts to guess the string format based on default symbols set and return the corresponding bytes as an integer. When unable to recogni
functions/others/ui/bytes-to-human-to-bytes.py:109
Functionhuman2bytes
Attempts to guess the string format based on default symbols set and return the corresponding bytes as an integer. When unable to recogni
functions/net/tcp/port/python_iftop_tcp_network_traffic.py:130
Functioninner
(text, bold=False)
functions/others/ui/console/py-print-text-with-color-in-console.py:37
Functioninstall_python27
()
projects/LinuxSystemOps/SoftwareManagement/others/install_python27.py:95
Functioninstantiate
(x)
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:197
Functioninteractive_shell
http://docs.fabfile.org/en/1.14/api/core/operations.html#fabric.operations.open_shell Invoke a fully interactive shell on the remote end.
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricBatchManager.py:81
Functioninterval_example1
Demonstrates how to schedule a job to be run in a process pool on 3 second intervals.
functions/others/scheduler/APScheduler-quick-start.py:76
Functioninterval_example2
Basic example showing how to schedule a callable using a textual reference.
functions/others/scheduler/APScheduler-quick-start.py:91
Functionis_between_datetime
is date_string between l_date and r_date :param date_string: date_string in date_format :param l_date: date_string in date_format :pa
functions/date/datetime-related-calculate.py:150
Functionis_cert_expired_after_days
Check if `hostname` SSL cert expires is within `after_days`. Raises `AlreadyExpired` if the cert is past due
projects/LinuxSystemOps/SoftwareManagement/zabbix/get-domain-ssl-info.py:88
Functionis_cert_expired_after_days
Check if `hostname` SSL cert expires is within `after_days`. Raises `AlreadyExpired` if the cert is past due
functions/net/tcp/ssl/get-domain-ssl-info.py:113
Functionis_datetime_newer
(l_date, r_date, date_format)
projects/WindowsSystemOps/System/WinEvtLog/read-win32evtlog.py:73
Functionis_datetime_newer
is left datetime newer than right datetime :param l_date: date_string in date_format :param r_date: date_string in date_format :param
functions/date/datetime-related-calculate.py:139
Functionis_debian_family
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:109
Functionis_debian_family
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:105
Functionis_debian_family
()
functions/distribution-release/getLinuxDist.py:40
Functionis_iterable_u1
(o)
projects/WindowsSystemOps/Services/ServiceControl.py:87
Functionis_large_file
check if file is a large file which size more than 700MB :param path: :return:
projects/backupOps/backup-files-to-aliyun-oss.py:314
Functionis_linux
()
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:58
Functionis_linux
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:64
Functionis_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:317
Functionis_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricBatchManager.py:109
Functionis_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:40
Functionis_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:372
Functionis_linux
()
functions/check_if_exists/check_if_executable_exists.py:33
Functionis_linux
()
functions/distribution-release/checkIsWindowsOrLinux.py:50
Functionis_linux
()
functions/distribution-release/getLinuxDist.py:33
Functionis_linux_u2
()
functions/distribution-release/checkIsWindowsOrLinux.py:61
Functionis_node_alive_with_icmp_ping
(ip)
functions/net/icmp/ping-nodes-with-thread-and-save-results.py:34
Functionis_node_alive_with_icmp_ping_thread
(payload)
functions/net/others/inspect-alive-nodes.py:97
Functionis_node_alive_with_port_opened_thread
(payload)
functions/net/others/inspect-alive-nodes.py:70
Functionis_obj_endswith_iterable
(obj)
projects/LinuxSystemOps/Security/nginx/use-pandas-to-analyze-nginx-log.py:41
Functionis_privilege
()
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:47
Functionis_rhel_family
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:123
Functionis_rhel_family
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:119
Functionis_rhel_family
()
functions/distribution-release/getLinuxDist.py:54
Functionis_url_valid_am1
http://validators.readthedocs.io/en/latest/ Python has all kinds of validation tools, but every one of them requires defining a schema. I
functions/net/ip/getIPAddressFromDomainName.py:68
Functionis_url_valid_u2
http://validators.readthedocs.io/en/latest/ Python has all kinds of validation tools, but every one of them requires defining a schema. I
projects/WindowsSystemOps/Software/pyDistributeFileAndConf/pyInstallZabbixAgentWin.py:258
Functionis_valid_fqdn_domain_thread
(payload)
functions/performance/multiprocessing/using-thread-pool-to-handle-io-intensive-task.py:103
Functionis_windows
()
functions/distribution-release/checkIsWindowsOrLinux.py:43
Functionis_windows
()
functions/distribution-release/getLinuxDist.py:26
Functionis_windows_u2
()
functions/distribution-release/checkIsWindowsOrLinux.py:57
Functionjob
()
functions/others/scheduler/py-schedule-examples.py:34
FunctionjobsA
(para)
functions/performance/multithreading/threadingExample.py:33
FunctionjobsB
(para)
functions/performance/multithreading/threadingExample.py:46
Methodjson
(self)
functions/net/ip/getPublicIPAddress_urllib2Impl.py:35
Functionkafka_consumer_test
()
functions/others/MessageQueue/kafka/pyKafkaOps.py:55
Functionkafka_producer_test
()
functions/others/MessageQueue/kafka/pyKafkaOps.py:40
Functionkeep_request_until_success
:param method: GET or POST :type method: str :param url: URL :type url: str :param headers: :type headers: dict :param d
functions/net/tcp/http/requests-good-examples.py:43
Functionkey_sort_ip
(addr)
functions/net/ip/pySortingIP.py:93
MethodlistContainer
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:307
Functionload_command
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:164
Functionload_script
()
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:134
Functionload_script
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:147
Functionlocaltime_to_utc
(date, l_date_format="%Y%m%d%H%M%S", l_timezone='Asia/Shanghai', r_date_format="%Y-%m-%dT
functions/date/datetime-related-calculate.py:109
Functionlogin
()
projects/WindowsSystemOps/Software/WebBrowser/webBrowserEmulator.py:38
Functionlogin_with_selenium
()
projects/WindowsSystemOps/Software/WebBrowser/webBrowserEmulator.py:23
Methodlong_id
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:125
Functionlong_time_task
(sleep_seconds=30)
functions/performance/multithreading/pyTestNoprocUsingMultiThreading.py:88
Functionlong_time_task
(sleep_seconds=30)
functions/performance/multithreading/pyGetThreadRealPid.py:35
← previousnext →1,401–1,500 of 1,705, ranked by callers