Questions tagged [automation]

Automation refers to the process of generating tools that execute tasks without the help of human intervention. Use this tag for scripts, software and other tools that allow for automation.

Filter by
Sorted by
Tagged with
1 vote
1 answer
28 views

VSCode-Portable Updater (MSYS2)

VSCode's portable mode doesn't support auto-updates, unlike its normal installer-based versions. I happen to use MSYS2's UCRT64 environment which makes the Linux tools I like play nice with the ...
404 Name Not Found's user avatar
0 votes
1 answer
31 views

Ruby-function for reading, parsing a text-file, removing data-duplicates

Task description: Implement a generate_unique_phone_numbers function. The function shall parse the given text-file. Content-example: ...
michael.zech's user avatar
  • 4,138
0 votes
0 answers
21 views

Ansible role for installing and configuring SSH service

This is the Ansible role that installs and configures SSH service. What do you think about it? Is there something to improve? Thanks defaults/main.yml ...
lester's user avatar
  • 301
2 votes
0 answers
77 views

Python script that refreshes network connection at random intervals

This is a followup to Python script that reboots the router every 600 seconds. Recently censorship in China has increased because of the meeting of heads of states, and my previous script has been ...
Ξένη Γήινος's user avatar
2 votes
1 answer
76 views

bash script to setup a digitalocean webserver (apache2, nginx, PHP7.4, fastcgi, SSL)

The following bash script is intended to be run on a freshly installed digitaloceans ubuntu 20.04 droplet by root in its home dir. The purpose is to setup a ready to use webserver with SSL (certbot), ...
Roadrunner85's user avatar
0 votes
1 answer
111 views

Python API testing

