Skip to content

Instantly share code, notes, and snippets.

View thomaslagies's full-sized avatar
🧽

Thomas Lagies thomaslagies

🧽
  • SEAL Systems AG
  • DE
View GitHub Profile

Notes

on what to do

Pipeline

Install/Update tests

  • Run the download in parallel
@thomaslagies
thomaslagies / ice-cubes
Created February 15, 2024 14:29
ice-cubes
Ice cubes icons created by Freepik - Flaticon
@thomaslagies
thomaslagies / repair.sh
Last active January 15, 2025 09:09
repair update-build-config.yml
#! /bin/bash
find ~/git2 -name update-build-config.yml -exec sed -i '' 's/run: npm install --no-save --force yo/run: npm install --no-save --force yo@"4.x"/g' {} \;
for repo in ~/git2/*; do
cd $repo
echo "Current directory is $repo"
git pull
git add .github/workflows/update-build-config.yml
git checkout -b yo-downgrade
@thomaslagies
thomaslagies / sendRandom.sh
Last active April 4, 2024 14:37
Send jobs randomly to P5
#!/bin/bash
usage() {
printf "Usage: $0 [options]\n
-q\tQueue you want to send documents to. Default is a random queue listed in a printers.yml file
-s\tServer hostname or IP address. Default is '127.0.0.1'
-p\tPort. Default is '631'
-n\tNumber of jobs. Default is '1'
-r\tRest n seconds between jobs. Default is 'false'
-f\tFile to print. Default is $0
@thomaslagies
thomaslagies / tf-state-repair.md
Last active May 8, 2023 15:35
terraform state rm

Grep wanted resources:

terraform state list | grep -i <value> > list.txt

IMPORTANT

Edit this list! Make sure you know what you do before running the next command!