Skip to content

Instantly share code, notes, and snippets.

View jmatt's full-sized avatar

JMatt Peterson jmatt

View GitHub Profile
@jmatt
jmatt / amazon-linux-mosh.sh
Created August 17, 2020 22:46
Install mosh on Amazon Linux release 2 (Karoo)
!/bin/env bash
sudo amazon-linux-extras install -y epel
sudo yum groupinstall 'Development Tools'
sudo yum install -y protobuf-devel protobuf-compiler ncurses-devel openssl-devel
git clone https://github.com/mobile-shell/mosh
cd mosh
./autogen.sh
./configure
make
sudo make install
@jmatt
jmatt / presign.py
Created July 19, 2019 23:47
GS presign source code.
import binascii
import collections
import datetime
import hashlib
import sys
from six.moves.urllib.parse import quote
from google.oauth2 import service_account
@jmatt
jmatt / core.clj
Last active August 23, 2018 23:51
Google Cloud KMS Example
(ns google-cloud-kms.core
(:import (com.google.api.services.cloudkms.v1.CloudKMS)
(com.google.api.services.cloudkms.v1 CloudKMS$Builder)
(com.google.api.services.cloudkms.v1.CloudKMSScopes)
(com.google.api.client.http.javanet NetHttpTransport)
(com.google.api.client.json.jackson2 JacksonFactory)
(com.google.api.client.googleapis.auth.oauth2 GoogleCredential)))
(def transport (new NetHttpTransport))
@jmatt
jmatt / sdss_macminn.v7.ipynb
Created July 7, 2018 04:32
SDSS Webda MacMinn matching for Berkeley 20
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jmatt
jmatt / foundational.ipynb
Last active April 18, 2018 21:02
LSST EPO User testing spring 2018
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jmatt
jmatt / EPO JTM 2018.ipynb
Last active April 13, 2018 23:03
LSST EPO JTM Jupyter and Skyviewer Technical Presentation and Demo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jmatt
jmatt / holoview_crossfilter_example.ipynb
Last active September 22, 2018 15:13
Holoviews Bokeh crossfilter example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jmatt
jmatt / pm_gaia_berkeley20.ipynb
Created March 2, 2018 00:23
Proper motion analysis using GAIA DR1 for Berkeley 20
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jmatt
jmatt / bof.org
Created October 25, 2017 01:50
ADASS BoF - Science Platforms

LSP BOF

LSP - LSST Science Platform. Gregory

Wil does a short intro. Get volunteers to take notes.

Gregory presenting on behalf of LSST.

Three core parts, “aspects”. (Portal Notebook APIs) and unifying infrastructure.

@jmatt
jmatt / cockroachdb.md
Last active June 27, 2017 20:36
EPO Data Center Notes