Skip to content

Instantly share code, notes, and snippets.

View ruberthbarros's full-sized avatar

Ruberth Barros ruberthbarros

View GitHub Profile
@ruberthbarros
ruberthbarros / streamlit_table_editor.py
Created October 29, 2020 20:04
Prototype for an editable table API using streamlit framework.
import numbers
import pandas as pd
import streamlit as st
from streamlit.hashing import _CodeHasher
from streamlit.report_thread import get_report_ctx
from streamlit.server.server import Server
def main():
state = get_state()
@ruberthbarros
ruberthbarros / cloudSettings
Last active January 4, 2021 13:49
My Visual Studio Code Settings
{"lastUpload":"2021-01-04T13:49:46.852Z","extensionVersion":"v3.4.3"}
@ruberthbarros
ruberthbarros / create_jupyter_kernel.sh
Last active May 6, 2019 14:39
Shell script to create a new ipykernel for jupyter notebooks.
#!/bin/sh
# Creates new jupyter notebook kernel using ipykernel package.
# Arguments:
# KERNEL_NAME (string): Kernel name.
KERNEL_NAME=$1
if [ -z $KERNEL_NAME ];