Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env perl
use strict;
use warnings;
use DateTime;
use File::Copy 'move';
my $dt = DateTime->now;
my $today = $dt->ymd('-');
my $filename_out = '/home/datastore/home_edward_' . $today . '.tar';
t/00load.t ....................... ok
t/01sanity.t ..................... ok
t/02last-day.t ................... ok
t/03components.t ................. ok
'regex' validation parameter for 'DateTime::from_epoch must be a string or qr// regex
at /home/edward/.cpanm/work/1300379240.7181/DateTime-0.66/lib/DateTime.pm line 486
DateTime::from_epoch(undef, 'epoch', 0) called at t/04epoch.t line 11
t/04epoch.t ......................
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
# /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
console
ttyS0
ttyS1
# Standard consoles
tty1
tty2
tty3
package PartsDB::Schema::Result::Part;
use strict;
use warnings;
use base qw/DBIx::Class::Core/;
__PACKAGE__->table('parts');
__PACKAGE__->add_columns(id => {is_auto_increment => 1});
__PACKAGE__->add_columns(qw/category_id name sku/);
__PACKAGE__->set_primary_key('id');
<?php
function find_person($value, $search_term){
foreach($value as $category){
if (isset($category['children'])) {
return find_person($category['children'], $search_term);
} else {
if ($category['name'] == $search_term) return $category['person_id'];
}
}
$proxy = new SoapClient($mage_url);
try {$session_id = $proxy->login($apiUser, $apiKey);}
$proxy->call($session_id, 'category.tree');
!usecannameoff=1!
UseCanonicalName off
!usecannameoff!
Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
Error: resolving install function "HelloWorld" in function "mui.FinishLeave_64.5.9"
Note: uninstall functions must begin with "un.", and install functions must not
Error - aborting creation process
!macro CheckGtkSharp GTKSHARP_REQ
!define GTKSHARP_FILE "gtk-sharp-2.12.9-2.win32.msi"
!define GTKSHARP_BASE_URL "http://ftp.novell.com/pub/mono/gtk-sharp/"
!define GTKSHARP_DOWNLOAD_URL "${GTKSHARP_BASE_URL}${GTKSHARP_FILE}"
!define GTKSHARP_TEMP_FILE "$TEMP\${GTKSHARP_FILE}"
DetailPrint "Checking your GTK# version..."
Var /GLOBAL GTKSHARP_FOUND_VERSION
ReadRegStr $GTKSHARP_FOUND_VERSION HKLM \
"SOFTWARE\Novell\GtkSharp\Version" ""
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: helloworld.exe
P2: 1.0.4107.28714
P3: 4d949646
P4: HelloWorld