Skip to content

Instantly share code, notes, and snippets.

View dfurutani's full-sized avatar

Daniel Furutani de Oliveira dfurutani

View GitHub Profile
[ { "gentilico" : "afegãne",
"nome_pais" : "Afeganistão",
"nome_pais_int" : "Afghanistan",
"sigla" : "AF"
},
{ "gentilico" : "sul-africana",
"nome_pais" : "África do Sul",
"nome_pais_int" : "South Africa",
"sigla" : "ZA"
},
@dfurutani
dfurutani / states.json
Created July 31, 2018 12:20
States and Cities from Brazil
// Updated based on a list apparently from 2013 available on:
// http://concla.ibge.gov.br/classificacoes/por-tema/codigo-de-areas/codigo-de-areas
[
{
"name": "Acre",
"acronym": "AC",
"time_zone": "America/Rio_Branco",
"region": "Norte",
"capital": "Rio Branco",
"code": 12,
@dfurutani
dfurutani / capybara cheat sheet
Created March 30, 2021 17:25 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')