Skip to content

Instantly share code, notes, and snippets.

View stanlee321's full-sized avatar

Stanley Salvatierra stanlee321

View GitHub Profile
@stanlee321
stanlee321 / gist:0035f4b4f3ab5c6021d3929c9937d470
Created April 2, 2020 23:52
setup-platzi-react-avanzado
https://midu.dev/uses/
https://plotly.com/~alishobeiri/1591/plotly-sankey-diagrams/#/
https://medium.com/plotly/4-interactive-sankey-diagram-made-in-python-3057b9ee8616
https://plotly.com/python/animations/
https://plotly.com/python/v3/gapminder-example/
# interactive covid
https://chart-studio.plotly.com/~Bucky13/1/#/
#Some product maybe
eval `ssh-agent -s`; ssh-add your_key; git push
# FOR PERMAMENT
A solution would be to force the key files to be kept permanently, by adding them in your ~/.ssh/config file:
IdentityFile ~/.ssh/gitHubKey
IdentityFile ~/.ssh/id_rsa_buhlServer
If you do not have a 'config' file in the ~/.ssh directory, then you should create one. It does not need root rights, so simply:
@stanlee321
stanlee321 / jupyterkernel-conda.md
Created March 29, 2020 17:04
Install Jupyter Kernel into Conda env
conda install jupyter
conda install nb_conda
conda install ipykernel
python -m ipykernel install --user --name mykernel
@stanlee321
stanlee321 / jupyterkernel-conda.md
Created March 29, 2020 17:04
Install Jupyter Kernel into Conda env
conda install jupyter
conda install nb_conda
conda install ipykernel
python -m ipykernel install --user --name mykernel
sudo apt-get install libprotobuf-dev protobuf-compiler
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/
@stanlee321
stanlee321 / plot_top_n_words_pandas_column.py
Last active March 27, 2020 19:03
Plot Top N words from a column dataframe
import matplotlib.pyplot as plt
import seaborn as sns
# Aux class for plot frecuency
class PlotFrecuency:
"""
Plot Top N words in a given column dataframe
"""
def __init__(self, path_to_save):
self.path_to_save = path_to_save
export PLANTUML_LIMIT_SIZE 8192
https://medium.com/@nikitakolmogorov/how-to-deploy-node-js-app-to-digital-ocean-droplet-with-free-continuous-integration-4a6cb73a6903
first:
$ eval "$(ssh-agent -s)"
next:
$ ssh-add

Install mongo

https://tecadmin.net/install-mongodb-on-ubuntu/

ADD SSH

https://www.w3docs.com/snippets/git/how-to-generate-ssh-key-for-git.html