Skip to content

Instantly share code, notes, and snippets.

@mcdamo
mcdamo / zfs-unlock.sh
Created March 17, 2023 13:23
Script to unlock TrueNAS dataset(s) by way of typed passphrase
#!/bin/bash
## Script to unlock TrueNAS dataset(s) by way of typed passphrase
set -e
# get dir of this script to load conf
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
. $DIR/api.conf
@mcdamo
mcdamo / ipmi-updater.py
Last active October 19, 2024 21:28 — forked from HQJaTu/ipmi-updater.py
Supermicro IPMI certificate updater
#!/usr/bin/env python3
# vim: autoindent tabstop=4 shiftwidth=4 expandtab softtabstop=4 filetype=python
# This file is part of Supermicro IPMI certificate updater.
# Supermicro IPMI certificate updater is free software: you can
# redistribute it and/or modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
@mcdamo
mcdamo / svn_to_git.rst
Last active October 6, 2018 05:28 — forked from epicserve/svn_to_git.rst
Convert SVN Repositories to Git Repositories

Convert SVN Repositories to Git Repositories

This guide on how to convert an SVN repository to a git repository was mostly taken from John Albin Wilkins post on Converting a Subversion repository to Git.

1. Retrieve a list of all Subversion committers