Skip to content

Instantly share code, notes, and snippets.

View Erdack54's full-sized avatar

Erdack54 Erdack54

View GitHub Profile
@Erdack54
Erdack54 / disable-google-agent.sh
Last active January 26, 2023 15:41
Stop&Disable: "google-guest-agent" & "google-guest-agent" on Google VM (console.cloud.google.com)
#!/bin/bash
#
## Stop&Disable: "google-guest-agent" & "google-guest-agent" on Google VM (console.cloud.google.com)
## Usage: sh <(curl https://gist.githubusercontent.com/Erdack54/43ff18286ac315c08674f9b056efd935/raw/79bd9f0a3a4eb038577aaa97fabff55729d9e90b/disable-google-agent.sh || wget -O - https://gist.githubusercontent.com/Erdack54/43ff18286ac315c08674f9b056efd935/raw/79bd9f0a3a4eb038577aaa97fabff55729d9e90b/disable-google-agent.sh)
#
systemctl stop google-osconfig-agent
systemctl disable google-osconfig-agent
systemctl stop google-guest-agent
@Erdack54
Erdack54 / qbittorrent-nox-unpause-torrents.sh
Last active January 24, 2023 15:13
Script bash to unpause qBittorrent-Nox torrent's through WebUI API, for exemple during night <|> Sorry about my English and probably "my" code if it's absolutely a piece of garbage, it's work for me so i think it can be usefull, feel free to comment 🙂
#!/bin/bash
ScriptName='qbittorrent-nox-unpause-torrents.sh'
ScriptVer='v1'
## by Erdack54 .fr /
## Usage&Crontab: sh /mnt/vdev0/dataset0/qbittorrent-nox-unpause-torrents.sh > /mnt/vdev0/dataset0/qbittorrent-nox-unpause-torrents.sh.log 2>&1
# -------------------------
# qBittorrent Credentials
USER="admin"
PASSWORD="adminadmin"
@Erdack54
Erdack54 / qbittorrent-nox-pause-torrents.sh
Last active January 24, 2023 15:13
Script bash to pause qBittorrent-Nox torrent's through WebUI API, for exemple during night <|> Sorry about my English and probably "my" code if it's absolutely a piece of garbage, it's work for me so i think it can be usefull, feel free to comment 🙂
#!/bin/bash
ScriptName='qbittorrent-nox-pause-torrents.sh'
ScriptVer='v1'
## by Erdack54 .fr /
## Usage&Crontab: sh /mnt/vdev0/dataset0/qbittorrent-nox-pause-torrents.sh > /mnt/vdev0/dataset0/qbittorrent-nox-pause-torrents.sh.log 2>&1
# -------------------------
# qBittorrent Credentials
USER="admin"
PASSWORD="adminadmin"
@Erdack54
Erdack54 / health-check-specific-iocage-jail.sh
Created October 4, 2022 17:14
Script bash to check health of specific Plugin/Jail (IOCAGE) on TrueNAS Core (v12.8/v13) <|> Sorry about my English and probably "my" code if it's absolutely a piece of garbage, it's work for me so i think it can be usefull, feel free to comment 🙂
#!/bin/bash
#
ScriptName='health-check-specific-iocage-jail.sh'
ScriptVer='v1.5'
## by Erdack54 .fr /
## Usage&Crontab: sh /mnt/vdev0/dataset0/health-check-specific-iocage-jail.sh > /mnt/vdev0/dataset0/health-check-specific-iocage-jail.sh.log 2>&1
#