Skip to content

Instantly share code, notes, and snippets.

View dtsmith2001's full-sized avatar

Dale Smith dtsmith2001

View GitHub Profile
#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)
@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
@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 / 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 / update-tensorflow.sh
Created December 4, 2019 18:24 — forked from PatWie/update-tensorflow.sh
simple cronjob script to frequently build TensorFlow from source automatically
#!/bin/bash
# Patrick Wieschollek
# =============================================================
# UPDATE SOURCE
# =============================================================
git checkout -- .
git pull origin master
@dtsmith2001
dtsmith2001 / sources.list
Created December 8, 2019 17:53 — forked from josephlr/sources.list
/etc/apt/sources.list for Ubuntu Bionic 18.04
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb [arch=amd64,i386] http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
deb [arch=arm64,armhf,ppc64el,s390x] http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted universe multiverse
deb [arch=arm64,armhf,ppc64el,s390x] http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb [arch=arm64,armhf,ppc64el,s390x] http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb [arch=arm64,armhf,ppc64el,s390x] http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted universe multiverse
@dtsmith2001
dtsmith2001 / tf-rasp.md
Created December 9, 2019 21:08 — forked from EKami/tf-rasp.md
Building TensorFlow for Raspberry Pi: a Step-By-Step Guide

Building TensorFlow 1.3.0-rc1 for Raspberry Pi/Ubuntu 16.04: a Step-By-Step Guide

Here you'll learn how to build Tensorflow for the raspberry pi 3 with either the Python API or as a standalone shared library which can be interfaced from the C++ API and eventually as a library which can be used in other languages.

For the C++ library this tutorial will show you how extract tensorflow library and headers to use in any environment you want.

(This tutorial couldn't be possible without the help of the people from the References section)

What You Need

@dtsmith2001
dtsmith2001 / tf2-raspi-buster.md
Last active December 15, 2019 02:14
Building Tensorflow 2.0.0 on the Raspberry PI with Buster
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dtsmith2001
dtsmith2001 / cubejs-mongodb.vagrantfile
Last active March 27, 2021 12:53
Install MongoDB and code-server for CubeJS Dashboard Project
# MIT License
#
# Copyright (c) 2021 Vallum Software, LLC
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: