Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.10
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
tzinfo /
[ HOME SHELL ]
Name
Size
Permission
Action
country.rb
6.1
KB
-rw-r--r--
country_index_definition.rb
962
B
-rw-r--r--
country_info.rb
1.14
KB
-rw-r--r--
country_timezone.rb
5
KB
-rw-r--r--
data_source.rb
6.94
KB
-rw-r--r--
data_timezone.rb
2.14
KB
-rw-r--r--
data_timezone_info.rb
2.01
KB
-rw-r--r--
info_timezone.rb
571
B
-rw-r--r--
linked_timezone.rb
2.36
KB
-rw-r--r--
linked_timezone_info.rb
835
B
-rw-r--r--
offset_rationals.rb
3.64
KB
-rw-r--r--
ruby_core_support.rb
4.57
KB
-rw-r--r--
ruby_country_info.rb
2.44
KB
-rw-r--r--
ruby_data_source.rb
4.15
KB
-rw-r--r--
time_or_datetime.rb
10.46
KB
-rw-r--r--
timezone.rb
24.99
KB
-rw-r--r--
timezone_definition.rb
981
B
-rw-r--r--
timezone_index_definition.rb
1.6
KB
-rw-r--r--
timezone_info.rb
747
B
-rw-r--r--
timezone_offset.rb
3.72
KB
-rw-r--r--
timezone_period.rb
8.76
KB
-rw-r--r--
timezone_proxy.rb
3.7
KB
-rw-r--r--
timezone_transition.rb
4.28
KB
-rw-r--r--
timezone_transition_definition...
3.76
KB
-rw-r--r--
transition_data_timezone_info....
9.67
KB
-rw-r--r--
zoneinfo_country_info.rb
1.19
KB
-rw-r--r--
zoneinfo_data_source.rb
19.12
KB
-rw-r--r--
zoneinfo_timezone_info.rb
11.09
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : timezone_transition_definition.rb
module TZInfo # A TimezoneTransition defined by as integer timestamp, as a rational to # create a DateTime or as both. # # @private class TimezoneTransitionDefinition < TimezoneTransition #:nodoc: # The numerator of the DateTime if the transition time is defined as a # DateTime, otherwise the transition time as a timestamp. attr_reader :numerator_or_time protected :numerator_or_time # Either the denominator of the DateTime if the transition time is defined # as a DateTime, otherwise nil. attr_reader :denominator protected :denominator # Creates a new TimezoneTransitionDefinition with the given offset, # previous_offset (both TimezoneOffset instances) and UTC time. # # The time can be specified as a timestamp, as a rational to create a # DateTime, or as both. # # If both a timestamp and rational are given, then the rational will only # be used if the timestamp falls outside of the range of Time on the # platform being used at runtime. # # DateTimes are created from the rational as follows: # # RubyCoreSupport.datetime_new!(RubyCoreSupport.rational_new!(numerator, denominator), 0, Date::ITALY) # # For performance reasons, the numerator and denominator must be specified # in their lowest form. def initialize(offset, previous_offset, numerator_or_timestamp, denominator_or_numerator = nil, denominator = nil) super(offset, previous_offset) if denominator numerator = denominator_or_numerator timestamp = numerator_or_timestamp elsif denominator_or_numerator numerator = numerator_or_timestamp denominator = denominator_or_numerator timestamp = nil else numerator = nil denominator = nil timestamp = numerator_or_timestamp end # Determine whether to use the timestamp or the numerator and denominator. if numerator && ( !timestamp || (timestamp < 0 && !RubyCoreSupport.time_supports_negative) || ((timestamp < -2147483648 || timestamp > 2147483647) && !RubyCoreSupport.time_supports_64bit) ) @numerator_or_time = numerator @denominator = denominator else @numerator_or_time = timestamp @denominator = nil end @at = nil end # A TimeOrDateTime instance representing the UTC time when this transition # occurs. def at # Thread-safety: It is possible that the value of @at may be calculated # multiple times in concurrently executing threads. It is not worth the # overhead of locking to ensure that @at is only calculated once. unless @at result = unless @denominator TimeOrDateTime.new(@numerator_or_time) else r = RubyCoreSupport.rational_new!(@numerator_or_time, @denominator) dt = RubyCoreSupport.datetime_new!(r, 0, Date::ITALY) TimeOrDateTime.new(dt) end return result if frozen? @at = result end @at end # Returns true if this TimezoneTransitionDefinition is equal to the given # TimezoneTransitionDefinition. Two TimezoneTransitionDefinition instances # are considered to be equal by eql? if offset, previous_offset, # numerator_or_time and denominator are all equal. def eql?(tti) tti.kind_of?(TimezoneTransitionDefinition) && offset == tti.offset && previous_offset == tti.previous_offset && numerator_or_time == tti.numerator_or_time && denominator == tti.denominator end # Returns a hash of this TimezoneTransitionDefinition instance. def hash @offset.hash ^ @previous_offset.hash ^ @numerator_or_time.hash ^ @denominator.hash end end end
Close