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 / PDFs.md
Last active May 27, 2020 01:02
Working with PDFs
name: base
channels:
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=conda_forge
- _openmp_mutex=4.5=0_gnu
- aiohttp=3.6.2=py37h516909a_0
- appdirs=1.4.3=py_1
- asciitree=0.3.3=py_2
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.
@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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@andersy005
andersy005 / grafana.json
Created December 20, 2019 20:09
Grafana dashboard configuration for dask Prometheus metrics: https://github.com/dask/distributed/issues/3136
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@andersy005
andersy005 / zonal_avg_mod.F90
Created December 20, 2019 19:49
compute zonal mean on a POP grid by @klindsay28
module zonal_avg_mod
!-----------------------------------------------------------------------------
! This module computes basin zonal averages on POP grids. The steps are
! 1) set up the destination grid
! 2) compute averaging weights for each grid cell
! 3) compute normalizing weights for each basin (if required)
! 4) compute basin zonal averages
!
! The averages can be masked in longitude or latitude.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.