Archive for April, 2015

Drum practice setup

April 24th, 2015 No comments

I’ve been using the Akai Professional EIE Pro 24-bit Electromusic Interface Expander
to interface with my PC for over a year now. I’ve used it to record into Reaper, but my primary use is for practicing my drums without the computer at all.

My current setup is 4 mics into the Akai (kick, snare, 2 overheads). I take the output of that and run it into an Behringer Xenyx 802. I also run my phone into the Xenyx for music playback. My Shure SE215-CL In Ears are then mixed between the music and the Akai, allowing me to control the mix of my own playing with the music.

It’s great for practicing new songs, controls the volume blasting my ears and has overall been a great solution for me.

Quick Script to join content hosts to Satellite 6

April 23rd, 2015 No comments

I wrote this for $DAYJOB to move machines registered with RHN or CentOS machines not registered to anything over to our Satellite 6 server.

I presume you have created activation keys titled organization-${DISTRO}${MAJ_REL}-development for all combinations of DISTRO (rhel, centos) and MAJ_REL (6, 7).

# Prepare to register with Satellite
# Make sure lsb_release is installed  
rpm -q redhat-lsb-core 2>&1 >/dev/null
if [ $? -ne 0 ]; then
  yum -y install redhat-lsb-core
# Which version are we running
RELEASE=`lsb_release -r -s`
# Are we on CentOS or RHEL?
if [ -f /etc/centos-release ]; then
  # Get the copr release of RHSM for CentOS
  if [ ! -f /etc/yum.repos.d/dgoodwin-subscription-manager.repo ]; then
    wget -O /etc/yum.repos.d/dgoodwin-subscription-manager.repo${MAJ_REL}/dgoodwin-subscription-manager-epel-${MAJ_REL}.repo
# Install the certificates - will pull in subscription-manager
yum -y install
# Install additional useful packages
yum -y install katello-agent
/sbin/service goferd start
# Register with Satellite
subscription-manager register --org="Example" --activationkey="example-${DISTRO}${MAJ_REL}-development"