Skip to content

Instantly share code, notes, and snippets.

@pinguinpfleger
pinguinpfleger / brew_install_shopify_cli.sh
Last active April 29, 2025 15:24
Shopify CLI MacOS install
#!/bin/bash
# TouchID für sudo aktivieren
echo "auth sufficient pam_tid.so" | sudo tee -a /etc/pam.d/sudo
# Installiere Xcode Command Line Tools für Homebrew
xcode-select --install
# Installiere Homebrew https://brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@pinguinpfleger
pinguinpfleger / vscode-macos-context-menu.md
Created May 11, 2022 12:13 — forked from idleberg/vscode-macos-context-menu.md
“Open in Visual Studio Code” in macOS context-menu

Open in Visual Studio Code

  • Open Automator
  • Quick Action
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
  • Set the script action to the following
    for f in "$@"; do
    

open -a 'Visual Studio Code' "$@"

@pinguinpfleger
pinguinpfleger / config.yaml
Created March 11, 2020 18:52
Octoprint Shelly Plugs Steuerung .octoprint/config.yaml
system:
actions:
- action: x1_on
command: /usr/bin/curl -so /dev/null "http://192.168.123.90/relay/0?turn=on"
name: Sidewinder X1 einschalten
- action: x1_off
async: true
command: /usr/bin/curl -so /dev/null "http://192.168.123.90/relay/0?turn=off"
confirm: Sidewinder X1 ausschalten?
name: Sidewinder X1 ausschalten
@pinguinpfleger
pinguinpfleger / config.yaml
Created March 11, 2020 18:00
Octoprint LED Steuerung .octoprint/config.yaml
controls:
- name: LED
layout: horizontal
children:
- name: LED an
commands:
- M42 P4 S%(lumi)s
- M42 P5 S%(lumi)s
- M42 P6 S%(lumi)s
input:
@pinguinpfleger
pinguinpfleger / shopware_update_check.sh
Created December 20, 2016 21:24
Update Check Shell Script for Shopware
#!/bin/bash
# Description
# This script will send an email when new updates for your Shopware installation are available.
# A Bash-script runed by an cronjob checks via console command for new updates and send you a mail.
# Usage
# Set SHOPWARE_PATH to your shopware docroot path. Change MAILTO to your email address.
# Try it and finally add a new cronjob to run once every night.