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_offset.rb
module TZInfo # Represents an offset defined in a Timezone data file. class TimezoneOffset # The base offset of the timezone from UTC in seconds. This does not include # any adjustment made for daylight savings time and will typically remain # constant throughout the year. # # To obtain the currently observed offset from UTC, including the effect of # daylight savings time, use utc_total_offset instead. # # Note that zoneinfo files only include the value of utc_total_offset and a # DST flag. When using ZoneinfoDataSource, the utc_offset will be derived # from changes to the UTC total offset and the DST flag. As a consequence, # utc_total_offset will always be correct, but utc_offset may be inaccurate. # # If you require utc_offset to be accurate, install the tzinfo-data gem and # set RubyDataSource as the DataSource. attr_reader :utc_offset # The offset from the time zone's standard time in seconds. Zero # when daylight savings time is not in effect. Non-zero (usually 3600 = 1 # hour) if daylight savings is being observed. # # Note that zoneinfo files only include the value of utc_total_offset and # a DST flag. When using DataSources::ZoneinfoDataSource, the std_offset # will be derived from changes to the UTC total offset and the DST flag. As # a consequence, utc_total_offset will always be correct, but std_offset # may be inaccurate. # # If you require std_offset to be accurate, install the tzinfo-data gem # and set RubyDataSource as the DataSource. attr_reader :std_offset # The total offset of this observance from UTC in seconds # (utc_offset + std_offset). attr_reader :utc_total_offset # The abbreviation that identifies this observance, e.g. "GMT" # (Greenwich Mean Time) or "BST" (British Summer Time) for "Europe/London". The returned identifier is a # symbol. attr_reader :abbreviation # Constructs a new TimezoneOffset. utc_offset and std_offset are specified # in seconds. def initialize(utc_offset, std_offset, abbreviation) @utc_offset = utc_offset @std_offset = std_offset @abbreviation = abbreviation @utc_total_offset = @utc_offset + @std_offset end # True if std_offset is non-zero. def dst? @std_offset != 0 end # Converts a UTC Time, DateTime or integer timestamp to local time, based on # the offset of this period. # # Deprecation warning: this method will be removed in TZInfo version 2.0.0. def to_local(utc) TimeOrDateTime.wrap(utc) {|wrapped| wrapped + @utc_total_offset } end # Converts a local Time, DateTime or integer timestamp to UTC, based on the # offset of this period. # # Deprecation warning: this method will be removed in TZInfo version 2.0.0. def to_utc(local) TimeOrDateTime.wrap(local) {|wrapped| wrapped - @utc_total_offset } end # Returns true if and only if toi has the same utc_offset, std_offset # and abbreviation as this TimezoneOffset. def ==(toi) toi.kind_of?(TimezoneOffset) && utc_offset == toi.utc_offset && std_offset == toi.std_offset && abbreviation == toi.abbreviation end # Returns true if and only if toi has the same utc_offset, std_offset # and abbreviation as this TimezoneOffset. def eql?(toi) self == toi end # Returns a hash of this TimezoneOffset. def hash utc_offset.hash ^ std_offset.hash ^ abbreviation.hash end # Returns internal object state as a programmer-readable string. def inspect "#<#{self.class}: #@utc_offset,#@std_offset,#@abbreviation>" end end end
Close