Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
2.3.0 /
json /
add /
Delete
Unzip
Name
Size
Permission
Date
Action
bigdecimal.rb
599
B
-rw-r--r--
2021-12-06 00:55
complex.rb
750
B
-rw-r--r--
2021-12-06 00:55
core.rb
349
B
-rw-r--r--
2021-12-06 00:55
date.rb
882
B
-rw-r--r--
2021-12-06 00:55
date_time.rb
1.3
KB
-rw-r--r--
2021-12-06 00:55
exception.rb
800
B
-rw-r--r--
2021-12-06 00:55
ostruct.rb
798
B
-rw-r--r--
2021-12-06 00:55
range.rb
787
B
-rw-r--r--
2021-12-06 00:55
rational.rb
781
B
-rw-r--r--
2021-12-06 00:55
regexp.rb
761
B
-rw-r--r--
2021-12-06 00:55
struct.rb
787
B
-rw-r--r--
2021-12-06 00:55
symbol.rb
615
B
-rw-r--r--
2021-12-06 00:55
time.rb
1017
B
-rw-r--r--
2021-12-06 00:55
Save
Rename
# frozen_string_literal: false unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED require 'json' end class Time # Deserializes JSON string by converting time since epoch to Time def self.json_create(object) if usec = object.delete('u') # used to be tv_usec -> tv_nsec object['n'] = usec * 1000 end if method_defined?(:tv_nsec) at(object['s'], Rational(object['n'], 1000)) else at(object['s'], object['n'] / 1000) end end # Returns a hash, that will be turned into a JSON object and represent this # object. def as_json(*) nanoseconds = [ tv_usec * 1000 ] respond_to?(:tv_nsec) and nanoseconds << tv_nsec nanoseconds = nanoseconds.max { JSON.create_id => self.class.name, 's' => tv_sec, 'n' => nanoseconds, } end # Stores class name (Time) with number of seconds since epoch and number of # microseconds for Time as JSON string def to_json(*args) as_json.to_json(*args) end end