Skip to content

Instantly share code, notes, and snippets.

View RobertoPegoraro's full-sized avatar

Roberto Luis Pegoraro RobertoPegoraro

View GitHub Profile
@RobertoPegoraro
RobertoPegoraro / extract-object-from-data.md
Last active May 27, 2019 13:52
How to extract Object from data using Rest Assured
User user = given()
                .when()
                .get("https://reqres.in/api/unknown/2")
                .then()
                .extract()
                .jsonPath()
                .getObject("data", User.class);
@RobertoPegoraro
RobertoPegoraro / deploy-static-site-heroku.md
Created May 21, 2019 16:16 — forked from wh1tney/deploy-static-site-heroku.md
How to deploy a static website to Heroku

Gist

This is a quick tutorial explaining how to get a static website hosted on Heroku.

Why do this?

Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.

Basic Assumptions