Skip to content

Instantly share code, notes, and snippets.

View gerryhd's full-sized avatar
🏠
Working from home

Gerardo Hernandez gerryhd

🏠
Working from home
  • Mérida, Yucatán, México
View GitHub Profile
@gerryhd
gerryhd / funny_challenge.rb
Created July 7, 2023 03:26
funny_challenge.rb
require 'rest-client'
require 'json'
HEADERS = { accept: :json }
response = RestClient.get('https://www.letsrevolutionizetesting.com/challenge', HEADERS)
response = JSON.parse(response.body, symbolize_names: true)
while response.keys.include? :follow
response = RestClient.get(response[:follow], HEADERS)

Keybase proof

I hereby claim:

  • I am gerryhd on github.
  • I am gerryhd (https://keybase.io/gerryhd) on keybase.
  • I have a public key ASDB5O60tgD9CksgDyr6q_2jtH7AUsIVa5mYt9-eLndwLAo

To claim this, I am signing this object: