from soap_client import SoapClient
client = SoapClient("<host>", "<username>", "<password>")
client.doOperation()
options = {}
client.doThingWithParams(options)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import logging | |
import platform | |
import sys | |
import time | |
import traceback | |
class JSONFormatter: | |
"""A formatter for the standard logging module that converts a LogRecord into JSON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text = input("Enter text: ") | |
# The list of fonts. Add your font here. | |
print("┌───────────────────────┬─────────────────────────────────────────────────────────────────────────────────────┐") | |
print("│ Font │ Characters │▒▒") | |
print("├───────────────────────┼─────────────────────────────────────────────────────────────────────────────────────┤▒▒") | |
print("│1 Bold │ 𝗔𝗕𝗖𝗗𝗘𝗙𝗚𝗛𝗜𝗝𝗞𝗟𝗠𝗡𝗢𝗣𝗤𝗥𝗦𝗧𝗨𝗩𝗪𝗫𝗬𝗭𝗮𝗯𝗰𝗱𝗲𝗳𝗴𝗵𝗶𝗷𝗸𝗹𝗺𝗻𝗼𝗽𝗾𝗿𝘀𝘁𝘂𝘃𝘄𝘅𝘆𝘇𝟬𝟭𝟮𝟯𝟰𝟱𝟲𝟳𝟴𝟵") | |
print("│2 Italic │ 𝘈𝘉𝘊𝘋𝘌𝘍𝘎𝘏𝘐𝘑𝘒𝘓𝘔𝘕𝘖𝘗𝘘𝘙𝘚𝘛𝘜𝘝𝘞𝘟𝘠𝘡𝘢𝘣𝘤𝘥𝘦𝘧𝘨𝘩𝘪𝘫𝘬𝘭𝘮𝘯𝘰𝘱𝘲𝘳𝘴𝘵𝘶𝘷𝘸𝘹𝘺𝘻𝟢𝟣𝟤𝟥𝟦𝟧𝟨𝟩𝟪𝟫") | |
print("│3 Bold Italic │ 𝘼𝘽𝘾𝘿𝙀𝙁𝙂𝙃𝙄𝙅𝙆𝙇𝙈𝙉𝙊𝙋𝙌𝙍𝙎𝙏𝙐𝙑𝙒𝙓𝙔𝙕𝙖𝙗𝙘𝙙𝙚𝙛𝙜𝙝𝙞𝙟𝙠𝙡𝙢𝙣𝙤𝙥𝙦𝙧𝙨𝙩𝙪𝙫𝙬𝙭𝙮𝙯𝟬𝟭𝟮𝟯𝟰𝟱𝟲𝟳𝟴𝟵") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""Remote Sudo (python, paramiko, ssh, ssh_config)""" | |
import os | |
import sys | |
from glob import glob | |
import paramiko | |
def remote_sudo(cmd, host, user, passwd, port=22): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="https://unpkg.com/tailwindcss@1.2.0/dist/tailwind.min.css"> | |
<script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@2.8.2/dist/alpine.min.js" | |
defer crossorigin="anonymous"></script> | |
</head> | |
<body class="bg-gray-300 text-gray-800"> | |
<div class="container mx-auto px-4 xl:px-64 mt-12 mb-12"> | |
<h2 class="text-2xl font-bold">Modal</h2> | |
<!-- NOTE: ADD x-data here --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
LOG_GROUP_NAME=${1-} # API-ResourceFunction | |
MY_QUERY="${@:2}" | |
START_TIME=$(date --date="${START_TIME:-30 minutes ago}" "+%s000") | |
END_TIME=$(date "+%s000") | |
if [ -z "${LOG_GROUP_NAME}" ]; then | |
aws logs describe-log-groups --query 'logGroups[].logGroupName' | |
exit 0; |
go version
# go version go1.21.5 darwin/arm64
godoc -http=:6060
Description for and list of popular special files like README/CHANGELOG/LICENSE and others.
The ReadMe is usually the first document people will see of your project. Depending on your project it should give a short introduction and usage/build examples. It should only contain the information you expect users to read. It is usually possible to link to other documentation files using the markdown syntax which gets rendered as html by popular repository hosting platforms.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type adb &>/dev/null | |
adb --version | |
adb kill-server | |
adb start-server | |
# connect via usb | |
adb devices | |
adb tcpip 5555 |
NewerOlder