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
↓ 1 callers
Function
to_unicode_or_bust
convert non-unicode object to unicode object :param obj: str object or unicode :param encoding: :return:
functions/net/tcp/ssl/get-ssl-cert-info-from-pem-file.py:43
↓ 1 callers
Function
to_unicode_or_bust
convert non-unicode object to unicode object :param obj: str object or unicode :param encoding: :return:
functions/system/command/pyRunPowershellCommand.py:45
↓ 1 callers
Method
truncateId
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:294
↓ 1 callers
Method
truncateId
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:295
↓ 1 callers
Function
try_ssh_to_server
()
functions/net/tcp/ssh/pySshConnectTryAllTheTime.py:13
↓ 1 callers
Function
ungzip
(src, dst)
functions/net/ip/GeoIP/pyMaxmindGeoIP.py:53
↓ 1 callers
Function
unicode2punycode
(obj)
functions/net/dns/pyDnsQueryRR.py:109
↓ 1 callers
Function
unicode_path
(raw_path)
projects/WindowsSystemOps/Filesystem/rmDirectory.py:129
↓ 1 callers
Function
update
Copies your project and updates environment and symlink
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:202
↓ 1 callers
Function
update
Copies your project and updates environment and symlink
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:254
↓ 1 callers
Function
update_code
Copies your project to the remote servers
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:212
↓ 1 callers
Function
update_code
Copies your project to the remote servers
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:224
↓ 1 callers
Function
update_env
Update servers environment on the remote servers
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndCapistrano.py:233
↓ 1 callers
Function
update_env
Update servers environment on the remote servers
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyFabricAndStrictCapistrano.py:231
↓ 1 callers
Function
update_process_record
更新数据库中已有的进程的信息 1. 对于数据库中已有的进程判断是否是运行中, 运行中,则更新进程的信息(更新时间(UPDATED),更新次数(UPDATE_TIMES),进程真实状态(REAL_STATUS)) 没有运行,则将进程真实状态(REAL_
projects/WindowsSystemOps/System/pyProcessMonitor.py:171
↓ 1 callers
Method
update_registered_hosts
(self)
functions/net/tcp/ssh/pySettingSSHTrust.py:207
↓ 1 callers
Method
update_revision_log
(self, branch=None, sid=None, release=None, by=None)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:202
↓ 1 callers
Function
upgrade_system_package
()
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:173
↓ 1 callers
Function
upload_oss
:param path: :param name: name is filename stored on OSS, which known as 'key' in oss2. :return:
projects/backupOps/backup-files-to-aliyun-oss.py:234
↓ 1 callers
Function
uptime
(seconds)
projects/WindowsSystemOps/System/GetProcessTimes.py:19
↓ 1 callers
Function
usage
()
projects/LinuxSystemOps/SoftwareManagement/zabbix/zabbix-monitor-json-api.py:25
↓ 1 callers
Function
usage
()
projects/PythonHTTPServer/sampleHttpServer.py:43
↓ 1 callers
Function
usage
()
functions/options/getoptOps.py:16
↓ 1 callers
Function
usage
()
functions/monitor/send_message/pySendMessageByDingTalk.py:42
↓ 1 callers
Function
usage
()
functions/net/tcp/email/alterscript_msmtp_public.py:20
↓ 1 callers
Function
usage
()
functions/net/tcp/email/alterscript_msmtp_none_25_ssl_465_tls_587.py:34
↓ 1 callers
Function
usage
()
functions/net/tcp/port/checkRemoteHostPortStatus.py:15
↓ 1 callers
Function
utc_to_timezone
(datetime_utc, timezone='Asia/Shanghai')
functions/net/dns/python-whois-query.py:59
↓ 1 callers
Method
validateURL
(self)
projects/GitWebHooksAutoDeployScript/GitOSCAutoDeployWithLog.py:103
↓ 1 callers
Method
validateURL
(self)
projects/GitWebHooksAutoDeployScript/GitLabAutoDeploy.py:103
↓ 1 callers
Method
validate_data
(self)
projects/WeChatOps/pySendMessageByWeChatWithoutSQL/sendMessageByWeChatApi.py:90
↓ 1 callers
Method
validate_data
(self)
functions/monitor/send_message/send-zabbix-alert-msg-to-weixin-work.py:93
↓ 1 callers
Function
validate_signature
ghost peer validate the signature with encrypted data file and signature file :param message: the encrypted data file :param signature: t
functions/string/encrypt/pyEncryptDecryptExample.py:118
↓ 1 callers
Method
validateurl
(self)
projects/GitWebHooksAutoDeployScript/GitOSCAutoDeploy.py:66
↓ 1 callers
Function
wait_channel
(channel)
functions/net/dns/pyDnsQueryWithPyCares.py:36
↓ 1 callers
Function
win_or_linux
()
functions/distribution-release/getPlatformUseBuildin.py:18
↓ 1 callers
Function
wmi_instance
(computer, user, password)
projects/WindowsSystemOps/System/Management/RemoteConnectionOrManagement/pyManageOtherWindowsSystemUsingWMI.py:36
↓ 1 callers
Function
write_into_filesystem_storage
(number)
functions/string/genSerializedUniqueNumber.py:75
↓ 1 callers
Function
write_meta
(filename)
functions/string/py-tail-following-filename.py:53
↓ 1 callers
Function
yum_or_dpkg
()
functions/distribution-release/getPlatformUseBuildin.py:74
↓ 1 callers
Function
zip_compress
compress files using zip :param name: zip file name, such as 'x.zip' :type name: str :param files: files to compress :type files:
projects/WindowsSystemOps/Filesystem/file-encoding-converter-and-compress-to-zip.py:214
Method
__del__
(self)
functions/net/tcp/sftp/py-ftps-client-oop.py:125
Function
__get_sconn_status_set
()
functions/net/tcp/port/monitor_tcp_status.py:45
Function
__getmtime
(path)
projects/backupOps/backup-files-to-aliyun-oss.py:399
Method
__init__
(self, url)
projects/LinuxSystemOps/SoftwareManagement/zabbix/zabbix-monitor-nginx-stub-status.py:45
Method
__init__
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getMemUsageTop10InDockerEnv.py:24
Method
__init__
(self)
projects/LinuxSystemOps/SoftwareManagement/docker/getDockerContainerInfoWithPidNumber.py:23
Method
__init__
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:67
Method
__init__
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:146
Method
__init__
(self)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/pyCapistrano.py:265
Method
__init__
(self)
projects/PythonDaemon/pydaemon2.py:17
Method
__init__
(self, pidfile, stdin='/dev/null', stdout='/dev/null', stderr='/dev/null')
projects/PythonDaemon/pydaemon.py:29
Method
__init__
(self, server, user, password)
projects/WindowsSystemOps/Services/pyManageServicesOnOtherWindowsSystem.py:65
Method
__init__
(self)
projects/WindowsSystemOps/Services/pyServicesManagerBasedOnWMI.py:84
Method
__init__
(self)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/pyLookupSpamBlockListWithDig.py:24
Method
__init__
(self)
projects/PythonHTTPServer/GitWebHooksAutoDeployScript/GitWebHooksAutoDeployWebServer.py:135
Method
__init__
(self)
projects/WeChatOps/pySendMessageWithWeChat/odbp_getToken.py:256
Method
__init__
(self)
projects/WeChatOps/pySendMessageWithWeChat/odbp_sendMessage.py:16
Method
__init__
(self)
projects/WeChatOps/pySendMessageWithWeChat/odbp_sendMessagewithCount.py:20
Method
__init__
(self, cid, secret)
projects/WeChatOps/pySendMessageByWeChatWithoutSQL/sendMessageByWeChatApi.py:30
Method
__init__
(self, key)
projects/WeChatOps/WXBizMsgCrypt/WXBizMsgCrypt.py:184
Method
__init__
(self, sToken, sEncodingAESKey, sAppId)
projects/WeChatOps/WXBizMsgCrypt/WXBizMsgCrypt.py:256
Method
__init__
(self)
functions/security/pyPasswordGenerator.py:18
Method
__init__
(self)
functions/nosql/cache/python-connect-redis.py:31
Method
__init__
(self, name=None, path=None, stream=True, level=logging.DEBUG)
functions/nosql/database/mysql/pyMysqlLoginMonitor.py:20
Method
__init__
(self, _id, value)
functions/nosql/database/mysql/pySQLAlchemyOps.py:75
Method
__init__
(self, name='root', path='/tmp/root.log')
functions/log/pyLogging_u3.py:33
Method
__init__
(self, cid, secret)
functions/monitor/send_message/send-zabbix-alert-msg-to-weixin-work.py:32
Method
__init__
(self)
functions/net/icmp/another-ping.py:138
Method
__init__
(self, destination, timeout=1000, packet_size=55, own_id=None, quiet_output=True, udp=False, bind=None)
functions/net/icmp/another-ping.py:153
Method
__init__
(self)
functions/net/ip/getPublicIPAddress_urllib2Impl.py:24
Method
__init__
(self)
functions/net/ip/getPublicIPAddress_curlImpl.py:28
Method
__init__
(self, ip_type)
functions/net/ip/getLocalIP.py:9
Method
__init__
(self, ip)
functions/net/ip/GeoIP/pyTaobaoGeoIPOps.py:42
Method
__init__
(self, ip_db_file)
functions/net/ip/GeoIP/chunzhen.net/parse-qqwry.dat.py:33
Method
__init__
(self)
functions/net/tcp/email/sendEmailWithSMTP.py:16
Method
__init__
(self)
functions/net/tcp/http/spider/pySpiderSeleniumPhantomjs-demo2-douban.py:24
Method
__init__
(self)
functions/net/tcp/http/spider/pySpiderSeleniumPhantomjs.py:24
Method
__init__
(self)
functions/net/tcp/port/getTCPPortListenedOnLocal.py:38
Method
__init__
(self)
functions/net/tcp/ssh/pySettingSSHTrust.py:135
Method
__init__
(self, debug_level=0)
functions/net/tcp/ldap/pyAuthenticationByLDAP.py:45
Method
__init__
(self, host, port, user, password, enable_tls=False)
functions/net/tcp/sftp/py-ftps-client-oop.py:46
Method
__init__
(self, name, age, score)
functions/string/picklingSerialization/picklingWithJson.py:15
Method
__init__
(self, key)
functions/string/encrypt/python-encrypt-phone-number.py:35
Function
__main_disable_all_account
()
projects/WindowsSystemOps/Account/windows-user-accounts-manager.py:496
Method
__parse_json_data
(self)
functions/net/ip/GeoIP/pyTaobaoGeoIPOps.py:63
Method
__parse_to_dict
(self)
functions/net/ip/GeoIP/pyTaobaoGeoIPOps.py:77
Method
__query_spamhaus_all_zone
(self, query)
projects/WindowsSystemOps/Software/Microsoft/Exchange/third-partyBlockLists/pyLookupSpamBlockListWithDig.py:81
Method
__repr__
(self)
functions/nosql/database/mysql/pySQLAlchemyOps.py:79
Function
_enable_account
(name)
projects/WindowsSystemOps/Account/python-enable-disable-account-using-wmi.py:43
Function
_get_account_info
(name)
projects/WindowsSystemOps/Account/python-enable-disable-account-using-wmi.py:37
Function
add_security_limits
design as '/etc/security/limits.conf', see the file '/etc/security/limits.conf' for more infomation :param domain: username or a group name,
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:239
Function
add_security_limits
design as '/etc/security/limits.conf', see the file '/etc/security/limits.conf' for more infomation :param domain: username or a group name,
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:289
Function
advice
()
projects/LinuxSystemOps/SoftwareManagement/nginx/manage.py:38
Function
advice
()
projects/LinuxSystemOps/DailyOps/dailyOpsManage.py:44
Function
append_text_to_file
(text, path)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template.py:356
Function
append_text_to_file
(text, path)
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric2.x/fabric2-application-template-for-root.py:426
Function
backup_attachments
D:\WWW\TianYuan\osap\Temp D:\WWW\TianYuan\osap\policyfiles D:\WWW\TianYuan\osap\Doc\Customer|Employee|GOV|System TODO(Guodong) 由于附件系
projects/backupOps/backup-files-to-aliyun-oss.py:455
Function
backup_file
(path, extension='~')
projects/LinuxSystemOps/AutoDevOps/Fabric/Fabric1.x/fabfile.py:249
Function
batch_sort
(input, output, key=None, buffer_size=32000, tempdirs=None)
functions/performance/other-performance-improvement/sort/pySortHugeFiles.py:71
← previous
next →
1,101–1,200 of 1,705, ranked by callers