Skip to content

Instantly share code, notes, and snippets.

View juliowaissman's full-sized avatar
🇲🇽
dándole

Julio Waissman juliowaissman

🇲🇽
dándole
View GitHub Profile
@juliowaissman
juliowaissman / censo_2020.sh
Created February 1, 2021 20:11 — forked from diegovalle/censo_2020.sh
Download the shapefiles from the 2020 Mexican census
#!/usr/bin/env bash
####################################################
# Make sure `rename` is available on your system
####################################################
# Exit on error, undefined and prevent pipeline errors,
# use '|| true' on commands that intentionally exit non-zero
set -euo pipefail
# The directory from which the script is running
readonly LOCALDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
readonly TARGET_DIR="$LOCALDIR/censo2020"
import pandas as pd
# El dataframe de ejemplo
df = pd.DataFrame(
{'A':['toto', 'titi', 'tete', 'tete', 'titi', 'toto'],
'B':["ayer titi vio a toto", "Hola tete", "bye", "tititete", " ", "tite"]}
)
# La lista de todos los personajes de Cancion de Hielo y Fuego
got_dt = pd.read_csv("https://raw.githubusercontent.com/mathbeveridge/asoiaf/master/data/asoiaf-all-nodes.csv")
@juliowaissman
juliowaissman / .emacs
Last active January 13, 2020 00:37
Configuración de emacs que estoy usando en la Mac
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (wombat)))
'(display-time-mode t)
'(package-selected-packages
(quote
(pc-bufsw perspective projectile org-bullets auctex org-gcal use-package magit elpy)))
@juliowaissman
juliowaissman / .vimrc
Created February 1, 2017 10:45
el .vimrc de mi Mac mini
" Mi propia vimrc, copiada de un lado si, y otro tambien
"
" Julio Waissman Vilanova
" Pensado usando mvim, instalado desde HomeBrew
" Requerido por Vundle
set nocompatible " be iMproved, required
filetype off " required
" Path e inicialización de Vundle