Skip to content

Instantly share code, notes, and snippets.

View dmesquita's full-sized avatar

Déborah Mesquita dmesquita

View GitHub Profile
@dmesquita
dmesquita / Resumo do livro Pragmatic Thinking and Learning.md
Last active August 29, 2015 14:09
Resumo do livro Pragmatic Thinking and Learning

Pragmatic Thinking and Learning

Resumo do livro

###Capítulo 1 Sempre considere o contexto das coisas. Você não apenas pensa sentada, você pensa falando, escrevendo, se comunicando com os outros etc. Os problemas também estão inseridos em um contexto, é importante saber qual é.

Capítulo 2

Made to Stick: Why Some Ideas Survive and Others Die

Resumo do livro

###Capítulo 1 As ideias que ficam seguem um padrão. São simples, fazem a pessoa sentirem algo, e quem diz tem credibilidade. A maioria das ideias não são marcantes e não grudam por causa da maldição do conhecimento: quando a gente sabe algo é difícil lembrar como quem não sabe se sente.

Capí­tulo 2 - Simples

spaCy tour

by Déborah Mesquita

import spacy
nlp = spacy.load('en')
@dmesquita
dmesquita / AirlineCancel.tsv
Last active August 10, 2017 19:46
Bubble chart with labels
AirLineAbbr Airline Reason Number
9E Pinnacle Airlines Carrier 1270
AA American Airlines Carrier 814
AQ Aloha Airlines Inc. Carrier 25
AS Alaska Airlines Carrier 239
B6 JetBlue Airways Carrier 211
CO Continental Air Lines Carrier 31
DL Delta Air Lines Carrier 401
EV Estafeta Carga Aereas Carrier 333
F9 Frontier Airlines Carrier 6
@dmesquita
dmesquita / Analysis.ipynb
Created August 29, 2017 21:39
fcc facebook analysis
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dmesquita
dmesquita / gist:bbf33d13910f343361514efb1d2ba494
Created September 5, 2017 00:30
Questions about statistics
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"projects": [
{
"meeting": "1st Meeting",
"type": "project",
"date": "09/03/2017",
"label": "Project 002/2017",
"status": "approved"
},
{
@dmesquita
dmesquita / gantt_alike_chart.js
Created September 15, 2017 20:30
Gantt alike d3 reusable chart
function ganttAlikeChart(){
width = 800;
height = 600;
margin = {top: 20, right: 100, bottom: 20, left:100};
xScale = d3.scaleTime();
yScale = d3.scaleLinear();
colorScale = d3.scaleLinear();
xValue = d => d.date;
colorValue = d => d.status;
barHeight = 30;
@dmesquita
dmesquita / server.py
Created October 9, 2017 23:59
Connect to WiFi and send POST requests with nodeMCU
from flask import Flask, url_for, request
import time
import datetime
app = Flask(__name__)
@app.route('/')
def api_root():
return 'Server running'
@dmesquita
dmesquita / categories_UKWA.json
Last active October 18, 2017 12:47
Comparing fCC R3 labels
{"name":"UKWA", "children": [{"size": 2992, "name": "Business, Economy & Industry"}, {"size": 2426, "name": "Science & Technology"}, {"size": 270, "name": "Social Problems and Welfare"}, {"size": 718, "name": "Sports and Recreation"}, {"size": 3019, "name": "Society & Culture"}, {"size": 2128, "name": "Education & Research"}, {"size": 23, "name": "Popular Science"}, {"size": 743, "name": "Digital Society"}, {"size": 38, "name": "Environment"}, {"size": 26, "name": "Publishing, Printing and Bookselling"}, {"size": 101, "name": "Crime, Criminology, Police and Prisons"}, {"size": 87, "name": "Literature"}, {"size": 81, "name": "Law and Legal System"}, {"size": 52, "name": "Libraries, Archives and Museums"}, {"size": 2170, "name": "Medicine & Health"}, {"size": 123, "name": "Politics, Political Theory and Political Systems"}, {"size": 843, "name": "Company Web Sites"}, {"size": 54, "name": "Computer Science, Information Technology and Web Technology"}, {"size": 378, "name": "Travel & Tourism"}, {"size": 5319, "na