This file contains 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
perl Build.PL --wxWidgets-extraflags="CFLAGS='-I/usr/local/Cellar/xz/5.2.1/include -I/usr/local/Cellar/jpeg/8d/include' CPPFLAGS='-I/usr/local/Cellar/xz/5.2.1/include -I/usr/local/Cellar/jpeg/8d/include' CXXFLAGS='-I/usr/local/Cellar/xz/5.2.1/include -I/usr/local/Cellar/jpeg/8d/include' LDFLAGS='-L/usr/local/Cellar/xz/5.2.1/lib -L/usr/local/Cellar/jpeg/8d/lib'" | |
https://github.com/wxWidgets/wxWidgets/pull/40 | |
https://github.com/eranif/codelite/issues/825 | |
https://github.com/wxWidgets/wxWidgets/commit/ad21cc332ac906b9ae8f238ab135cbe410e78eba | |
http://goharsha.com/blog/compiling-wxwidgets-3-0-2-mac-os-x-yosemite/ 도 참고 |
This file contains 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 Mojolicious::Lite; | |
use Mojo::mysql; | |
helper db => sub { | |
state $db = Mojo::mysql->new('mysql://user:pass@/task')->db; | |
if (! $db->ping ) { | |
$db->dbh( $db->dbh->clone() ) or die "cannot connect to db"; | |
} | |
return $db; | |
}; |
This file contains 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 strict; | |
use warnings; | |
my $s = do { local $/; <DATA> }; | |
my %section = $s =~ m/ | |
^{{{(.*?)}}}-+$ | |
\n(.*?) | |
(?=\n{{{.*?}}}-+$|\Z) |
This file contains 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 | |
BEGIN { | |
my @REQ_MODULES = qw/ | |
Mojolicious | |
Text::CSV_XS | |
/; | |
require FindBin; | |
require lib; |
This file contains 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 | |
BEGIN { | |
require FindBin; | |
require lib; | |
my $locallib_path = "$FindBin::RealBin/locallib/$^V"; | |
lib->import("$locallib_path/lib/perl5"); | |
my $cpanm; |
This file contains 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 strict; | |
use warnings; | |
use Data::Dumper; | |
my @m = 1..17; | |
my @m5; | |
my $step = 5; |
OlderNewer