Skip to content

Instantly share code, notes, and snippets.

View dark-vex's full-sized avatar

Daniele De Lorenzi dark-vex

  • Milan
  • 09:46 (UTC +01:00)
View GitHub Profile
@dark-vex
dark-vex / hpe-disk-controller-tool.md
Last active October 6, 2025 15:20 — forked from dubcl/hpe-disk-controller-tool.md
Add HPE Debian repo
#!/bin/bash

DISTRO="bookworm"

# download the GPG key of the repository:
wget -q0 - http://downloads.linux.hpe.com/SDR/repo/mcp/GPG-KEY-mcp | apt-key add -

# create apt sources file for HP/Proliant repo
echo -e "deb http://downloads.linux.hpe.com/SDR/repo/mcp/ $DISTRO/current non-free" > /etc/apt/sources.list.d/proliant.sources.list
@dark-vex
dark-vex / PVE-HP-ssacli-smart-storage-admin.md
Created May 28, 2024 10:33 — forked from mrpeardotnet/PVE-HP-ssacli-smart-storage-admin.md
HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

HP Smart Storage Admin CLI (ssacli) installation and usage on Proxmox PVE (6.x)

Why use HP Smart Storage Admin CLI?

You can use ssacli (smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.

CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.

ssacli replaces older hpssacli, but shares the same syntax and adds support for newer servers and controllers.

Installation

@dark-vex
dark-vex / install_synology_cloud_backup_on_fedora.sh
Last active July 23, 2021 09:21 — forked from JochemKuijpers/install_synology_drive_on_fedora.sh
Installs Synology Cloud station backup on Fedora 29 (from the .deb package). Use at own risk.
#!/usr/bin/env bash
if [[ $UID != 0 ]];
then
echo "Please run this script with sudo or as root:"
echo
echo "sudo $0 $*"
exit 1 || return 1
fi
@dark-vex
dark-vex / drupalgeddon2_CVE-2018-7600_SA-CORE-2018-002.md
Created May 1, 2018 12:12 — forked from g0tmi1k/drupalgeddon2_CVE-2018-7600_SA-CORE-2018-002.md
drupalgeddon2 / SA-CORE-2018-002 / CVE-2018-7600 cURL (PoC)