Skip to content

Instantly share code, notes, and snippets.

View gitconfig
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[hub]
protocol = ssh
[user]
email = <email>
name = Eric Dill
signingkey = BD2FA590
View ds-env.yaml
name: ds-env
channels:
# - https://conda.prd.dsci.zones.dtn.com/conda/dtn
- ericdill
- conda-forge
- defaults
dependencies:
# Base, leave these at the top
- python=3.8
- pip
@ericdill
ericdill / feedstocks-to-maintainers.json
Created Mar 13, 2021
conda-forge maintainers-to-feedstocks mapping
View feedstocks-to-maintainers.json
[
{
"execution_date": "2021-03-13 18:19:21.443051"
},
{
"": [
"jupyter-dashboards-server"
],
"0ncorhynchus": [
"ecell4_base"
View gist:f48e7802c124fd5cdb14acd2993cca6d
4472 2020-09-16 08:04 ca s3contents37
4473 2020-09-16 08:05 make minio
4474 2020-09-16 08:05 vi Makefile
4475 2020-09-16 08:05 git st
4476 2020-09-16 08:05 git diff
4477 2020-09-16 08:05 git diff HEAD
4478 2020-09-16 08:05 git diff HEAD~
4479 2020-09-16 08:05 vi Makefile
4480 2020-09-16 08:06 vi .github/workflows/test.yml
4481 2020-09-16 08:06 make minio
View gist:9f065e8a240022dedd5a1c9cf88bffe7
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"You need the following libraries to make this work:\n",
"Run conda env create -f this_output.yaml\n",
"```\n",
"name: my-env\n",
View tweet_deleting_script.py
# -*- coding: utf-8 -*-
""" Deletes all tweets below a certain retweet threshold.
"""
import tweepy
from datetime import datetime
# Constants
CONSUMER_KEY = ''
View wtf
$ conda-lock -f environment.yaml -p linux-64 ⇡ master :: 1d :: ⬡
generating lockfile for linux-64
The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package requests conflicts for:
conda -> requests[version='>=2.12.4|>=2.12.4,<3|>=2.18.4,<3|>=2.5.3']
s3contents -> requests
hybridcontents -> requests[version='>=2.7.0']
@ericdill
ericdill / gist:67835fda3a0e7b4c38f224d2199ce2ba
Created May 14, 2020
getting started with conda on aws
View gist:67835fda3a0e7b4c38f224d2199ce2ba
# ssh to host
# download latest miniconda
wget bit.ly/get-miniconda
bash get-miniconda -b -p ~/miniconda
~/miniconda/bin/conda init bash
# exit shell
# ssh to host again
# install jupyter
View env
# packages in environment at /home/ericdill/miniconda/envs/rapids-nightly:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
arrow-cpp 0.14.1 py37h5ac5442_4 conda-forge
backcall 0.1.0 py_0 conda-forge
bokeh 1.3.4 py37_0 conda-forge
boost-cpp 1.70.0 h8e57a91_2 conda-forge
brotli 1.0.7 he1b5a44_1000 conda-forge
bzip2 1.0.8 h516909a_1 conda-forge
@ericdill
ericdill / installation.md
Created Sep 10, 2019
Centos 7 for CUDA 10.0. Also daily driver linux desktop
View installation.md