This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$browser = new sfTestFunctional(new sfBrowser(), null, | |
array('response' => 'rsfTesterResponse')); | |
$browser | |
//--------------------// | |
// Home Page Is Valid // | |
//--------------------// | |
->info('Visit Home Page') | |
->get('/') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
COMMAND='/Applications/TrueCrypt.app/Contents/MacOS/TrueCrypt' | |
DISKNAME='Development' | |
IMAGEFILE='/Users/Joshua/Development' | |
# Is the volume already mounted? | |
if [ -z `ls -1 /Volumes/ | grep $DISKNAME` ] ; then | |
echo Mounting Volume \"$DISKNAME\" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: Inconsolata; | |
src: url(/usr/local/share/Inconsolata.ttf); | |
} | |
@page { | |
size: letter; | |
margin: .75in; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
FILENAME=`echo "$1" | cut -d'.' -f1` | |
markdown.pl $1 > $FILENAME.html 2> /dev/null | |
xhtml2pdf --quiet --css=/usr/local/share/xhtml2pdf.css -s $FILENAME.html 2> /dev/null | |
rm $FILENAME.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# snip... | |
# PyLint complains: C0330 Wrong continued identation. | |
result_set = (results_report['Results'] | |
['Metadata'] | |
['FooBarDefinitions'] | |
['BazBatDefinition']) | |
# Flake8 complains: E211 - whitespace before '[' | |
result_set = results_report['Results'] \ | |
['Metadata'] \ |