Skip to content

Instantly share code, notes, and snippets.

View rcgalbo's full-sized avatar

Rick Galbo rcgalbo

  • Wayy Health
  • Buffalo, NY
  • 04:52 (UTC -04:00)
  • X @rcgalbo
View GitHub Profile
@rcgalbo
rcgalbo / selector_heatmap.py
Created October 4, 2019 01:02 — forked from mandieq/selector_heatmap.py
Heatmap example - python / dash
import plotly.plotly as py
import plotly.graph_objs as go
import plotly.figure_factory as ff
import plotly.offline as offline
import pandas as pd
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output
@rcgalbo
rcgalbo / condaenv.txt
Created April 16, 2018 14:51 — forked from pratos/condaenv.txt
To package a conda environment (Requirement.txt and virtual environment)
# For Windows users# Note: <> denotes changes to be made
#Create a conda environment
conda create --name <environment-name> python=<version:2.7/3.5>
#To create a requirements.txt file:
conda list #Gives you list of packages used for the environment
conda list -e > requirements.txt #Save all the info about packages to your folder
@rcgalbo
rcgalbo / pytorch_keras_gcloud.txt
Created April 12, 2018 15:21 — forked from motiur/pytorch_keras_gcloud.txt
Keras and Pytorch in Google Cloud VM
# This script is designed to work with ubuntu 16.04 LTS
# with keras 1.2.2 and the latest Pytorch with CUDA 8 support
##########################################################################
#This is used to install CUDA 8 driver for Tesla K80
##########################################################################
#!/bin/bash
echo "Checking for CUDA and installing."
# Check for CUDA and try to install.
if ! dpkg-query -W cuda-8-0; then
@rcgalbo
rcgalbo / fish-default-on-osx.sh
Created April 10, 2018 16:44
Setting Fish as your default shell on Mac OS X
$ brew install fish
$ echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
$ chsh -s `which fish`