标签

 脚本 

相关的文章:

本列表汇集了多篇关于脚本的实用文章,涵盖运维开发、Python脚本、Shell脚本及自动化技能,助您提升工作效率与技术水平。

脚本系列 - 第8部分,共8部分

In the final part of the scripting series, we will be a looking at a real world example of a system health script you can run in your production environment. This type of script is a powerful tool...

本文介绍了一个适用于Linux用户的系统健康脚本,该脚本自动生成系统健康报告,检查系统运行时间、磁盘使用情况和用户活动,并将结果保存到日志文件中。通过使用VIM编写脚本,用户可以快速获取系统状态,提高工作效率。

脚本系列 - 第8部分,共8部分
原文英文,约800词,阅读约需3分钟。发表于:
阅读原文

初学者的Python与Selenium:你的第一个自动化脚本

Ever find yourself doing the same clicks, typing the same text, or navigating the same pages on websites over and over again? Filling out forms, clicking through search results, or grabbing...

网页自动化通过编程控制浏览器,Selenium是常用工具,结合Python易于使用。安装Python和Selenium后,可以编写自动化脚本,如在Google搜索,步骤包括设置驱动、打开网页、查找元素、输入文本和关闭浏览器。

初学者的Python与Selenium:你的第一个自动化脚本
原文英文,约900词,阅读约需4分钟。发表于:
阅读原文

在Databricks中引入SQL脚本支持,第一部分

Today, Databricks announces support for the ANSI SQL/PSM scripting language!  BEGIN   DECLARE txt STRING DEFAULT 'Hello';   SET txt = txt || 'Lakehouse';   IF substr(txt, -1,

Databricks宣布支持ANSI SQL/PSM脚本语言,允许在SQL中使用过程逻辑,如循环和控制流。这简化了数据管理和清理任务,提高了系统可靠性,并增强了对字符串列的大小写不敏感性和文本拼写错误的处理能力。

在Databricks中引入SQL脚本支持,第一部分
原文英文,约700词,阅读约需3分钟。发表于:
阅读原文

脚本系列 - 第七部分(共八部分)

Here we will dive into part 7 in the shell scripting series. Today we will be looking at two scripts in order to check whether a particular service is running. Shell scripting is essential in...

本文介绍了Shell脚本系列的第七部分,重点是两个用于检查服务状态的脚本。第一个脚本检查SSHD服务是否运行,第二个脚本使用systemctl命令确认服务状态。执行后,脚本会显示相应的服务状态信息。

脚本系列 - 第七部分(共八部分)
原文英文,约400词,阅读约需2分钟。发表于:
阅读原文

如何修复Tampermonkey脚本中的自动扩展菜单问题

Introduction Have you ever found yourself frustrated with the auto-expanding menu on Zillow's map view? If you’ve inadvertently hovered over the search bar and had the menu expand, you’re not...

本文讨论了Zillow网站地图视图中自动扩展菜单的问题,并提供了使用Tampermonkey脚本隐藏该菜单的解决方案,帮助用户改善浏览体验,避免干扰。

如何修复Tampermonkey脚本中的自动扩展菜单问题
原文英文,约600词,阅读约需2分钟。发表于:
阅读原文

如何在Bash中无脚本复制匹配的子目录?

In this article, we'll discuss how to efficiently copy files from one directory to another while ensuring you only deal with specific matching patterns. Specifically, if you have a directory...

本文介绍了如何高效地将文件复制到符合特定模式的子目录。通过简单的bash命令,可以将名为goodfile的文件从源目录复制到目标目录中的??-??格式子目录。步骤包括切换到目标目录、循环复制文件和验证操作,避免了使用xargs时可能遇到的问题。

如何在Bash中无脚本复制匹配的子目录?
原文英文,约600词,阅读约需2分钟。发表于:
阅读原文

获取天气:一个简洁实用的Python脚本

Get the Weather: A Clean and Practical Python Script If you're learning Python and want a simple yet useful project, writing a script to fetch real-time weather data is a great way to apply your...

编写一个获取实时天气数据的Python脚本是学习Python的好项目,能够帮助你掌握API使用、JSON数据处理和错误处理。这个工具可以扩展为天气仪表板或家庭自动化系统,提升解决问题的能力和对外部数据的理解,为更复杂的工具打下基础。

获取天气:一个简洁实用的Python脚本
原文英文,约500词,阅读约需2分钟。发表于:
阅读原文

这个Python脚本在3分钟内发现了1,237个泄露的密码

🎁 Grab These Exclusive Tech Learning Kits (Dev.to Readers Only) Before you dive into the article, here are two must-have learning kits you can claim today: 🎁 The Evolution of Hacking: From Phone...

本文讨论了数据泄露的严重性,预计2024年将有55亿账户被泄露,企业每次泄露平均损失488万美元。文章提供了使用Python进行数据抓取和泄露检测的完整代码,包括从Pastebin和GitHub Gists提取敏感信息的步骤,以及存储和警报的方法。强调了安全性的重要性,建议开发者及时检测泄露。

这个Python脚本在3分钟内发现了1,237个泄露的密码
原文英文,约1400词,阅读约需5分钟。发表于:
阅读原文

在Bash脚本中,$@是什么意思?

In Bash scripting, you may often come across the dollar sign followed by an at-sign, written as $@. This notation plays a crucial role in handling script arguments, and understanding it can...

$@表示传递给脚本或函数的所有参数,与$*不同,$@在双引号中保持每个参数独立,适合处理包含空格的参数。使用时应加引号以避免分割问题,函数中也可使用。

在Bash脚本中,$@是什么意思?
原文英文,约600词,阅读约需2分钟。发表于:
阅读原文

脚本系列 - 第6部分(共8部分)

Here we will dive into part 6 in the shell scripting series. Today we will look at how you can use a for loop to iterate through all files in a directory and the function of file comparison. Shell...

本文介绍了Shell脚本系列的第六部分,重点讲解如何使用for循环遍历目录中的文件及文件比较功能。Shell脚本用于自动化重复任务,提高一致性,减少人为错误。创建脚本、设置权限并执行后,脚本将输出结果。

脚本系列 - 第6部分(共8部分)
原文英文,约200词,阅读约需1分钟。发表于:
阅读原文