Skip to content

Instantly share code, notes, and snippets.

View JBlond's full-sized avatar

Mario JBlond

  • Germany
  • 09:02 (UTC +02:00)
View GitHub Profile
@JBlond
JBlond / git-change-protocol
Created July 7, 2025 09:39
git-change-protocol
#!/usr/bin/env bash
# Get current remote URL
currentURL=$(git config --get remote.origin.url)
# Exit early if no remote URL is set
if [[ -z "$currentURL" ]]; then
echo "No remote.origin.url is set. Nothing to do."
exit 0
fi
@JBlond
JBlond / android_security_setup.sh
Created August 6, 2025 09:57
Check Android security
#!/bin/bash
echo "📱 Android Security Check startet..."
# Prüfen, ob Gerät verbunden ist
if ! adb devices | grep -w "device" > /dev/null; then
echo "❌ Kein Gerät verbunden. Bitte USB-Debugging aktivieren und Gerät anschließen."
exit 1
fi