Skip to content

Instantly share code, notes, and snippets.

View andersy005's full-sized avatar
:octocat:

Anderson Banihirwe andersy005

:octocat:
View GitHub Profile
@andersy005
andersy005 / GIF-Screencast-OSX.md
Created January 10, 2020 17:02 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@andersy005
andersy005 / etl_prefect.ipynb
Created January 9, 2020 23:01 — forked from rabernat/etl_prefect.ipynb
Better prefect ETL
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import pandas as pd
from matplotlib import pyplot as plt
import numpy as np
%matplotlib inline
url = 'https://storage.googleapis.com/pangeo-cmip6/pangeo-cmip6-zarr-consolidated-stores.csv'
df = pd.read_csv(url)
run_count = df[df.activity_id == 'CMIP'].groupby(['experiment_id', 'source_id']).zstore.count()
rcu = run_count.unstack(level=-1)
<object>
<embed src="https://travel.state.gov/content/dam/passports/content-page-resources/FIG_cropper.swf" width="100%" height="100%">
</object>
@andersy005
andersy005 / .condarc
Created September 1, 2019 02:57 — forked from ocefpaf/.condarc
# See https://www.anaconda.com/understanding-and-improving-condas-performance/ for more info.
# help debug channel issues
show_channel_urls: true
# pip will always be installed with python
add_pip_as_python_dependency: true
# strict priority and conda-forge at the top will ensure
# that all of your packages will be from conda-forge unless they only exist on defaults
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@andersy005
andersy005 / import-github-labels.md
Created July 31, 2019 20:45 — forked from cdlhub/import-github-labels.md
Script to import labels to Github issue page
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.