My Recent Pastes (338 and counting)
Pastes by Jay Allen (338 and counting)
Below are the 15 most recent pasties by Jay Allen.
November 19, 2010
9:37AM EDT
by Jay Allen
View all 10 lines
# $PARAM KEY FUNCTION NAME THEME META KEY # ------------------------------------------------------------------------ # theme_label theme_label theme_ + label # theme_description theme_description theme_ + description # theme_author_name theme_author_name theme_ + author_name
October 31, 2010
1:52AM EDT
by Jay Allen
View all 247 lines
sub _init_plugins_core {
my $mt = shift;
my ($PluginSwitch, $use_plugins, $plugins) = @_;
my $timer;
October 12, 2010
10:07PM EDT
by Jay Allen
View all 132 lines
$ git co -b byrnereese-bug-388-fix-plugin-screen byrnereese/bug-388-fix-plugin-screen Branch byrnereese-bug-388-fix-plugin-screen set up to track remote branch bug-388-fix-plugin-screen from byrnereese. Switched to a new branch 'byrnereese-bug-388-fix-plugin-screen' $ git log
October 04, 2010
1:57PM EDT
by Jay Allen
View all 27 lines
# Set up test function for shell interactivity case "$-" in *i*) VERBOSE=1; ;; *) ;; esac
August 17, 2010
11:51AM EDT
by Jay Allen
View all 32 lines
--- 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
View all 23 lines
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
View all 7 lines
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
View all 41 lines
*put_data = \&_write_file; sub _write_file { my $fmgr = shift; my($from, $to, $type) = @_;
March 26, 2010
4:52PM EDT
by Jay Allen
View all 23 lines
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
View all 1,713 lines
--- 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
View all 15 lines
* 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 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
View all 40 lines
# 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};
