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.216.37
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 /
tk /
Delete
Unzip
Name
Size
Permission
Date
Action
after.rb
161
B
-rw-r--r--
2023-07-26 18:09
autoload.rb
22.79
KB
-rw-r--r--
2023-07-26 18:09
bgerror.rb
698
B
-rw-r--r--
2023-07-26 18:09
bindtag.rb
2.7
KB
-rw-r--r--
2023-07-26 18:09
busy.rb
2.25
KB
-rw-r--r--
2023-07-26 18:09
button.rb
800
B
-rw-r--r--
2023-07-26 18:09
canvas.rb
22.85
KB
-rw-r--r--
2023-07-26 18:09
canvastag.rb
9.22
KB
-rw-r--r--
2023-07-26 18:09
checkbutton.rb
1.01
KB
-rw-r--r--
2023-07-26 18:09
clipboard.rb
1.67
KB
-rw-r--r--
2023-07-26 18:09
clock.rb
1.63
KB
-rw-r--r--
2023-07-26 18:09
composite.rb
11.9
KB
-rw-r--r--
2023-07-26 18:09
console.rb
1.3
KB
-rw-r--r--
2023-07-26 18:09
dialog.rb
8.93
KB
-rw-r--r--
2023-07-26 18:09
encodedstr.rb
4.58
KB
-rw-r--r--
2023-07-26 18:09
entry.rb
2.61
KB
-rw-r--r--
2023-07-26 18:09
event.rb
17.53
KB
-rw-r--r--
2023-07-26 18:09
font.rb
60.35
KB
-rw-r--r--
2023-07-26 18:09
fontchooser.rb
3.62
KB
-rw-r--r--
2023-07-26 18:09
frame.rb
3.48
KB
-rw-r--r--
2023-07-26 18:09
grid.rb
7.72
KB
-rw-r--r--
2023-07-26 18:09
image.rb
12.57
KB
-rw-r--r--
2023-07-26 18:09
itemconfig.rb
55.11
KB
-rw-r--r--
2023-07-26 18:09
itemfont.rb
9.32
KB
-rw-r--r--
2023-07-26 18:09
kinput.rb
1.59
KB
-rw-r--r--
2023-07-26 18:09
label.rb
640
B
-rw-r--r--
2023-07-26 18:09
labelframe.rb
1.02
KB
-rw-r--r--
2023-07-26 18:09
listbox.rb
7.85
KB
-rw-r--r--
2023-07-26 18:09
macpkg.rb
1.94
KB
-rw-r--r--
2023-07-26 18:09
menu.rb
20.07
KB
-rw-r--r--
2023-07-26 18:09
menubar.rb
4.11
KB
-rw-r--r--
2023-07-26 18:09
menuspec.rb
13.78
KB
-rw-r--r--
2023-07-26 18:09
message.rb
724
B
-rw-r--r--
2023-07-26 18:09
mngfocus.rb
703
B
-rw-r--r--
2023-07-26 18:09
msgcat.rb
8.49
KB
-rw-r--r--
2023-07-26 18:09
namespace.rb
14.38
KB
-rw-r--r--
2023-07-26 18:09
optiondb.rb
11.11
KB
-rw-r--r--
2023-07-26 18:09
optionobj.rb
4.9
KB
-rw-r--r--
2023-07-26 18:09
pack.rb
2.54
KB
-rw-r--r--
2023-07-26 18:09
package.rb
2.83
KB
-rw-r--r--
2023-07-26 18:09
palette.rb
1.16
KB
-rw-r--r--
2023-07-26 18:09
panedwindow.rb
7.79
KB
-rw-r--r--
2023-07-26 18:09
place.rb
3.89
KB
-rw-r--r--
2023-07-26 18:09
radiobutton.rb
2.01
KB
-rw-r--r--
2023-07-26 18:09
root.rb
2.07
KB
-rw-r--r--
2023-07-26 18:09
scale.rb
2.79
KB
-rw-r--r--
2023-07-26 18:09
scrollable.rb
1.77
KB
-rw-r--r--
2023-07-26 18:09
scrollbar.rb
4.69
KB
-rw-r--r--
2023-07-26 18:09
scrollbox.rb
1.16
KB
-rw-r--r--
2023-07-26 18:09
selection.rb
2.22
KB
-rw-r--r--
2023-07-26 18:09
spinbox.rb
3.07
KB
-rw-r--r--
2023-07-26 18:09
tagfont.rb
890
B
-rw-r--r--
2023-07-26 18:09
text.rb
45.67
KB
-rw-r--r--
2023-07-26 18:09
textimage.rb
2.25
KB
-rw-r--r--
2023-07-26 18:09
textmark.rb
4.94
KB
-rw-r--r--
2023-07-26 18:09
texttag.rb
7.79
KB
-rw-r--r--
2023-07-26 18:09
textwindow.rb
4.29
KB
-rw-r--r--
2023-07-26 18:09
timer.rb
14.41
KB
-rw-r--r--
2023-07-26 18:09
tk_mac.rb
3.71
KB
-rw-r--r--
2023-07-26 18:09
toplevel.rb
7.01
KB
-rw-r--r--
2023-07-26 18:09
ttk_selector.rb
3.01
KB
-rw-r--r--
2023-07-26 18:09
txtwin_abst.rb
816
B
-rw-r--r--
2023-07-26 18:09
validation.rb
9.64
KB
-rw-r--r--
2023-07-26 18:09
variable.rb
45.82
KB
-rw-r--r--
2023-07-26 18:09
virtevent.rb
3.54
KB
-rw-r--r--
2023-07-26 18:09
winfo.rb
8.39
KB
-rw-r--r--
2023-07-26 18:09
winpkg.rb
3.9
KB
-rw-r--r--
2023-07-26 18:09
wm.rb
14.87
KB
-rw-r--r--
2023-07-26 18:09
xim.rb
2.77
KB
-rw-r--r--
2023-07-26 18:09
Save
Rename
# frozen_string_literal: false # # tk/encodedstr.rb : Tk::EncodedString class # require 'tk' ########################################### # string with Tcl's encoding ########################################### module Tk class EncodedString < String Encoding = nil def self.subst_utf_backslash(str) # str.gsub(/\\u([0-9A-Fa-f]{1,4})/){[$1.hex].pack('U')} TclTkLib._subst_UTF_backslash(str) end def self.utf_backslash(str) self.subst_utf_backslash(str) end def self.subst_tk_backslash(str) TclTkLib._subst_Tcl_backslash(str) end def self.utf_to_backslash_sequence(str) str.unpack('U*').collect{|c| if c <= 0xFF # ascii character c.chr else format('\u%X', c) end }.join('') end def self.utf_to_backslash(str) self.utf_to_backslash_sequence(str) end def self.to_backslash_sequence(str) str.unpack('U*').collect{|c| if c <= 0x1F # control character case c when 0x07; '\a' when 0x08; '\b' when 0x09; '\t' when 0x0a; '\n' when 0x0b; '\v' when 0x0c; '\f' when 0x0d; '\r' else format('\x%02X', c) end elsif c <= 0xFF # ascii character c.chr else format('\u%X', c) end }.join('') end def self.new_with_utf_backslash(str, enc = nil) self.new('', enc).replace(self.subst_utf_backslash(str)) end def self.new_without_utf_backslash(str, enc = nil) self.new('', enc).replace(str) end def initialize(str, enc = nil) super(str) # @encoding = ( enc || # ((self.class::Encoding)? # self.class::Encoding : Tk.encoding_system) ) enc ||= (self.class::Encoding)? self.class::Encoding : ((Tk.encoding)? Tk.encoding : Tk.encoding_system) if TkCore::WITH_ENCODING unless encobj = Tk::Encoding::ENCODING_TABLE.get_obj(enc) fail ArgumentError, "unsupported Tk encoding '#{enc}'" end self.force_encoding(encobj) else @encoding = enc end end if TkCore::WITH_ENCODING alias encoding_obj encoding alias __encoding encoding def encoding Tk::Encoding::ENCODING_TABLE.get_name(super()) end else def encoding @encoding end alias encoding_obj encoding end if TkCore::WITH_ENCODING # wrapper methods for compatibility alias __instance_variable_get instance_variable_get alias __instance_variable_set instance_variable_set alias __instance_eval instance_eval alias __instance_variables instance_variables def instance_variable_get(key) if (key.to_s == '@encoding') self.encoding else super(key) end end def instance_variable_set(key, value) if (key.to_s == '@encoding') if value self.force_encoding(value) else self.force_encoding(Tk::Encoding::UNKNOWN) end value else super(key, value) end end def instance_eval(*args, &b) old_enc = @encoding = self.encoding ret = super(*args, &b) if @encoding if @encoding != old_enc # modified by user self.force_encoding(@encoding) end remove_instance_variable(:@encoding) else begin remove_instance_variable(:@encoding) # user sets to nil -> use current default self.force_encoding(Tk.encoding) rescue NameError # removed by user -> ignore, because user don't use @encoding end end ret end end def instance_variables ret = super() ret << :@encoding # fake !! ret end end # def Tk.EncodedString(str, enc = nil) # Tk::EncodedString.new(str, enc) # end ################################## class BinaryString < EncodedString Encoding = 'binary'.freeze end # def Tk.BinaryString(str) # Tk::BinaryString.new(str) # end ################################## class UTF8_String < EncodedString Encoding = 'utf-8'.freeze def self.new(str) super(self.subst_utf_backslash(str)) end def to_backslash_sequence Tk::EncodedString.utf_to_backslash_sequence(self) end alias to_backslash to_backslash_sequence end # def Tk.UTF8_String(str) # Tk::UTF8_String.new(str) # end end