I have written a rudimentary code in Python: That reads the API collection from Swagger/Postman and extracts the payload, link, and method It creates the response with the token(Generated from the ...
Durga's user avatar
  • 41
1 vote
0 answers
85 views

Test-case runner for Jenkins

I am new to groovy/jenkins. I am using active choices parameter (projects) and active choices reactive parameter (testcases). The code below will loop thru ...
Gunasekar Desaiyan's user avatar
0 votes
1 answer
166 views

Unix batch job execution from BDD automation framework

As part of my testing, I have to connect to Unix server using putty and execute few unix jobs. Feature file Steps for test scenario: ...
Sh87's user avatar
  • 89
4 votes
2 answers
82 views

"Python AutoClicker" Part 2

I previously posted a question for codereview: Python Autoclicker And I received some great feedback and changes to do in the code. I have done many of the changes mentioned in the answers and here is ...
Syed Mohammad Sannan's user avatar
1 vote
2 answers
413 views

Python Autoclicker

I made this super basic autoclicker using Python (v3.7) and the pynput (v1.7.3) library. Are there any changes that you could recommend to make the code more efficient, faster, and overall better? ...
Syed Mohammad Sannan's user avatar
2 votes
2 answers
248 views

Scrape and parse dictionary website and get meaning of each word in a text file

In this program, I have done automation using Selenium, to find english meaning of each sanskrit word from a dictionary website. The function eng_meaning accepts ...
coder's user avatar
  • 2,449
3 votes
1 answer
104 views

All core MediaWiki upgrade script (round 2)

The following script upgrades an existing, all core (no add ons) MediaWiki install. I run it with set -x for debugging (I avoid ...
timesharer's user avatar
2 votes
1 answer
219 views

Powershell SMTP report with attachment issues needs corrections

I created this tiny script to full fill a repeated request from audit. I want to expand it but ran into an issue with file creation. This code will create the ...
StormySkies's user avatar
2 votes
1 answer
30 views

Search for listings on a german website in a given postal code, return an excel spreadsheet with details from X listings

I'm a newbie and originally I wanted to write some code to automate getting to the results page of a site that lists apartments for workers. Then I got some inspiration and wanted to automate getting ...
Coercer_'s user avatar
5 votes
1 answer
242 views

Automating TypeRacer using selenium

This is a personal project which I created solely to torture my friends ;) I'm pretty sure you've heard about typeracer. And if you have friends like mine who are faster than you, you'd surely be ...
Sriv's user avatar
  • 2,720
2 votes
1 answer
73 views

Unefficent data wrangling in R

so I've been working with R quite a while now, but due to very stressful deadlines in my last university module I had, I wrote code that I'm not very proud of. I would like to be more efficient in ...
L.Thoma's user avatar
  • 55
4 votes
0 answers
47 views

Sheet display in function of date and time on open and save (2)

Since I had to almost start all of the code again with first refactor and an eye opening advice on a random Overflow question, here it is again: This is a code that selects the right sheet according ...
Patates Pilées's user avatar
3 votes
2 answers
79 views

Simple automation executing platform in Python

I'm building a platform like Rundeck/AWX but for server reliability testing. People could log into a web interface upload scripts, run them on servers and get statistics on them ( failure / success). ...
amos-baron's user avatar
9 votes
3 answers
2k views

File Automation Using Python On Linux

A project to automate file organization in Linux using Python. I've always wanted to do this project way before I know how to code. Now that I did, I want to improve it even more. Used Language: ...
Hama's user avatar
  • 93
3 votes
0 answers
62 views

python network test application

I am working to a python application for some operational test on a Arista brand Network (more info here: https://gitlab.com/networkAutomation/pyateos) I am the only one doing coding in my team so I ...
Allan Karllson's user avatar
6 votes
1 answer
844 views

Script to automate image searching and clicking on screen

For testing purposes of a platform I'm working on, I must automate the process of initiating Dota 2, accepting an invite that shows on screen, choose the right spot for that player (team A or team B), ...
Teodoro's user avatar
  • 181
5 votes
0 answers
269 views

Simple dmenu launcher for passwords, docs, notes and application shortcuts (Python)

I created a small script for automating password store management and quickly searching and launching notes, shortcuts and documents through some keybindings that will execute the script. Script is ...
silveiralexf's user avatar
3 votes
1 answer
7k views

Automate html file editing with python - Change the author

Hello I would like to use python to change the author of an html file, in order to do so I have written a few lines. First I have used the HTMLParser class from ...
Louisono's user avatar
  • 125
0 votes
1 answer
528 views

Discord.py Pokemon Bot performance problems [closed]

I have currently problem with discord bot, what is in Python programming language. This commands loading take so long, and I need help with optimization of this code. ...
user avatar
2 votes
2 answers
299 views

Digitizing paper label system with Python

I'm currently halfway through a Python project, but would like a review before I spend too much more time on this to avoid going too far down a rabbit hole. I had previously wanted to use HTML, CSS, ...
Eduards's user avatar
  • 225
4 votes
1 answer
64 views

Python script for parsing links

I wrote a test that parses links from a web page, and in a loop, clicks on each of them, and then returns to the main page. But, each iteration is accompanied by parsing the entire web page again and ...
Pavel Riabov's user avatar
3 votes
0 answers
166 views

Visual Fox Pro Automation

I wrote this code to automate in Word from Visual Fox Pro. I put between the escapes <|< and >|> some VFP code (like ...
meltigel's user avatar
3 votes
0 answers
1k views

Block YouTube iframes until user consents with cookies

I'm trying to embed YouTube video's on a website in a privacy-friendly way. The code doesn't load the iframes by default but shows a preview thumbnail overlayed with an info message instead. The ...
TheDancingCode's user avatar
3 votes
1 answer
1k views

Automatically Sending an Email based on a Google Sheet's cell value

Would love some feedback on how to improve my code. It might not be as readable as I'd like in places, but it currently works. Note that this code will be adapted to work on a different spreadsheet, ...
cody.codes's user avatar
  • 1,945
4 votes
1 answer
97 views

Automation of application utilities on Linux

I am working on a project to automate utilities of our application on Linux. The utilities are basically chunks of programs with specific options for specific tasks. They are run like UNIX commands. ...
Mohima Chaudhuri's user avatar
3 votes
1 answer
1k views

Automation script for creating NuGet packages

I've been creating some NuGet packages recenly and to automate the process I created the following script that: reads the package id from the script name reads the package version from the nuspec ...
t3chb0t's user avatar
  • 44.1k
8 votes
1 answer
213 views

Auto-click the sequence

The following Pascal script needs a bit of context for its purpose to be understood. For those who don't give about purpose, feel free to skip ahead. Background A game I'm terribly fond of has a ...
Mast's user avatar
  • 13.1k
5 votes
0 answers
473 views

Automatically push git submodule's parents recursively

I'm absolutely terrible with .bat files, but sometimes they are just needed. Right now I'm working on a project with quite some submodules, which have quite some ...
Daniël van den Berg's user avatar
3 votes
3 answers
146 views

Fast tag replacements

This uses the Stack Exchange API to quickly batch replace tags in questions. I still need to fully comment and make the Wiki, but are there any glaring mistakes in it? I have tried to use ...
Tim's user avatar
  • 260