Skip to content

Instantly share code, notes, and snippets.

View janasabino's full-sized avatar
🎯
Focusing

Janaina janasabino

🎯
Focusing
View GitHub Profile
@xiaoouwang
xiaoouwang / Tuto_plongement_lexical.ipynb
Last active March 9, 2024 18:51
Tuto_plongement_lexical.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jrjames83
jrjames83 / amazon_review_scraper.py
Created November 27, 2020 19:03
Scrape amazon reviews using python 3, beautifulsoup and pandas.
import requests
import pandas as pd
from bs4 import BeautifulSoup
from datetime import datetime
import logging
headers = {
"authority": "www.amazon.com",
"pragma": "no-cache",
"cache-control": "no-cache",
@leocomelli
leocomelli / git.md
Last active May 9, 2024 01:22
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@rxaviers
rxaviers / gist:7360908
Last active May 9, 2024 08:47
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@flavioamieiro
flavioamieiro / wp_extractor.py
Created March 21, 2013 21:53
Extrai textos do dump da wikipedia em xml
from lxml import etree
FILENAME = 'data/ptwiki-20130306-pages-meta-current.xml'
def get_parser():
for event, element in etree.iterparse(FILENAME, events=('end',)):
if element.tag.endswith('page'):
namespace_tag = element.find(
'{http://www.mediawiki.org/xml/export-0.8/}ns')
if namespace_tag.text == '0':