上传一些的样例命令

This commit is contained in:
fofolee 2020-04-10 12:43:09 +08:00
parent 872f2841bf
commit 4fab9e0da7
6 changed files with 5 additions and 3 deletions

View File

@ -0,0 +1 @@
{"base64Ico":"","cmd":"<h1>这是一个标题</h1><br>\n<a href='xx'>这是一个链接</a><br>\n<h2>这还是一个标题</h2><br>","features":{"cmds":["html界面示例"],"code":"regex_2jzbdl2air0","explain":"html界面示例","icon":"logo/php.png"},"hasSubInput":false,"noKeyword":false,"output":"html","program":"php"}

View File

@ -0,0 +1 @@
{"base64Ico":"","cmd":"#coding:utf8\nimport os\nimport re\nhost = re.findall(r'(.*\\/\\/|^)(.*?)(:|/|$).*', \"{{BrowserUrl}}\")[0][1]\nif {{isWin}}:\n\tcmd = \"ping -n 2 %s\" %host\nelse:\n\tcmd = \"ping -c 2 %s\" %host\nprint os.popen(cmd).read()","features":{"cmds":[{"label":"ping当前域名","match":{"app":"/chrome|iexplore|safari/i"},"type":"window"}],"code":"window_2kkl16x3wug","explain":"ping当前域名","icon":"logo/python.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"python"}

View File

@ -1 +0,0 @@
{"base64Ico":"","cmd":"$url = ((\"{{BrowserUrl}}\" -split \"//\")[-1] -split \":\")[0]\nping -n 2 $url","features":{"cmds":[{"label":"ping当前域名","match":{"app":"/chrome|msedge|iexplore/i"},"type":"window"}],"code":"window_2kkl16x3wug","explain":"ping当前域名","icon":"logo/powershell.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"powershell"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"base64Ico":"","cmd":"#coding:utf8\nimport json\nprint json.loads('''{{WindowInfo}}'''.replace('\\\\', '\\\\\\\\'))","features":{"cmds":[{"label":"窗口信息","match":{"app":"/.*?/"},"type":"window"}],"code":"window_1jqv4x7tbtj","explain":"窗口信息","icon":"logo/python.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"python"}

View File

@ -1 +1 @@
{"base64Ico":"","cmd":"{{input}}","features":{"cmds":[{"label":" 计算器","match":"/^[0-9+\\-*/%^]*$/","minNum":1,"type":"regex"}],"code":"key_bmu5bjsykw","explain":" 计算器","icon":"logo/powershell.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"powershell"}
{"base64Ico":"","cmd":"print({{input}})","features":{"cmds":[{"label":" 计算器","match":"/^[0-9+\\-*/%.xb^]*$/","minNum":1,"type":"regex"}],"code":"key_bmu5bjsykw","explain":" 计算器","icon":"logo/python.png"},"hasSubInput":false,"noKeyword":true,"output":"text","program":"python"}