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 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

@kartikv11
kartikv11 / github-actions-push-to-protected-branch.yml
Created October 31, 2023 08:28
Github Push Commit in Github Actions to a Protected Branch
...
..
# Use-case here is update version of a Java Application in pom.xml
# You can change the below code as per your need.
# Branch: develop (protected branch)
# User to Push with: has owner/maintain permissions
#
# Variables:
# BUILD_TOKEN : user to commit & push with is set in Github environment Secrets as BUILD_TOKEN
# REPO_NEW_VERSION: is new version value from a previous step (example: 1.0.1)
@DealsBeam
DealsBeam / README.md
Created September 11, 2023 11:00 — forked from cprima/README.md
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 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.
@fonic
fonic / smart-status.sh
Created September 5, 2022 06:47
smart-status.sh - Query SMART status of disk drives (SSD/HDD) using smartctl
#!/usr/bin/env bash
# -------------------------------------------------------------------------
# -
# Fonic <https://github.com/fonic> -
# Date: 07/22/21 - 06/30/22 -
# -
# Based on: -
# Initramfs script 'initrc-init.sh', -
# 'man 8 smartctl', section 'EXIT STATUS' -
@pigeonhill
pigeonhill / LBS.lua
Last active June 12, 2023 16:15
LBS (CHDK)
--[[
Landscape Bracketing Script (LBS)
Capture 'perfect' focus brackets, with focus overlap defined in terms of defocus (CHDK) Circle of Confusion blur
Focus bracketing strategies are: current position to blur-defined infinity (X2INF); min camera focus to blur-defined infinity (Min2INF); H/x to infinity (H/x2INF);...
and Min focus to current focus position (Min2X).
Overlap, ie bracket to bracket, is definded in terms of the defocus (CoC) blur, eg CoC/2 means focus brackets 'touch' at a CHDK defocus blur of CoC/2.
@mihow
mihow / load_dotenv.sh
Last active May 26, 2024 17:31
Load environment variables from dotenv / .env file in Bash
if [ ! -f .env ]
then
export $(cat .env | xargs)
fi
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc