Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block fishdust

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fishdust /
Last active Jan 10, 2017
Installing ZFS on Centos 7

Here are the only commands used to install ZFS on Centos 7

First install from CentOS-7-x86_64-Minimal-1611.iso

yum -y install epel-release
yum -y update

after reboot

fishdust / CentOS 7 AFP Netatalk
Last active Aug 23, 2018 — forked from darcyliu/
Install Time Machine service on CentOS 7
View CentOS 7 AFP Netatalk
# Install AFP server on CentOS 7
yum install -y rpm-build gcc make wget
# install netatalk
yum install -y avahi-devel cracklib-devel dbus-devel dbus-glib-devel libacl-devel libattr-devel libdb-devel libevent-devel libgcrypt-devel krb5-devel mysql-devel openldap-devel openssl-devel pam-devel quota-devel systemtap-sdt-devel tcp_wrappers-devel libtdb-devel tracker-devel
yum install -y bison docbook-style-xsl flex dconf
View Case insensitive tab complete
echo "set completion-ignore-case on" >> /etc/inputrc
fishdust /
Last active Aug 29, 2015
Mounting GCP bucket with gcsfuse
# Install necessary components
yum -y install fuse go git
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
#modify .bash_profile to include the following:
mkdir /mnt/gcp-online
gcsfuse gcp-online /mnt/gcp-online/
fishdust / gist:d09db08a3897335a94c7
Created Jan 15, 2015
TrippLite Keyspan USA-19HS on OS X 10.10
View gist:d09db08a3897335a94c7
screen /dev/tty.USA19H145P1.1 9600
fishdust / salt-curl-ftp
Last active Aug 29, 2015
Using salt to upload remote data to a FTP server via Curl
View salt-curl-ftp
salt '' "curl -v -T /path/to/"
fishdust / tina_cart
Last active Aug 29, 2015
Reading data from an Atempo TimeNavigator formatted cartridge
View tina_cart
# to read the data only:
tina_cart -type "IBM Ultrium 5" -device /dev/rmt/nst0 -list -skip 1 -all
# to extract the data off the tape
tina_cart -type "IBM Ultrium 5" -extract -all -format tar -device /dev/rmt/nst0 -skip 1
fishdust / zfs-healthcheck cron
Created Dec 12, 2014
zfs health check cron entry
View zfs-healthcheck cron
#minute (0-59)
#| hour (0-23)
#| | day of the month (1-31)
#| | | month of the year (1-12 or Jan-Dec)
#| | | | day of the week (0-6 with 0=Sun or Sun-Sat)
#| | | | | commands
#| | | | | |
View zfs-healthcheck
#! /usr/local/bin/bash
# FreeBSD 9.1 ZFS Health Check script
# @ Version 0.15
# Check health of ZFS volumes and drives. On any faults send email. In FreeBSD
# 10 there is supposed to be a ZFSd daemon to monitor the health of the ZFS
# pools. For now, in FreeBSD 9, we will make our own checks and run this script
fishdust / history
Last active Aug 29, 2015
Makes bash history useful by time stamping, ignoring repeated commands, and allowing more history events
View history
# add to .bash_profile or .bashrc
# history will look like this:
# 4729 2014-11-30 12:11:50 cat .bash_profile
# 4730 2014-11-30 12:18:54 uptime
You can’t perform that action at this time.