Skip to content

Instantly share code, notes, and snippets.

Hi there!

Dayvson Silva userddssilva

Hi there!
View GitHub Profile
userddssilva /
Created January 31, 2020 14:40 — forked from stefanthoss/
Import data from a MySQL database table into a Pandas DataFrame using the pymysql package.
import pandas as pd
import pymysql
from sqlalchemy import create_engine
engine = create_engine('mysql+pymysql://<user>:<password>@<host>[:<port>]/<dbname>')
df = pd.read_sql_query('SELECT * FROM table', engine)
userddssilva / .vimrc
Created September 1, 2021 18:55 — forked from RodrigoCMoraes/.vimrc
Minimal .vimrc
View .vimrc
" remap escape key to jk
imap jk <Esc>
" when possible cursor is in center of screen
nnoremap j jzz
nnoremap k kzz
nnoremap `` ``zz
" general settings
set rnu et ts=4 sw=4 sts=4 ai cindent nowrap noswapfile cursorline splitbelow splitright