This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 自治体番号と自分の番号と生年月日を埋めて、Bookmarkに登録。フォームが表示された後に実行すればsubmitまでします。 | |
// https://www.vaccine.mrso.jp/ | |
javascript:(function(){document.getElementById("VisitnoAuthName").value="自治体番号"; document.getElementById("VisitnoAuthVisitno").value="個人用の番号";$("#VisitnoAuthYear").val("生年").change();$("#VisitnoAuthMonthMonth").val("月").change();$("#VisitnoAuthDayDay").val("日").change();$("button.auth-btn").click();})() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## version | |
# Perl 5.18.1 | |
# DBI 1.636 | |
# DBD::mysql 4.033 | |
## create table SQL | |
# create table t(id integer not null auto_increment, primary key (id)) ; | |
## this can get mysql_insertid | |
my $dbh = DBI->connect("dbi:mysql:test;user=root"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################ | |
# | |
# FreeStyleWiki上でMarkdown記法での記入を可能にします。 | |
# | |
############################################################ | |
package plugin::markdown::Install; | |
use strict; | |
sub install { | |
my $wiki = shift; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use base qw/Qudo::Worker/; | |
sub import{ | |
my $class = shift; | |
if($class->split_process_from_initial_character()){ | |
no strict 'refs'; | |
my $package = $class; | |
*{"$package\::InitialLowerCase::ISA"} = [$package]; | |
*{"$package\::InitialUpperCase::ISA"} = [$package]; | |
*{"$package\::InitialNumber::ISA"} = [$package]; | |
*{"$package\::get_splited_worker_classname"} = sub { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use feature 'say'; | |
package Hoge{ | |
sub new { | |
my $class = shift; | |
my $args = ref $_[0] ? $_[0] : +{@_}; | |
bless $args, $class; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
package Hoge{ | |
sub new { | |
my $class = shift; | |
my $args = ref $_[0] ? $_[0] : +{@_}; | |
$args->{package} = __PACKAGE__; | |
bless $args, $class; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
package Test; | |
use Carp; | |
sub hoge { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Data::Delay; | |
my $test = 1; | |
my $data = Data::Delay->new(\$test); | |
print $data; # 1 | |
$test = 2; | |
print $test; # 2 | |
my $plus = Data::Delay->New(sub { $data + 2 }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/models/rb_task.rb b/app/models/rb_task.rb | |
index fae445f..f64a748 100644 | |
--- a/app/models/rb_task.rb | |
+++ b/app/models/rb_task.rb | |
@@ -36,7 +36,9 @@ class RbTask < Issue | |
task = new(attribs) | |
if params['parent_issue_id'] | |
parent = Issue.find(params['parent_issue_id']) | |
- task.start_date = parent.start_date | |
+ if ! task.start_date |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Router/Simple/Route.pm b/lib/Router/Simple/Route.pm | |
index 6c5ba4a..2e664f1 100644 | |
--- a/lib/Router/Simple/Route.pm | |
+++ b/lib/Router/Simple/Route.pm | |
@@ -33,7 +33,7 @@ sub new { | |
} | |
$row->{pattern} = $pattern; | |
- | |
+ my $pattern_re_capture = $pattern; |
NewerOlder