Articles about script | UserComp.com | Page [ 8 ]

Automating Telegram Notifications with Bash Script on Ubuntu Server

Automate Telegram alerts for Ubuntu server monitoring tasks like disk space checks using a Bash script and the Bot API.

Read More
Change Code Time Duration: from '%H:%M:%S' to 'XhYmZs' instead

Convert H:M:S time duration strings to compact XhYmZs format in Python using datetime.timedelta.

Read More
Script to Find Common Strings Between Two PDF Files

This script identifies common words between two PDF files by extracting text with pdfplumber and performing a set intersection on Linux.

Read More
Unintended Discovery of an Obscure Chinese Poem (BAT File)

Resolve unintended Chinese poem output in batch files by correcting character encoding mismatches and properly escaping non-ASCII text.

Read More
Troubleshooting Angular Updating and SCSS Issues

Resolve Angular build failures and SCSS compilation errors by clearing the cache, verifying sass dependencies, and configuring angular.json.

Read More
Windows PowerShell: ID Values Don't Write Extracted ID, Write 'TRUE' Instead

Fixes PowerShell writing TRUE instead of extracted ID values by ensuring correct string capture from regex matches or split operations.

Read More
Finding Square Root in JavaScript

Use Math.sqrt() to calculate square roots in JavaScript and handle negative inputs by returning NaN or validating data types.

Read More