Skip to content

Instantly share code, notes, and snippets.

Luis Felipe Álvarez Burgos lfalvarez

Block or report user

Report or block lfalvarez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View archivo.py
import pandas as pd
import matplotlib.pyplot as plt
from wordcloud import WordCloud
import nltk
from nltk.tokenize import word_tokenize
from nltk.stem.snowball import SnowballStemmer
from nltk.corpus import stopwords
import numpy as np
View narrativa_causa_natura.md

Etapa1: Problema distribución de recursos

Hay un problema en la pesca de México por que muy pocas personas reciben muchos beneficios:

Infografía con gráfico de burbujas

Etapa2: De dónde viene esta mala distribución?

1 No tiene que ver con geografía. 2 No tiene que ver con el número de embarcaciones.

View la que no funciona
<script src="//code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="//use.fontawesome.com/9304d8597d.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.0-rc.3/angular.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/masonry/3.1.5/masonry.pkgd.min.js"></script>
<script src="/static/js/masonry-script.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/chosen/1.0/chosen.jquery.min.js" type="text/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.form/3.51/jquery.form.js"></script>
<script src="/static/js/removeDiacritics.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-expander/1.7.0/jquery.expander.min.js"></script>
@lfalvarez
lfalvarez / Backend
Last active May 11, 2017
página de organizaciones
View Backend
http://localhost:8000/perfil_organizacion/update
y aquí te preguntamos todas las cosas que están arriba.
View _arrayparseCsv.js
_arrayparseCsv(file_names, store){
let _parseAttributes = this._parseAttributes;
let studies = [];
_parseAttributes = _parseAttributes.bind(this);
let hashCode = this._hashCode;
let parses = [];
let _otroCsv = this._otroCsv;
_otroCsv = _otroCsv.bind(this);
@lfalvarez
lfalvarez / mails_a_proponentes_19_agosto.py
Created Aug 22, 2016
mails_a_proponentes_19_agosto.py
View mails_a_proponentes_19_agosto.py
import uuid
from django.core.urlresolvers import reverse
from django.utils.text import slugify
import csv
from django.template.loader import get_template
from django.template import Context, Template
def process_usuario_propuesta(row, post_delete_users=False):
nombre = row[0]
apellido = row[1]
@lfalvarez
lfalvarez / ahorcado.py
Created Jul 20, 2016
ejercicio del ahorcado
View ahorcado.py
import sys
def se_termino(contador_errores, max_errores, contador_letras, num_letras):
fin = errores == max_errores or contador_letras == num_letras
return fin
def contador_acierto(palabra, letra):
contador = 0
contador_acierto = 0
View .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
View .vimrc
execute pathogen#infect()
syntax on
set background=dark
colorscheme solarized
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=2
" " when indenting with '>', use 4 spaces width
You can’t perform that action at this time.