require “net/http”
page = URI('https://en.wikipedia.org/wiki/Main_Page')
response = Net::HTTP.get(page)
puts response


PS C:\Users\user> wsl.exe -l -v
NAME STATE VERSION
* Ubuntu Running 1
docker-desktop Running 1
docker-desktop-data Running 1

def fib_calc(n)
return n if n < 2

fib_calc(n-1) + fib_calc(n-2)
end

Thomas Dubiel

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store