Skip to content

Instantly share code, notes, and snippets.

View patarok's full-sized avatar

Peter Patoschka patarok

  • Austria
View GitHub Profile
@patarok
patarok / resolve20-helper.sh
Created January 19, 2026 15:40
DaVinci Resolve 20.x installation helper for installing it on Wayland configured/based dists like PopOS 24.04 or Ubuntu 24.04
#!/bin/bash
set -e
# -------------------------
# Ask user what to do
# -------------------------
echo ""
echo "DaVinci Resolve setup"
echo "====================="
echo "1) INSTALL (run installer + patch)"
@patarok
patarok / .bashrc
Created December 29, 2025 10:46
Call php artisan from everywhere inside your project... add that to your .bashrc
# 1. Define the logic
find_artisan() {
local path=$(pwd)
while [[ "$path" != "" && ! -e "$path/artisan" ]]; do
path=${path%/*}
done
if [[ -e "$path/artisan" ]]; then
if [[ -e "$path/.env" ]]; then