Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View tiriana's full-sized avatar
🤨
¯\_(ツ)_/¯

Radomir Wojtera tiriana

🤨
¯\_(ツ)_/¯
View GitHub Profile
@tiriana
tiriana / watch_and_open.sh
Created January 30, 2024 23:32
Auto-Open Office Script: Watch & Open New Spreadsheet Files in Downloads
#!/bin/bash
# This script monitors the Downloads folder for new .xlsx, .csv, and .xls files.
# When a new file is detected, it:
# 1. Closes all running instances of OpenOffice/LibreOffice Calc.
# 2. Opens the new file in Calc, bypassing the recovery process.
# Requirements:
# - inotify-tools package
# - OpenOffice/LibreOffice Calc installed
@tiriana
tiriana / generate_synthetic_video.sh
Created November 23, 2023 20:07
Synthetic Video Generator Script - A simple and versatile bash script to generate synthetic video files of a specified duration using ffmpeg. Ideal for creating test videos with custom lengths, the script features optional parameters for setting the video's duration and naming the output file. The generated videos come with standard test pattern…
#!/bin/bash
# Synthetic Video Generator Script
# ==============================================================================
# This bash script generates a synthetic video file of a specified duration using ffmpeg.
# It's designed to be simple and flexible, allowing users to quickly create video files for testing or other purposes.
#
# Features:
# 1. Optional duration parameter: Specify the length of the video in seconds.
# - If not provided, defaults to 60 seconds.
@tiriana
tiriana / add-jira-link-to-pr.yml
Last active October 16, 2023 13:00
Github workflow to parse JIRA ticket key from branch name and add link to JIRA ticket in PR comment
@tiriana
tiriana / Intelij idea command line
Last active August 1, 2022 10:45
Intelij toolbox idea command line
alias idea="$(find ~/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0 -maxdepth 1 -type d -name '[[:digit:]]*' -not -name "*plugins" -printf "%T@ %p\n" | sort -nr | head -n 1 | rev | cut -d ' ' -f '1' | rev)/bin/idea.sh"