Skip to content

Instantly share code, notes, and snippets.

View arreyder's full-sized avatar

Christopher Rhodes arreyder

View GitHub Profile
1.8G apps
9.9M bin
89M boot
4.0K cgroup
290G data
216K dev
53M etc
324K export
40M home
0 home_dir
@arreyder
arreyder / gist:67a19e528bfce401066c
Created September 14, 2015 13:55
Create berks pins
berks list | awk '{print $2,$3}' | tr -d '(' | tr -d ')' | awk '{print "cookbook \x27"$1" \x27= "$2"\x27"}'
@arreyder
arreyder / gist:62d3d5e615a4fdc84455
Created December 18, 2014 15:30
poor mans decoder for tshark
/home_dir/z001ghd/src/wireshark-1.12.2./tshark -i eth0 -T fields -eframe.time -eip.src -eip.dst -e tcp.flags -edata.data -f "port 9042" |perl -e 'while(<>){($ts,$src,$dst,$flags,$hex)=split(/\t/,$_,); print "\n$ts\t$src->$dst\t";$hex=~tr/://d;while($hex=~/(.{2})/sg){print chr (hex($1));}print ".";}'
* directory[/dev/sdj] action create (skipped due to only_if)
* execute[ceph-disk-prepare on /dev/sdj] action run
- execute ceph-disk-prepare /dev/sdj /dev/sdj
* ruby_block[save osd_device status 8] action create
- execute the ruby block save osd_device status 8
* execute[ceph-disk-activate /dev/sdj] action run (skipped due to only_if)
* ruby_block[save osd_device status 8] action nothing (skipped due to action :nothing)
* directory[/dev/sdk] action create (skipped due to only_if)
root 17648 1 0 19:57 ? 00:00:00 /usr/bin/python /usr/sbin/ceph-disk activate /dev/sdj1
root 17853 1 0 19:59 ? 00:00:00 /usr/bin/python /usr/sbin/ceph-disk activate /dev/sdk1
root 18249 18247 0 20:03 ? 00:00:00 /usr/bin/python /usr/sbin/ceph-disk activate-all
This look interesting to you at all? System architect position. 1 year contract to start. About $85/hr.
Overview:
Works with IT and business staff to formulate system architecture and designs. Develops and applies industry best practice technology, design and methodology approaches to implement system solutions to support business processes. Develops architecture models and technical standards enable the transition of systems from current state to future requirements. Consults and provides input on business process improvements. Provides guidance for IT policies, procedures, tools, security and infrastructure.
Mentors and directs IT staff on technical architecture. Establishes and maintains strong working relationships with IT and business units. Researches and recommends new emerging technologies, techniques and tools that will add value to the organization.
will be responsible for all of the integration points with the Exchanges part of the program. Ideal candidates would have extensive expereince le
Warning: Invalid argument supplied for foreach() in www/lib/nfo.php on line 117
@arreyder
arreyder / gist:5135360
Created March 11, 2013 16:12
Setting up the Rackspace Monitoring Agent on Ubuntu
RELEASE=`lsb_release -s -r`
echo deb http://stable.packages.cloudmonitoring.rackspace.com/ubuntu-$RELEASE-x86_64 cloudmonitoring main > /etc/apt/sources.list.d/rackspace-monitoring-agent.list
curl https://monitoring.api.rackspacecloud.com/pki/agent/linux.asc | apt-key add -
apt-get update
apt-get install rackspace-monitoring-agent
#!/bin/bash
exec chpst -u daemon /usr/bin/java \
-Dblueflood.config=file:/opt/ele-conf/bf-0.conf \
-Dlog4j.configuration=file:/opt/ele-conf/bf-0-log4j.properties \
-Xms2G \
-Xmx2G \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false \
-Djava.rmi.server.hostname=127.0.0.1 \
-Dcom.sun.management.jmxremote.port=8090 \
2012-07-11_19:15:04.54261 Warning: Passive check result was received for service 'check_packet_errors' on host 'lon3-maas-prod-scribe0', but the host could not be found!
2012-07-11_19:15:04.54265 Warning: Passive check result was received for service 'check_scribedir' on host 'iad2-maas-prod-dw0', but the service could not be found!
2012-07-11_19:15:06.55017 Warning: Passive check result was received for service 'check_scribedir' on host 'lon3-maas-prod-cass2', but the service could not be found!
2012-07-11_19:15:07.55137 Warning: Passive check result was received for service 'check_mem' on host 'ord1-maas-prod-scribe0', but the host could not be found!
2012-07-11_19:15:07.55155 Warning: Passive check result was received for service 'check_packet_dropped' on host 'dfw1-maas-prod-scribe0', but the host could not be found!
2012-07-11_19:15:07.55157 Warning: Passive check result was received for service 'check_scribedir' on host 'dfw1-maas-prod-cass0', but the service could not be found!
2012-07-11_19:15:0