Skip to content

Instantly share code, notes, and snippets.

K.-Michael Aye michaelaye

  • LASP
  • Boulder, CO, United States
Block or report user

Report or block michaelaye

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@michaelaye
michaelaye / install_my_libs.sh
Last active Mar 31, 2020
My scripts for conda env management
View install_my_libs.sh
#!/bin/bash
# reinstall all my packages
cd ~/Dropbox/src
for folder in 'pyciss' 'planet4' 'pyuvis' 'hirise_tools' 'pytelescope' 'nbtools' 'planetpy' 'pysis' 'p4terrains';
echo "Installing $folder";
pip install -e $folder;
echo;
done
# reinstall packages from pip that are needed
pip install -r pip_packages_to_install.txt
View gist:06ff135d8c799ce39678c1cf3b12e953
[Error] Something went wrong :(
Error: <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Jupyter Notebook</title>
<link id="favicon" rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico?v=97c6417ed01bdc0ae3ef32ae4894fd03">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
View pandas_mpl_constrained.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:5454ddc10c24f653a787c841269b6c4c
# packages in environment at /Users/klay6683/miniconda3/envs/py37:
#
# Name Version Build Channel
alabaster 0.7.12 py_0 conda-forge
altair 4.0.1 py_0 conda-forge
apipkg 1.5 py_0 conda-forge
appdirs 1.4.3 py_1 conda-forge
appnope 0.1.0 py37_1000 conda-forge
argh 0.26.2 pypi_0 pypi
arrow-cpp 0.16.0 py37h5ba6457_0 conda-forge
View gist:9c12ad258548bd969fa70ab66a0e42c8
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: osx-64
@EXPLICIT
https://conda.anaconda.org/michaelaye/osx-64/instantclient-19.3.0.0.0-1.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/phantomjs-2.1.1-1.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/bzip2-1.0.8-h0b31af3_2.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/c-ares-1.15.0-h01d97ff_1001.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/ca-certificates-2019.11.28-hecc5488_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/cspice-66-h0b31af3_1007.tar.bz2
View CondaList_and_pip.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View registry.yml
packages:
- name: 'astropy core package'
maintainer: 'Astropy Coordination Committee'
stable: true
home_url: https://docs.astropy.org
repo_url: https://github.com/astropy/astropy
pypi_name: astropy
description: 'A common core package for Astronomy in Python.'
image:
coordinated: true
View gist:7f938c4eeb36a2aa102b539c6bffbef1
This file has been truncated, but you can view the full file.
Date/Time: 2019-11-18 19:13:37 -0700
End time: 2019-11-18 19:13:39 -0700
OS Version: Mac OS X 10.14.6 (Build 18G103)
Architecture: x86_64h
Report Version: 28
Data Source: Stackshots
Shared Cache: 0x19a6d000 A1049650-9CCC-390A-863F-F46B852EECF4
View isis3VarInit.py
#!/usr/bin/env python
"""
This program builds shell scripts that define ISIS3 environment variables during
conda environment activation and deactivation, and creates some directories.
"""
import argparse
import os
import sys
You can’t perform that action at this time.