Skip to content

Instantly share code, notes, and snippets.

@neo01124
neo01124 / src.sh
Created August 12, 2018 10:48
Make Conda environment available as a Jupyter kernel
conda activate mykernel
conda install jupyter
conda install nb_conda
conda install ipykernel
python -m ipykernel install --user --name mykernel
@neo01124
neo01124 / README.md
Last active September 17, 2019 18:47
Python S3 bucket download

Usage

  1. Install boto3
  2. Create IAM user with a similar policy
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
 "Effect": "Allow",
@neo01124
neo01124 / README.md
Last active July 11, 2021 17:54
Remove "Export to plotly" link when using plotly and cufflink

Situation

  • You are using plotting Plotly interactive charts through (Cufflinks)[https://github.com/santosjorge/cufflinks] in a Jupyter notebook.
  • Your charts have a link in the bottom right corner - "Export to plotly"
  • You want to remove this from your exported html

Fix

  • Add a raw code cell

  • Paste the following