Be careful not to outdent content under a "|" character
some:
thing:
hello_html: |
<p>
this is some text
</p>
// See comments below. | |
// This code sample and justification brought to you by | |
// Isaac Z. Schlueter, aka isaacs | |
// standard style | |
var a = "ape", | |
b = "bat", | |
c = "cat", | |
d = "dog", |
require 'minitest/mock' | |
require 'minitest/unit' | |
require 'date' | |
MiniTest::Unit.autorun | |
class TestMailPurge < MiniTest::Unit::TestCase | |
class MailPurge | |
def initialize(imap) | |
@imap = imap |
Be careful not to outdent content under a "|" character
some:
thing:
hello_html: |
<p>
this is some text
</p>
This gist tests various aspects of syslog from Ruby. In order to do so you have to setup syslog first.
Setting up syslog is system-specific and quite variable because of variations like rsyslogd or syslogd-ng. OSX, for example, uses a custom system logger (the apple system logger) that supports the syslog API, but also adds additional stuff like the 'syslog' command line application.
BREW_POSTGRES_DIR=`brew info postgres | awk '{print $1"/bin"}' | grep "/postgresql/"` | |
LION_POSTGRES_DIR=`which postgres | xargs dirname` | |
LION_PSQL_DIR=`which psql | xargs dirname` | |
sudo mkdir -p $LION_POSTGRES_DIR/archive | |
sudo mkdir -p $LION_PSQL_DIR/archive | |
for i in `ls $BREW_POSTGRES_DIR` | |
do | |
if [ -f $LION_POSTGRES_DIR/$i ] |
# Super Lasagna | |
**disclaimer:** the sauce is the hardest part to measure because all jars are different sizes and depending on the depth of your lasagna pan, you will only be able to make so many layers. this is sort of a trial and error thing. I would start with 3 jars of whatever sauce you pick out. you're looking for around 60 oz of sauce. | |
## Ingredients | |
**meat** | |
1 pound italian sausage | |
2 tbsp olive oil | |
crushed red chili pepper (add as much as you want to achieve desired heat level) |
http://forums.xbox-scene.com/index.php?showtopic=54858 | |
DTLH3000.BIN | |
12/04/95 | |
America | |
DTLH3002.BIN | |
12/04/95 | |
Europe |
<pre> | |
<?php | |
class Loader { | |
static public function helper($class){ | |
echo "including concrete5 {$class}\n"; | |
} | |
} | |
class MyLoader { |
After upgrading to OSX Lion, I discovered that both PEAR and PECL had gone missing. It turns out that you have to re-install them, but luckily it's quite simple. I found this quick guide from Ruggero De Pellegrini on Google+, and thought I would share the info to save you the confusion: