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 ruby | |
require 'nokogiri' | |
require 'optparse' | |
require 'net/http' | |
require 'uri' | |
@opts = { query_url: "http://127.0.0.1:3000/epcis/query", | |
query_type: "SimpleEventQuery" } | |
ARGV.options do |o| |
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 ruby | |
require 'nokogiri' | |
require 'optparse' | |
require 'net/http' | |
require 'uri' | |
opts = { | |
capture_url: "http://127.0.0.1:3000/epcis/capture", | |
verbose: false, | |
timeout: 300, |
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/pkg/bin/ruby | |
#puts 'require "fileinto";' | |
if ARGV[0] =~ /^\+(.*)/ | |
folder = $1 | |
ARGV.shift | |
else | |
folder = "INBOX.01.000Informative"; | |
end |
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 ruby | |
# Script to generate sieve script from triplet of folder, header, match | |
# | |
#puts 'require "fileinto";' | |
doif = "elsif" | |
ARGF.each {|p| | |
p.chomp! | |
p.sub!(/^\s+/, "") |
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
# $Id$ | |
# News | |
INBOX.News.WSJ from [email protected] | |
INBOX.News.WashingtonPost from @letters.washingtonpost.com | |
INBOX.News.WashingtonPost from @email.washingtonpost.com | |
INBOX.News.NYTimes from [email protected] | |
INBOX.News.LATimes from @email.latimes.com | |
INBOX.News.SpaceDaily from @spacedaily.com |
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
【auからのお知らせ(受信無料)】ようこそアメリカ・カナダ・カリブ諸国へ。アメリカ・カナダ・カリブ諸国ではメールやインターネットが最大でも2,980円/日(日本時間の0-24時)の定額で安心してご利用いただけます。 | |
【auからのお知らせ(受信無料)】アメリカ・カナダ・カリブ諸国から日本への発信は140円/分です。SMSの送信は100円/通、受信は無料です。海外から日本に電話をかける際は、「+81」に続き、頭の0を除いた電話番号を入力して下さい。(+は0を長押し等)(例)080-XXXX-XXXXにかけたい場合⇒+81-80-XXXX-XXXX ご旅行中お気をつけてお過ごし下さい。 | |
【auからのお知らせ(受信無料)】アメリカ・カナダ・カリブ諸国での通話・通信料金はここからチェック http://www.au.kddi.com/r/sms-lusa/ ※リンク先ページの閲覧にはデータ通信料金が発生します |
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
- Y. Takabe, K. Matsumoto, M. Yamagiwa, and M. Uehara, “Proposed Sensor Network for Living Environments Using Cloud Computing,” presented at the 2012 15th International Conference on Network-Based Information Systems (NBiS), pp. 838–843. | |
- K. Matsumoto, M. Yamagiwa, M. Uehara, and H. Mori, “Proposal of Sensor Data Gathering with Single Board Computer,” presented at the 2013 Workshops of International Conference on Advanced Information Networking and Applications (WAINA), pp. 162–167. | |
- M. Ikebe and K. Yoshida, “An Integrated Distributed Log Management System with Metadata for Network Operation,” presented at the 2013 7th International Conference on Complex, Intelligent, and Software Intensive Systems (CISIS), pp. 747–750. |
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
\ifluatex\else\ifx\kanjiskip\undefined\else | |
\ifx\ucs\undefined | |
\usepackage{atbegshi} | |
\ifnum 42146=\euc"A4A2 | |
\AtBeginShipoutFirst{\special{pdf:tounicode EUC-UCS2}} | |
\else | |
\AtBeginShipoutFirst{\special{pdf:tounicode 90ms-RKSJ-UCS2}} | |
\fi\fi\fi\fi |
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
# Ruby 1.8's File.read don't support option. | |
# read_with_options ignore optional parameter for 1.8, | |
# and act as alias for 1.9 or later. | |
class File | |
if RUBY_VERSION < '1.9' | |
def self.read_with_options(path, opts = {}) | |
self.read(path) | |
end | |
else | |
def self.read_with_options(path, opts = {}) |
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
\ProvidesPackage{ksoul}[2010/12/24 Kanji Based soul] | |
\RequirePackage{soul}[2003/11/17] | |
% for \st | |
\def\kst#1{% | |
\@kst#1\end} | |
\def\@kst#1{% | |
\ifx#1\end \let\next=\relax \else | |
\st{#1}% | |
\let\next\@kst |