Skip to content

Instantly share code, notes, and snippets.

@oddomatik
oddomatik / resume.json
Created October 6, 2025 00:23
resume.json
{
"basics": {
"name": "Morgan Andrus",
"label": "Social Services Professional",
"email": "morgan.andrus@gmail.com",
"phone": "916-529-7403",
"location": {
"address": "2669 Teal Drive",
"city": "West Sacramento",
"region": "CA",
# Week 1
## Day 1
Squat / 5x5 @8 / progress: custom(attempts: 0, increment: 5lb, decreaseWeight: 0) {~
if (completedReps >= reps) {
state.attempts += 1
if (state.attempts >= 2) {
weights += state.increment
state.attempts = 0
state.decreaseWeight = 0
}
for i in `virsh list |awk '{print $2}' |grep instance`; do echo "virsh resume $i" |sudo at now ; done
abilene.craigslist.org
akroncanton.craigslist.org
albany.craigslist.org
albuquerque.craigslist.org
allentown.craigslist.org
altoona.craigslist.org
amarillo.craigslist.org
ames.craigslist.org
annapolis.craigslist.org
annarbor.craigslist.org
CEPH_STATUS=$(ceph health | awk '{print $1}')
if [ ${CEPH_STATUS} = HEALTH_ERR ]; then
echo ERROR: Ceph cluster status is HEALTH_ERR, waiting for HEALTH_OK or HEALTH_WARN
exit 1
fi
i=0
CEPH_BACKFILL=$(ceph health | grep backfill | wc -l)
until [ ${CEPH_BACKFILL} -lt 1 ]; do
#!/bin/bash
CEPH_STATUS=$(ceph -c ~/ceph/ceph.conf -k ~/ceph/ceph.client.admin.keyring health | awk '{print $1}')
if [ ${CEPH_STATUS} = HEALTH_ERR ]; then
echo ERROR: Ceph cluster status is HEALTH_ERR, waiting for HEALTH_OK or HEALTH_WARN
exit 1
fi
CEPH_BACKFILL=$(ceph -c ~/ceph/ceph.conf -k ~/ceph/ceph.client.admin.keyring health | grep backfilling | wc -l)
until [ ${CEPH_BACKFILL} -lt 1 ]; do
@oddomatik
oddomatik / rgw-agent
Created January 27, 2014 20:26
init script for rgw-agent supporting multiple configurations [/etc/init.d/rgw-agent {start|stop|restart|status} </path/to/radosgw-agent/config.file>]
#!/bin/sh
### BEGIN INIT INFO
# Provides: radosgw-agent
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO