My Recent Pastes (338 and counting)

Pastes by Jay Allen (338 and counting)

Pages:

Below are the 15 most recent pasties by Jay Allen.

October 30, 2009
1:49PM EDT
by Jay Allen

         asset_id: 18481
    asset_blog_id: 23
      asset_class: image
 asset_created_by: 23498
 asset_created_on: 2009-10-22 13:38:17

October 30, 2009
1:48PM EDT
by Jay Allen

         asset_id: 55
    asset_blog_id: 2
      asset_class: image
 asset_created_by: 2
 asset_created_on: 2009-06-26 14:06:57

October 30, 2009
7:39AM EDT
by Jay Allen

--- lib/MT/Template.pm (4.23)
+++ lib/MT/Template.pm (4.32)
@@ -232,6 +232,8 @@
     my $page_layout;
     if (my $blog_id = $tmpl->blog_id) {

October 30, 2009
7:36AM EDT
by Jay Allen

--- lib/MT/Builder.pm (4.23)
+++ lib/MT/Builder.pm (4.32)
@@ -69,12 +69,13 @@
     # Other namespaces (like 'Foo') would require the colon.
     # Tag and attributes are case-insensitive. So you can write:

October 30, 2009
7:36AM EDT
by Jay Allen

--- lib/MT/Builder.pm (4.23)
+++ lib/MT/Builder.pm (4.32)
@@ -338,6 +341,8 @@
                 $uncompiled = $t->[3];
             }

October 30, 2009
7:29AM EDT
by Jay Allen

--- lib/MT/Template/ContextHandlers.pm (4.23)
+++ lib/MT/Template/ContextHandlers.pm (4.32)
@@ -4689,7 +4775,14 @@
         $type = 'widget';
         $tmpl_name =~ s/^Widget: ?//;

October 30, 2009
7:08AM EDT
by Jay Allen

--- ContextHandlers.pm
+++ (clipboard)
@@ -9,7 +9,14 @@
         $type = 'widget';
         $tmpl_name =~ s/^Widget: ?//;

October 23, 2009
12:45PM EDT
by Jay Allen

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

October 10, 2009
1:31AM EDT
by Jay Allen

#!/usr/bin/perl

# OUTPUT FOR THIS SCRIPT CAN BE FOUND HERE: http://pastie.textmate.org/649261

my %data;

October 10, 2009
1:30AM EDT
by Jay Allen

>>> rww-stats.pl

ID     Name                           Count                Min                  Max                  Avg                 
8      RSS                            6                    0.469731000000       0.321210000000       0.374667666666667   
9      Page                           14                   2.972606000000       0.022803000000       0.237919714285714   

October 10, 2009
1:28AM EDT
by Jay Allen

#!/usr/bin/perl

my %data;
while (<DATA>) {
    chomp;

August 15, 2009
4:27PM EDT
by Jay Allen

walnut:~ curl http://mt-hacks.com/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>412 Precondition Failed</title>
</head><body>

August 04, 2009
5:43PM EDT
by Jay Allen

sub get_config_obj {
    my $plugin = shift;
    my ($scope_id) = @_;
    my $key;
    my $scope = $scope_id;

July 28, 2009
6:08PM EDT
by Jay Allen

mysql> show tables;
+------------------+
| Tables_in_om_git |
+------------------+
| mt_asset         | 

July 21, 2009
3:29AM EDT
by Jay Allen

    my $page_layout;
    if (my $blog_id = $tmpl->blog_id) {
        $ctx->stash('blog_id', $blog_id);
        $ctx->stash('local_blog_id', $blog_id)
            unless $ctx->stash('local_blog_id');

Next page

Previous page