Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
ztz
@zt2
会员
第 20678 位会员 / 2015-08-22

0 篇帖子 / 3 条回帖
0 关注者
1 正在关注
12 收藏
GitHub Public Repos
  • sqli-hunter 432

    SQLi-Hunter is a simple HTTP / HTTPS proxy server and a SQLMAP API wrapper that makes digging SQL...

  • uncover-turbo 157

    一个简单的测绘引擎巴别塔

  • websocket 2

    Go official net/websocket with domain fronting support

  • ritm 1

    Ruby In The Middle (HTTP/HTTPS interception proxy)

  • Ransomware 0

    The repository of popular Ransomwares (sources).

  • mihomo 0

    A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.

  • pxplan 0

    CVE-2023-2023

  • rex 0

    Rex provides a variety of classes useful for security testing and exploit development.

  • C2 0

    The repository of popular C2 (sources).

  • http-proxy 0

    HTTP::Proxy allows you sending HTTP request via proxy automatically.

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [广州][11-30] RubyConf China 2024 售票开始 at 2024年11月18日

    请问会有线上直播或者回放吗?

  • 刚学 Ruby 想问一下怎么改代码能提升一下程序运行速度实在是太慢了。 at 2022年03月24日

    试试使用基于 Ruby 3 新特性的 Fiber 调度器 https://github.com/bruno-/fiber_scheduler

    require 'fiber_scheduler'
    require 'net/http'
    require 'nokogiri'
    require 'benchmark'
    
    Fiber.set_scheduler(FiberScheduler.new)
    
    begin_time = Time.now
    uri = URI('http://www2.kugou.kugou.com/yueku/v8/album/index/getData.js')
    referrer_policy="http://www2.kugou.kugou.com"
    number = 1
    
    (1..200).each do |i|
        Fiber.schedule do
            params = { :cdn => "cdn", :l => 1, :p => i, :c => 0 }
            uri.query = URI.encode_www_form(params)
            res = Net::HTTP.get_response(uri)
            puts res.body
        end
    end
    
    end_time = Time.now
    puts "Time taken is #{end_time - begin_time}."
    
  • 开发一个命令行工具,一般要遵循那些传统? at 2021年02月04日

    还有一个也可供楼主参考,Linux 下自带的命令行工具普遍遵循 KISS 原则:即每个工具只完成一个简单功能,复杂功能由管道组合多个简单工具完成

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English