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
From: Microsoft Outlook <[email protected]> | |
To: <[email protected]> | |
Date: Mon, 21 May 2018 05:07:55 +0000 | |
Content-Type: multipart/report; report-type=delivery-status; | |
boundary="b44278a2-9d96-4fd5-bba1-efd949e0de68" | |
Content-Language: en-US | |
Message-ID: <267295c3-c241-44d7-a5b0-202dff1de5b6@SG2APC01HT247.mail.protection.outlook.com> | |
MIME-Version: 1.0 | |
--b44278a2-9d96-4fd5-bba1-efd949e0de68 |
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 strict; | |
use warnings; | |
my $x = shift || exit 1; exit 1 unless $x =~ /\A\d+\z/; | |
my $y = shift || exit 2; exit 2 unless $y =~ /\A\d+\z/; | |
my $v = 0; | |
if( $x < $y ) { | |
# $xの方が大きな数字になるように入れ替える |
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 | |
# Try to improve p5-Sisimai/lib/Sisimai/Message.pm | |
use strict; | |
use warnings; | |
use feature ':5.10'; | |
use Benchmark ':all'; | |
use Test::More 'no_plan'; | |
use Data::Dumper; | |
use Encode; | |
use Sisimai::MIME; |
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
# Sisimai::Message improvement | |
require 'benchmark' | |
require 'sisimai/string' | |
require 'sisimai/rfc5322' | |
require 'sisimai/mime' | |
HowMany = 30000 | |
RFC822Head = Sisimai::RFC5322.HEADERFIELDS | |
BorderLine = '__MIME_ENCODED_BOUNDARY__' | |
FieldTable = %r/( |
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 | |
# Try to improve p5-Sisimai/lib/Sisimai/Message.pm | |
use strict; | |
use warnings; | |
use feature ':5.10'; | |
use Benchmark ':all'; | |
use Test::More 'no_plan'; | |
use Data::Dumper; | |
use Encode; | |
use Sisimai::MIME; |
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 strict; | |
use warnings; | |
use JSON; | |
use Data::Dumper; | |
my $Neko1 = { 'neko' => 'ニャーン' }; # UTF8フラグ無しの文字列 | |
my $Neko2 = $Neko1->{'neko'}; | |
my $Neko3 = { 'neko' => 'ニャーン' }; | |
my $JSON1 = JSON->new; |
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
Received: from aaaa00-bb0-ccc.outbound.protection.outlook.com ([192.0.2.1]) by 192.0.2.4 with MailEnable ESMTP; Thu, 29 Apr 2015 23:34:45 +0900 | |
From: <[email protected]> | |
To: <[email protected]> | |
Date: Thu, 29 Apr 2015 23:34:45 +0000 | |
Content-Type: multipart/report; | |
boundary="_000_b0fe4287ca4b491c8dbf382185911b06DM5PR10MB1513namprd10pr_"; | |
report-type=delivery-status | |
MIME-Version: 1.0 | |
X-MS-Exchange-Message-Is-Ndr: | |
Message-ID: <00000000-0000-aaaa-bbbb-cccc-def12345678@FFFFFFFFFFFF.e0.prod.outlook.com> |
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
--b44278a2-9d96-4fd5-bba1-efd949e0de68 | |
Content-Type: multipart/alternative; differences=Content-Type; | |
boundary="fa703e28-0970-4d04-880c-fa8365758880" | |
X-Microsoft-Exchange-Diagnostics: | |
1;SLXP216MB0381;27:IdH7U/WHGgJu6J8lFrE7KvVxhnAwyKrNbSXMFYs3/Gzz6ZdXYYjzHj55K2O+cndpeVwkvBJqmo6y0IF4AhLfHtFzznw/BzhERU6wi/TCWRpyjYuW8v0/aTcflH3oAdgZ4Pwrp7PxLiiA8rYgU/E7SQ== | |
X-Microsoft-Antispam-Mailbox-Delivery: | |
abwl:0;wl:0;pcwl:0;kl:0;iwl:0;dwl:0;dkl:0;rwl:0;ex:0;auth:1;dest:I;ENG:(5062000261)(5061607266)(5061608174)(1001195)(4900095)(4920089)(6215004)(4950130)(4990090)(9110004);OFR:SpamFilterPass; | |
X-Message-Info: | |
5vMbyqxGkdc5VvMPP6kzgiW88INj3IdX9nScKhT/gqNw5NAF7TW3pJhXDL8FA9VZ7LOQHthhrF02obbwVwVLyNJep8kzEEX0gBuGDOkwa5zG6HpLz9KHYSJcN6/o4/ie5O1X5/nJRnJToqY4mXPvUpl5jXggolSFRZyW6uY6vAiGtVpxkYi7EOwoVFvIbJuYXxNmEH03r7U= | |
X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MTtHRD0yO1NDTD0tMQ== |
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
- hosts: all | |
become: false | |
tasks: | |
- name: Download BIND | |
get_url: | |
url: "ftp://ftp.isc.org/isc/bind9/9.10.7/bind-9.10.7.tar.gz" | |
dest: "/tmp/bind-9.10.7.tar.gz" | |
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 ruby | |
require 'fileutils' | |
require 'sisimai' | |
require 'mysql2' | |
require 'tmpdir' | |
COLUMNS = %w( | |
timestamp | |
lhost | |
rhost |