Skip to content
Snippets Groups Projects
Commit 7a27f730 authored by Florian Meißner's avatar Florian Meißner
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash
VAR1=$(echo "$1" | tr '[:upper:]' '[:lower:]')
VAR2=$(echo "$2" | tr '[:upper:]' '[:lower:]')
if [ "$VAR1" = "$VAR2" ]; then
echo "Strings are equal."
else
echo "Strings are not equal."
fi
if [ $1 == "disable" ]
then
sysctl -w net.ipv6.conf.all.disable_ipv6=1
elif [ $1 == "enable" ]
then
sysctl -w net.ipv6.conf.all.disable_ipv6=0
fi
markdown -T -o "$(basename "$1" .md).html" "$1"
echo
#!/bin/bash
sudo watch -n 0.5 cat /sys/kernel/debug/dri/0/amdgpu_pm_info
rclone mount gdrv: $HOME/gdrv_mnt
#!/bin/bash
myrestic="RCLONE_CONFIG_PASS=$(cat $HOME/Documents/__wichtig__/passwords/rclone_config) restic \
-r rclone:onedrive_ohm:/backup/docs \
--password-command \"cat $HOME/Documents/__wichtig__/passwords/restic_onedrive_ohm\""
#echo $myrestic
# Read a string with spaces using for loop
for backup_path in "$HOME/Documents" "$HOME/scripts" "$HOME/Sync/pymass.kdbx"
do
RCLONE_CONFIG_PASS=$(cat $HOME/Documents/__wichtig__/passwords/rclone_config) restic \
-r rclone:onedrive_ohm:/backup/docs \
--password-command "cat $HOME/Documents/__wichtig__/passwords/restic_onedrive_ohm" \
backup --exclude .cache --exclude-caches $backup_path
done
ssh fmeissner@141.75.149.145
ssh fmeissner@141.75.149.143
ffmpeg -loglevel verbose -re -f pulse -i 0 -vn -codec:a libvorbis -qscale:a 8 -content_type application/ogg -f ogg icecast://source:zSfxG8keXAS66NYZUNXFLcCY3YrsimDW3qY2cmdR33iu4vQm6JzpWi7UqD8WzJyY@192.168.178.20:8118/spotify
#!/usr/bin/env bash
rclone sync gdrv: $HOME/google_drive
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment