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.13
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 /
share /
doc /
ruby-concurrent /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
a-tour-of-go-channels
[ DIR ]
drwxr-xr-x
go-by-example-channels
[ DIR ]
drwxr-xr-x
actor_stress_test.rb
3.23
KB
-rwxr-xr-x
atomic_example.rb
392
B
-rwxr-xr-x
benchmark_async.rb
6.81
KB
-rwxr-xr-x
benchmark_atomic.rb
2.53
KB
-rwxr-xr-x
benchmark_atomic_1.rb
2.52
KB
-rwxr-xr-x
benchmark_atomic_boolean.rb
984
B
-rwxr-xr-x
benchmark_atomic_fixnum.rb
964
B
-rwxr-xr-x
benchmark_map.rb
581
B
-rwxr-xr-x
benchmark_new_futures.rb
2.16
KB
-rwxr-xr-x
benchmark_read_write_lock.rb
4.27
KB
-rwxr-xr-x
benchmark_structs.rb
4.66
KB
-rwxr-xr-x
format.rb
1.86
KB
-rw-r--r--
graph_atomic_bench.rb
1.73
KB
-rwxr-xr-x
init.rb
104
B
-rw-r--r--
stress_ruby_thread_pool.rb
791
B
-rwxr-xr-x
thread_local_memory_usage.rb
1.61
KB
-rwxr-xr-x
thread_local_var_bench.rb
606
B
-rwxr-xr-x
who.rb
711
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : format.rb
require 'rubygems' require 'bundler/setup' require 'pry' require 'pp' input_paths = if ARGV.empty? Dir.glob("#{File.dirname(__FILE__)}/*.in.rb") else ARGV end.map { |p| File.expand_path p } input_paths.each_with_index do |input_path, i| pid = fork do require_relative 'init.rb' begin output_path = input_path.gsub /\.in\.rb$/, '.out.rb' input = File.readlines(input_path) chunks = [] line = '' while !input.empty? line += input.shift if Pry::Code.complete_expression? line chunks << line line = '' end end raise unless line.empty? chunks.map! { |chunk| [chunk, [chunk.split($/).size, 1].max] } environment = Module.new.send :binding evaluate = ->(code, line) do eval(code, environment, input_path, line) end indent = 50 line_count = 1 output = '' chunks.each do |chunk, lines| result = evaluate.(chunk, line_count) unless chunk.strip.empty? || chunk =~ /\A *#/ pre_lines = chunk.lines.to_a last_line = pre_lines.pop output << pre_lines.join if last_line =~ /\#$/ output << last_line.gsub(/\#$/, '') else if last_line.size < indent && result.inspect.size < indent output << "%-#{indent}s %s" % [last_line.chomp, "# => #{result.inspect}\n"] else output << last_line << " # => #{result.inspect}\n" end end else output << chunk end line_count += lines end puts "#{input_path}\n -> #{output_path}" #puts output File.write(output_path, output) rescue => ex puts "#{ex} (#{ex.class})\n#{ex.backtrace * "\n"}" end end Process.wait pid end
Close