Result:
found more than 894 distributions - search limited to the first 2001 files matching your query ( run in 1.463 )


DBIx-Migration-Directories

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

        - Use "ENGINE=InnoDB" instead of "TYPE=InnoDB" when creating
          MySQL tables (RT#83954, Vita Cizek)

0.11  Thu Aug 20 11:06:00 2009
        - Don't consider files that end with a tilde (~) to be schema
          files. (This extension is commonly chosen as a 'backup' file
          by editors such as joe, gedit, etc)
        - Added some (very basic) documentation to
          DBIx::Migration::Directories::Test

0.10  Fri Feb 27 11:32:00 2009

 view all matches for this distribution


DBIx-Mint

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN

\bBuild.bat$
\bBuild.COM$
\bBUILD.COM$
\bbuild.com$

# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$

 view all matches for this distribution


DBIx-MyParsePP

 view release on metacpan or  search on metacpan

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'help' => 86,
			'revoke' => 91,
			'call' => 90,
			'begin' => 89,
			'purge' => 88,
			'backup' => 32,
			'select' => 93,
			'set' => 34,
			'prepare' => 35,
			'create' => 36,
			'query' => 96,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'flush' => 21,
			'delete' => 22,
			'start' => 23,
			'do' => 24,
			'drop' => 25,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'create' => 36,
			'truncate' => 40,
			'release' => 42,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'flush' => 21,
			'delete' => 22,
			'start' => 23,
			'do' => 24,
			'drop' => 25,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'create' => 36,
			'truncate' => 40,
			'release' => 42,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'sp_elseifs' => 3481,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

			'xa' => 85,
			'help' => 86,
			'revoke' => 91,
			'purge' => 88,
			'call' => 90,
			'backup' => 32,
			'prepare' => 35,
			'set' => 34,
			'select' => 93,
			'create' => 36,
			'truncate' => 40,

lib/DBIx/MyParsePP/Parser.pm  view on Meta::CPAN

	[#Rule 544
		 'restore', 5,
sub { bless(["restore", @_[1..$#_] ], "DBIx::MyParsePP::Rule") }
	],
	[#Rule 545
		 'backup', 5,
sub { bless(["backup", @_[1..$#_] ], "DBIx::MyParsePP::Rule") }
	],
	[#Rule 546
		 'checksum', 4,
sub { bless(["checksum", @_[1..$#_] ], "DBIx::MyParsePP::Rule") }
	],

 view all matches for this distribution


DBIx-ObjectMapper

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN


# Avoid Module::Build generated and utility files.
\bBuild$
\b_build/

# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$

 view all matches for this distribution


DBIx-RunSQL

 view release on metacpan or  search on metacpan

lib/DBIx/RunSQL.pm  view on Meta::CPAN

override or replace it. It might also be useful outside the context
of L<DBIx::RunSQL> if you need to split up a large blob
of SQL statements into smaller pieces.

The subroutine needs the whole sequence of SQL statements in memory.
If you are attempting to restore a large SQL dump backup into your
database, this approach might not be suitable.

=cut

sub split_sql {

 view all matches for this distribution


DBIx-Simple-Class

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN

examples/lib/DSCS.*?\.pm$
MYMETA
\.git
\.komodoproject$ # ignore komodo project files
~$ # ignore emacs and vim backup files
.bak$ # ignore manual backups
\# # ignore CVS old revision files and emacs temp files
^\.(?!perltidyrc)
.*\.old$
.*\.bak$
.*?\.sqlite$

 view all matches for this distribution


DBIx-Table2Hash

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN

\bBuild.bat$

# Avoid Devel::Cover generated files
\bcover_db

# Avoid temp and backup files.
~$
\#$
\.#
\.bak$
\.old$

 view all matches for this distribution


DBIx-TextIndex

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

=head2 0.07

    UPGRADE WARNING: collection table format changed, use new method
    $index->upgrade_collection_table() to recreate collection table. 
    Calling initialize() method for a new collection will also upgrade
    collection table. Index backup recommended.

    Added error_ prefix to error message column names in collection table

    Added version column to collection table

 view all matches for this distribution


DBIx-TransactionManager-EndHook

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN

\bBuild.bat$
\bBuild.COM$
\bBUILD.COM$
\bbuild.com$

# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$

 view all matches for this distribution


DBIx-Tree

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN

\bBuild.bat$

# Avoid Devel::Cover generated files
\bcover_db

# Avoid temp and backup files.
~$
\#$
\.#
\.bak$
\.old$

 view all matches for this distribution


DBIx-Web

 view release on metacpan or  search on metacpan

history  view on Meta::CPAN

# 2007-01-08 recHist() file attachments arrangement corrected using mtime
# 2007-01-07 tfdRFD()  corr: rfdPath(-xxx=>$s->{-pout}->{-file}) # rfdPath(-xxx=>$s->{-pcmd}, $s->{-pout})
# 2007-01-07 htmlRFD() corr: rfdPath(-xxx=>$c, $d) -> rfdPath(-xxx=>$d->{-file})
# 2007-01-07 recIns(), recUpd(): rfdStamp() applies utime(last editable) to directory
# 2007-01-07 osCmd() corrested: 'problematic programs' for perlis.dll only
# 2007-01-07 recUpd() corrected: rfdStamp('+') added for prev ver backup
# 2006-12-27 changed xmlTagEscape() - '&' escaped
# 2006-12-22 new htmlRFDimg() - to display icons for file attachments
# 2006-12-22 changed htmlRFD() - sorted files list
# 2006-12-22 new pthGlobns()
# 2006-12-22 chaged cgi(): no warnings; $_[0]->{-cgi} =eval('CGI->new')

 view all matches for this distribution


DBM-Deep-Blue

 view release on metacpan or  search on metacpan

lib/DBM/Deep/Blue.pm  view on Meta::CPAN


=pod

=head1 Name

L<DBM::Deep::Blue|http::www.handybackup.org/DBM_Deep_Blue.html> - Memory
Mapped Paged Permanent Perl Objects with optional commit and rollback.

Windows only.

=head1 Synopsis

lib/DBM/Deep/Blue.pm  view on Meta::CPAN


  done_testing;

=head1 Description

L<DBM::Deep::Blue|http::www.handybackup.org/DBM_Deep_Blue_html> makes
Perl Objects permanent, but pageable, using the standard Perl syntax for
manipulating nested data structures comprised of strings, hashes and arrays.

Permanent hashes and arrays may be blessed and auto vivified,
dereferenced and dumped: consequently you can use L<Data::Dump> or
L<Data::Dumper> and Perl debugger commands to examine data structures
built with
L<DBM::Deep::Blue|http::www.handybackup.org/DBM_Deep_Blue_html> in the
normal way.

Units of work can either be committed continuously or discretely using
L</begin_work()>, L</commit()>, L</rollback()>. Uncommitted changes are
rolled back automatically when a backing file is reopened. Blessing is
subject to rollback.

The data structures are held in a memory area backed by a file using
your computer's virtual paging mechanism created by L</file()>. On large
data structures, this allows
L<DBM::Deep::Blue|http::www.handybackup.org/DBM_Deep_Blue_html> to load
pages on demand as needed to locate data, and to write back to the
backing file only the pages containing modified data. By contrast, other
schemes for making Perl objects permanent have either to write the
entire data structure or track the changes made internally and then
write them piecemeal.

lib/DBM/Deep/Blue.pm  view on Meta::CPAN

 

Memory structures can also be created without a backing file by using
the new() function.

L<DBM::Deep::Blue|http::www.handybackup.org/DBM_Deep_Blue_html> is
written in C.


=head1 Methods

lib/DBM/Deep/Blue.pm  view on Meta::CPAN

L<DBM::Deep>


=head1 Acknowledgements

L<DBM::Deep::Blue|http::www.handybackup.org/DBM_Deep_Blue_html> uses many
of the tests from by L<DBM::Deep>.


=head1 Bugs

lib/DBM/Deep/Blue.pm  view on Meta::CPAN

Perl Artistic


=head1 Copyright

Philip R Brenan, 2010, www.handybackup.org

=cut

1;
__END__

 view all matches for this distribution


DB_File

 view release on metacpan or  search on metacpan

ppport.h  view on Meta::CPAN

av_top_index|5.017009|5.003007|p
av_top_index_skip_len_mg|5.025010||Viu
av_undef|5.003007|5.003007|
av_unshift|5.003007|5.003007|
ax|5.003007|5.003007|
backup_one_GCB|5.025003||Viu
backup_one_LB|5.023007||Viu
backup_one_SB|5.021009||Viu
backup_one_WB|5.021009||Viu
bad_type_gv|5.019002||Viu
bad_type_pv|5.016000||Viu
BADVERSION|5.011004||Viu
BASEOP|5.003007||Viu
BhkDISABLE|5.013003||xV

 view all matches for this distribution


DBomb

 view release on metacpan or  search on metacpan

dbomb-regen  view on Meta::CPAN

                    next;
                    };
        $outbuf .= $x;
    }

    ## now make a backup of the original.
    my $b = "$f.bak";
    for (my $i=1; -f $b ; ++$i){
        $b = "$f.bak$i";
    }
    if (!File::Copy::copy($f, $b)){
        fail("could not create backup file", $!, "aborting.");
    }

    ## Overwrite original file.
    open OUT, "> $f" or fail("Could open file for writing", $!, $f);
    print OUT $outbuf;

 view all matches for this distribution


DDG

 view release on metacpan or  search on metacpan

lib/DDG/Meta/Data.pm  view on Meta::CPAN

    my @timestamps = (stat $f)[8,9];
    if(-e $f){
        copy $f, $tmp_bak or die "Failed to copy $f to $tmp_bak: $!";;
    }
    utime @timestamps, $tmp_bak;
    my $restore_backup = sub {
        move $tmp_bak, $f or die "Failed to move backup $tmp_bak to $f: $!";
        utime @timestamps, $f;
    };

    unless($ENV{NO_METADATA_DOWNLOAD}){
        my $ua = LWP::UserAgent->new;
        $ua->timeout(5);
        $ua->default_header('Accept-Encoding' => scalar HTTP::Message::decodable());
        my $res = $ua->mirror('http://ddg-community.s3.amazonaws.com/metadata/repo_all.json.bz2', $f);
        unless($res->is_success || $res->code == 304){
            debug && warn "Failed to download metdata: " . $res->status_line . " .  Restoring backup from $tmp_bak";
            $restore_backup->();
        }
    }

    my $metadata;
    while(!$metadata){

lib/DDG/Meta/Data.pm  view on Meta::CPAN

            my $json = do { local $/;  <$fh> };
            $metadata = decode_json($json);
        }
        or do {
            if(-e $tmp_bak){
                debug && warn "Failed to process metadata $f: $@. Restoring backup from $tmp_bak";
                $restore_backup->();
            }
            else{
                die "Failed to to process metadata from $f: $@";
            }
        };

 view all matches for this distribution


DJabberd

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN


# Avoid Module::Build generated and utility files.
\bBuild$
\b_build/

# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#

 view all matches for this distribution


DNS-EasyDNS

 view release on metacpan or  search on metacpan

lib/DNS/EasyDNS.pm  view on Meta::CPAN


C<mx> - Use this parameter as the MX handler for the domain being updated, 
it defaults to preference 5.

C<backmx> - Values are either C<"YES"> or C<"NO">, if C<"YES"> we set smtp.easydns.com
to be a backup mail spool for domain being updated at preference 100.

C<wildcard> - Values are either C<"ON"> or C<"OFF">, if C<"ON"> sets a wildcard
host record for the domain being updated equal to the IP address specified 
in C<myip>.

 view all matches for this distribution


DNS-Unbound

 view release on metacpan or  search on metacpan

easyxs/ppport.h  view on Meta::CPAN

av_top_index|5.017009|5.003007|p
av_top_index_skip_len_mg|5.025010||Viu
av_undef|5.003007|5.003007|
av_unshift|5.003007|5.003007|
ax|5.003007|5.003007|
backup_one_GCB|5.025003||Viu
backup_one_LB|5.023007||Viu
backup_one_SB|5.021009||Viu
backup_one_WB|5.021009||Viu
bad_type_gv|5.019002||Viu
bad_type_pv|5.016000||Viu
BADVERSION|5.011004||Viu
BASEOP|5.003007||Viu
BhkDISABLE|5.013003||xV

 view all matches for this distribution


DOCSIS-ConfigFile

 view release on metacpan or  search on metacpan

lib/DOCSIS/ConfigFile/mibs/DOCS-CABLE-DEVICE-MIB  view on Meta::CPAN


docsDevBase OBJECT IDENTIFIER ::= { docsDevMIBObjects 1 }

--
-- For the following object, there is no concept in the
-- RFI specification corresponding to a backup CMTS.  The
-- enumeration is provided here in case someone is able
-- to define such a role or device.
--

docsDevRole OBJECT-TYPE

lib/DOCSIS/ConfigFile/mibs/DOCS-CABLE-DEVICE-MIB  view on Meta::CPAN

             In general, if this device is a 'cm', its role will not
             change during operation or between reboots.  If the
             device is a 'cmts' it may change between cmtsActive and
             cmtsBackup and back again during normal operation.  NB:
             At this time, the DOCSIS standards do not support the
             concept of a backup CMTS, but cmtsBackup is included for
             completeness."
        ::= { docsDevBase 1 }

docsDevDateTime OBJECT-TYPE
        SYNTAX      DateAndTime

 view all matches for this distribution


DTL-Fast

 view release on metacpan or  search on metacpan

lib/DTL/Fast/Cache.pm  view on Meta::CPAN

    my ( $self, $key, $template, %kwargs ) = @_;

    if (defined $template)
    {
        my @keys = ('cache', 'url_source');
        my @backup = @{$template}{@keys};
        delete @{$template}{@keys};
        $self->write_data($key, $template, %kwargs);
        @{$template}{@keys} = @backup;
    }
    return $self;
}

sub read_data

 view all matches for this distribution


Dackup

 view release on metacpan or  search on metacpan

lib/Dackup.pm  view on Meta::CPAN

    $self->cache($cache);
    $self->source->dackup($self);
    $self->destination->dackup($self);
}

sub backup {
    my $self        = shift;
    my $source      = $self->source;
    my $destination = $self->destination;
    my $delete      = $self->delete;
    my $dry_run     = $self->dry_run;

lib/Dackup.pm  view on Meta::CPAN


__END__

=head1 NAME

Dackup - Flexible file backup

=head1 SYNOPSIS

  use Dackup;

  my $source = Dackup::Target::Filesystem->new(
      prefix => '/home/acme/important/' );

  my $destination = Dackup::Target::Filesystem->new(
      prefix => '/home/acme/backup/' );

  my $dackup = Dackup->new(
      source      => $source,
      destination => $destination,
      delete      => 0,
      dry_run     => 0,
      verbose     => 1,
      throttle    => '1Mbps',
  );
  $dackup->backup;

=head1 DESCRIPTION

This module is an attempt at a flexible file backup. It supports
copying to and from filesystems, remote hosts via SSH, Amazon's
Simple Storage Service and Mosso's CloudFiles. At all stages,
it checks the MD5 hash of the source and destination files.

It uses an MD5 cache to speed up operations, which it stores by

 view all matches for this distribution


Daizu

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN

# Module::Build generated files.
^blib/
^Build$
^_build/

# Temporary and backup files.
~$
\.tmp$
\.old$
\.bak$
\.swp$

 view all matches for this distribution


Dancer-Plugin-Captcha-SecurityImage

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN


# Avoid Module::Build generated and utility files.
\bBuild$
\b_build/

# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$

 view all matches for this distribution


Dancer-Plugin-DebugToolbar

 view release on metacpan or  search on metacpan

share/debugtoolbar/js/prettify/lang-sql.js  view on Meta::CPAN

PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r Â\xa0"],["str",/^(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,null,"\"'"]],[["com",/^(?:--[^\n\r]*|\/\*[\S\s]*?(?:\*\/|$))/],["kwd",/^(?:add|all|alter|and|any|as|asc|autho...
null],["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i],["pln",/^[_a-z][\w-]*/i],["pun",/^[^\w\t\n\r "'\xa0][^\w\t\n\r "'+\xa0-]*/]]),["sql"]);

 view all matches for this distribution


Dancer-SearchApp

 view release on metacpan or  search on metacpan

lib/Dancer/SearchApp.pm  view on Meta::CPAN

Configure Elasticsearch to only respond to localhost or to queries from
within a trusted network, like your home network.

Note that leaking a copy of the Elasticsearch search index is almost as
bad as leaking a copy of the original data. This is especially true if you
look at backups.

=head1 REPOSITORY

The public repository of this module is
L<https://github.com/Corion/dancer-searchapp>.

 view all matches for this distribution


Dancer2-Plugin-EditFile

 view release on metacpan or  search on metacpan

lib/Dancer2/Plugin/EditFile.pm  view on Meta::CPAN


A sample HTML page with Bootstrap and jQuery is included in the samples directory.  Use it as an example  to build your own page.

  plugins:
    EditFile:
      backup:     1
      backup_dir: '/var/application/backups'
      display:
        method:    'get'
        route:     '/editfile/display'
        template:  'editfile.tt'
        layout:    'nomenu.tt'

lib/Dancer2/Plugin/EditFile.pm  view on Meta::CPAN

          file:    '/var/application/config3.xml'
          save:    0
      
=over 4

B<Note> the  user B<must> have read/write access to the file being edited and the backup directory.  

=back 

=over 4

=item I<backup>

Specify if original file should be saved.  Default = 0 (do not save)

=item I<backup_dir>

Directory where original files should be saved.  Default = /tmp

=item I<display>

lib/Dancer2/Plugin/EditFile.pm  view on Meta::CPAN

=cut 

#
# Accessors
#
has backup => (
  is          => 'ro',
  isa         => Bool,
  from_config => 1,
  default     => sub { 0 }
);

has backup_dir => (
  is          => 'ro',
  isa         => Str,
  from_config => 1,
  default     => sub { '/tmp' }
);

lib/Dancer2/Plugin/EditFile.pm  view on Meta::CPAN

  my $files      = $plugin->files;

  if ( ! $files->{$file_id}->{file} ) {
    $status_message = "The specified id: $file_id is not properly defined in your configuration.";
  
  } elsif ( $plugin->{backup} && $plugin->{backup_dir} ) { 
    if ( -d $plugin->{backup_dir} ) {

      my $basename        = basename( $files->{$file_id}->{file} );
      my $backup_filename = $plugin->{backup_dir} 
                          . '/' 
                          . $basename 
                          . '.' 
                          . time;
       
      eval {
        copy($basename, $backup_filename);
      };
      if ( $@ ) {
        $status_message = "Could not save backup";
      } 

    }
  }

 view all matches for this distribution


Dancer2-Plugin-LiteBlog

 view release on metacpan or  search on metacpan

MANIFEST.SKIP  view on Meta::CPAN

\bpm_to_blib$
\bMakeMaker-\d
^MYMETA\.
\.gz

# Avoid temp and backup files:
~$
\.old$
^#.*#$
^\.#
\.bak$

 view all matches for this distribution


Darcs-Notify

 view release on metacpan or  search on metacpan

lib/Darcs/Notify.pm  view on Meta::CPAN

     ->notify;

=head1 DESCRIPTION

B<Darcs::Notify> compares the list of patches in a darcs repository
against a saved backup copy (stored in the file
F<_darcs/third-party/darcs-notify/old-inventory>) and does "something
cool and useful" when it detects added or removed patches. I'm being
cagey about exactly what is done because Darcs::Notify lets you pass
in arbitrary notification methods so that you can customize it to you
liking. L<Darcs::Notify::Email> is the quintessential notifier that

 view all matches for this distribution


( run in 1.463 second using v1.01-cache-2.11-cpan-49f99fa48dc )