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 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 May 8, 2024 11:37
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.
@cprima
cprima / _README.md
Last active May 11, 2022 12:33
Elastic Logstash Kibana UiPath Studio Community Execution.log local

UiPath Studio Execution.log ingestion to Elastic

UiPath Studio ─────► Filebeat ─────► Logstash ─────► Elastic ──────► kibana

This gist contains 4 config files for elastic, tested with version 8.2 on Windows.

  • elastic.yml: no modifications but prior to publishing I had set network.host: 127.0.0.1 to a proper IPv4 address
  • kibana.yml: no modifications
  • filebeat.yml: enabled the first input, set output to logstash, uncommented setup.kibana
  • logstash.yml: this is the major part of this gist:
@cprima
cprima / Code.gs
Last active October 27, 2021 05:09
German gas prices into Google Sheet by API
/**
* Automated download of gas station prices
* leveraging tankerkoenig.de API
*
* @author: Christian Prior-Mamulyan <cprior@gmail.com>
* @license: MIT
*
* depends on config file containing apikey, ids_csv, output_spreadsheetId, output_sheetname
*/
@cprima
cprima / README.md
Last active February 1, 2018 05:27
Scripted version of the Nitrokey-based EC CA from the article at https://medium.com/where-the-flamingcow-roams/ec-ca-redux-now-with-more-nitrokey-729061e1b7c9

Two versions:

  • make_ca-rsa.sh with RSA keys
  • make_ca-ec.sh with the original elliptic curve keys
@cprima
cprima / ProdMgt.svg
Last active January 28, 2018 12:31
Product Manager: What I do
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.