module Zinbeijett

zinbeijett loads.

Public Instance Methods

help() click to toggle source
# File bin/zinbeijett, line 98
  def help
    puts ''
    puts 'Command'.center(60, '-')

    puts <<-HELP

    [tweet]
    engine -l → tweet
    Twitter_tubuyaki tools.

    [speak]

    Now version is zinbeiw (= 1.4.3.1) clone.

    Plus amaoto function.

    [zinbeijett]

    zinbeijett [ option ]

    -s,start           Start page!

    -v,version         Version information!

    -l,license         License information!

    [engine]

    < how to use >

    engine [ option ] [ File name ] [ String or regular expression ]

    < Example >

    $ engine druby://localhost:8888
    druby process server.
    engine -d server output.

    $ engine -a notojima.txt wajima
    AND Search.

    $ engine -b https://takkii.hatenablog.com/rss
    Diplay summary, HatenaBlog for takkii.

    $ engine -c
    Calendar views. Today now.

    $ engine -d druby://localhost:8888
    druby process server output.
    ※ console "can't parse uri:-d (DRb::DRbBadURI)"
    → The output disappeared by catching the exception.

    $ engine -e
    Tubuyaki clone ver. zinbeijett.

    $ engine -f 2007 09
    Calendar views, select year and month.

    $ engine -g
    print GC.stat, Garbage collection info output.

    $ engine -h [百人一首(one word)]
    Search the full text from the first 百人一首.

    $ engine -i
    Tubuyaki GUI CLONE, Log write version.

    $ engine -j https://github.com/takkii.atom
    engine -j https://visualstudiomagazine.com/rss-feeds/blogs.aspx

    [ Example ]

    Display GitHub Active for atom.
    Display visualstudio magazine blogs for aspx.

    ※ Diplay title only.

    $ engine -k notojima.txt wajima
    match method all search, log/output.txt write.

    $ engine -l
    Use Pycall, Roll the dice.

    $ engine -m notojima.txt
    mail search. pattern match is mailaddress word only.

    $ engine -n notojima.txt wajima
    NOT Search.

    $ engine -o notojima.txt wajima notojima
    OR search. use two words.

    $ engine -p notojima.txt wajima
    line number : Applicable number, outputs.

    $ engine -q string1 string2
    ruby convert encript use openssl.
    sha cript use case password.

    $ engine -r https://takkii.hatenablog.com/rss
    Display Title, from Hatena Blog for takkii.

    $ engine -s notojima.txt notojima
    String count search. String count in File.

    $ engine -t notojima.txt wajima
    match method search. ( = all search )

    $ engine -u
    Twitter User, Tweet TIMELINE list output.

    $ engine -w notojima.txt
    rice is keitaiso analyse

    $ engine -x notojima.txt
    kome is wakati writer and wordcount.

    $ engine -y notojima.txt
    suihan is wakati writer.

    $ engine -z notojima.txt wajima
    Full-text search.

    HELP

    puts 'Command'.center(60, '-')
    puts ''
  end
licen() click to toggle source
# File bin/zinbeijett, line 58
  def licen
    puts ''
    puts 'License'.center(60, '-')
    puts <<-HOW

    The MIT License

    Copyright (c) 2013-2021 Takayuki Kamiyama

    Permission is hereby granted, free of charge,
    to any person obtaining a copy of this software and
    associated documentation files (the [Software]),
    to deal in the Software without restriction,
    including without limitation the rights to use, copy, modify,
    merge, publish, distribute, sublicense,
    and/or sell copies of the Software,
    and to permit persons to whom the Software is furnished to do so,
    subject to the following conditions:

    The above copyright notice and
    this permission notice shall be included
    in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED [AS IS],
    WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
    INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    IN NO EVENT SHALL THE AUTHORS OR
    COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
    DAMAGES OR OTHER LIABILITY,
    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
    OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    HOW

    puts ''
    puts 'License'.center(60, '-')
    puts ''
  end
soft() click to toggle source
# File bin/zinbeijett, line 227
def soft
  puts RUBY_DESCRIPTION
  print 'On Zinbeijett Engine VERSION : '
  puts EngineLeft::VERSION
end
start() click to toggle source
# File bin/zinbeijett, line 26
  def start
    puts ''
    puts 'Start'.center(60, '-')

    puts <<-DOC
    == Contributing to zinbeijett

    GitHub account  : takkii
    GitLab instance : takkii
    Twitter account : @takkii

    ** Spectacle **

    Improve zinbeiw find function to work on the command line.

    ** version info **

    search match method use,

    =~ operator  : 0.x.x

    match method : 1.x.x

    minimum core : 2.x.x

    > Thank you for reading to the last.
    DOC

    puts 'Start'.center(60, '-')
    puts ''
  end
version() click to toggle source
# File bin/zinbeijett, line 17
def version
  puts '[ version ]'.center(60, '-')
  puts ''
  print 'Zinbeijett VERSION : '
  puts EngineLeft::VERSION
  puts ''
  puts '[ version ]'.center(60, '-')
end