Skip to content

Instantly share code, notes, and snippets.

View cprima's full-sized avatar

Christian Prior-Mamulyan cprima

  • Germany
View GitHub Profile
@cprima
cprima / README.md
Last active June 22, 2024 06:54
travel route weather display

Travel Route Weather Display

This application retrieves weather forecasts and current weather data for a list of cities based on their city IDs and visit dates. The data is fetched from the OpenWeatherMap API, cached, processed to find the forecast for noon on specific visit dates, and then displayed in a user-friendly HTML format.

Features

  • Fetches weather forecast and current weather data from the OpenWeatherMap API.
  • Caches the fetched data to reduce API calls and improve performance.
  • Retrieves and processes the forecast for noon on specific visit dates.
@cprima
cprima / README.md
Created June 9, 2024 17:32
image crop from center

Image Processing Script

This Bash script processes PNG images in the current directory. It renames images that are already 1600x900 with a _1600x900.png suffix. For images that are larger, it crops them to 1600x900 from the center and saves them with the same suffix.

Requirements

Installation

@cprima
cprima / README.md
Last active June 8, 2024 08:32
UiPath Studio expression: Recursively Join Dictionary(String, Object)

watch in action:

IMAGE ALT TEXT

@cprima
cprima / README.md
Last active June 8, 2024 05:49
autotype_from_clipboard.py

AutoType from Clipboard

This script automatically types text from the clipboard into a text area, simulating human-like typing behavior.

Usage

  1. Install Dependencies:
    pip install -r requirements.txt
@cprima
cprima / README.md
Last active April 19, 2024 11:19
PowerShell Scripts for CI/CD tasks in UiPath RPA projects

UiPath RPA project automated projectVersion increments based on last Git commit message

Overview

Update-ProjectVersion.ps1 is a PowerShell script designed to automate the updating of the projectVersion in a UiPath RPA project's project.json file based on the latest Git commit message. This script utilizes Semantic Versioning (SemVer) rules to increment version numbers appropriately, handling major, minor, and patch updates along with optional pre-release and build metadata.

Features

  • Automatic Version Increment: Based on the type of changes logged in Git commit messages, the script decides whether to increment the major, minor, or patch version.
  • Full SemVer Support: Supports full Semantic Versioning, including pre-release versions and build metadata.
  • Customizable Path: Users can specify the directory path where the project.json file is located, defaulting to the current working directory if not specified.
@cprima
cprima / README.md
Last active February 8, 2024 17:10
Project Basturma Pipelines: RPA UiPath Project Read-ProjectJson and Increment-SemVer

Project Basturma Pipelines

Welcome to the Project Basturma repository! This project is dedicated to providing robust CI/CD pipeline scripts and tools for UiPath RPA (Robotic Process Automation) development. The goal is to streamline the automation deployment process, ensuring efficient, consistent, and error-free delivery of RPA solutions.

@see github.com/rpapub/project-basturma-pipelines

Author

This project is created and maintained by Christian Prior-Mamulyan cprior@gmail.com

digraph G {
label=<<font point-size="32">sirpoc84 wrote:<br/>&nbsp;</font>>;
labelloc=top;
rankdir=TB;
node [shape=box];
ranksep=1.0;
@cprima
cprima / README.md
Last active July 7, 2024 14:23
Google MyActivity YouTube Comment Delete Script 💬❌

CommentCleanser for YouTube 💬❌

Description

Looking to take control of your digital history? CommentCleanser for YouTube lets you efficiently delete old YouTube comments from Google's MyActivity. Prioritize the removal of older comments, ensuring a leaner digital footprint and a conscious cleanup of your online history.

The script has been designed for users who have a significant number of YouTube comments and wish to delete them in bulk from Google's MyActivity page. By leveraging JavaScript, it provides a means to automate the process of deleting individual comments, offering the user control over how many comments to delete at once.

@cprima
cprima / README.md
Last active August 25, 2023 05:43
asciinema truncator 🎬✂️ A Python script to truncate recording sessions of `asciinema`. This tool is perfect for users who want to remove specific time intervals from their recorded sessions, ensuring the end result is clean and only showcases what's necessary.

asciinema truncator 🎬✂️

A Python script to truncate recording sessions of asciinema. This tool is perfect for users who want to remove specific time intervals from their recorded sessions, ensuring the end result is clean and only showcases what's necessary.

Features

  • Removes specified time intervals from an asciinema recording.
  • asciinema records in NDJSON format
@cprima
cprima / README.md
Last active August 25, 2023 05:12
Turing Pi 2: On BMC host flash conveniently multiple CM4

init-nodes.sh

The init-nodes.sh script is a utility for the Turing Pi 2 to initialize and configure multiple CM4 nodes in a structured and automated manner. It operates by looping through specified node numbers, performing actions like copying configurations, power cycling, and more.

Prerequisites

  • Tested with BMC version 1.1.0 -- bug reports with older versions are welcome (see below).
  • The script requires sh.
  • It should be run with root permissions.
  • The image file to be flashed should be provided.