My Recent Pastes (338 and counting)

Pastes by Jay Allen (338 and counting)

Pages:

Below are the 15 most recent pasties by Jay Allen.

November 09, 2011
1:50PM EDT
by Jay Allen

mysql> show session variables like 'char%';
mysql> show session variables like 'coll%';

hid-dev
-------

October 11, 2011
2:15PM EDT
by Jay Allen

0        prototype___order
1        pagetitle_order
2        headerimage_order
3        headerheadline_order
4        headersubhead_order

September 22, 2011
5:37PM EDT
by Jay Allen

sub save_config {
    my $app        = shift;
    my $q          = $app->can('query') ? $app->query : $app->param;
    my $plugin_sig = $q->param('plugin_sig');
    my $profile    = $MT::Plugins{$plugin_sig};

August 25, 2011
2:51PM EDT
by Jay Allen

# Back up your Network prefpane
zip -r ~/Desktop/Network.prefPane.zip \ 
  /System/Library/PreferencePanes/Network.prefPane

# Remove all .lproj folders from Network.prefPane that you *don't*

August 25, 2011
2:47PM EDT
by Jay Allen

sudo rm /System/Library/PreferencePanes/Network.prefPane/Contents/Resources/!(English).lproj

August 16, 2011
6:54PM EDT
by Jay Allen

 [1659] jay  [mt-plugin-pusherman(master)]  $ diff -r plugins/PusherMan hid-pusherman/qa/PusherMan/
diff -x .svn -r plugins/PusherMan/config.yaml hid-pusherman/qa/PusherMan/config.yaml
1,3c1
< name: PusherMan (Endevver remix)
< version: 3.0.1

May 24, 2011
8:12PM EDT
by Jay Allen

mt-plugin-foo
    .gitignore
    config.yaml
    docs
    extlib

February 18, 2011
12:02PM EDT
by Jay Allen

                            PROD        QA
mt_asset                    4729        4860
mt_association              112         976
mt_author                   323         292
mt_blog                     136         136

February 08, 2011
8:53PM EDT
by Jay Allen

diff --git a/prod/plugins/FieldDay/object_types/System/lib/FieldDay/ObjectType/System.pm b/prod/plugins/FieldDay/object_types/System/lib/FieldDay/ObjectType/System.pm
index d74da5d..d7b73f8 100644
--- a/prod/plugins/FieldDay/object_types/System/lib/FieldDay/ObjectType/System.pm
+++ b/prod/plugins/FieldDay/object_types/System/lib/FieldDay/ObjectType/System.pm
@@ -40,7 +40,7 @@ sub callbacks {

February 08, 2011
3:35PM EDT
by Jay Allen

diff --git a/build/mt-dists/default.mk b/build/mt-dists/default.mk
index 06b910a..93c65d8 100644
--- a/build/mt-dists/default.mk
+++ b/build/mt-dists/default.mk
@@ -1,8 +1,8 @@

November 19, 2010
10:22AM EDT
by Jay Allen

                # Convert the saved YAML back into a hash.
                my $yaml       = YAML::Tiny->new;
                my $theme_meta = eval {
                    $yaml->read_string( $app->blog->theme_meta )->[0];
                };

November 19, 2010
9:53AM EDT
by Jay Allen

foreach ( keys %fn_map ) {
    my $meth     = ThemeManager::Util->can($_);
    $param->{$_} = $meth->( $theme_meta->{ $fn_map{$_} }, $plugin );
}

November 19, 2010
9:51AM EDT
by Jay Allen

package ThemeManager::DashboardWidget;

my %fn_map, @data;
BEGIN {
    @keys = qw( author_name label description version

November 19, 2010
9:38AM EDT
by Jay Allen

#     $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

November 19, 2010
9:37AM EDT
by Jay Allen

#     $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

Next page