Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Lucas Macedo lucassmacedo

🎯
Focusing
Block or report user

Report or block lucassmacedo

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 gist:c07f1a2bebefc259830d58f03377e3e1
# import geopy
# import pandas
# from geopy.geocoders import Nominatim, GoogleV3
import pymysql.cursors
import folium
import geopandas as gpd
import pandas as pd
import numpy as np
import os
import webbrowser
View gist:4cd4a15feb0e20064b3bec2b388b556b
https://www.ibge.gov.br/geociencias/downloads-geociencias.html
http://monografias.poli.ufrj.br/monografias/monopoli10026310.pdf
ftp://geoftp.ibge.gov.br/recortes_para_fins_estatisticos/malha_de_setores_censitarios/censo_2010/base_de_faces_de_logradouros/1_Leia_me/
https://medium.com/@brunomelnic/qgis-calc-ibge-baixando-mapa-e-microdados-do-censo-2010-62e637a72365
View gist:f63071a2f2e36e9bf24ff2f04556b598
http://www.cienciaedados.com/
https://oestatistico.com.br/
https://www.r-bloggers.com/
https://datasciencespecialization.github.io/
https://rpubs.com/
@lucassmacedo
lucassmacedo / links.md
Created Aug 22, 2019 — forked from rogeriochaves/links.md
Pt-BR Data Science Links Scrapping
View links.md
View gist:d966f16d9ea46b2f2bdb8a5919a5083b
# Deleta todos processos de um certo nome
kill $(ps aux | grep 'phpstorm' | awk '{print $2}')
# Backup and Restore Database TAR PGQSL
PGPASSWORD="" pg_dump -h localhost -U postgres -F t database_name > /bkp/postgres/postgres-`hostname`-producao.tar
PGPASSWORD="" pg_restore -U postgres -d database_name /bkp/postgres/postgres-`hostname`-producao.tar
View gist:5be75e3702571e65bdd13144736a2798
####
# ATENTION:
# Replace all occurences of portal with your project's name
####
# v2 syntax
version: '2'
# Named volumes
volumes:
View gist:b977568960d43833b68b455816fdf1b7
library(sf)
library(ggplot2)
library("tmap")
library("tmaptools")
library (leaflet)
library (dplyr)
options (scipen =999)
library(DBI)
con <- dbConnect(RMariaDB::MariaDB(), host = "xx", user = "xx",dbname="xx",password = "xx")
@lucassmacedo
lucassmacedo / InstallJetBrain.sh
Created May 30, 2019
Install or update jetbrains products like PhpStorm, WebStorm, IntelliJ Idea, PyCharm, CLion, ReSharper on Ubuntu and fix problems with non latin hotkeys in gui java application
View InstallJetBrain.sh
#!/bin/bash
# installation jetbrains
j_url="https://data.services.jetbrains.com/products/download"
tmp_dir="$HOME/tmp_jb"
install_dir="/opt"
if [ "$(whoami)" != "root" ]
then
echo "Sorry, you are not root."
exit 1
fi
View gist:865045e98a1e9cffd982affac574672d
https://www.linuxuprising.com/2018/08/gpaste-is-great-clipboard-manager-for.html
https://github.com/KELiON/cerebro
You can’t perform that action at this time.