Skip to content

Instantly share code, notes, and snippets.

View phillipadsmith's full-sized avatar

Phillip Smith phillipadsmith

View GitHub Profile
Compiled at Aug 28 2009 17:18:21
@INC:
/usr/local/lib/perl5/5.10.1/darwin-thread-multi-2level
/usr/local/lib/perl5/5.10.1
/usr/local/lib/perl5/site_perl/5.10.1/darwin-thread-multi-2level
/usr/local/lib/perl5/site_perl/5.10.1
.
Odd number of elements in anonymous hash at /Library/Perl/5.8.8/Padre/Config/Setting.pm line 26, <DATA> line 1.
You Wx.pm is not new enough (need 0.91, found 0.74) at /Library/Perl/5.8.8/Padre/Wx.pm line 30, <DATA> line 1.
BEGIN failed--compilation aborted at /Library/Perl/5.8.8/Padre/Wx.pm line 32, <DATA> line 1.
Compilation failed in require at /Library/Perl/5.8.8/Padre/Locale.pm line 47, <DATA> line 1.
BEGIN failed--compilation aborted at /Library/Perl/5.8.8/Padre/Locale.pm line 47, <DATA> line 1.
Compilation failed in require at /Library/Perl/5.8.8/Padre/PluginHandle.pm line 8, <DATA> line 1.
BEGIN failed--compilation aborted at /Library/Perl/5.8.8/Padre/PluginHandle.pm line 8, <DATA> line 1.
Compilation failed in require at /Library/Perl/5.8.8/Padre/PluginManager.pm line 37, <DATA> line 1.
BEGIN failed--compilation aborted at /Library/Perl/5.8.8/Padre/PluginManager.pm line 37, <DATA> line 1.
Compilation failed in require at /Library/Perl/5.8.8/Padre.pm line 150, <DATA> line 1.
body.cartoon div#column1
{
width: 100%;
margin: 0;
padding: 0;
}
body.cartoon div#column1 img, body.cartoon div#column1 p {
padding: 0;
margin: 0;
}
@phillipadsmith
phillipadsmith / gist:519063
Created August 11, 2010 14:31
Example Plagger configuration for mailing lists
global:
# Make plagger more verbose than default
log:
level: debug
assets_path: /Users/username/Development/plagger/assets
plugins:
# Subscribe to a couple of "My Feeds" on the web
# They could be either Feeds URL or Blog URL (with Auto-Discovery support)
- module: CustomFeed::Mailman
- module: CustomFeed::Mailman::Private
config:
list: https://lists.domain.org/cgi-bin/mailman/private/list-name/
username: username
password: PASSW0RD
- module: CustomFeed::Mailman::Private
config:
list: https://lists.domain.org/cgi-bin/mailman/private/list-name1/
username: username1
<%args>
$category => undef
@cat_ids => undef
$element_key => undef
$site_id => $story->get_site_id
$pages => 10
$stories_per_page => 10
$order => undef
$sort => undef
</%args>
<%init>;
my $offset = $burner->notes('last_offset') || 0;
my $cat = $burner->get_cat->get_uri;
$cat = undef if $cat eq '/archive/';
my @sorted;
if ($burner->notes('story_list')) {
@sorted = @{$burner->notes('story_list')};
} else {
@phillipadsmith
phillipadsmith / gist:965479
Created May 10, 2011 22:08
Tyee API: Example story object with many of the likely properties
{
"hits" : {
"hits" : [
{
"_source" : {
"textWithHtml" : "<p>...</p>",
"section" : "News",
"contribs" : [
"182261"
Caught exception in Twitter::List::Tools::Controller::Root->callback "Can't call method "has_column" on an undefined value at /home/dotcloud/perl5/lib/perl5/Catalyst/Authentication/Credential/Twitter.pm line 111."
Request
do {
require Symbol;
bless({
_path => "callback",
_psgi_env => {
"CONTENT_LENGTH" => "",
@phillipadsmith
phillipadsmith / app.psgi
Created August 8, 2011 19:18
Basic app.psgi for dotCloud deployment
#!/usr/bin/env perl
use strict;
use warnings;
use lib 'lib';
use Catalyst::Default;
Catalyst::Default->setup_engine('PSGI');
my $app = sub { Catalyst::Default->run(@_) };