From 333535b06eca9a80b1caffe93e243c3815b63f8e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 6 Jan 2020 09:54:51 +0000 Subject: replace bogomips.org with yhbt.net The expiration for bogomips.org is coming up and I'm not keen on paying or supporting extortionists. Not wanting to be beholden to ICANN or any powerful organizations, .onion sites are available to Tor users: http://raindrops.ou63pmih66umazou.onion/ http://ou63pmih66umazou.onion/raindrops.git/ http://ou63pmih66umazou.onion/raindrops-public/ (the demo is not yet available via .onion, yet, could be a bit) --- lib/raindrops.rb | 2 +- lib/raindrops/middleware.rb | 4 ++-- lib/raindrops/watcher.rb | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'lib') diff --git a/lib/raindrops.rb b/lib/raindrops.rb index d3913a8..ba273eb 100644 --- a/lib/raindrops.rb +++ b/lib/raindrops.rb @@ -12,7 +12,7 @@ # Unlike many classes in this package, the core Raindrops class is # intended to be portable to all reasonably modern *nix systems # supporting mmap(). Please let us know if you have portability -# issues, patches or pull requests at mailto:raindrops-public@bogomips.org +# issues, patches or pull requests at mailto:raindrops-public@yhbt.net class Raindrops # Used to represent the number of +active+ and +queued+ sockets for diff --git a/lib/raindrops/middleware.rb b/lib/raindrops/middleware.rb index ea7f08a..d5e3927 100644 --- a/lib/raindrops/middleware.rb +++ b/lib/raindrops/middleware.rb @@ -62,9 +62,9 @@ require 'raindrops' # = Demo Server # # There is a server running this middleware (and Watcher) at -# https://raindrops-demo.bogomips.org/_raindrops +# https://yhbt.net/raindrops-demo/_raindrops # -# Also check out the Watcher demo at https://raindrops-demo.bogomips.org/ +# Also check out the Watcher demo at https://yhbt.net/raindrops-demo/ # # The demo server is only limited to 30 users, so be sure not to abuse it # by using the /tail/ endpoint too much. diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index b0615f7..ac5b895 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -35,28 +35,28 @@ require "aggregate" # Returns a plain text summary + histogram with X-* HTTP headers for # active connections. # -# e.g.: curl https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.txt +# e.g.: curl https://yhbt.net/raindrops-demo/active/0.0.0.0%3A80.txt # # === GET /active/$LISTENER.html # # Returns an HTML summary + histogram with X-* HTTP headers for # active connections. # -# e.g.: curl https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.html +# e.g.: curl https://yhbt.net/raindrops-demo/active/0.0.0.0%3A80.html # # === GET /queued/$LISTENER.txt # # Returns a plain text summary + histogram with X-* HTTP headers for # queued connections. # -# e.g.: curl https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.txt +# e.g.: curl https://yhbt.net/raindrops-demo/queued/0.0.0.0%3A80.txt # # === GET /queued/$LISTENER.html # # Returns an HTML summary + histogram with X-* HTTP headers for # queued connections. # -# e.g.: curl https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.html +# e.g.: curl https://yhbt.net/raindrops-demo/queued/0.0.0.0%3A80.html # # === POST /reset/$LISTENER # @@ -95,9 +95,9 @@ require "aggregate" # # = Demo Server # -# There is a server running this app at https://raindrops-demo.bogomips.org/ +# There is a server running this app at https://yhbt.net/raindrops-demo/ # The Raindrops::Middleware demo is also accessible at -# https://raindrops-demo.bogomips.org/_raindrops +# https://yhbt.net/raindrops-demo/_raindrops # # The demo server is only limited to 30 users, so be sure not to abuse it # by using the /tail/ endpoint too much. @@ -106,7 +106,7 @@ class Raindrops::Watcher attr_reader :snapshot include Rack::Utils include Raindrops::Linux - DOC_URL = "https://bogomips.org/raindrops/Raindrops/Watcher.html" + DOC_URL = "https://yhbt.net/raindrops/Raindrops/Watcher.html" Peak = Struct.new(:first, :last) def initialize(opts = {}) -- cgit v1.2.3-24-ge0c7