Skip to content

Instantly share code, notes, and snippets.

View gfpoliva's full-sized avatar

Gabriel Oliva gfpoliva

  • Belo Horizonte - Brazil
  • 20:21 (UTC -03:00)
View GitHub Profile
@gfpoliva
gfpoliva / script.js
Last active October 18, 2021 02:27
ML Scraping
const scrapper = () => {
const containers = document.querySelectorAll('.andes-card.andes-card--flat.andes-card--default.ui-search-result.ui-search-result--core.andes-card--padding-default.andes-card--animated');
const infos = [];
containers.forEach(container => {
const link = container.querySelector('a').href;
const contentContainer = container.querySelector('a .ui-search-result__content-wrapper');
const rawPrice = contentContainer.querySelector('div.ui-search-price.ui-search-price--size-medium.ui-search-item__group__element')
const rawDescription = contentContainer.querySelector('.ui-search-item__title.ui-search-item__group__element');

Em homenagem meu amigo Rondy do Pará e seu legado.

INTRO/RIFF

C♯|----------------------------------------------------------------|
G♯|----------------------------------------------------------------|
E |----------------------------------------------------------------| x2
B |----------------------------------------------------------3-----|
F♯|------------------------------------------------------------5---|
This file has been truncated, but you can view the full file.
@gfpoliva
gfpoliva / mvvm
Created November 15, 2016 22:31 — forked from denisnazarov/mvvm
iOS ReactiveCocoa/MVVM Resources
## Collection of posts/videos I've found useful while researching mvvm
https://speakerdeck.com/jspahrsummers/code-reuse-with-mvvm
http://cocoasamurai.blogspot.com/2013/03/basic-mvvm-with-reactivecocoa.html
http://www.teehanlax.com/blog/model-view-viewmodel-for-ios/
http://martinfowler.com/eaaDev/PresentationModel.html
http://twocentstudios.com/blog/2014/06/08/on-mvvm-and-architecture-questions/