Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.171
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
tilt /
[ HOME SHELL ]
Name
Size
Permission
Action
asciidoc.rb
674
B
-rw-r--r--
babel.rb
329
B
-rw-r--r--
bluecloth.rb
451
B
-rw-r--r--
builder.rb
727
B
-rw-r--r--
coffee.rb
1.11
KB
-rw-r--r--
commonmarker.rb
1.47
KB
-rw-r--r--
creole.rb
510
B
-rw-r--r--
csv.rb
1.27
KB
-rw-r--r--
dummy.rb
70
B
-rw-r--r--
erb.rb
1.64
KB
-rw-r--r--
erubi.rb
886
B
-rw-r--r--
erubis.rb
1.44
KB
-rw-r--r--
etanni.rb
590
B
-rw-r--r--
haml.rb
2.64
KB
-rw-r--r--
kramdown.rb
514
B
-rw-r--r--
less.rb
663
B
-rw-r--r--
liquid.rb
1.21
KB
-rw-r--r--
livescript.rb
479
B
-rw-r--r--
mapping.rb
9.09
KB
-rw-r--r--
markaby.rb
971
B
-rw-r--r--
maruku.rb
386
B
-rw-r--r--
nokogiri.rb
835
B
-rw-r--r--
pandoc.rb
1.12
KB
-rw-r--r--
plain.rb
261
B
-rw-r--r--
prawn.rb
878
B
-rw-r--r--
radius.rb
976
B
-rw-r--r--
rdiscount.rb
904
B
-rw-r--r--
rdoc.rb
863
B
-rw-r--r--
redcarpet.rb
2.17
KB
-rw-r--r--
redcloth.rb
452
B
-rw-r--r--
rst-pandoc.rb
379
B
-rw-r--r--
sass.rb
1.01
KB
-rw-r--r--
sigil.rb
679
B
-rw-r--r--
string.rb
483
B
-rw-r--r--
template.rb
9.43
KB
-rw-r--r--
typescript.rb
510
B
-rw-r--r--
wikicloth.rb
453
B
-rw-r--r--
yajl.rb
2.3
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : yajl.rb
require 'tilt/template' require 'yajl' module Tilt # Yajl Template implementation # # Yajl is a fast JSON parsing and encoding library for Ruby # See https://github.com/brianmario/yajl-ruby # # The template source is evaluated as a Ruby string, # and the result is converted #to_json. # # == Example # # # This is a template example. # # The template can contain any Ruby statement. # tpl <<-EOS # @counter = 0 # # # The json variable represents the buffer # # and holds the data to be serialized into json. # # It defaults to an empty hash, but you can override it at any time. # json = { # :"user#{@counter += 1}" => { :name => "Joshua Peek", :id => @counter }, # :"user#{@counter += 1}" => { :name => "Ryan Tomayko", :id => @counter }, # :"user#{@counter += 1}" => { :name => "Simone Carletti", :id => @counter }, # } # # # Since the json variable is a Hash, # # you can use conditional statements or any other Ruby statement # # to populate it. # json[:"user#{@counter += 1}"] = { :name => "Unknown" } if 1 == 2 # # # The last line doesn't affect the returned value. # nil # EOS # # template = Tilt::YajlTemplate.new { tpl } # template.render(self) # class YajlTemplate < Template self.default_mime_type = 'application/json' def prepare end def evaluate(scope, locals, &block) decorate super(scope, locals, &block) end def precompiled_preamble(locals) return super if locals.include? :json "json = {}\n#{super}" end def precompiled_postamble(locals) "Yajl::Encoder.new.encode(json)" end def precompiled_template(locals) data.to_str end # Decorates the +json+ input according to given +options+. # # json - The json String to decorate. # options - The option Hash to customize the behavior. # # Returns the decorated String. def decorate(json) callback, variable = options[:callback], options[:variable] if callback && variable "var #{variable} = #{json}; #{callback}(#{variable});" elsif variable "var #{variable} = #{json};" elsif callback "#{callback}(#{json});" else json end end end end
Close