My Recent Pastes (319 and counting)

Pastes by Jay Allen (319 and counting)

Pages: 1 3 4 5 22

Below are the 15 most recent pasties by Jay Allen.

August 17, 2010
11:51AM EDT
by Jay Allen

--- untitled
+++ (clipboard)
@@ -1,19 +1,19 @@
 <mt:Section regex_replace="/^[ ]+/gsm",""><mt:Section regex_replace="/([^=])\n\n\n+/g","$1\n\n">
-    <mt:Entries lastn="1">

April 23, 2010
2:39PM EDT
by Jay Allen

sub build_value {
# convert and build MT template tags within a passed value.
        my ($ctx, $value, $case_sensitive) = @_;
                # within a value argument, you can use MT tags, but with
                # square brackets instead of angle brackets and single quotes

April 23, 2010
2:17PM EDT
by Jay Allen

Alternates background colors for entry listing:
  <MTRoundRobin set="gray white">
  <MTEntries>
  <div style="background: <MTRoundRobin>">
  <$MTEntryTitle$>...

March 26, 2010
6:10PM EDT
by Jay Allen

*put_data = \&_write_file;

sub _write_file {
    my $fmgr = shift;
    my($from, $to, $type) = @_;

March 26, 2010
4:52PM EDT
by Jay Allen

    if ($use_ssi) {
        my ($include_file, $path, $filename) =
            $blog->include_path(\%include_recipe);
        my $fmgr = $blog->file_mgr;
        if (!$fmgr->exists($path)) {

February 12, 2010
5:14PM EDT
by Jay Allen

--- untitled
+++ (clipboard)
@@ -1,13 +1,4 @@
-The wrong JS
-<$mt:Var name="AjaxCGIPath" value="http://blogs.amctv.com/mt/"$>

December 07, 2009
6:29PM EDT
by Jay Allen

*   FogBugz 101489: Backup and restore a blog that has asset type custom fields
*   FogBugz 102133: Restoring backup file restore custom system templates
*   FogBugz 102938: CF: Backup:Restore customfields of Blog:Website object
*   FogBugz 102946: CF: Backup:Restore customfields of Image object
*   FogBugz 56723: FR - Selectable directory (instead of TempDir) for files to be backed up

November 26, 2009
4:14PM EDT
by Jay Allen

<pre><code>

    Code code code code....

</code></pre>

November 13, 2009
9:24PM EDT
by Jay Allen

<div><ol><li><a href="http://www.yahoo.com">Film One</a> $1,000,000</li><li><a href="http://blah.com">Film Two</a> $900,000</li><li><a href="http://yahoo.com">Film Three</a> $800,000</li><li><a href="http://hwhwhw.com">Film Four</a> $700,000</li><li><a href="http://sfhdsfdsk.com">Film Five</a> $800,000</li></ol></div><div><br /></div> 

November 13, 2009
9:21PM EDT
by Jay Allen

1. Film One $1,000,000
2. Film Two $900,000
3. Film Three $800,000
4. Film Four $700,000
5. Film Five $800,000

November 04, 2009
9:29PM EDT
by Jay Allen

# package CustomFields::Util, line 212

# Populate where the fields are in @pre_sort
for (my $i = 0; $i < scalar @pre_sort; $i++) {
    my $basename = $pre_sort[$i]->{basename};

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:

Next page