Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DingGuodong/LinuxBashShellScriptForOps
/ functions
Functions
1,705 in github.com/DingGuodong/LinuxBashShellScriptForOps
⨍
Functions
1,705
◇
Types & classes
72
↳
Endpoints
2
Function
get_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
Function
get_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
Function
get_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
Function
get_latest_backup_date
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:284
Function
get_minutes_from_two_time
(left, right, date_format="%H:%M")
functions/date/datetime-related-calculate.py:91
Method
get_name
(self)
functions/net/tcp/ldap/pyAuthenticationByLDAP.py:155
Function
get_nginx_url
()
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:99
Function
get_oldest_backup_date
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:288
Function
get_openssl_url
()
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:120
Function
get_pagetables_size
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricBatchManager.py:70
Function
get_pcre_url
()
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:156
Function
get_process_name_by_pid
(pid)
functions/string/statisticsanalyse/pyNetstatStatistic.py:41
Function
get_public_ip_from_api
(api)
projects/LinuxSystemOps/Security/ssh/allow-access-port-on-remote-host.py:53
Function
get_random_secret_key
Return a 50 character random string usable as a SECRET_KEY setting value.
functions/string/password-generator.py:88
Method
get_sAMAccountName
(self)
functions/net/tcp/ldap/pyAuthenticationByLDAP.py:147
Function
get_seconds_from_two_time
(left, right, date_format="%H:%M")
functions/date/datetime-related-calculate.py:74
Function
get_sorted_dict
(files_dict)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:194
Function
get_sorted_dict
(files_dict)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v2.py:191
Method
get_system_encoding
()
projects/WindowsSystemOps/Software/sublime_text_plugins/sublimeText3_plugin_add_info.py:23
Method
get_system_encoding
()
projects/WindowsSystemOps/Software/sublime_text_plugins/sublimeText2_plugin_add_info.py:24
Function
get_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
Function
get_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
Function
get_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
Function
get_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
Function
get_timezone
()
functions/system/getSystemStatus.py:60
Function
get_uptime
()
functions/system/getSystemStatus.py:165
Method
get_userPrincipalName
(self)
functions/net/tcp/ldap/pyAuthenticationByLDAP.py:143
Function
get_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
Function
get_version_from_text
(text)
functions/string/pyVersionCompare.py:18
Function
get_wmi_instance
(computer, user, password)
projects/WindowsSystemOps/Software/Microsoft/Windows/disable-windows-update.py:48
Function
get_xml_info
()
projects/WindowsSystemOps/System/WinEvtLog/read-win32evtlog.py:61
Function
get_zlib_url
()
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:174
Function
git_clone_local
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:373
Function
git_fetch_all
(path)
functions/git/update_git_repos_by_pull.py:84
Function
git_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
Function
git_pull
(path)
functions/git/git-pull-with-gitpython.py:40
Method
handle
(self)
functions/net/socket/tcp-port-binding-and-test/py-tcp-port-binding-and-test-server.py:41
Function
handle_multi_files
()
functions/file/python-handle-stdin-and-files.py:35
Function
handle_stdin
()
functions/file/python-handle-stdin-and-files.py:41
Method
help
(self)
projects/LinuxSystemOps/SoftwareManagement/zabbix/zabbix-monitor-nginx-stub-status.py:51
Function
human2bytes
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
Function
human2bytes
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
Function
inner
(text, bold=False)
functions/others/ui/console/py-print-text-with-color-in-console.py:37
Function
install_python27
()
projects/LinuxSystemOps/SoftwareManagement/others/install_python27.py:95
Function
instantiate
(x)
projects/LinuxSystemOps/SoftwareManagement/nginx/get_nginx_resoures.py:197
Function
interactive_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
Function
interval_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
Function
interval_example2
Basic example showing how to schedule a callable using a textual reference.
functions/others/scheduler/APScheduler-quick-start.py:91
Function
is_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
Function
is_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
Function
is_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
Function
is_datetime_newer
(l_date, r_date, date_format)
projects/WindowsSystemOps/System/WinEvtLog/read-win32evtlog.py:73
Function
is_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
Function
is_debian_family
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:109
Function
is_debian_family
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:105
Function
is_debian_family
()
functions/distribution-release/getLinuxDist.py:40
Function
is_iterable_u1
(o)
projects/WindowsSystemOps/Services/ServiceControl.py:87
Function
is_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
Function
is_linux
()
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:58
Function
is_linux
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:64
Function
is_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:317
Function
is_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricBatchManager.py:109
Function
is_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:40
Function
is_linux
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:372
Function
is_linux
()
functions/check_if_exists/check_if_executable_exists.py:33
Function
is_linux
()
functions/distribution-release/checkIsWindowsOrLinux.py:50
Function
is_linux
()
functions/distribution-release/getLinuxDist.py:33
Function
is_linux_u2
()
functions/distribution-release/checkIsWindowsOrLinux.py:61
Function
is_node_alive_with_icmp_ping
(ip)
functions/net/icmp/ping-nodes-with-thread-and-save-results.py:34
Function
is_node_alive_with_icmp_ping_thread
(payload)
functions/net/others/inspect-alive-nodes.py:97
Function
is_node_alive_with_port_opened_thread
(payload)
functions/net/others/inspect-alive-nodes.py:70
Function
is_obj_endswith_iterable
(obj)
projects/LinuxSystemOps/Security/nginx/use-pandas-to-analyze-nginx-log.py:41
Function
is_privilege
()
projects/LinuxSystemOps/AutoDevOps/Ansible/pyAnsibleGatheringFacts.py:47
Function
is_rhel_family
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:123
Function
is_rhel_family
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyLinuxHostsSSHKeyInitialization.py:119
Function
is_rhel_family
()
functions/distribution-release/getLinuxDist.py:54
Function
is_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
Function
is_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
Function
is_valid_fqdn_domain_thread
(payload)
functions/performance/multiprocessing/using-thread-pool-to-handle-io-intensive-task.py:103
Function
is_windows
()
functions/distribution-release/checkIsWindowsOrLinux.py:43
Function
is_windows
()
functions/distribution-release/getLinuxDist.py:26
Function
is_windows_u2
()
functions/distribution-release/checkIsWindowsOrLinux.py:57
Function
job
()
functions/others/scheduler/py-schedule-examples.py:34
Function
jobsA
(para)
functions/performance/multithreading/threadingExample.py:33
Function
jobsB
(para)
functions/performance/multithreading/threadingExample.py:46
Method
json
(self)
functions/net/ip/getPublicIPAddress_urllib2Impl.py:35
Function
kafka_consumer_test
()
functions/others/MessageQueue/kafka/pyKafkaOps.py:55
Function
kafka_producer_test
()
functions/others/MessageQueue/kafka/pyKafkaOps.py:40
Function
keep_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
Function
key_sort_ip
(addr)
functions/net/ip/pySortingIP.py:93
Method
listContainer
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:307
Function
load_command
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:164
Function
load_script
()
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:134
Function
load_script
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:147
Function
localtime_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
Function
login
()
projects/WindowsSystemOps/Software/WebBrowser/webBrowserEmulator.py:38
Function
login_with_selenium
()
projects/WindowsSystemOps/Software/WebBrowser/webBrowserEmulator.py:23
Method
long_id
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:125
Function
long_time_task
(sleep_seconds=30)
functions/performance/multithreading/pyTestNoprocUsingMultiThreading.py:88
Function
long_time_task
(sleep_seconds=30)
functions/performance/multithreading/pyGetThreadRealPid.py:35
← previous
next →
1,401–1,500 of 1,705, ranked by callers