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
sha256sum
(filename)
projects/WindowsSystemOps/Filesystem/generate-filename-and-md5sum.py:67
Function
sha256sum
(filename)
functions/file/getHashSum.py:50
Function
showDiskUsage
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:64
Function
showDiskUsage
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:182
Function
showMemory
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:60
Function
showUptime
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:52
Function
showUptime
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:219
Function
showVmstat
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/checkHostStatusParallel.py:56
Function
show_human_readable_process_info
(proc)
projects/WindowsSystemOps/System/pyProcessMonitor.py:41
Function
show_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
Function
show_prompt
(*args, **kwargs)
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:70
Function
show_prompt
(*args, **kwargs)
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:68
Function
show_uname
()
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:122
Function
show_uname
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:135
Function
show_uname
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:156
Function
shutdown_NetEaseCloudMusic
(name)
projects/WindowsSystemOps/System/pyScheduleTask.py:37
Function
shutit_example_1
()
projects/LinuxSystemOps/AutoDevOps/pythonSelf/pyShutitOps.py:21
Function
shutit_example_2
()
projects/LinuxSystemOps/AutoDevOps/pythonSelf/pyShutitOps.py:30
Function
shutit_example_3
()
projects/LinuxSystemOps/AutoDevOps/pythonSelf/pyShutitOps.py:49
Function
sigkill_handler
(_signo, _stack_frame)
projects/PythonDaemon/pyFakeDaemon.py:66
Method
signal_handler
Handle print_exit via signals
functions/net/icmp/another-ping.py:277
Function
sigterm_handler
(_signo, _stack_frame)
projects/PythonDaemon/pyFakeDaemon.py:60
Function
sigterm_handler
(_signo, _stack_frame)
projects/PythonHTTPServer/sampleHttpServer.py:162
Function
sigterm_handler
(_signo, _stack_frame)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:142
Function
sit
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:113
Function
sleep_random_seconds_float
(start=0, end=1)
functions/net/tcp/http/requests-good-examples.py:38
Function
sort_files_by_ctime
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files-v3.py:190
Function
sort_files_by_ctime
(files_list)
projects/WindowsSystemOps/Filesystem/clean-old-backup-files.py:184
Function
sort_files_by_ctime_with_extension
(path=None, type_extension=None, excludes=None)
projects/LinuxSystemOps/Filesystem/remove_old_error_log.py:33
Function
sort_list_by_column
(iterable, split_by=" ", column=0, reverse=True)
projects/LinuxSystemOps/Security/nginx/get-all-nginx-clients-ip.py:64
Function
split_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
Function
split_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
Function
split_large_file_by_size
:param: path: path to split :return:
projects/backupOps/backup-files-to-aliyun-oss.py:356
Function
sqlite3_create_tables
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:129
Function
sqlite3_create_tables
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:141
Function
sqlite3_execute
(database, sql)
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:85
Function
sqlite3_execute
(database, sql)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:82
Function
sqlite3_get_credential
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:204
Function
sqlite3_get_limits
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:242
Function
sqlite3_get_token
()
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:222
Function
sqlite3_set_limit
(limit, used, datetime)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:184
Function
sqlite3_set_token
(access_token, expires_in, expires_on, is_expired)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:163
Function
sqlite3_update_account
(new_corpid, new_secret)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:276
Function
sqlite3_update_limit
(new_used, new_datetime)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:288
Function
sqlite3_update_token
(access_token, expires_on)
projects/WeChatOps/pySendMessageWithWeChat/odbp_database.py:264
Function
ssh_connect
(port)
functions/net/tcp/ssh/pySshPortScanner.py:68
Function
start_service
(service_name='TermService')
projects/WindowsSystemOps/Services/pyRestartExchangeServices.py:114
Function
student2dict
(student)
functions/string/picklingSerialization/picklingWithJson.py:21
Function
sudo_run
(*args, **kwargs)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:231
Function
tail_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
Function
tail_remote_file
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricBatchManager.py:65
Method
tearDown
(self)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:75
Method
tearDown
(self)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:92
Function
tear_down
()
functions/system/iotop.py:46
Function
tear_down
()
functions/system/nettop.py:47
Function
tear_down
()
functions/system/top.py:53
Function
terminal_debug_posix
(func)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/ProvisionDockerEngineByFabric.py:260
Function
test
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricWithStages.py:48
Function
testNoHttpResponseException
(url)
projects/checkServicesAvailability/HttpService/testNoHttpResponseException.py:46
Function
test_deploy
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:304
Method
test_search_in_python_org
(self)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:66
Method
test_search_in_python_org
(self)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/checkIfInBlockLists.py:83
Method
test_ssh_connect
(self, host='localhost')
functions/net/tcp/ssh/pySettingSSHTrust.py:187
Function
test_timeout_with_content_manager
(seconds)
functions/performance/timeMeasure/setTimeout.py:23
Function
text_reply
(msg)
projects/WeChatOps/pyWeiXinForFun/apiTestForWeChatWithItChat.py:24
Function
tick
()
functions/others/scheduler/APScheduler-quick-start.py:72
Function
time_based_otp
()
functions/string/encrypt/python-rfc4226-rfc6238.py:36
Function
timeit
测量函数执行所用时间的装饰器 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
Function
timeit
测量函数执行所用时间的装饰器 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
Function
to_str_or_bust
(obj, encoding='utf-8')
projects/WindowsSystemOps/Filesystem/sync-file-after-modified.py:39
Function
to_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
Function
to_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
Function
to_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
Function
try_connect
(ip, port)
functions/net/tcp/port/getOpenedPortsOnRemoteHost.py:30
Function
try_connect
(ip, port)
functions/net/tcp/ssh/pySshPortScanner.py:40
Function
try_exec
(*args, **kwargs)
projects/WindowsSystemOps/System/pyDisableIPv6OnWindows.py:36
Function
try_exec
(*args, **kwargs)
projects/WindowsSystemOps/Software/Microsoft/pyRemoteDesktopOps.py:36
Function
try_run
(func)
projects/WindowsSystemOps/System/pyDisableIPv6OnWindows.py:32
Function
try_run
(func)
projects/WindowsSystemOps/Software/Microsoft/pyRemoteDesktopOps.py:32
Function
uat
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:118
Function
unoptimized_task
()
functions/performance/multiprocessing/using-thread-pool-to-handle-io-intensive-task.py:87
Function
untar
(src, dst=os.path.abspath(os.curdir))
functions/net/ip/GeoIP/pyMaxmindGeoIP.py:46
Function
upload_file
(src, dst)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:345
Function
upload_file
(src, dst)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:416
Function
usage
()
functions/monitor/send_message/send-zabbix-alert-msg-to-weixin-work.py:193
Method
usage
(self)
functions/net/tcp/ssh/pySettingSSHTrust.py:153
Method
user
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:137
Function
usernameComb
(usernamePart1, usernamePartN)
functions/string/usernameCapitalize.py:19
Function
usernameFormat
(username)
functions/string/usernameCapitalize.py:15
Function
utc_to_string
(datetime_utc, fmt="%Y-%m-%d %H:%M:%S")
functions/net/dns/python-whois-query.py:69
Function
validate
check files backuped on OSS :return:
projects/backupOps/backup-files-to-aliyun-oss.py:525
Function
with_defaults
A decorator that sets all defaults for a task.
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:107
Function
with_defaults
A decorator that sets all env defaults for certain fabric task.
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:131
Function
wrapped
()
functions/file/python_handle_file/progressbar_example.py:25
Function
writeDictToFile
(pathFile, var)
functions/file/ConfParser/confparser-confToDict.py:279
Function
x1
()
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:102
Function
x1
()
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:82
Function
x2
()
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:110
Function
x2
()
functions/performance/multiprocessing/pyMultiprocessingWithOrderedReturn.py:89
Function
x3
()
functions/performance/multithreading/pyThreadingWithOrderedReturn.py:118
← previous
next →
1,601–1,700 of 1,705, ranked by callers