Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.130
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby23 /
lib64 /
ruby /
2.3.0 /
Delete
Unzip
Name
Size
Permission
Date
Action
bigdecimal
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
cgi
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
digest
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
drb
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
fiddle
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
io
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
irb
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
json
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
matrix
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
net
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
openssl
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
optparse
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
psych
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
racc
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
rbconfig
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
rdoc
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
rexml
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
rinda
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
ripper
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
rss
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
rubygems
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
shell
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
syslog
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
tk
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
tkextlib
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
unicode_normalize
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
uri
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
webrick
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
x86_64-linux
[ DIR ]
drwxr-xr-x
2026-05-01 04:23
xmlrpc
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
yaml
[ DIR ]
drwxr-xr-x
2026-04-30 23:44
English.rb
6.45
KB
-rw-r--r--
2015-12-16 08:37
abbrev.rb
3.49
KB
-rw-r--r--
2015-12-16 08:37
base64.rb
3.31
KB
-rw-r--r--
2015-12-16 08:37
benchmark.rb
17.9
KB
-rw-r--r--
2015-12-23 07:13
cgi.rb
9.8
KB
-rw-r--r--
2015-12-16 08:37
cmath.rb
9.48
KB
-rw-r--r--
2015-12-16 08:37
csv.rb
82.15
KB
-rw-r--r--
2015-12-19 08:53
date.rb
1011
B
-rw-r--r--
2023-07-26 18:09
debug.rb
29.97
KB
-rw-r--r--
2015-12-16 08:37
delegate.rb
10.29
KB
-rw-r--r--
2015-12-16 08:37
digest.rb
2.82
KB
-rw-r--r--
2023-07-26 18:09
drb.rb
50
B
-rw-r--r--
2015-12-16 08:37
e2mmap.rb
3.8
KB
-rw-r--r--
2015-12-16 08:37
erb.rb
26.45
KB
-rw-r--r--
2017-06-30 15:54
expect.rb
2.17
KB
-rw-r--r--
2023-07-26 18:09
fiddle.rb
1.68
KB
-rw-r--r--
2023-07-26 18:09
fileutils.rb
47.47
KB
-rw-r--r--
2017-03-27 21:27
find.rb
2.51
KB
-rw-r--r--
2015-12-16 08:37
forwardable.rb
7.97
KB
-rw-r--r--
2018-03-18 18:34
getoptlong.rb
15.41
KB
-rw-r--r--
2015-12-23 07:13
ipaddr.rb
17.08
KB
-rw-r--r--
2015-12-16 08:37
irb.rb
20.06
KB
-rw-r--r--
2016-03-29 10:40
json.rb
1.77
KB
-rw-r--r--
2023-07-26 18:09
kconv.rb
5.77
KB
-rw-r--r--
2023-07-26 18:09
logger.rb
21.93
KB
-rw-r--r--
2016-10-17 21:08
mathn.rb
3.87
KB
-rw-r--r--
2015-12-16 08:37
matrix.rb
53.37
KB
-rw-r--r--
2015-12-16 08:37
mkmf.rb
83.79
KB
-rw-r--r--
2023-07-26 18:06
monitor.rb
7.01
KB
-rw-r--r--
2015-12-16 08:37
multi-tk.rb
98.12
KB
-rw-r--r--
2023-07-26 18:09
mutex_m.rb
2.03
KB
-rw-r--r--
2015-12-16 08:37
observer.rb
5.83
KB
-rw-r--r--
2015-12-16 08:37
open-uri.rb
24.61
KB
-rw-r--r--
2015-11-11 07:18
open3.rb
20.67
KB
-rw-r--r--
2015-11-14 11:13
openssl.rb
445
B
-rw-r--r--
2023-07-26 18:09
optionparser.rb
59
B
-rw-r--r--
2015-12-16 08:37
optparse.rb
56.91
KB
-rw-r--r--
2017-08-09 12:26
ostruct.rb
9.95
KB
-rw-r--r--
2018-01-31 14:35
pathname.rb
16.08
KB
-rw-r--r--
2023-07-26 18:09
pp.rb
14.2
KB
-rw-r--r--
2015-11-10 15:18
prettyprint.rb
15.89
KB
-rw-r--r--
2015-11-10 15:18
prime.rb
12.35
KB
-rw-r--r--
2015-12-16 08:37
profile.rb
236
B
-rw-r--r--
2015-12-16 08:37
profiler.rb
4.54
KB
-rw-r--r--
2015-12-16 08:37
pstore.rb
14.58
KB
-rw-r--r--
2015-12-23 07:13
psych.rb
15.29
KB
-rw-r--r--
2023-07-26 18:09
psych_jars.rb
175
B
-rw-r--r--
2023-07-26 18:09
rdoc.rb
5.07
KB
-rw-r--r--
2015-12-22 15:38
remote-tk.rb
13.95
KB
-rw-r--r--
2023-07-26 18:09
resolv-replace.rb
1.76
KB
-rw-r--r--
2015-11-14 11:55
resolv.rb
73.52
KB
-rw-r--r--
2018-03-28 10:33
ripper.rb
2.56
KB
-rw-r--r--
2023-07-26 18:09
rss.rb
2.87
KB
-rw-r--r--
2015-12-16 08:37
rubygems.rb
32.24
KB
-rw-r--r--
2018-02-16 19:51
scanf.rb
23.56
KB
-rw-r--r--
2015-12-16 08:37
securerandom.rb
7.49
KB
-rw-r--r--
2016-04-22 20:00
set.rb
19.67
KB
-rw-r--r--
2015-11-16 11:11
shell.rb
11.33
KB
-rw-r--r--
2015-12-16 08:37
shellwords.rb
6.28
KB
-rw-r--r--
2015-12-16 12:55
singleton.rb
4.05
KB
-rw-r--r--
2015-12-16 08:37
socket.rb
43.49
KB
-rw-r--r--
2023-07-26 18:09
sync.rb
7.29
KB
-rw-r--r--
2015-12-16 08:37
tcltk.rb
10.09
KB
-rw-r--r--
2023-07-26 18:09
tempfile.rb
10.87
KB
-rw-r--r--
2017-03-27 19:17
thwait.rb
3.34
KB
-rw-r--r--
2015-12-16 08:37
time.rb
22.28
KB
-rw-r--r--
2015-11-14 16:15
timeout.rb
3.68
KB
-rw-r--r--
2015-12-18 19:16
tk.rb
163.11
KB
-rw-r--r--
2023-07-26 18:09
tkafter.rb
88
B
-rw-r--r--
2023-07-26 18:09
tkbgerror.rb
94
B
-rw-r--r--
2023-07-26 18:09
tkcanvas.rb
91
B
-rw-r--r--
2023-07-26 18:09
tkclass.rb
984
B
-rw-r--r--
2023-07-26 18:09
tkconsole.rb
94
B
-rw-r--r--
2023-07-26 18:09
tkdialog.rb
91
B
-rw-r--r--
2023-07-26 18:09
tkentry.rb
88
B
-rw-r--r--
2023-07-26 18:09
tkfont.rb
85
B
-rw-r--r--
2023-07-26 18:09
tkmacpkg.rb
91
B
-rw-r--r--
2023-07-26 18:09
tkmenubar.rb
94
B
-rw-r--r--
2023-07-26 18:09
tkmngfocus.rb
97
B
-rw-r--r--
2023-07-26 18:09
tkpalette.rb
94
B
-rw-r--r--
2023-07-26 18:09
tkscrollbox.rb
100
B
-rw-r--r--
2023-07-26 18:09
tktext.rb
85
B
-rw-r--r--
2023-07-26 18:09
tkvirtevent.rb
100
B
-rw-r--r--
2023-07-26 18:09
tkwinpkg.rb
91
B
-rw-r--r--
2023-07-26 18:09
tmpdir.rb
4.17
KB
-rw-r--r--
2018-03-28 14:59
tracer.rb
6.43
KB
-rw-r--r--
2015-12-16 08:37
tsort.rb
14.3
KB
-rw-r--r--
2015-11-14 12:16
ubygems.rb
299
B
-rw-r--r--
2015-12-16 08:37
un.rb
8.87
KB
-rw-r--r--
2015-12-16 08:37
unicode_normalize.rb
3.19
KB
-rw-r--r--
2015-12-16 08:37
uri.rb
3.1
KB
-rw-r--r--
2015-12-16 08:37
weakref.rb
2.95
KB
-rw-r--r--
2015-12-16 08:37
webrick.rb
6.72
KB
-rw-r--r--
2015-12-23 07:13
xmlrpc.rb
8.93
KB
-rw-r--r--
2015-12-23 07:13
yaml.rb
1.73
KB
-rw-r--r--
2015-12-16 08:37
Save
Rename
# frozen_string_literal: false #-- # Copyright (c) 2001,2003 Akinori MUSHA <knu@iDaemons.org> # # All rights reserved. You can redistribute and/or modify it under # the same terms as Ruby. # # $Idaemons: /home/cvs/rb/abbrev.rb,v 1.2 2001/05/30 09:37:45 knu Exp $ # $RoughId: abbrev.rb,v 1.4 2003/10/14 19:45:42 knu Exp $ # $Id: abbrev.rb 53141 2015-12-16 05:07:31Z naruse $ #++ ## # Calculates the set of unambiguous abbreviations for a given set of strings. # # require 'abbrev' # require 'pp' # # pp Abbrev.abbrev(['ruby']) # #=> {"ruby"=>"ruby", "rub"=>"ruby", "ru"=>"ruby", "r"=>"ruby"} # # pp Abbrev.abbrev(%w{ ruby rules }) # # _Generates:_ # { "ruby" => "ruby", # "rub" => "ruby", # "rules" => "rules", # "rule" => "rules", # "rul" => "rules" } # # It also provides an array core extension, Array#abbrev. # # pp %w{ summer winter }.abbrev # # _Generates:_ # { "summer" => "summer", # "summe" => "summer", # "summ" => "summer", # "sum" => "summer", # "su" => "summer", # "s" => "summer", # "winter" => "winter", # "winte" => "winter", # "wint" => "winter", # "win" => "winter", # "wi" => "winter", # "w" => "winter" } module Abbrev # Given a set of strings, calculate the set of unambiguous abbreviations for # those strings, and return a hash where the keys are all the possible # abbreviations and the values are the full strings. # # Thus, given +words+ is "car" and "cone", the keys pointing to "car" would # be "ca" and "car", while those pointing to "cone" would be "co", "con", and # "cone". # # require 'abbrev' # # Abbrev.abbrev(%w{ car cone }) # #=> {"ca"=>"car", "con"=>"cone", "co"=>"cone", "car"=>"car", "cone"=>"cone"} # # The optional +pattern+ parameter is a pattern or a string. Only input # strings that match the pattern or start with the string are included in the # output hash. # # Abbrev.abbrev(%w{car box cone crab}, /b/) # #=> {"box"=>"box", "bo"=>"box", "b"=>"box", "crab" => "crab"} # # Abbrev.abbrev(%w{car box cone}, 'ca') # #=> {"car"=>"car", "ca"=>"car"} def abbrev(words, pattern = nil) table = {} seen = Hash.new(0) if pattern.is_a?(String) pattern = /\A#{Regexp.quote(pattern)}/ # regard as a prefix end words.each do |word| next if word.empty? word.size.downto(1) { |len| abbrev = word[0...len] next if pattern && pattern !~ abbrev case seen[abbrev] += 1 when 1 table[abbrev] = word when 2 table.delete(abbrev) else break end } end words.each do |word| next if pattern && pattern !~ word table[word] = word end table end module_function :abbrev end class Array # Calculates the set of unambiguous abbreviations for the strings in +self+. # # require 'abbrev' # %w{ car cone }.abbrev # #=> {"car"=>"car", "ca"=>"car", "cone"=>"cone", "con"=>"cone", "co"=>"cone"} # # The optional +pattern+ parameter is a pattern or a string. Only input # strings that match the pattern or start with the string are included in the # output hash. # # %w{ fast boat day }.abbrev(/^.a/) # #=> {"fast"=>"fast", "fas"=>"fast", "fa"=>"fast", "day"=>"day", "da"=>"day"} # # Abbrev.abbrev(%w{car box cone}, "ca") # #=> {"car"=>"car", "ca"=>"car"} # # See also Abbrev.abbrev def abbrev(pattern = nil) Abbrev::abbrev(self, pattern) end end