Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am tels7ar on github.
  • I am philiph (https://keybase.io/philiph) on keybase.
  • I have a public key whose fingerprint is EDF5 3AE8 4772 14A2 CA5F AE0D 3359 5BAC F6EC 396F

To claim this, I am signing this object:

@tels7ar
tels7ar / BuddhaHandMuffins.md
Created December 19, 2010 04:07
Muffins with a citrus kick

Phil's Zesty Buddha's Hand Muffins

Shamelessly ripped off from the Bisquick recipe book, with some tweaks.

Ingredients

2 c Bisquick baking mix
2/3 c whole milk
1/2 c diced fingered citron zest
1/4 c brown sugar

NAME=pmwiki
VERSION=2.2.36
FPM=/var/lib/gems/1.8/bin/fpm
DESCRIPTION="The PmWiki php-based wiki"
MAINTAINER="Phil Hollenback <philiph@pobox.com>"
.PHONY: package
package:
rm -rf *.deb
wget http://www.pmwiki.org/pub/pmwiki/$(NAME)-$(VERSION).tgz
1. Use blueprint to capture system state
2. use blueprint-show -P to dump it as puppet
3. try to apply with puppet, via
$ puppet apply -v -d -l /tmp/log manifests/init.pp
results in:
Thu Jan 12 10:12:29 -0800 2012 Puppet (debug): Creating default schedules
Thu Jan 12 10:12:29 -0800 2012 Puppet (debug): Failed to load library 'selinux' for feature 'selinux'
#
# Automatically generated by blueprint(7). Edit at your own risk.
#
class second {
Exec {
path => '/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/var/lib/gems/1.8/bin/',
}
Class['files'] -> Class['packages']
class files {
file {
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>urn:uuid:5762c9e8-4e65-3b0c-83b3-7874683f3dbe</id>
<link href="/v1/espi_third_party_batch_feed" rel="self">
</link>
<title type="text">Opower ESPI Third Party Batch Feed v1</title>
<updated>2012-02-11T03:07:04.053Z</updated>
<entry>
<id>urn:uuid:061438ba-798e-3347-ad1f-b698daa5bc1a</id>
<link href="/v1/User/11256307/UsagePoint/1205344" rel="self">

This looks like a great presentation to me. My only feedback is that you should try to pitch it in a way that minimizes the tools aspect of it. For devopsdays this year we are really looking for talks about more than just tooling.

Anyway, I suggest tweak your description a little bit and submit it to the conference. Also try to make it obvious that you're a developer - there's a general feeling that devopsdays is too ops-heavy, so we are really trying to reach out to developers too. That's a big reason I first thought of contacting you. :)

Down and Dirty Log File Filtering with Perl

Phil Hollenback
www.hollenback.net

Here We Go Again

Say you have a big long logfile on some server somewhere and a need to analyze that file. You want to throw away all the regular boring stuff in the logfile and just print lines that look suspicious.