Skip to content

Instantly share code, notes, and snippets.

View dtsmith2001's full-sized avatar

Dale Smith dtsmith2001

View GitHub Profile
@dtsmith2001
dtsmith2001 / aws_jupyter_tunnel.md
Created November 19, 2019 14:30 — forked from jakechen/aws_jupyter_tunnel.md
Creating and connecting to Jupyter Notebooks in AWS EC2

Introduction

This quick guide describes how to create a Jupyter Notebook in AWS EC2 then how to access it remotely using SSH tunneling. This method is preferred since you do not open any additional ports besides 22, requires little-to-no configuration, and is generally more straight-forward.

Pre-requisites

This current version assumes basic familiarity with cloud computing, AWS services, and Jupyter Notebook. Mostly because this version won't have images and won't dive too deep into each individual step.

Steps

Spin-up EC2 instance with "Deep Learning" AMI

  1. Log into EC2 console and click "Launch Instance" button.
  2. Inside "AWS Marketplace", select the "Deep Learning AMI" from AWS. I use this AMI because most of the stuff you'll need is installed already.
@dtsmith2001
dtsmith2001 / .tmux.conf
Created March 23, 2019 16:11 — forked from chirayuk/.tmux.conf
~/.tmux.conf for tmux 1.5 (e.g. for use on Cloud9 console.)
# This is a modified version that supports tmux 1.5 so you can use tmux on Cloud9 IDE.
# https://gist.github.com/chirayuk/6084618
# NOTE: The default TERM value under Cloud9 is set to vt100. This won't give
# you colors under tmux. Before running tmux, "export
# TERM=screen-256color" and then run tmux. If you already ran tmux
# before doing so, you can "tmux kill-server" to kill it and start a new
# one.
#nop# # https://gist.github.com/chirayuk/5377283
@dtsmith2001
dtsmith2001 / gdbinit
Created June 12, 2018 13:10 — forked from CocoaBeans/gdbinit
.gdbinit - A user-friendly gdb configuration file
# INSTALL INSTRUCTIONS: save as ~/.gdbinit
#
# DESCRIPTION: A user-friendly gdb configuration file.
#
# REVISION : 7.3 (16/04/2010)
#
# CONTRIBUTORS: mammon_, elaine, pusillus, mong, zhang le, l0kit,
# truthix the cyberpunk, fG!, gln
#
# FEEDBACK: https://www.reverse-engineering.net
#analyze breakpoints with the R package bfast
#please read the paper
#Verbesselt J, Hyndman R, Newnham G, Culvenor D (2010)
#Detecting Trend and Seasonal Changes in Satellite Image Time Series.
#Remote Sensing of Environment, 114(1), 106–115.
#http://dx.doi.org/10.1016/j.rse.2009.08.014
require(bfast)
require(quantmod)