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.228
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 /
rouge /
[ HOME SHELL ]
Name
Size
Permission
Action
formatters
[ DIR ]
drwxr-xr-x
guessers
[ DIR ]
drwxr-xr-x
lexers
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
themes
[ DIR ]
drwxr-xr-x
cli.rb
10.7
KB
-rw-r--r--
formatter.rb
1.6
KB
-rw-r--r--
guesser.rb
1.31
KB
-rw-r--r--
lexer.rb
11.64
KB
-rw-r--r--
regex_lexer.rb
12.61
KB
-rw-r--r--
template_lexer.rb
639
B
-rw-r--r--
text_analyzer.rb
1.25
KB
-rw-r--r--
theme.rb
4.45
KB
-rw-r--r--
token.rb
4.25
KB
-rw-r--r--
util.rb
2.08
KB
-rw-r--r--
version.rb
111
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : formatter.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge # A Formatter takes a token stream and formats it for human viewing. class Formatter # @private REGISTRY = {} # Specify or get the unique tag for this formatter. This is used # for specifying a formatter in `rougify`. def self.tag(tag=nil) return @tag unless tag REGISTRY[tag] = self @tag = tag end # Find a formatter class given a unique tag. def self.find(tag) REGISTRY[tag] end # Format a token stream. Delegates to {#format}. def self.format(tokens, *a, &b) new(*a).format(tokens, &b) end def initialize(opts={}) # pass end # Format a token stream. def format(tokens, &b) return stream(tokens, &b) if block_given? out = String.new('') stream(tokens) { |piece| out << piece } out end # @deprecated Use {#format} instead. def render(tokens) warn 'Formatter#render is deprecated, use #format instead.' format(tokens) end # @abstract # yield strings that, when concatenated, form the formatted output def stream(tokens, &b) raise 'abstract' end protected def token_lines(tokens, &b) return enum_for(:token_lines, tokens) unless block_given? out = [] tokens.each do |tok, val| val.scan /\n|[^\n]+/ do |s| if s == "\n" yield out out = [] else out << [tok, s] end end end # for inputs not ending in a newline yield out if out.any? end end end
Close